/external/deqp/framework/delibs/destream/ |
D | deRingbuffer.c | 54 deRingbuffer* ringbuffer = (deRingbuffer*)deCalloc(sizeof(deRingbuffer)); in deRingbuffer_create() local 56 DE_ASSERT(ringbuffer); in deRingbuffer_create() 60 ringbuffer->blockSize = blockSize; in deRingbuffer_create() 61 ringbuffer->blockCount = blockCount; in deRingbuffer_create() 62 ringbuffer->buffer = (deUint8*)deMalloc(sizeof(deUint8) * (size_t)blockSize * (size_t)blockCount); in deRingbuffer_create() 63 ringbuffer->blockUsage = (deInt32*)deMalloc(sizeof(deUint32) * (size_t)blockCount); in deRingbuffer_create() 64 ringbuffer->emptyCount = deSemaphore_create(ringbuffer->blockCount, DE_NULL); in deRingbuffer_create() 65 ringbuffer->fullCount = deSemaphore_create(0, DE_NULL); in deRingbuffer_create() 67 if (!ringbuffer->buffer || in deRingbuffer_create() 68 !ringbuffer->blockUsage || in deRingbuffer_create() [all …]
|
D | deThreadStream.c | 31 deRingbuffer* ringbuffer; member 41 deRingbuffer* ringbuffer; member 78 deRingbuffer_stop(threadStream->ringbuffer); in inStreamCopy() 110 deRingbuffer_stop(threadStream->ringbuffer); in threadStream_deinit() 118 deRingbuffer_destroy(threadStream->ringbuffer); in threadStream_deinit() 139 threadStream->ringbuffer = deRingbuffer_create(ringbufferBlockSize, ringbufferBlockCount); in deThreadInStream_init() 140 DE_ASSERT(threadStream->ringbuffer); in deThreadInStream_init() 144 deProducerStream_init(&(threadStream->producerStream), threadStream->ringbuffer); in deThreadInStream_init() 145 deConsumerStream_init(&(threadStream->consumerStream), threadStream->ringbuffer); in deThreadInStream_init() 197 threadStream->ringbuffer = deRingbuffer_create(ringbufferBlockSize, ringbufferBlockCount); in deThreadOutStream_init() [all …]
|
D | deRingbuffer.h | 39 void deRingbuffer_stop (deRingbuffer* ringbuffer); 40 void deRingbuffer_destroy (deRingbuffer* ringbuffer);
|
/external/brotli/enc/ |
D | backward_references_hq.c | 118 const uint8_t* ringbuffer, in ZopfliCostModelSetFromCommands() argument 147 histogram_literal[ringbuffer[(pos + j) & ringbuffer_mask]]++; in ZopfliCostModelSetFromCommands() 168 cost_literal[ringbuffer[(position + i) & ringbuffer_mask]]; in ZopfliCostModelSetFromCommands() 175 const uint8_t* ringbuffer, in ZopfliCostModelSetFromLiteralCosts() argument 183 ringbuffer, &literal_costs[1]); in ZopfliCostModelSetFromLiteralCosts() 374 const uint8_t* ringbuffer, const size_t ringbuffer_mask, in UpdateNodes() argument 428 ringbuffer[cur_ix_masked + best_len] != in UpdateNodes() 429 ringbuffer[prev_ix + best_len]) { in UpdateNodes() 434 FindMatchLengthWithLimit(&ringbuffer[prev_ix], in UpdateNodes() 435 &ringbuffer[cur_ix_masked], in UpdateNodes() [all …]
|
D | histogram.c | 46 const BlockSplit* dist_split, const uint8_t* ringbuffer, size_t start_pos, in BrotliBuildHistogramsWithContext() argument 74 ringbuffer[pos & mask]); in BrotliBuildHistogramsWithContext() 76 prev_byte = ringbuffer[pos & mask]; in BrotliBuildHistogramsWithContext() 81 prev_byte2 = ringbuffer[(pos - 2) & mask]; in BrotliBuildHistogramsWithContext() 82 prev_byte = ringbuffer[(pos - 1) & mask]; in BrotliBuildHistogramsWithContext()
|
D | backward_references_inc.h | 13 const uint8_t* ringbuffer, size_t ringbuffer_mask, in FN() 45 ringbuffer, ringbuffer_mask, dist_cache, in FN() 61 dictionary_hash, ringbuffer, ringbuffer_mask, dist_cache, in FN() 99 FN(StoreRange)(hasher, ringbuffer, ringbuffer_mask, position + 2, in FN() 124 FN(Store)(hasher, ringbuffer, ringbuffer_mask, position); in FN() 133 FN(Store)(hasher, ringbuffer, ringbuffer_mask, position); in FN()
|
D | backward_references_hq.h | 27 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, 34 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, 82 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask,
|
D | metablock.c | 29 const uint8_t* ringbuffer, in BrotliBuildMetaBlock() argument 50 ringbuffer, pos, mask, params, in BrotliBuildMetaBlock() 89 ringbuffer, pos, mask, prev_byte, prev_byte2, literal_context_modes, in BrotliBuildMetaBlock() 400 MemoryManager* m, const uint8_t* ringbuffer, size_t pos, size_t mask, in BrotliBuildMetaBlockGreedyInternal() argument 440 uint8_t literal = ringbuffer[pos & mask]; in BrotliBuildMetaBlockGreedyInternal() 455 prev_byte2 = ringbuffer[(pos - 2) & mask]; in BrotliBuildMetaBlockGreedyInternal() 456 prev_byte = ringbuffer[(pos - 1) & mask]; in BrotliBuildMetaBlockGreedyInternal() 480 const uint8_t* ringbuffer, in BrotliBuildMetaBlockGreedy() argument 492 BrotliBuildMetaBlockGreedyInternal(m, ringbuffer, pos, mask, prev_byte, in BrotliBuildMetaBlockGreedy() 495 BrotliBuildMetaBlockGreedyInternal(m, ringbuffer, pos, mask, prev_byte, in BrotliBuildMetaBlockGreedy()
|
D | hash_longest_match_quickly_inc.h | 102 const uint8_t* ringbuffer, size_t ringbuffer_mask) { in FN() 107 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 3); in FN() 108 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 2); in FN() 109 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 1); in FN()
|
D | hash_longest_match64_inc.h | 131 size_t num_bytes, size_t position, const uint8_t* ringbuffer, in FN() 137 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 3); in FN() 138 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 2); in FN() 139 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 1); in FN()
|
D | hash_longest_match_inc.h | 124 size_t num_bytes, size_t position, const uint8_t* ringbuffer, in FN() 130 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 3); in FN() 131 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 2); in FN() 132 FN(Store)(handle, ringbuffer, ringbuffer_mask, position - 1); in FN()
|
D | hash_forgetful_chain_inc.h | 127 size_t num_bytes, size_t position, const uint8_t* ringbuffer, in FN() 133 FN(Store)(handle, ringbuffer, ring_buffer_mask, position - 3); in FN() 134 FN(Store)(handle, ringbuffer, ring_buffer_mask, position - 2); in FN() 135 FN(Store)(handle, ringbuffer, ring_buffer_mask, position - 1); in FN()
|
D | backward_references.c | 104 const uint8_t* ringbuffer, in BrotliCreateBackwardReferences() argument 117 kStaticDictionaryHash, num_bytes, position, ringbuffer, \ in BrotliCreateBackwardReferences()
|
D | metablock.h | 72 const uint8_t* ringbuffer, 87 MemoryManager* m, const uint8_t* ringbuffer, size_t pos, size_t mask,
|
D | backward_references.h | 30 const uint8_t* ringbuffer, size_t ringbuffer_mask,
|
D | histogram.h | 50 const BlockSplit* dist_split, const uint8_t* ringbuffer, size_t pos,
|
D | hash_to_binary_tree_inc.h | 291 size_t num_bytes, size_t position, const uint8_t* ringbuffer, in FN() 314 FN(StoreAndFindMatches)(self, ringbuffer, i, ringbuffer_mask, in FN()
|
/external/lz4/examples/ |
D | blockStreaming_lineByLine.md | 93 Next (see (1)), read first line to ringbuffer and compress it by `LZ4_compress_continue()`. 96 After that, write {Out#1} to the file and forward ringbuffer offset. 102 Eventually, we'll reach end of ringbuffer at Line#X (see (4)). 103 This time, we should reset ringbuffer offset. 118 - Decompress it to the ringbuffer. 120 - Forward ringbuffer offset. If offset exceedes end of the ringbuffer, reset it.
|
/external/brotli/dec/ |
D | decode.c | 1052 uint32_t* ringbuffer = &s->block_type_rb[tree_type * 2]; in DecodeBlockTypeAndLength() local 1071 block_type = ringbuffer[1] + 1; in DecodeBlockTypeAndLength() 1073 block_type = ringbuffer[0]; in DecodeBlockTypeAndLength() 1080 ringbuffer[0] = ringbuffer[1]; in DecodeBlockTypeAndLength() 1081 ringbuffer[1] = block_type; in DecodeBlockTypeAndLength() 1193 s->ringbuffer + (s->partial_pos_out & (size_t)s->ringbuffer_mask); in WriteRingBuffer() 1234 memcpy(s->ringbuffer, s->ringbuffer_end, (size_t)s->pos); in WrapRingBuffer() 1255 uint8_t* old_ringbuffer = s->ringbuffer; in BrotliEnsureRingBuffer() 1260 s->ringbuffer = (uint8_t*)BROTLI_ALLOC(s, (size_t)(s->new_ringbuffer_size + in BrotliEnsureRingBuffer() 1262 if (s->ringbuffer == 0) { in BrotliEnsureRingBuffer() [all …]
|
D | state.c | 64 s->ringbuffer = NULL; in BrotliDecoderStateInitWithCustomAllocators() 148 BROTLI_FREE(s, s->ringbuffer); in BrotliDecoderStateCleanup()
|
D | state.h | 126 uint8_t* ringbuffer; member
|
/external/syslinux/gpxe/src/drivers/net/ |
D | ns8390.h | 230 struct ringbuffer { struct
|
D | ne2k_isa.c | 278 struct ringbuffer pkthdr; in ne_poll()
|
D | ns8390.c | 509 struct ringbuffer pkthdr; in ns8390_poll()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | Makefile.sources | 98 rasterizer/core/ringbuffer.h \
|