Searched refs:chunk (Results 1 - 11 of 11) sorted by relevance
/fuchsia/zircon/system/ulib/zircon/ |
H A D | zx_cprng_draw.cpp | 10 size_t chunk = len; local 11 if (chunk > ZX_CPRNG_DRAW_MAX_LEN) 12 chunk = ZX_CPRNG_DRAW_MAX_LEN; 13 zx_status_t status = SYSCALL_zx_cprng_draw_once(ptr, chunk); 22 ptr += chunk; 23 len -= chunk;
|
/fuchsia/zircon/system/utest/trace-reader/ |
H A D | reader_tests.cpp | 84 // sub-chunk values 87 // more stuff beyond sub-chunk 92 trace::Chunk chunk(kData, fbl::count_of(kData)); 93 EXPECT_EQ(fbl::count_of(kData), chunk.remaining_words()); 95 EXPECT_TRUE(chunk.ReadUint64(&value)); 97 EXPECT_EQ(10u, chunk.remaining_words()); 99 EXPECT_TRUE(chunk.ReadUint64(&value)); 101 EXPECT_EQ(9u, chunk.remaining_words()); 103 EXPECT_TRUE(chunk.ReadInt64(&int64_value)); 105 EXPECT_EQ(8u, chunk [all...] |
/fuchsia/zircon/system/ulib/fdio/ |
H A D | get-vmo.c | 76 size_t chunk = size < MAX_WINDOW ? size : MAX_WINDOW; local 77 size_t window = (chunk + PAGE_SIZE - 1) & -PAGE_SIZE; 87 while (chunk > 0) { 89 status = read_at(io, buffer, chunk, offset, &nread); 98 chunk -= nread;
|
/fuchsia/zircon/system/ulib/digest/ |
H A D | merkle-tree.cpp | 179 size_t chunk = DigestUpdate(&digest_, in, offset_, length); local 180 in += chunk; 181 offset_ += chunk; 182 length -= chunk; 316 size_t chunk = DigestUpdate(&actual, in, offset, length); local 317 in += chunk; 318 offset += chunk; 319 length -= chunk;
|
/fuchsia/zircon/system/ulib/trace-reader/ |
H A D | reader_internal.cpp | 166 Chunk chunk(reinterpret_cast<const uint64_t*>(ptr), size / word_size); 167 chunk_consumer_(chunk);
|
H A D | reader.cpp | 23 bool TraceReader::ReadRecords(Chunk& chunk) { argument 25 if (!pending_header_ && !chunk.ReadUint64(&pending_header_)) 36 if (!chunk.ReadChunk(size - 1, &record)) 581 bool TraceReader::DecodeStringRef(Chunk& chunk, argument 593 !chunk.ReadString(length, &string_view)) { 610 bool TraceReader::DecodeThreadRef(Chunk& chunk, argument 615 if (!chunk.ReadUint64(&process_koid) || 616 !chunk.ReadUint64(&thread_koid)) {
|
/fuchsia/zircon/system/ulib/trace-reader/include/trace-reader/ |
H A D | reader.h | 47 // Reads as many records as possible from the chunk, invoking the 49 // contain more records if the chunk were extended with new data. 53 bool ReadRecords(Chunk& chunk); 96 bool DecodeStringRef(Chunk& chunk, 99 bool DecodeThreadRef(Chunk& chunk, 173 // Reads from the chunk, maintaining proper alignment. 174 // Returns true on success, false if the chunk has insufficient remaining
|
H A D | reader_internal.h | 126 // Reads a trace buffer a chunk at a time, where the buffer has a trace 128 // |chunk_consumer| is invoked for each chunk in the buffer. 131 // Called once for each chunk read by |ReadChunks|. 141 // Reads as many chunks as possible from the buffer, invoking the chunk 148 void CallChunkConsumerIfNonEmpty(const void* chunk, size_t size);
|
/fuchsia/zircon/third_party/tools/android/avb/ |
H A D | avbtool | 563 chunk_offset: Offset in the sparse file where this chunk begins. 582 chunk_offset: Offset in the sparse file where this chunk begins. 600 raise ValueError('RAW chunk cannot have fill_data set.') 602 raise ValueError('RAW chunk must have input_offset set.') 605 raise ValueError('FILL chunk must have fill_data set.') 607 raise ValueError('FILL chunk cannot have input_offset set.') 610 raise ValueError('DONT_CARE chunk cannot have fill_data set.') 612 raise ValueError('DONT_CARE chunk cannot have input_offset set.') 614 raise ValueError('Invalid chunk type') 715 raise ValueError('Raw chunk inpu [all...] |
/fuchsia/zircon/system/utest/trace/ |
H A D | fixture.cpp | 154 [&reader](trace::Chunk chunk) { 155 if (!reader.ReadRecords(chunk)) {
|
/fuchsia/zircon/third_party/ulib/musl/ldso/ |
H A D | dynlink.c | 207 uintptr_t chunk; local 210 0, vmo, 0, chunk_size, &chunk); 214 if (chunk != alloc_limit) 215 alloc_ptr = alloc_base = chunk; 216 alloc_limit = chunk + chunk_size; 238 // If we're still using the same contiguous chunk as the checkpoint 241 // reset to the beginning of the current chunk, since we haven't kept 2539 size_t chunk = len < kLogWriteMax ? len : kLogWriteMax; local 2541 const char* nl = memchr(buffer, '\n', chunk); 2543 chunk [all...] |
Completed in 115 milliseconds