Searched refs:line (Results 1 - 25 of 244) sorted by relevance

12345678910

/haiku/src/libs/compat/freebsd_network/tools/
H A Dmiidevs2h.awk70 function collectline(f, line) {
72 line = ""
75 line = line "("
81 line = line $f
83 line = line " "
87 line = line
[all...]
/haiku/src/tests/servers/app/code_to_name/
H A Dcode_to_name.cpp27 skip_white_space(char*& line) argument
29 while (isspace(line[0]))
30 line++;
35 get_name(char* line) argument
37 while (isalnum(line[0]) || line[0] == '_') {
38 line++;
41 line[0] = '\0';
56 char* line = buffer; local
57 skip_white_space(line);
[all...]
/haiku/src/tests/add-ons/print/pcl6/
H A Denum.sh14 while read line ; do
15 start=$(echo "$line" | cut -d' ' -f 1)
23 name=$(echo "$line" | cut -d' ' -f 2)
27 attr=$(echo "$line" | cut -d' ' -f 2)
/haiku/src/libs/bsd/
H A Dfgetln.c26 char *line; local
36 line = sBuffer;
42 line = fgets(line, left, stream);
43 if (line == NULL) {
49 length = strlen(line);
52 if (line[length - 1] != '\n' && length == sBufferSize - 1) {
63 line = sBuffer + length;
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dlock.h11 #define MPASS3(ex, file, line) MPASS4(ex, #ex, file, line)
12 #define MPASS4(ex, what, file, line) \
13 KASSERT((ex), ("assert %s failed at %s:%d", what, file, line))
/haiku/src/apps/debugger/user_interface/cli/commands/
H A DCliQuitCommand.cpp29 const char* line = context.PromptUser("(k)ill, (r)esume, (c)ancel? "); local
30 if (line == NULL)
33 BString trimmedLine(line);
/haiku/src/kits/debugger/model/
H A DDisassembledCode.cpp21 BString line; member in struct:DisassembledCode::Line
24 Line(const BString& line, ContiguousStatement* statement) argument
26 line(line),
82 Line* line = fLines.ItemAt(index); local
83 return line != NULL ? line->line.String() : NULL;
90 Line* line = fLines.ItemAt(index); local
91 return line !
99 Line* line = fLines.ItemAt(location.Line()); local
120 Line* line = fLines.ItemAt(location.Line()); local
147 AddCommentLine(const BString& line) argument
154 AddInstructionLine(const BString& line, target_addr_t address, target_size_t size) argument
179 Line* line = new(std::nothrow) Line(_line, statement); local
[all...]
/haiku/src/system/libroot/posix/
H A Dassert.cpp24 __assert_fail(const char* assertion, const char* file, unsigned int line, argument
27 fprintf(stderr, "%s: %s:%d:%s: %s\n", __progname, file, line, function,
42 __assert_perror_fail(int error, const char* file, unsigned int line, argument
45 __assert_fail(strerror(error), file, line, function); local
/haiku/headers/posix/
H A Dassert.h35 unsigned int line, const char *function)
39 unsigned int line, const char *function)
/haiku/src/apps/mediaplayer/supplier/
H A DSubTitlesSRT.cpp31 BString line; local
45 while (lineProvider.Next(line)) {
46 line.RemoveAll("\n");
47 line.RemoveAll("\r");
51 if (line.IsEmpty())
54 line.Trim();
55 int32 sequenceNumber = atoi(line.String());
58 "file: %" B_PRId32 ", expected: %" B_PRId32 ", line %"
69 line.Trim();
70 int32 separatorPos = line
[all...]
/haiku/src/tests/kits/shared/
H A DJsonErrorHandlingTest.h36 const char* input, int32 line,
40 const char* input, int32 line,
45 int32 line, status_t expectedStatus,
49 const char* input, int32 line,
54 BDataIO* data, int32 line,
/haiku/src/apps/terminal/
H A DHistoryBuffer.cpp80 HistoryLine* line = LineAt(index); local
81 if (line == NULL)
85 const char* chars = line->Chars();
88 AttributesRun* attributesRun = line->AttributesRuns();
89 int32 attributesRunCount = line->attributesRunCount;
93 for (int32 i = 0; i < line->byteLength;) {
131 buffer->softBreak = line->softBreak;
132 buffer->attributes = line->attributes;
139 HistoryBuffer::AddLine(const TerminalLine* line) argument
141 //debug_printf("HistoryBuffer::AddLine(%p): length: %d\n", line, lin
223 HistoryLine* line = &fLines[fNextLine]; local
264 HistoryLine* line = _LineAt(fSize - toDrop - 1); local
276 HistoryLine* line = _LineAt(fSize - toDrop - 1); local
287 HistoryLine* line = &fLines[fNextLine]; local
[all...]
H A DBasicTerminalBuffer.cpp274 // The source line was a history line and has been copied
287 TerminalLine* line = _HistoryLineAt(row, lineBuffer); local
288 return line != NULL && column > 0 && column < line->length
289 && (line->cells[column - 1].attributes & A_WIDTH) != 0;
298 TerminalLine* line = _HistoryLineAt(row, lineBuffer); local
299 if (line == NULL)
302 if (column < 0 || column >= line->length)
305 if (column > 0 && (line
321 TerminalLine* line = _HistoryLineAt(row, lineBuffer); local
341 TerminalLine* line = _HistoryLineAt(row, lineBuffer); local
384 TerminalLine* line = _GetPartialLineString(string, pos.y, pos.x, local
407 TerminalLine* line = _HistoryLineAt(y, lineBuffer); local
472 TerminalLine* line = _HistoryLineAt(pos.y, lineBuffer); local
484 TerminalLine* line = _HistoryLineAt(pos.y, lineBuffer); local
500 TerminalLine* line = _HistoryLineAt(index, lineBuffer); local
509 TerminalLine* line = _HistoryLineAt(index, lineBuffer); local
524 TerminalLine* line = _HistoryLineAt(pos.y, lineBuffer); local
640 TerminalLine* line = _LineAt(fCursor.y); local
674 TerminalLine *line = _LineAt(y); local
689 TerminalLine* line = _LineAt(fCursor.y); local
748 TerminalLine* line = _LineAt(fCursor.y); local
813 TerminalLine* line = _LineAt(fCursor.y); local
828 TerminalLine* line = _LineAt(fCursor.y); local
863 TerminalLine* line = _LineAt(fCursor.y); local
906 TerminalLine* line = _LineAt(fCursor.y); local
934 TerminalLine* line = _LineAt(fCursor.y); local
1117 TerminalLine* line = _LineAt(i); local
1161 TerminalLine* line = fHistory->GetTerminalLineAt(i, lineBuffer); local
1208 TerminalLine* line = _LineAt(i); local
1413 TerminalLine* line = screen[i % height]; local
1594 TerminalLine* line = _LineAt(fCursor.y); local
1608 TerminalLine* line = _LineAt(fCursor.y); local
1616 _TruncateLine(TerminalLine* line, int32 length) argument
1632 TerminalLine* line = _LineAt(fCursor.y); local
1651 TerminalLine* line = _HistoryLineAt(row, lineBuffer); local
1678 TerminalLine* line = _HistoryLineAt(pos.y, lineBuffer); local
1708 TerminalLine* line = _HistoryLineAt(pos.y, lineBuffer); local
1733 _PreviousLinePos(TerminalLine* lineBuffer, TerminalLine*& line, TermPos& pos) const argument
1754 _NormalizeLinePos(TerminalLine* lineBuffer, TerminalLine*& line, TermPos& pos) const argument
1796 TerminalLine* line = dumpHistory local
[all...]
/haiku/src/add-ons/kernel/partitioning_systems/vmdk/
H A Dvmdk.cpp125 next_token(char*& line, const char* lineEnd, Token& token) argument
128 while (line != lineEnd && isspace(*line))
129 line++;
131 // comment/end of line
132 if (line == lineEnd || *line == '#') {
137 switch (*line) {
140 line++;
149 line
245 char* line = descriptor; local
[all...]
/haiku/src/add-ons/mail_daemon/outbound_filters/fortune/
H A DConfigView.cpp33 fTagControl = new BTextControl("tag_line", B_TRANSLATE("Tag line:"),
60 BString line = fTagControl->Text(); local
61 if (line != B_EMPTY_STRING)
62 line << "\n\n";
63 return settings.SetString("tag_line", line.String());
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPBand.cpp30 GPBand::ContainsLine(int line) const
32 int y = line - (int)fWhere.y;
/haiku/src/tests/apps/partitioner/
H A DPartitioner.cpp268 BString line; local
269 if (!_ReadLine("party> ", line))
272 if (line == "") {
274 } else if (line == "h" || line == "help") {
276 } else if (line == "i") {
278 } else if (line == "l") {
280 } else if (line == "ll") {
282 } else if (line == "n") {
284 } else if (line
409 BString line; local
608 BString line; local
696 char line[256]; local
711 BString line; local
727 BString line; local
753 const char* line = _line.String(); local
[all...]
/haiku/src/servers/launch/
H A DBaseJob.cpp227 BString line; local
241 line.Append(chunk, bytesRead);
244 line.Append(chunk, separator - chunk);
247 _ParseExportVariable(environment, line);
248 line.Truncate(0);
251 if (!line.IsEmpty())
252 _ParseExportVariable(environment, line);
260 BaseJob::_ParseExportVariable(BStringList& environment, const BString& line) argument
262 if (!line.StartsWith("export "))
265 int separator = line
[all...]
/haiku/src/bin/
H A Dopen.cpp35 open_file(const char* openWith, BEntry& entry, int32 line = -1, int32 col = -1)
48 if (line > -1)
49 message.AddInt32("be:line", line);
70 fprintf(stderr,"usage: %s <file[:line[:column]] or url or application "
105 // maybe it's "file:line" or "file:line:col"
106 int line = 0, col = 0, i; local
115 line = atoi(arg.String() + i + 1);
120 result = open_file(openWith, entry, line);
[all...]
/haiku/src/add-ons/print/drivers/postscript/
H A DPPDParser.cpp53 // Handle line continuation
65 BString result, line; local
72 // Grab line (without newline)
73 fContent.CopyInto(line, pos, next - pos);
75 if (line.Compare(pattern, pattern.Length()) == 0) {
77 line.CopyInto(result, pattern.Length(),
78 line.Length() - pattern.Length()).Trim();
/haiku/headers/libs/agg/dbg_new/
H A Dagg_dbg_new.h29 void* operator new (unsigned size, const char* file, int line);
30 void* operator new [] (unsigned size, const char* file, int line);
66 watchdoggy(const char* file=0, int line=0, bool report_all=false);
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp60 "line %" B_PRId32 ".";
62 "line %" B_PRId32 ".";
64 "line %" B_PRId32 ".";
104 BRect LineRect(uint32 line) const;
137 BreakpointMarker* BreakpointMarkerAtLine(uint32 line);
154 static int _CompareLineMarkerTemplate(const uint32* line,
156 static int _CompareLineMarker(const uint32* line,
159 const uint32* line,
213 Marker(uint32 line);
226 InstructionPointerMarker(uint32 line,
269 MarkerByLinePredicate(uint32 line) argument
322 int32 line; member in struct:SourceView::TextView::SelectionPoint
471 Marker(uint32 line) argument
493 InstructionPointerMarker( uint32 line, bool topIP, bool currentIP) argument
561 BreakpointMarker(uint32 line, target_addr_t address, UserBreakpoint* breakpoint) argument
684 int32 line = statement->StartSourceLocation().Line(); local
749 int32 line = statement->StartSourceLocation().Line(); local
816 BreakpointMarkerAtLine(uint32 line) argument
845 _CompareLineMarkerTemplate(const uint32* line, const MarkerType* marker) argument
855 _CompareLineMarker(const uint32* line, const Marker* marker) argument
863 _CompareLineBreakpointMarker(const uint32* line, const BreakpointMarker* marker) argument
1381 int32 line = LineAtOffset(where.y); local
1554 _DrawLineSyntaxSection(const char* line, int32 length, int32& _column, BPoint& _offset) argument
1583 _DrawLineSegment(const char* line, int32 length, BPoint& _offset) argument
1599 _FormattedPosition(int32 line, int32 offset) const argument
1616 int32 line = LineAtOffset(where.y); local
1736 const char* line = fSourceCode->LineAt(point.line); local
1903 _AddGeneralActions(BPopUpMenu* menu, int32 line) argument
1956 _AddFlowControlActions(BPopUpMenu* menu, int32 line) argument
2094 int32 line; local
2310 ScrollToLine(uint32 line) argument
2407 GetStatementForLine(int32 line, Statement*& _statement) argument
[all...]
/haiku/src/system/libnetwork/netresolv/irs/
H A Dgetprotoent_r.c84 if (pd->line) {
85 free(pd->line);
86 pd->line = NULL;
104 if (pd->line)
105 free(pd->line);
106 pd->line = fparseln(pd->fp, NULL, NULL, NULL,
108 if (pd->line == NULL)
110 pr->p_name = p = pd->line;
/haiku/src/add-ons/kernel/network/ppp/shared/libppp/
H A DMessageDriverSettingsUtils.cpp174 BString line, word(name);
177 line.SetTo('\t', level);
179 line << '\"';
180 line << word;
182 line << '\"';
187 line << ' ';
192 line << '\"';
193 line << word;
195 line << '\"';
203 line << " {";
[all...]
/haiku/src/add-ons/network_settings/dialup/
H A DMessageDriverSettingsUtils.cpp176 BString line, word(name);
179 line.SetTo('\t', level);
181 line << '\"';
182 line << word;
184 line << '\"';
189 line << ' ';
194 line << '\"';
195 line << word;
197 line << '\"';
205 line << " {";
[all...]

Completed in 272 milliseconds

12345678910