/haiku/src/tools/ |
H A D | data_to_source.cpp | 64 char lineBuffer[128]; in main() local 66 sprintf(lineBuffer, "#include <stddef.h>\n"); in main() 67 write_string(outFD, lineBuffer); in main() 68 sprintf(lineBuffer, "const unsigned char %s[] = {\n", dataVarName); in main() 69 write_string(outFD, lineBuffer); in main() 72 char* lineBufferEnd = lineBuffer; in main() 91 write_string(outFD, lineBuffer); in main() 92 lineBufferEnd = lineBuffer; in main() 105 if (lineBufferEnd != lineBuffer) { in main() 107 write_string(outFD, lineBuffer); in main() [all …]
|
/haiku/src/system/boot/loader/ |
H A D | pager.cpp | 120 char lineBuffer[256]; in pager() local 122 int32 lineCount = count_lines(textSource, width, lineBuffer, in pager() 123 sizeof(lineBuffer)); in pager() 129 size_t offset = offset_of_line(textSource, width, lineBuffer, in pager() 130 sizeof(lineBuffer), topLine); in pager() 137 size_t bytesRead = next_line(textSource, width, offset, lineBuffer, in pager() 138 sizeof(lineBuffer)); in pager() 143 puts(lineBuffer); in pager()
|
/haiku/src/apps/terminal/ |
H A D | BasicTerminalBuffer.cpp | 69 BasicTerminalBuffer::_HistoryLineAt(int32 index, TerminalLine* lineBuffer) const in _HistoryLineAt() 75 return fHistory->GetTerminalLineAt(-index - 1, lineBuffer); in _HistoryLineAt() 287 TerminalLine* lineBuffer = ALLOC_LINE_ON_STACK(fWidth); in IsFullWidthChar() local 288 TerminalLine* line = _HistoryLineAt(row, lineBuffer); in IsFullWidthChar() 298 TerminalLine* lineBuffer = ALLOC_LINE_ON_STACK(fWidth); in GetChar() local 299 TerminalLine* line = _HistoryLineAt(row, lineBuffer); in GetChar() 321 TerminalLine* lineBuffer = ALLOC_LINE_ON_STACK(fWidth); in GetCellAttributes() local 322 TerminalLine* line = _HistoryLineAt(row, lineBuffer); in GetCellAttributes() 341 TerminalLine* lineBuffer = ALLOC_LINE_ON_STACK(fWidth); in GetString() local 342 TerminalLine* line = _HistoryLineAt(row, lineBuffer); in GetString() [all …]
|
H A D | BasicTerminalBuffer.h | 189 TerminalLine* lineBuffer) const; 220 bool _PreviousLinePos(TerminalLine* lineBuffer, 222 bool _NormalizeLinePos(TerminalLine* lineBuffer,
|
/haiku/src/tools/opd_to_package_info/ |
H A D | opd_to_package_info.cpp | 273 char lineBuffer[LINE_MAX]; in main() local 276 while (char* line = fgets(lineBuffer, sizeof(lineBuffer), input)) { in main()
|
/haiku/src/system/libroot/posix/ |
H A D | shadow.cpp | 268 char lineBuffer[LINE_MAX + 1]; in fgetspent_r() local 270 char* line = fgets(lineBuffer, sizeof(lineBuffer), file); in fgetspent_r()
|
/haiku/src/servers/registrar/ |
H A D | AuthenticationManager.cpp | 1247 char lineBuffer[LINE_MAX]; in _InitPasswdDB() local 1248 while (char* line = fgets(lineBuffer, sizeof(lineBuffer), file.Get())) { in _InitPasswdDB() 1295 char lineBuffer[LINE_MAX]; in _InitGroupDB() local 1296 while (char* line = fgets(lineBuffer, sizeof(lineBuffer), file.Get())) { in _InitGroupDB() 1342 char lineBuffer[LINE_MAX]; in _InitShadowPwdDB() local 1343 while (char* line = fgets(lineBuffer, sizeof(lineBuffer), file.Get())) { in _InitShadowPwdDB()
|
/haiku/src/system/kernel/debug/ |
H A D | debug.cpp | 2345 char lineBuffer[3 + DUMPED_BLOCK_SIZE * 4]; in dump_block() local 2348 char* pointer = lineBuffer; in dump_block() 2373 dprintf("%s%04x%s\n", prefix, start, lineBuffer); in dump_block()
|
/haiku/src/apps/aboutsystem/ |
H A D | AboutSystem.cpp | 2131 char lineBuffer[LINE_MAX]; in _AddCopyrightsFromAttribute() local 2133 = fgets(lineBuffer, sizeof(lineBuffer), attrFile.Get())) { in _AddCopyrightsFromAttribute()
|
/haiku/src/tools/html5_remote_desktop/ |
H A D | HaikuRemoteDesktop.js | 714 var lineBuffer = new Uint8Array(this.bytesPerRow); 715 var line = new Uint16Array(lineBuffer.buffer); 719 remoteMessage.dataView.readInto(lineBuffer);
|