/haiku/src/add-ons/kernel/drivers/common/ |
H A D | dprintf.cpp | 81 int chunkSize = min_c(bytesLeft, (int)size); in dprintf_write() local 84 if (chunkSize == 0) { in dprintf_write() 91 if (chunkSize == bytesLeft) { in dprintf_write() 95 chunkSize = bytesLeft; in dprintf_write() 99 chunkSize = (int)sizeof(localBuffer) - 1; in dprintf_write() 100 if (user_memcpy(localBuffer, str, chunkSize) < B_OK) in dprintf_write() 102 localBuffer[chunkSize] = '\0'; in dprintf_write() 104 debug_puts(localBuffer, chunkSize); in dprintf_write() 106 str += chunkSize; in dprintf_write() 107 bytesLeft -= chunkSize; in dprintf_write() [all …]
|
H A D | console.cpp | 736 size_t chunkSize = min_c(sizeof(localBuffer), bytesLeft); in console_write() local 737 if (user_memcpy(localBuffer, str, chunkSize) < B_OK) { in console_write() 741 written += _console_write(console, localBuffer, chunkSize); in console_write() 742 str += chunkSize; in console_write() 743 bytesLeft -= chunkSize; in console_write()
|
/haiku/src/system/kernel/slab/ |
H A D | MemoryManager.cpp | 287 AllocateChunk(size_t chunkSize, MetaChunk* metaChunk, Chunk* chunk) in AllocateChunk() argument 290 fChunkSize(chunkSize), in AllocateChunk() 313 AllocateChunks(size_t chunkSize, uint32 chunkCount, MetaChunk* metaChunk, in AllocateChunks() argument 318 fChunkSize(chunkSize), in AllocateChunks() 539 size_t chunkSize = cache->slab_size; in Allocate() local 542 B_PRIuSIZE "\n", cache, flags, chunkSize); in Allocate() 549 status_t error = _AllocateChunks(chunkSize, 1, flags, metaChunk, chunk); in Allocate() 558 error = _MapChunk(area->vmArea, chunkAddress, chunkSize, 0, flags); in Allocate() 588 ASSERT(metaChunk->chunkSize > 0); in Free() 590 ASSERT(((addr_t)pages % metaChunk->chunkSize) == 0); in Free() [all …]
|
H A D | MemoryManager.h | 84 size_t chunkSize; member 149 static status_t _AllocateChunks(size_t chunkSize, 153 size_t chunkSize, uint32 chunkCount, 156 size_t chunkSize, MetaChunk*& _metaChunk, 163 size_t chunkSize); 279 return (address - metaChunk->chunkBase) / metaChunk->chunkSize; in _ChunkIndexForAddress() 287 + (chunk - metaChunk->chunks) * metaChunk->chunkSize; in _ChunkAddress()
|
/haiku/src/kits/network/libnetservices/ |
H A D | FileRequest.cpp | 86 ssize_t chunkSize = 0; in _ProtocolLoop() local 89 chunkSize = file.Read(chunk, sizeof(chunk)); in _ProtocolLoop() 90 if (chunkSize > 0) { in _ProtocolLoop() 92 error = fOutput->WriteExactly(chunk, chunkSize, &written); in _ProtocolLoop() 97 transferredSize += chunkSize; in _ProtocolLoop() 108 if (chunkSize < 0) in _ProtocolLoop() 109 return (status_t)chunkSize; in _ProtocolLoop()
|
H A D | HttpRequest.cpp | 614 ssize_t chunkSize = -1; in _MakeRequest() local 727 if (chunkSize >= 0) { in _MakeRequest() 728 if ((ssize_t)fInputBuffer.Size() >= chunkSize + 2) { in _MakeRequest() 730 bytesRead = chunkSize; in _MakeRequest() 731 if (inputTempSize < chunkSize + 2) { in _MakeRequest() 732 inputTempSize = chunkSize + 2; in _MakeRequest() 744 chunkSize + 2); in _MakeRequest() 745 chunkSize = -1; in _MakeRequest() 753 chunkSize = -1; in _MakeRequest() 766 chunkSize = strtol(chunkHeader.String(), NULL, 16); in _MakeRequest() [all …]
|
/haiku/src/kits/media/ |
H A D | DecoderPlugin.cpp | 29 Decoder::GetNextChunk(const void **chunkBuffer, size_t *chunkSize, in GetNextChunk() argument 32 return fChunkProvider->GetNextChunk(chunkBuffer, chunkSize, mediaHeader); in GetNextChunk()
|
H A D | MediaWriter.cpp | 31 virtual status_t WriteChunk(const void* chunkBuffer, size_t chunkSize, in WriteChunk() argument 34 return fWriter->WriteChunk(fStreamIndex, chunkBuffer, chunkSize, in WriteChunk() 226 size_t chunkSize, media_encode_info* encodeInfo) in WriteChunk() argument 235 return fWriter->WriteChunk(info->cookie, chunkBuffer, chunkSize, in WriteChunk()
|
H A D | EncoderPlugin.cpp | 85 Encoder::WriteChunk(const void* chunkBuffer, size_t chunkSize, in WriteChunk() argument 88 return fChunkWriter->WriteChunk(chunkBuffer, chunkSize, encodeInfo); in WriteChunk()
|
/haiku/headers/private/media/ |
H A D | DecoderPlugin.h | 17 size_t* chunkSize, 43 size_t* chunkSize,
|
H A D | EncoderPlugin.h | 23 size_t chunkSize, 77 size_t chunkSize,
|
H A D | MediaWriter.h | 46 const void* chunkBuffer, size_t chunkSize,
|
/haiku/src/tests/add-ons/media/plugins/musepack/ |
H A D | main.cpp | 107 size_t chunkSize; in main() local 110 status = reader->GetNextChunk(cookies[i], &chunkBuffer, &chunkSize, &mediaHeader); in main() 176 const void **chunkBuffer, size_t *chunkSize, in GetNextChunk() argument
|
/haiku/src/add-ons/media/plugins/ffmpeg/ |
H A D | AVFormatWriter.cpp | 66 size_t chunkSize, 321 size_t chunkSize, media_encode_info* encodeInfo) in WriteChunk() argument 324 "start_time: %" B_PRIdBIGTIME ")\n", fStream->index, chunkBuffer, chunkSize, in WriteChunk() 330 fPacket->size = chunkSize; in WriteChunk() 598 size_t chunkSize, media_encode_info* encodeInfo) in WriteChunk() argument 601 chunkSize, encodeInfo); in WriteChunk() 607 return cookie->WriteChunk(chunkBuffer, chunkSize, encodeInfo); in WriteChunk()
|
H A D | AVFormatWriter.h | 43 const void* chunkBuffer, size_t chunkSize,
|
H A D | AVFormatReader.h | 46 size_t* chunkSize,
|
/haiku/headers/private/kernel/util/ |
H A D | VectorSet.h | 50 VectorSet(size_t chunkSize = kDefaultChunkSize); 93 _VECTOR_SET_CLASS_NAME::VectorSet(size_t chunkSize) in VectorSet() argument 94 : fElements(chunkSize) in VectorSet()
|
/haiku/src/tests/kits/media/wav_reader_test/ |
H A D | main.cpp | 91 size_t chunkSize; in main() local 94 s = reader->GetNextChunk(cookies[i], &chunkBuffer, &chunkSize, &mediaHeader); in main()
|
/haiku/src/tests/kits/media/mp3_reader_test/ |
H A D | main.cpp | 91 size_t chunkSize; in main() local 94 s = reader->GetNextChunk(cookies[i], &chunkBuffer, &chunkSize, &mediaHeader); in main()
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | List.h | 54 List(size_t chunkSize = kDefaultChunkSize); 97 List<ITEM, DEFAULT_ITEM_SUPPLIER>::List(size_t chunkSize) in List() argument 99 fChunkSize(chunkSize), in List()
|
/haiku/src/system/runtime_loader/ |
H A D | heap.cpp | 121 size_t chunkSize = chunk->Size(); in Compare() local 122 if (chunkSize != fSize) in Compare() 123 return fSize < chunkSize ? -1 : 1; in Compare()
|
/haiku/src/add-ons/media/plugins/au_reader/ |
H A D | au_reader.h | 54 const void **chunkBuffer, size_t *chunkSize,
|
/haiku/src/kits/debugger/elf/ |
H A D | ElfSymbolLookup.cpp | 287 size_t chunkSize = strnlen(buffer, bytesRead); in _ReadString() local 289 _string.Append(buffer, chunkSize); in _ReadString() 293 if (chunkSize < (size_t)bytesRead) { in _ReadString()
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/ |
H A D | TemplateList.h | 42 TemplateList(size_t chunkSize = kDefaultChunkSize); 92 TemplateList<ITEM, DEFAULT_ITEM_SUPPLIER>::TemplateList(size_t chunkSize) in TemplateList() argument 94 fChunkSize(chunkSize), in TemplateList()
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | List.h | 37 List(size_t chunkSize = kDefaultChunkSize); 87 List<ITEM, DEFAULT_ITEM_SUPPLIER>::List(size_t chunkSize) in List() argument 89 fChunkSize(chunkSize), in List()
|