/haiku/src/libs/compat/freebsd_network/tools/ |
H A D | miidevs2h.awk | 70 function collectline(f, line) { 72 line = "" 75 line = line "(" 81 line = line $f 83 line = line " " 87 line = line [all...] |
/haiku/3rdparty/pulkomandy/ |
H A D | pkggraph.py | 57 for line in infos.split(b'\n'): 58 if line.startswith(b"\tprovides:"): 59 provides.append(line.split(b' ')[1]) 60 if line.startswith(b"\trequires:"): 61 line = line.split(b' ')[1] variable 62 if b'>' in line: 63 line = line.split(b'>')[0] variable 64 if b'=' in line 65 line = line.split(b'=')[0] variable [all...] |
/haiku/src/tests/servers/app/code_to_name/ |
H A D | code_to_name.cpp | 27 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 D | enum.sh | 14 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 D | fgetln.c | 26 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 D | lock.h | 11 #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 D | CliQuitCommand.cpp | 29 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 D | DisassembledCode.cpp | 21 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 D | assert.cpp | 24 __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/src/apps/mediaplayer/supplier/ |
H A D | SubTitlesSRT.cpp | 31 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 D | JsonErrorHandlingTest.h | 36 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/mediaplayer/playlist/ |
H A D | PlaylistFileReader.cpp | 101 BString line; local 102 while (lineReader.Next(line)) { 103 if (line.FindFirst("#") != 0) 105 _AppendItemToPlaylist(line, playlist); 106 line.Truncate(0); 115 // The total number of tracks in the PLS file, taken from the NumberOfEntries line. 118 // The version of the PLS standard used in this playlist file, taken from the Version line. 126 BString line; local 128 // Check for the "[playlist]" header on the first line 129 lineReader.Next(line); [all...] |
/haiku/src/apps/terminal/ |
H A D | HistoryBuffer.cpp | 80 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 227 HistoryLine* line = &fLines[fNextLine]; local 268 HistoryLine* line = _LineAt(fSize - toDrop - 1); local 280 HistoryLine* line = _LineAt(fSize - toDrop - 1); local 291 HistoryLine* line = &fLines[fNextLine]; local [all...] |
H A D | BasicTerminalBuffer.cpp | 275 // The source line was a history line and has been copied 288 TerminalLine* line = _HistoryLineAt(row, lineBuffer); local 289 return line != NULL && column > 0 && column < line->length 290 && line->cells[column - 1].attributes.IsWidth(); 299 TerminalLine* line = _HistoryLineAt(row, lineBuffer); local 300 if (line == NULL) 303 if (column < 0 || column >= line->length) 306 if (column > 0 && line 322 TerminalLine* line = _HistoryLineAt(row, lineBuffer); local 342 TerminalLine* line = _HistoryLineAt(row, lineBuffer); local 385 TerminalLine* line = _GetPartialLineString(string, pos.y, pos.x, local 408 TerminalLine* line = _HistoryLineAt(y, lineBuffer); local 473 TerminalLine* line = _HistoryLineAt(pos.y, lineBuffer); local 485 TerminalLine* line = _HistoryLineAt(pos.y, lineBuffer); local 501 TerminalLine* line = _HistoryLineAt(index, lineBuffer); local 510 TerminalLine* line = _HistoryLineAt(index, lineBuffer); local 528 TerminalLine* line = _HistoryLineAt(pos.y, lineBuffer); local 645 TerminalLine* line = _LineAt(fCursor.y); local 679 TerminalLine *line = _LineAt(y); local 694 TerminalLine* line = _LineAt(fCursor.y); local 753 TerminalLine* line = _LineAt(fCursor.y); local 818 TerminalLine* line = _LineAt(fCursor.y); local 833 TerminalLine* line = _LineAt(fCursor.y); local 868 TerminalLine* line = _LineAt(fCursor.y); local 911 TerminalLine* line = _LineAt(fCursor.y); local 939 TerminalLine* line = _LineAt(fCursor.y); local 1122 TerminalLine* line = _LineAt(i); local 1166 TerminalLine* line = fHistory->GetTerminalLineAt(i, lineBuffer); local 1213 TerminalLine* line = _LineAt(i); local 1417 TerminalLine* line = screen[i % height]; local 1598 TerminalLine* line = _LineAt(fCursor.y); local 1612 TerminalLine* line = _LineAt(fCursor.y); local 1620 _TruncateLine(TerminalLine* line, int32 length) argument 1636 TerminalLine* line = _LineAt(fCursor.y); local 1655 TerminalLine* line = _HistoryLineAt(row, lineBuffer); local 1682 TerminalLine* line = _HistoryLineAt(pos.y, lineBuffer); local 1712 TerminalLine* line = _HistoryLineAt(pos.y, lineBuffer); local 1737 _PreviousLinePos(TerminalLine* lineBuffer, TerminalLine*& line, TermPos& pos) const argument 1758 _NormalizeLinePos(TerminalLine* lineBuffer, TerminalLine*& line, TermPos& pos) const argument 1800 TerminalLine* line = dumpHistory local [all...] |
/haiku/src/add-ons/kernel/partitioning_systems/vmdk/ |
H A D | vmdk.cpp | 125 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 D | ConfigView.cpp | 33 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 D | GPBand.cpp | 30 GPBand::ContainsLine(int line) const 32 int y = line - (int)fWhere.y;
|
/haiku/headers/posix/ |
H A D | assert.h | 35 unsigned int line, const char *function) 39 unsigned int line, const char *function)
|
/haiku/src/servers/launch/ |
H A D | BaseJob.cpp | 227 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/tests/apps/partitioner/ |
H A D | Partitioner.cpp | 268 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/bin/ |
H A D | open.cpp | 35 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 " 104 // maybe it's "file:line" or "file:line:col" 105 int line = 0, col = 0, i; local 114 line = atoi(arg.String() + i + 1); 119 result = open_file(openWith, entry, line); [all...] |
/haiku/src/add-ons/print/drivers/postscript/ |
H A D | PPDParser.cpp | 53 // 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 D | agg_dbg_new.h | 29 void* operator new (size_t size, const char* file, int line); 30 void* operator new [] (size_t 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 D | SourceView.cpp | 60 "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/apps/haikudepot/textview/ |
H A D | ParagraphLayout.cpp | 260 const LineInfo& line = fLineInfos[i]; local 261 _DrawLine(view, offset, line); 392 const LineInfo& line = fLineInfos[glyph.lineIndex]; local 396 y1 = line.y; 397 y2 = y1 + line.height; 406 const LineInfo& line = fLineInfos[glyph.lineIndex]; local 410 y1 = line.y; 411 y2 = y1 + line.height; 425 // Above first line or empty text 432 // TODO: Optimize, can binary search line her 434 const LineInfo& line = fLineInfos[lineIndex]; local 444 const LineInfo& line = fLineInfos[lineIndex]; local 742 LineInfo line = fLineInfos[lineIndex]; local 908 _IncludeStyleInLine(LineInfo& line, const CharacterStyle& style) argument 951 const LineInfo& line = fLineInfos[glyph.lineIndex]; local [all...] |