Searched refs:line (Results 51 - 75 of 245) sorted by relevance

12345678910

/haiku/headers/private/debugger/model/
H A DDisassembledCode.h46 bool AddCommentLine(const BString& line);
47 bool AddInstructionLine(const BString& line,
59 bool _AddLine(const BString& line,
/haiku/src/kits/device/
H A DJoystickTweaker.cpp165 char line[STACK_STRING_BUFFER_SIZE]; local
166 while (fgets(line, sizeof(line), file) != NULL) {
167 int length = strlen(line);
168 if (length > 0 && line[length - 1] == '\n')
169 line[length - 1] = '\0';
171 _BuildFromJoystickDesc(line, info);
/haiku/src/add-ons/kernel/file_cache/
H A Dlog.cpp270 char line[1236]; local
275 length = snprintf(line, sizeof(line), "%ld: %lld \"%s\" l %ld:%lld %ld \"%s\" ",
279 length = std::min(length, (ssize_t)sizeof(line) - 1);
284 ssize_t written = write(sLogFile, line, length);
292 strlcpy(line, log->launch.args[j], sizeof(line));
293 length = strlcat(line, "\xb0 ", sizeof(line));
296 if (length >= (ssize_t)sizeof(line))
[all...]
/haiku/src/libs/agg/src/dbg_new/
H A Dagg_dbg_new.cpp40 int line; member in struct:agg::dbg_new
121 watchdoggy::watchdoggy(const char* file, int line, bool report_all) argument
138 dbg_new_info[dbg_new_level].line = line;
140 printf("wd%d started. File:%s line:%d\n",
143 line);
152 printf("wd%d stopped. File:%s line:%d\n",
155 dbg_new_info[dbg_new_level].line);
280 void* dbg_malloc(unsigned size, const char* file, int line) argument
285 printf("%u allocated at %08x %s %d\n", size, ptr, file, line);
429 unsigned line; local
482 operator new(size_t size, const char* file, int line) argument
488 operator new [](size_t size, const char* file, int line) argument
[all...]
/haiku/src/system/kernel/debug/
H A Ddebug_builtin_commands.cpp28 // I'll be really suprised if this line ever runs! ;-)
237 const char* line = argv[argi++]; local
241 match = strstr(line, pattern) != NULL;
244 int32 lineLen = strlen(line);
248 if (strncasecmp(line + i, pattern, patternLen) == 0) {
256 kputs(line);
292 const char* line = argv[1]; local
293 if (line == NULL) {
304 // count words and chars in this line
306 for (; *line !
[all...]
/haiku/src/tests/system/kernel/unit/
H A DTestContext.h112 inline void AssertFailed(const char* file, int line,
115 inline void AssertFailed(const char* file, int line,
168 TestContext::AssertFailed(const char* file, int line, const char* function, argument
171 Error("ASSERT FAILED at %s:%d %s: %s\n", file, line, function, condition);
176 TestContext::AssertFailed(const char* file, int line, const char* function, argument
186 Error("ASSERT FAILED at %s:%d %s: %s; %s\n", file, line, function,
/haiku/src/tools/cppunit/cppunit/
H A DCompilerOutputter.cpp167 string line( *it );
170 while ( index < (int)line.length() )
172 string line( line.substr( index, maxLineLength ) );
173 wrapped += line;
175 if ( index < (int)line.length() )
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dlogging.c304 * @function: Function in which the log line occurred
305 * @file: File in which the log line occurred
306 * @line: Line number on which the log line occurred
307 * @level: Level at which the line is logged
320 int line, u32 level, void *data, const char *format, ...)
331 ret = ntfs_log.handler(function, file, line, level, data, format, args);
341 * @function: Function in which the log line occurred
342 * @file: File in which the log line occurred
343 * @line
319 ntfs_log_redirect(const char *function, const char *file, int line, u32 level, void *data, const char *format, ...) argument
444 ntfs_log_handler_fprintf(const char *function, const char *file, int line, u32 level, void *data, const char *format, va_list args) argument
557 ntfs_log_handler_stdout(const char *function, const char *file, int line, u32 level, void *data, const char *format, va_list args) argument
590 ntfs_log_handler_outerr(const char *function, const char *file, int line, u32 level, void *data, const char *format, va_list args) argument
622 ntfs_log_handler_stderr(const char *function, const char *file, int line, u32 level, void *data, const char *format, va_list args) argument
[all...]
/haiku/src/kits/interface/textview_support/
H A DLineBuffer.cpp119 STELine* line = &fBuffer[0]; local
121 if (maxWidth < line->width)
122 maxWidth = line->width;
123 line++;
/haiku/src/system/kernel/arch/ppc/
H A Darch_debug_console.cpp20 arch_debug_remove_interrupt_handler(uint32 line) argument
/haiku/headers/private/debugger/source_language/
H A DSyntaxHighlighter.h36 virtual int32 GetLineHighlightRanges(int32 line,
/haiku/src/apps/haikudepot/server/
H A DStandardMetaDataJsonEventListener.h27 void HandleError(status_t status, int32 line,
/haiku/src/system/kernel/arch/sparc/
H A Darch_debug_console.cpp20 arch_debug_remove_interrupt_handler(uint32 line) argument
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_misc.h117 int selfgen, const char *file, int line);
119 int power_state, const char *file, int line);
121 int power_state, const char *file, int line);
123 const char *file, int line);
/haiku/src/tests/kits/shared/
H A DChecksumJsonEventListener.h24 virtual void HandleError(status_t status, int32 line, const char* message);
/haiku/src/system/libroot/posix/
H A Dshadow.cpp198 sgetspent(const char* line) argument
201 int status = sgetspent_r(line, &sShadowPwdBuffer, sShadowPwdStringBuffer,
218 // we need a mutable copy of the line
219 char* line = strdup(_line); local
220 if (line == NULL)
222 MemoryDeleter _(line);
234 status_t status = BPrivate::parse_shadow_pwd_line(line, name, password,
267 // read a line
270 char* line = fgets(lineBuffer, sizeof(lineBuffer), file); local
271 if (line
[all...]
/haiku/src/tools/opd_to_package_info/
H A Dopd_to_package_info.cpp276 while (char* line = fgets(lineBuffer, sizeof(lineBuffer), input)) {
277 // chop off line break
278 size_t lineLen = strlen(line);
279 if (lineLen > 0 && line[lineLen - 1] == '\n')
280 line[--lineLen] = '\0';
283 if (lineLen == 0 || !isspace(line[0])) {
292 fieldValue += line;
295 // bogus line -- ignore
303 char* colon = strchr(line, ':');
305 // bogus line
[all...]
/haiku/src/kits/debugger/source_language/c_family/
H A DCLanguageFamilySyntaxHighlightInfo.cpp128 LineInfo(int32 line) argument
130 fLine(line),
193 CLanguageFamilySyntaxHighlightInfo::GetLineHighlightRanges(int32 line, argument
196 if (line >= fHighlightSource->CountLines())
206 LineInfo* info = fLineInfos.ItemAt(line);
233 const char* line = fHighlightSource->LineAt(i); local
234 fTokenizer->SetTo(line);
253 CLanguageFamilySyntaxHighlightInfo::_ParseLine(int32 line, argument
259 _info = new(std::nothrow) LineInfo(line);
/haiku/src/bin/mail_utils/
H A Dmail2mbox.cpp13 reduced. The resulting text is written to standard output. Command line
70 /*! Determine if a line of text is the start of another message. Pine mailbox
71 files have messages that start with a line that could say something like
82 true if the line of text (ended with a NUL byte, no line feed or carriage
233 // First read in one line of text.
234 char line[102400]; local
235 if (fgets(line, sizeof(line), inputFile) == NULL) {
248 // Remove any trailing control characters (line fee
[all...]
/haiku/src/preferences/locale/
H A DLanguageListView.cpp392 uint8* line = bits + 3; local
393 for (uint8* end = line + 4 * width; line < end; line += 4)
394 *line = ALPHA;
398 uint8* line = bits + 3; local
399 for (uint8* end = line + 4 * width; line < end; line += 4)
400 *line
404 uint8* line = bits + 3; local
[all...]
/haiku/src/build/libroot/
H A Dmisc.cpp27 _debuggerAssert(const char *file, int line, const char *expression) argument
30 snprintf(buffer, sizeof(buffer), "%s:%d: %s\n", file, line, expression);
/haiku/src/kits/shared/
H A DJsonWriter.cpp28 BJsonWriter::HandleError(status_t status, int32 line, argument
35 fprintf(stderr, "! json err @line %" B_PRIi32 " - %s : %s\n", line,
/haiku/src/apps/codycam/
H A DFtpClient.cpp467 FtpClient::_GetReplyLine(string& line) argument
473 line = "";
511 line += c;
517 line += c;
531 string line, tempString; local
538 * line message would have the 3-digit code <space> then the msg.
539 * A multi-line message would have the code <dash> and the first
540 * line of the msg, then additional lines, until the last line,
541 * which has the code <space> and last line o
[all...]
/haiku/src/tools/
H A Dhardlink_packages.py62 for line in f:
63 pkg = line.strip()
68 newFileForJam.append(line)
77 newFileForJam.append(line)
87 newFileForJam.append(line)
/haiku/src/system/boot/platform/generic/
H A Dtext_menu.cpp62 print_centered(int32 line, const char *text, bool resetPosition = true) argument
64 console_set_cursor(console_width() / 2 - strlen(text) / 2, line);
69 // this avoids unwanted line feeds
75 print_right(int32 line, const char *text, bool resetPosition = true) argument
77 console_set_cursor(console_width() - (strlen(text) + 1), line);
82 // this avoids unwanted line feeds
88 print_item_at(int32 line, MenuItem *item, bool clearHelp = true) argument
92 line -= sMenuOffset;
93 if (line < 0 || line >
586 int32 line = menu->IndexOf(item) - sMenuOffset; local
[all...]

Completed in 223 milliseconds

12345678910