Searched refs:kBufferSize (Results 1 - 17 of 17) sorted by relevance

/haiku/src/bin/makeudfimage/
H A DPositionIOStream.cpp51 status_t error = kBufferSize > 0 ? B_OK : B_BAD_VALUE;
54 void *buffer = malloc(kBufferSize);
59 size_t bufferSize = (size < kBufferSize ? size : kBufferSize);
90 status_t error = kBufferSize > 0 ? B_OK : B_BAD_VALUE;
93 void *buffer = malloc(kBufferSize);
98 size_t bufferSize = (size < kBufferSize ? size : kBufferSize);
130 status_t error = kBufferSize > 0 ? B_OK : B_BAD_VALUE;
133 void *buffer = malloc(kBufferSize);
[all...]
H A DPositionIOStream.h25 static const size_t kBufferSize = 32 * 1024; member in class:PositionIOStream
/haiku/src/tests/kits/net/
H A Dlink_echo.cpp25 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 DPortLinkTest.cpp8 const int32 kBufferSize = 2048; variable
50 char test[kBufferSize + 2048];
52 sender.Attach(test, kBufferSize - 40);
/haiku/src/tools/
H A Ddata_to_source.cpp62 const int kBufferSize = 16 * 1024; local
63 unsigned char buffer[kBufferSize];
76 ssize_t bytesRead = read(inFD, buffer, kBufferSize);
/haiku/src/bin/
H A Dmvattr.cpp37 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 DSettingsHandler.cpp80 fBuffer = new char [kBufferSize];
162 if (fgets(fBuffer, kBufferSize, fFile) == 0)
/haiku/headers/private/shared/
H A DSettingsHandler.h58 const int32 kBufferSize = 1024; member in namespace:BPrivate
/haiku/src/system/kernel/arch/arm/
H A Darch_debug.cpp129 static const size_t kBufferSize = 256; local
130 char* buffer = (char*)debug_malloc(kBufferSize);
135 const char* name = debug_demangle_symbol(symbol, buffer, kBufferSize,
169 kBufferSize, &type, &length) == B_OK) {
270 kBufferSize) < B_OK) {
/haiku/src/add-ons/kernel/file_systems/cdda/
H A Dcdda.cpp37 static const uint32 kBufferSize = 16384; variable
579 uint8 *buffer = (uint8 *)malloc(kBufferSize);
586 kBufferSize);
588 kBufferSize) != B_OK) {
/haiku/src/system/kernel/arch/x86/
H A Darch_debug.cpp162 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 Dtracing.cpp48 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 Dcore_dump.cpp49 static const size_t kBufferSize = 1024 * 1024; member in namespace:__anon74
584 fCapacity = kBufferSize;
/haiku/src/kits/network/libnetapi/
H A DNetworkDevice.cpp439 const size_t kBufferSize = 65535; local
440 uint8* buffer = (uint8*)malloc(kBufferSize);
446 int32 length = kBufferSize;
489 const size_t kBufferSize = 65535; local
490 uint8* buffer = (uint8*)malloc(kBufferSize);
503 int32 length = kBufferSize;
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_cd/
H A Dscsi_cd.cpp98 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 DModelLoader.cpp554 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 Dblock_cache.cpp309 static const size_t kBufferSize = 64; member in class:__anon63::BlockWriter
312 cached_block* fBuffer[kBufferSize];
1096 fCapacity(kBufferSize),
1139 memcpy(newBlocks, fBuffer, kBufferSize * sizeof(void*));

Completed in 128 milliseconds