/haiku/src/tests/kits/net/ |
H A D | link_echo.cpp | 25 static const size_t kBufferSize = 1500;
variable 45 char buffer[kBufferSize];
47 while (fgets(buffer, kBufferSize, stdin) != NULL) {
59 ssize_t bytesRead = recvfrom(fd, buffer, kBufferSize - 1, 0, NULL,
79 char buffer[kBufferSize];
80 ssize_t bytesRead = recvfrom(fd, buffer, kBufferSize - 1, 0, client,
|
/haiku/src/tests/kits/app/messaging/ |
H A D | PortLinkTest.cpp | 8 const int32 kBufferSize = 2048; variable 50 char test[kBufferSize + 2048]; 52 sender.Attach(test, kBufferSize - 40);
|
/haiku/src/tools/ |
H A D | data_to_source.cpp | 62 const int kBufferSize = 16 * 1024; local 63 unsigned char buffer[kBufferSize]; 76 ssize_t bytesRead = read(inFD, buffer, kBufferSize);
|
/haiku/src/bin/ |
H A D | mvattr.cpp | 37 static const size_t kBufferSize = 1024 * 1024; variable 38 static uint8 kBuffer[kBufferSize]; 92 size_t size = min_c(kBufferSize, bytesLeft);
|
/haiku/src/kits/shared/ |
H A D | SettingsHandler.cpp | 80 fBuffer = new char [kBufferSize]; 162 if (fgets(fBuffer, kBufferSize, fFile) == 0)
|
/haiku/headers/private/shared/ |
H A D | SettingsHandler.h | 58 const int32 kBufferSize = 1024; member in namespace:BPrivate
|
/haiku/src/system/boot/loader/ |
H A D | package_support.cpp | 330 static const size_t kBufferSize = 3 * B_FILE_NAME_LENGTH + 2; local 331 ArrayDeleter<char> path(new(std::nothrow) char[kBufferSize]); 334 snprintf(path.Get(), kBufferSize, "%s/%s/%s", 351 kBufferSize - remainingBytes - 1);
|
/haiku/src/system/kernel/arch/arm/ |
H A D | arch_debug.cpp | 124 static const size_t kBufferSize = 256; local 125 char* buffer = (char*)debug_malloc(kBufferSize); 130 const char* name = debug_demangle_symbol(symbol, buffer, kBufferSize, 164 kBufferSize, &type, &length) == B_OK) { 265 kBufferSize) < B_OK) {
|
/haiku/src/system/kernel/arch/arm64/ |
H A D | arch_debug.cpp | 116 static const size_t kBufferSize = 256; local 117 char* buffer = (char*)debug_malloc(kBufferSize); 122 const char* name = debug_demangle_symbol(symbol, buffer, kBufferSize, 156 kBufferSize, &type, &length) == B_OK) { 257 kBufferSize) < B_OK) {
|
/haiku/src/add-ons/kernel/file_systems/cdda/ |
H A D | cdda.cpp | 37 static const uint32 kBufferSize = 16384; variable 579 uint8 *buffer = (uint8 *)malloc(kBufferSize); 586 kBufferSize); 588 kBufferSize) != B_OK) {
|
/haiku/src/kits/network/libnetapi/ |
H A D | NetworkDevice.cpp | 433 const size_t kBufferSize = 65535; local 434 uint8* buffer = (uint8*)malloc(kBufferSize); 439 int32 length = kBufferSize; 487 const size_t kBufferSize = 65535; local 488 uint8* buffer = (uint8*)malloc(kBufferSize); 494 int32 length = kBufferSize; 537 const size_t kBufferSize = 65535; local 538 uint8* buffer = (uint8*)malloc(kBufferSize); 551 int32 length = kBufferSize;
|
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_debug.cpp | 162 static const size_t kBufferSize = 256; local 163 char* buffer = (char*)debug_malloc(kBufferSize); 168 const char* name = debug_demangle_symbol(symbol, buffer, kBufferSize, 202 kBufferSize, &type, &length) == B_OK) { 303 kBufferSize) < B_OK) { 333 static const size_t kBufferSize = 256; local 334 char* buffer = (char*)debug_malloc(kBufferSize); 339 const char* name = debug_demangle_symbol(symbol, buffer, kBufferSize, 352 kBufferSize, &type, &length) == B_OK) {
|
/haiku/src/system/kernel/debug/ |
H A D | tracing.cpp | 48 static const size_t kBufferSize = MAX_TRACE_SIZE / sizeof(trace_entry); variable 146 static const size_t kBufferSize = 256; local 147 char* buffer = (char*)debug_malloc(kBufferSize); 164 kBufferSize, &isObjectMethod); 265 entry = fBuffer + kBufferSize - entry->previous_size; 316 if (start < (addr_t)fBuffer || end > (addr_t)(fBuffer + kBufferSize)) 372 if (fAfterLastEntry + needed > fBuffer + kBufferSize) { 394 fAfterLastEntry->previous_size = fBuffer + kBufferSize - wrapEntry; 619 if (entry->size > uint32(fBuffer + kBufferSize - entry)) { 637 if ((uint32)(fBuffer + kBufferSize [all...] |
H A D | core_dump.cpp | 50 static const size_t kBufferSize = 1024 * 1024; member in namespace:__anon2 585 fCapacity = kBufferSize;
|
/haiku/src/system/boot/loader/file_systems/tarfs/ |
H A D | tarfs.cpp | 744 static const int kBufferSize = 2048; local 745 char* in = (char*)malloc(kBufferSize); 751 kBufferSize, // avail in 771 ssize_t bytesRead = partition->ReadAt(cookie, offset, in, kBufferSize);
|
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_cd/ |
H A D | scsi_cd.cpp | 98 const size_t kBufferSize = blockSize * 4; local 101 B_PRIu32", capacity %llu\n", kBufferSize, blockSize, 124 (kBufferSize - 1 + B_PAGE_SIZE) / B_PAGE_SIZE, VM_PRIORITY_SYSTEM); 126 for (size_t left = kBufferSize; numEntries < kMaxEntries && left > 0;
|
/haiku/src/apps/debuganalyzer/model_loader/ |
H A D | ModelLoader.cpp | 554 const size_t kBufferSize = 1024 * 1024; local 555 void* buffer = malloc(kBufferSize); 562 ssize_t bytesRead = io->Read(buffer, kBufferSize);
|
/haiku/src/system/kernel/cache/ |
H A D | block_cache.cpp | 314 static const size_t kBufferSize = 64; member in class:__anon39::BlockWriter 317 cached_block* fBuffer[kBufferSize]; 1101 fCapacity(kBufferSize), 1144 memcpy(newBlocks, fBuffer, kBufferSize * sizeof(void*));
|