/haiku/src/apps/stylededit/ |
H A D | StyledEditApp.cpp | 269 int32 line; local 270 if (message->FindInt32("be:line", index, &line) != B_OK) 271 line = -1; 281 if (line >= 0 || (start >= 0 && length >= 0)) { 283 if (line >= 0) 284 selection->AddInt32("be:line", line);
|
H A D | StyledEditView.cpp | 218 int32 line = CurrentLine(); local 219 int32 lineStart = OffsetAt(line); 234 message->AddInt32("line", line + 1);
|
/haiku/src/tests/servers/registrar/ |
H A D | RosterShell.cpp | 260 read_line(char* line, size_t size) argument 266 std::cin.getline(line, size); 281 char line[10240]; local 282 while (!shell.IsTerminating() && read_line(line, sizeof(line))) { 284 std::istringstream in(line);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | ioctl.c | 107 static int read_line(const char *path, char *line, size_t max_bytes) argument 114 if (fgets(line, max_bytes, fp) == NULL) { 125 char line[64]; local 128 ret = read_line(path, line, sizeof line); 131 if (sscanf(line, "%" SCNu64, n) != 1)
|
/haiku/src/kits/debugger/dwarf/ |
H A D | AttributeValue.h | 350 uint32 line; member in struct:DeclarationLocation 356 line(0xffffffff), 366 void SetLine(uint32 line) argument 368 this->line = line; 383 return line != 0xffffffff;
|
H A D | DwarfUtils.cpp | 243 uint32 line = 0; local 246 bool lineSet = entry->GetDeclarationLine(line); 256 lineSet = entry->GetDeclarationLine(line); 269 lineSet = entry->GetDeclarationLine(line); 290 _line = (int32)line - 1;
|
H A D | LineNumberProgram.cpp | 99 state.line += adjustedOpcode % fLineRange + fLineBase; 120 state.line += dataReader.ReadSignedLEB128(0); 212 state.line = 1;
|
/haiku/src/apps/cortex/InfoView/ |
H A D | InfoView.cpp | 294 // update the each lines' line-wrapping and redraw as necessary 346 // calculate the height needed to display everything, avoiding line wrapping 400 // delete every line 403 BString *line = static_cast<BString *>(m_textLines->RemoveItem((int32)0)); 404 if (line) { 405 delete line; 439 BString *line = static_cast<BString *>(m_textLines->ItemAt(i)); 440 m_parent->DrawString(line->String(), p); 452 // the number of characters per line (to know if something changed) 459 BString *line [all...] |
/haiku/src/tools/gensyscalls/ |
H A D | gensyscallinfos.cpp | 239 // read the line 244 vector<string> line; local 251 line.push_back(string(buffer + tokenStart, buffer + i)); 266 line.push_back(string(buffer + tokenStart, 269 line.push_back(string(buffer + i, buffer + i + 1)); 275 line.push_back(string(buffer + tokenStart, buffer + len)); 276 // drop the line, if it starts with "# <number>", as those are 278 if (line.size() >= 2) { 279 if (line[0] == "#" && isdigit(line[ [all...] |
/haiku/src/tests/system/kernel/cache/ |
H A D | block_cache_test.cpp | 28 error(line, "Block %lld: " #type " should be NULL!", (number)); \ 31 error(line, "Block %lld: " #type " wrong (0x%lx should be 0x%lx)!", \ 82 error(int32 line, const char* format, ...) argument 87 fprintf(stderr, "ERROR IN TEST LINE %ld: ", line); 164 int32 numSubBlocks, int32 line) 170 error(line, "Transaction %d has wrong num_blocks (is %d, should be " 174 error(line, "Transaction %d has wrong num_blocks (is %d, should be " 178 error(line, "Transaction %d has wrong num_blocks (is %d, should be " 185 test_blocks(off_t number, int32 count, int32 line) argument 195 error(line, "Bloc 163 test_transaction(int32 id, int32 numBlocks, int32 numMainBlocks, int32 numSubBlocks, int32 line) argument [all...] |
/haiku/src/apps/poorman/ |
H A D | PoorManWindow.cpp | 222 BString line; local 243 line << '[' << timeString << "]: "; 248 line << '(' << address << ") "; 251 line << msg; 265 line.String(), line.Length(), &runs); 271 fLogFile->Write(line.String(), line.Length()); 314 BString line; local 315 line << "[" << timeStrin [all...] |
/haiku/src/bin/network/telnet/ |
H A D | commands.c | 127 static char line[256]; variable 168 cp = line; 170 strcpy(saveline, line); /* save for shell command */ 745 { " ", "", NULL, NULL, NULL }, /* empty line */ 895 { "kill", "character to use to erase a line", NULL, termKillCharp }, 898 { "reprint", "character to use for line reprint", NULL, termRprntCharp }, 902 { "forw1", "alternate end of line character", NULL, termForw1Charp }, 903 { "forw2", "alternate end of line character", NULL, termForw2Charp }, 1147 { "", "(or disable obsolete line-by-line mod [all...] |
/haiku/src/bin/fwcontrol/ |
H A D | eui64.c | 109 char *line, *linehead, *cur; local 114 line = linehead; 117 while ((cur = strsep(&line, " \t\r\n")) != NULL) { 127 while ((cur = strsep(&line, " \t\r\n")) != NULL) { 137 while ((cur = strsep(&line, " \t\r\n")) != NULL) {
|
/haiku/src/bin/network/telnetd/ |
H A D | sys_term.c | 396 * array "line" contains the name of the slave side. 411 (void) strcpy(line, "/dev/pt/XX"); 413 (void) strcpy(line, _PATH_DEV); 414 (void) strcat(line, "ptyXX"); 416 p1 = &line[8]; 417 p2 = &line[9]; 429 if (stat(line, &stb) < 0) 433 p = open(line, 2); 435 line[5] = 't'; 436 chown(line, [all...] |
/haiku/src/apps/debugger/user_interface/cli/ |
H A D | CommandLineUserInterface.cpp | 267 // read a command line 268 const char* line = fContext->PromptUser(kDebuggerPrompt); local 269 if (line == NULL) 272 // parse the command line 275 switch (args.Parse(line, &parseErrorLocation)) { 279 printf("Insufficient memory parsing the command line.\n"); 283 "character %zu.\n", parseErrorLocation - line + 1); 293 // add line to history 294 fContext->AddLineToInputHistory(line);
|
/haiku/src/bin/rc/ |
H A D | compile.cpp | 59 int32 line; member in struct:mem_t 118 mem.line = yylineno; 157 printf("%p allocated at %s:%ld\n", i->ptr, i->file, i->line);
|
/haiku/src/libs/compat/freebsd_network/tools/ |
H A D | usbdevs2h.awk | 221 # Process the command line 234 line=0; 237 line++; 238 if (line == 1) {
|
/haiku/src/system/libroot/os/ |
H A D | debug.c | 257 _debuggerAssert(const char *file, int line, const char *message) argument 262 file, line, message); 265 line, buffer);
|
/haiku/src/bin/network/arp/ |
H A D | arp.cpp | 139 // skip all whitespace until next argument (or end of line) 259 char line[4096]; local 261 while (fgets(line, sizeof(line), file) != NULL) { 265 if (line[0] == '#' || !strcmp(line, "\n")) 270 char *rest = line;
|
/haiku/src/apps/debugger/user_interface/gui/team_window/ |
H A D | SourceView.h | 52 bool ScrollToLine(uint32 line); 80 bool GetStatementForLine(int32 line,
|
/haiku/src/apps/text_search/ |
H A D | Grepper.cpp | 268 argv[argc++] = "-n"; // need matching line(s) number(s) 371 char line[B_PATH_NAME_LENGTH * 2]; local 415 if (fgets(line, sizeof(line), output) != NULL) { 419 sscanf(line, "%[^\n:]:%d:%n", fileName, &lineNumber, &textPos); 420 // printf("sscanf(\"%s\") -> %s %d %d\n", line, fileName, 439 char* text = &line[strlen(fileName)+1]; 449 message.AddInt32("line", lineNumber); 456 if (fgets(line, sizeof(line), error [all...] |
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_node.h | 410 const char *func, int line); 414 const char *func, int line); 417 const char *func, int line); 422 const char *func, int line); 427 const char *func, int line); 430 const char *func, int line); 434 const char *func, int line); 437 const char *func, int line);
|
/haiku/src/kits/network/libnetservices2/ |
H A D | HttpBuffer.cpp | 107 \brief Get the next line from this buffer. 114 \retval BString The next line. 124 BString line( 127 return line;
|
/haiku/headers/cpp/ |
H A D | PlotFile.h | 80 PlotFile& line(const int x0, const int y0,
|
/haiku/headers/private/shared/ |
H A D | CommandPipe.h | 68 virtual status_t ReadLine(const BString& line) = 0; 72 // This function reads line-by-line from "file". It calls IsCanceled() 74 // (currently). And it calls ReadLine() for each complete line.
|