/haiku/src/libs/iconv/ |
H A D | aliases.h | 32 #line 1 "lib/aliases.gperf" 809 #line 134 "lib/aliases.gperf" 811 #line 287 "lib/aliases.gperf" 813 #line 60 "lib/aliases.gperf" 816 #line 307 "lib/aliases.gperf" 819 #line 84 "lib/aliases.gperf" 822 #line 126 "lib/aliases.gperf" 824 #line 226 "lib/aliases.gperf" 827 #line 151 "lib/aliases.gperf" 829 #line 207 "lib/aliases.gperf" [all …]
|
/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 $f 89 line = line " " 93 line = line ")" 94 return line 99 line = ""; [all …]
|
/haiku/src/kits/debugger/model/ |
H A D | DisassembledCode.cpp | 21 BString line; member 24 Line(const BString& line, ContiguousStatement* statement) in Line() 26 line(line), in Line() 82 Line* line = fLines.ItemAt(index); in LineAt() local 83 return line != NULL ? line->line.String() : NULL; in LineAt() 90 Line* line = fLines.ItemAt(index); in LineLengthAt() local 91 return line != NULL ? line->line.Length() : 0; in LineLengthAt() 99 Line* line = fLines.ItemAt(location.Line()); in GetStatementLocationRange() local 100 if (line == NULL || line->statement == NULL) in GetStatementLocationRange() 103 _start = line->statement->StartSourceLocation(); in GetStatementLocationRange() [all …]
|
/haiku/3rdparty/pulkomandy/ |
H A D | pkggraph.py | 60 for line in infos.split(b'\n'): 61 if line.startswith(b"\tprovides:"): 62 provides.append(line.split(b' ')[1]) 63 if line.startswith(b"\trequires:"): 64 line = line.split(b' ')[1] variable 65 if b'>' in line: 66 line = line.split(b'>')[0] variable 67 if b'=' in line: 68 line = line.split(b'=')[0] variable 69 if line != b'haiku' and line != b'haiku_x86': [all …]
|
/haiku/src/apps/terminal/ |
H A D | BasicTerminalBuffer.cpp | 288 TerminalLine* line = _HistoryLineAt(row, lineBuffer); in IsFullWidthChar() local 289 return line != NULL && column > 0 && column < line->length in IsFullWidthChar() 290 && line->cells[column - 1].attributes.IsWidth(); in IsFullWidthChar() 299 TerminalLine* line = _HistoryLineAt(row, lineBuffer); in GetChar() local 300 if (line == NULL) in GetChar() 303 if (column < 0 || column >= line->length) in GetChar() 306 if (column > 0 && line->cells[column - 1].attributes.IsWidth()) in GetChar() 309 TerminalCell& cell = line->cells[column]; in GetChar() 322 TerminalLine* line = _HistoryLineAt(row, lineBuffer); in GetCellAttributes() local 323 if (line == NULL || column < 0) in GetCellAttributes() [all …]
|
H A D | HistoryBuffer.cpp | 80 HistoryLine* line = LineAt(index); in GetTerminalLineAt() local 81 if (line == NULL) in GetTerminalLineAt() 85 const char* chars = line->Chars(); in GetTerminalLineAt() 88 AttributesRun* attributesRun = line->AttributesRuns(); in GetTerminalLineAt() 89 int32 attributesRunCount = line->attributesRunCount; in GetTerminalLineAt() 93 for (int32 i = 0; i < line->byteLength;) { in GetTerminalLineAt() 131 buffer->softBreak = line->softBreak; in GetTerminalLineAt() 132 buffer->attributes = line->attributes; in GetTerminalLineAt() 139 HistoryBuffer::AddLine(const TerminalLine* line) in AddLine() argument 146 for (int32 i = 0; i < line->length; i++) { in AddLine() [all …]
|
/haiku/src/tests/servers/app/code_to_name/ |
H A D | code_to_name.cpp | 27 skip_white_space(char*& line) in skip_white_space() argument 29 while (isspace(line[0])) in skip_white_space() 30 line++; in skip_white_space() 35 get_name(char* line) in get_name() argument 37 while (isalnum(line[0]) || line[0] == '_') { in get_name() 38 line++; in get_name() 41 line[0] = '\0'; in get_name() 56 char* line = buffer; in print_code() local 57 skip_white_space(line); in print_code() 59 if (strncmp(line, "AS_", 3)) in print_code() [all …]
|
/haiku/src/add-ons/kernel/partitioning_systems/vmdk/ |
H A D | vmdk.cpp | 125 next_token(char*& line, const char* lineEnd, Token& token) in next_token() argument 128 while (line != lineEnd && isspace(*line)) in next_token() 129 line++; in next_token() 132 if (line == lineEnd || *line == '#') { in next_token() 137 switch (*line) { in next_token() 140 line++; in next_token() 149 line++; in next_token() 150 while (line != lineEnd) { in next_token() 151 if (*line == '"') { in next_token() 153 line++; in next_token() [all …]
|
/haiku/src/apps/mediaplayer/playlist/ |
H A D | PlaylistFileReader.cpp | 101 BString line; in AppendToPlaylist() local 102 while (lineReader.Next(line)) { in AppendToPlaylist() 103 if (line.FindFirst("#") != 0) in AppendToPlaylist() 105 _AppendItemToPlaylist(line, playlist); in AppendToPlaylist() 106 line.Truncate(0); in AppendToPlaylist() 126 BString line; in AppendToPlaylist() local 129 lineReader.Next(line); in AppendToPlaylist() 130 if (line != "[playlist]") { in AppendToPlaylist() 134 line.Truncate(0); in AppendToPlaylist() 137 bool lineRead = lineReader.Next(line); in AppendToPlaylist() [all …]
|
/haiku/src/apps/debugger/user_interface/gui/team_window/ |
H A D | SourceView.cpp | 129 BRect LineRect(uint32 line) const; 162 BreakpointMarker* BreakpointMarkerAtLine(uint32 line); 179 static int _CompareLineMarkerTemplate(const uint32* line, 181 static int _CompareLineMarker(const uint32* line, 184 const uint32* line, 238 Marker(uint32 line); 251 InstructionPointerMarker(uint32 line, 270 BreakpointMarker(uint32 line, 294 MarkerByLinePredicate(uint32 line) in MarkerByLinePredicate() 296 fLine(line) in MarkerByLinePredicate() [all …]
|
/haiku/src/tests/apps/partitioner/ |
H A D | Partitioner.cpp | 268 BString line; in Run() local 269 if (!_ReadLine("party> ", line)) in Run() 272 if (line == "") { in Run() 274 } else if (line == "h" || line == "help") { in Run() 276 } else if (line == "i") { in Run() 278 } else if (line == "l") { in Run() 280 } else if (line == "ll") { in Run() 282 } else if (line == "n") { in Run() 284 } else if (line == "q" || line == "quit") { in Run() 286 } else if (line == "w") { in Run() [all …]
|
/haiku/src/libs/bsd/ |
H A D | fgetln.c | 26 char *line; in fgetln() local 36 line = sBuffer; in fgetln() 42 line = fgets(line, left, stream); in fgetln() 43 if (line == NULL) { in fgetln() 49 length = strlen(line); in fgetln() 52 if (line[length - 1] != '\n' && length == sBufferSize - 1) { in fgetln() 63 line = sBuffer + length; in fgetln()
|
/haiku/src/add-ons/kernel/network/ppp/shared/libppp/ |
H A D | MessageDriverSettingsUtils.cpp | 174 BString line, word(name); in WriteParameter() local 177 line.SetTo('\t', level); in WriteParameter() 179 line << '\"'; in WriteParameter() 180 line << word; in WriteParameter() 182 line << '\"'; in WriteParameter() 187 line << ' '; in WriteParameter() 192 line << '\"'; in WriteParameter() 193 line << word; in WriteParameter() 195 line << '\"'; in WriteParameter() 203 line << " {"; in WriteParameter() [all …]
|
/haiku/src/add-ons/network_settings/dialup/ |
H A D | MessageDriverSettingsUtils.cpp | 176 BString line, word(name); in WriteParameter() local 179 line.SetTo('\t', level); in WriteParameter() 181 line << '\"'; in WriteParameter() 182 line << word; in WriteParameter() 184 line << '\"'; in WriteParameter() 189 line << ' '; in WriteParameter() 194 line << '\"'; in WriteParameter() 195 line << word; in WriteParameter() 197 line << '\"'; in WriteParameter() 205 line << " {"; in WriteParameter() [all …]
|
/haiku/src/libs/agg/src/dbg_new/ |
H A D | agg_dbg_new.cpp | 40 int line; member 121 watchdoggy::watchdoggy(const char* file, int line, bool report_all) in watchdoggy() argument 138 dbg_new_info[dbg_new_level].line = line; in watchdoggy() 143 line); in watchdoggy() 155 dbg_new_info[dbg_new_level].line); in ~watchdoggy() 280 void* dbg_malloc(unsigned size, const char* file, int line) in dbg_malloc() argument 285 printf("%u allocated at %08x %s %d\n", size, ptr, file, line); in dbg_malloc() 332 ::memcpy(inf_ptr, &line, sizeof(unsigned)); in dbg_malloc() 384 line in dbg_malloc() 429 unsigned line; in dbg_free() local [all …]
|
/haiku/src/servers/launch/ |
H A D | BaseJob.cpp | 227 BString line; in _GetSourceFileEnvironment() local 241 line.Append(chunk, bytesRead); in _GetSourceFileEnvironment() 244 line.Append(chunk, separator - chunk); in _GetSourceFileEnvironment() 247 _ParseExportVariable(environment, line); in _GetSourceFileEnvironment() 248 line.Truncate(0); in _GetSourceFileEnvironment() 251 if (!line.IsEmpty()) in _GetSourceFileEnvironment() 252 _ParseExportVariable(environment, line); in _GetSourceFileEnvironment() 260 BaseJob::_ParseExportVariable(BStringList& environment, const BString& line) in _ParseExportVariable() argument 262 if (!line.StartsWith("export ")) in _ParseExportVariable() 265 int separator = line.FindFirst("=\""); in _ParseExportVariable() [all …]
|
/haiku/src/apps/haikudepot/textview/ |
H A D | ParagraphLayout.cpp | 260 const LineInfo& line = fLineInfos[i]; in Draw() local 261 _DrawLine(view, offset, line); in Draw() 392 const LineInfo& line = fLineInfos[glyph.lineIndex]; in GetTextBounds() local 396 y1 = line.y; in GetTextBounds() 397 y2 = y1 + line.height; in GetTextBounds() 406 const LineInfo& line = fLineInfos[glyph.lineIndex]; in GetTextBounds() local 410 y1 = line.y; in GetTextBounds() 411 y2 = y1 + line.height; in GetTextBounds() 434 const LineInfo& line = fLineInfos[lineIndex]; in TextOffsetAt() local 435 float lineBottom = floorf(line.y + line.height + 0.5); in TextOffsetAt() [all …]
|
/haiku/src/add-ons/translators/pcx/ |
H A D | PCX.cpp | 97 uint8 *line = scanLineData[row]; in convert_data_to_bits() local 116 line[index++] = x; in convert_data_to_bits() 118 line[index++] = x; in convert_data_to_bits() 158 uint8 *line = scanLineData[row]; in convert_data_to_bits() local 159 if (line == NULL) in convert_data_to_bits() 163 bool isBit = ((line[i >> 3] & mask[i & 7]) != 0) ? true : false; in convert_data_to_bits() 173 uint8 *line = scanLineData[row]; in convert_data_to_bits() local 174 if (line == NULL) in convert_data_to_bits() 179 index = (line[i >> 1] >> 4) & 15; in convert_data_to_bits() 181 index = line[i >> 1] & 15; in convert_data_to_bits() [all …]
|
/haiku/src/tests/kits/shared/ |
H A D | JsonErrorHandlingTest.cpp | 26 void HandleError(status_t status, int32 line, 127 ErrorCapturingListener::HandleError(status_t status, int32 line, in HandleError() argument 131 fErrorLine = line; in HandleError() 187 int32 line, status_t expectedStatus, char expectedBadEscapeChar) in TestParseWithBadStringEscape() argument 193 TestParseWithErrorMessage(input, line, expectedStatus, in TestParseWithBadStringEscape() 200 int32 line, status_t expectedStatus) in TestParseWithUnterminatedElement() argument 205 TestParseWithErrorMessage(input, line, expectedStatus, in TestParseWithUnterminatedElement() 212 int32 line, status_t expectedStatus, char expectedChar) in TestParseWithUnexpectedCharacter() argument 219 TestParseWithErrorMessage(input, line, expectedStatus, in TestParseWithUnexpectedCharacter() 225 JsonErrorHandlingTest::TestParseWithErrorMessage(const char* input, int32 line, in TestParseWithErrorMessage() argument [all …]
|
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/cortex/RouteApp/ |
H A D | RouteAppNodeManager.cpp | 276 BString line = B_TRANSLATE("Between:"); in connectionMade() local 277 logMsg.AddString("line", line); in connectionMade() 278 line = " "; in connectionMade() 279 line += B_TRANSLATE("%producer% and %consumer%"); in connectionMade() 280 line.ReplaceFirst("%producer%", producer->name()); in connectionMade() 281 line.ReplaceFirst("%consumer%", consumer->name()); in connectionMade() 282 logMsg.AddString("line", line); in connectionMade() 285 line = B_TRANSLATE("Negotiated format:"); in connectionMade() 286 logMsg.AddString("line", line); in connectionMade() 287 line = " "; in connectionMade() [all …]
|
/haiku/src/add-ons/kernel/file_cache/ |
H A D | rule_based_prefetcher.cpp | 307 eat_spaces(char *&line) in eat_spaces() argument 310 while (isspace(line[0])) in eat_spaces() 311 line++; in eat_spaces() 335 ignore_line(char *&line) in ignore_line() argument 337 while (line[0] && line[0] != '\n') in ignore_line() 338 line++; in ignore_line() 343 get_name(char *&line) in get_name() argument 345 if (line[0] != '"') in get_name() 348 const char *name = ++line; in get_name() 350 while (line[0] && line[0] != '"') { in get_name() [all …]
|
/haiku/src/bin/ |
H A D | open.cpp | 35 open_file(const char* openWith, BEntry& entry, int32 line = -1, int32 col = -1) in open_file() argument 48 if (line > -1) in open_file() 49 message.AddInt32("be:line", line); in open_file() 105 int line = 0, col = 0, i; in main() local 114 line = atoi(arg.String() + i + 1); in main() 119 result = open_file(openWith, entry, line); in main() 125 col = line; in main() 127 line = atoi(arg.String() + i + 1); in main() 132 result = open_file(openWith, entry, line, col); in main()
|
/haiku/src/apps/mediaplayer/supplier/ |
H A D | SubTitlesSRT.cpp | 73 BString line(lines.StringAt(currentLine)); in SubTitlesSRT() local 74 line.RemoveAll("\r"); in SubTitlesSRT() 78 if (line.IsEmpty()) in SubTitlesSRT() 81 line.Trim(); in SubTitlesSRT() 82 int32 sequenceNumber = atoi(line.String()); in SubTitlesSRT() 96 line.Trim(); in SubTitlesSRT() 97 int32 separatorPos = line.FindFirst(" --> "); in SubTitlesSRT() 100 B_PRId32 ", got '%s'\n", currentLine, line.String()); in SubTitlesSRT() 103 BString timeCode(line.String(), separatorPos); in SubTitlesSRT() 124 timeCode.SetTo(line.String() + endTimePos); in SubTitlesSRT() [all …]
|
/haiku/src/bin/cddb_lookup/ |
H A D | cddb_server.cpp | 204 BString line; in Read() local 205 output.MoveInto(line, 0, output.FindFirst("\r\n")); in Read() 210 line.MoveInto(prefix, 0, line.FindFirst("=")); in Read() 211 line.Remove(0, 1); in Read() 216 line.MoveInto(artist, 0, line.FindFirst(" / ")); in Read() 217 line.Remove(0, 3); in Read() 218 readResponse.title = line; in Read() 224 uint32 year = strtoul(line.String(), &firstInvalid, 10); in Read() 229 printf("Year out of range: %s\n", line.String()); in Read() 233 if (firstInvalid == line.String()) { in Read() [all …]
|