Searched refs:line (Results 101 - 125 of 245) sorted by relevance

12345678910

/haiku/src/apps/stylededit/
H A DStyledEditApp.cpp269 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 DStyledEditView.cpp218 int32 line = CurrentLine(); local
219 int32 lineStart = OffsetAt(line);
234 message->AddInt32("line", line + 1);
/haiku/src/tests/servers/registrar/
H A DRosterShell.cpp260 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 Dioctl.c107 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 DAttributeValue.h350 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 DDwarfUtils.cpp243 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 DLineNumberProgram.cpp99 state.line += adjustedOpcode % fLineRange + fLineBase;
120 state.line += dataReader.ReadSignedLEB128(0);
212 state.line = 1;
/haiku/src/apps/cortex/InfoView/
H A DInfoView.cpp294 // 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 Dgensyscallinfos.cpp239 // 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 Dblock_cache_test.cpp28 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 DPoorManWindow.cpp222 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 Dcommands.c127 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 Deui64.c109 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 Dsys_term.c396 * 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 DCommandLineUserInterface.cpp267 // 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 Dcompile.cpp59 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 Dusbdevs2h.awk221 # Process the command line
234 line=0;
237 line++;
238 if (line == 1) {
/haiku/src/system/libroot/os/
H A Ddebug.c257 _debuggerAssert(const char *file, int line, const char *message) argument
262 file, line, message);
265 line, buffer);
/haiku/src/bin/network/arp/
H A Darp.cpp139 // 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 DSourceView.h52 bool ScrollToLine(uint32 line);
80 bool GetStatementForLine(int32 line,
/haiku/src/apps/text_search/
H A DGrepper.cpp268 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 Dieee80211_node.h410 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 DHttpBuffer.cpp107 \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 DPlotFile.h80 PlotFile& line(const int x0, const int y0,
/haiku/headers/private/shared/
H A DCommandPipe.h68 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.

Completed in 302 milliseconds

12345678910