/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/c/enc/ |
D | backward_references_hq.c | 137 const uint8_t* ringbuffer, in ZopfliCostModelSetFromCommands() argument 166 histogram_literal[ringbuffer[(pos + j) & ringbuffer_mask]]++; in ZopfliCostModelSetFromCommands() 191 cost_literal[ringbuffer[(position + i) & ringbuffer_mask]]; in ZopfliCostModelSetFromCommands() 200 const uint8_t* ringbuffer, in ZopfliCostModelSetFromLiteralCosts() argument 209 ringbuffer, &literal_costs[1]); in ZopfliCostModelSetFromLiteralCosts() 404 const uint8_t* ringbuffer, const size_t ringbuffer_mask, in UpdateNodes() argument 453 uint8_t continuation = ringbuffer[cur_ix_masked + best_len]; in UpdateNodes() 469 continuation != ringbuffer[prev_ix + best_len]) { in UpdateNodes() 472 len = FindMatchLengthWithLimit(&ringbuffer[prev_ix], in UpdateNodes() 473 &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 77 ringbuffer[pos & mask]); in BrotliBuildHistogramsWithContext() 79 prev_byte = ringbuffer[pos & mask]; in BrotliBuildHistogramsWithContext() 84 prev_byte2 = ringbuffer[(pos - 2) & mask]; in BrotliBuildHistogramsWithContext() 85 prev_byte = ringbuffer[(pos - 1) & mask]; in BrotliBuildHistogramsWithContext()
|
D | backward_references_inc.h | 12 const uint8_t* ringbuffer, size_t ringbuffer_mask, in EXPORT_FN() 51 ringbuffer, ringbuffer_mask, dist_cache, position, max_length, in EXPORT_FN() 70 ringbuffer, ringbuffer_mask, dist_cache, position + 1, max_length, in EXPORT_FN() 118 FN(StoreRange)(privat, ringbuffer, ringbuffer_mask, range_start, in EXPORT_FN() 144 FN(Store)(privat, ringbuffer, ringbuffer_mask, position); in EXPORT_FN() 153 FN(Store)(privat, ringbuffer, ringbuffer_mask, position); in EXPORT_FN()
|
D | backward_references_hq.h | 28 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, 35 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 | 127 const uint8_t* ringbuffer, in BrotliBuildMetaBlock() argument 189 ringbuffer, pos, mask, params, in BrotliBuildMetaBlock() 228 ringbuffer, pos, mask, prev_byte, prev_byte2, literal_context_modes, in BrotliBuildMetaBlock() 539 MemoryManager* m, const uint8_t* ringbuffer, size_t pos, size_t mask, in BrotliBuildMetaBlockGreedyInternal() argument 579 uint8_t literal = ringbuffer[pos & mask]; in BrotliBuildMetaBlockGreedyInternal() 595 prev_byte2 = ringbuffer[(pos - 2) & mask]; in BrotliBuildMetaBlockGreedyInternal() 596 prev_byte = ringbuffer[(pos - 1) & mask]; in BrotliBuildMetaBlockGreedyInternal() 620 const uint8_t* ringbuffer, in BrotliBuildMetaBlockGreedy() argument 632 BrotliBuildMetaBlockGreedyInternal(m, ringbuffer, pos, mask, prev_byte, in BrotliBuildMetaBlockGreedy() 635 BrotliBuildMetaBlockGreedyInternal(m, ringbuffer, pos, mask, prev_byte, in BrotliBuildMetaBlockGreedy()
|
D | hash_composite_inc.h | 95 size_t num_bytes, size_t position, const uint8_t* ringbuffer, in FN() 98 ringbuffer, ring_buffer_mask); in FN() 100 ringbuffer, ring_buffer_mask); in FN()
|
D | hash_longest_match_quickly_inc.h | 121 const uint8_t* ringbuffer, size_t ringbuffer_mask) { in FN() 126 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 3); in FN() 127 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 2); in FN() 128 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 1); in FN()
|
D | hash_longest_match64_inc.h | 133 size_t num_bytes, size_t position, const uint8_t* ringbuffer, in FN() 139 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 3); in FN() 140 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 2); in FN() 141 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 1); in FN()
|
D | hash_longest_match_inc.h | 129 size_t num_bytes, size_t position, const uint8_t* ringbuffer, in FN() 135 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 3); in FN() 136 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 2); in FN() 137 FN(Store)(self, ringbuffer, ringbuffer_mask, position - 1); in FN()
|
D | backward_references.c | 124 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, in BrotliCreateBackwardReferences() argument 132 position, ringbuffer, ringbuffer_mask, \ in BrotliCreateBackwardReferences()
|
D | metablock.h | 75 const uint8_t* ringbuffer, 90 MemoryManager* m, const uint8_t* ringbuffer, size_t pos, size_t mask,
|
D | hash_forgetful_chain_inc.h | 161 size_t num_bytes, size_t position, const uint8_t* ringbuffer, in FN() 167 FN(Store)(self, ringbuffer, ring_buffer_mask, position - 3); in FN() 168 FN(Store)(self, ringbuffer, ring_buffer_mask, position - 2); in FN() 169 FN(Store)(self, ringbuffer, ring_buffer_mask, position - 1); in FN()
|
D | backward_references.h | 30 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask,
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-sse-ring/ |
D | README.md | 1 # lws minimal http Server Side Events + ringbuffer 5 see the same data via a ringbuffer. 8 ringbuffer at random intervals. 26 the same content from the server ringbuffer.
|
/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/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/ |
D | README.md | 21 A ringbuffer holds up to 8 lines of text. 23 This also demonstrates how the ringbuffer can take action against lagging or 24 disconnected clients that cause the ringbuffer to fill.
|
/external/brotli/c/dec/ |
D | decode.c | 1128 uint32_t* ringbuffer = &s->block_type_rb[tree_type * 2]; in DecodeBlockTypeAndLength() local 1150 block_type = ringbuffer[1] + 1; in DecodeBlockTypeAndLength() 1152 block_type = ringbuffer[0]; in DecodeBlockTypeAndLength() 1159 ringbuffer[0] = ringbuffer[1]; in DecodeBlockTypeAndLength() 1160 ringbuffer[1] = block_type; in DecodeBlockTypeAndLength() 1271 s->ringbuffer + (s->partial_pos_out & (size_t)s->ringbuffer_mask); in WriteRingBuffer() 1314 memcpy(s->ringbuffer, s->ringbuffer_end, (size_t)s->pos); in WrapRingBuffer() 1328 uint8_t* old_ringbuffer = s->ringbuffer; in BrotliEnsureRingBuffer() 1333 s->ringbuffer = (uint8_t*)BROTLI_DECODER_ALLOC(s, in BrotliEnsureRingBuffer() 1335 if (s->ringbuffer == 0) { in BrotliEnsureRingBuffer() [all …]
|
D | state.c | 48 s->ringbuffer = NULL; in BrotliDecoderStateInit() 132 BROTLI_DECODER_FREE(s, s->ringbuffer); in BrotliDecoderStateCleanup()
|
/external/libwebsockets/minimal-examples/ws-client/minimal-ws-client-tx/ |
D | README.md | 6 via a local ringbuffer. Locking is provided to make ringbuffer access threadsafe. 9 ringbuffer is sent to the broker, which distributes the events to all
|
/external/libwebsockets/minimal-examples/client-server/minimal-ws-proxy/ |
D | README.md | 13 using the dumb-increment protocol feeding the ringbuffer. 16 had arrived on the client connection feeding the ringbuffer proxied 37 A ringbuffer holds up to 8 lines of text in the server, and the browser shows
|
/external/mesa3d/src/intel/tools/ |
D | aub_write.c | 778 uint32_t ringbuffer[4096]; in aub_dump_ring_buffer_legacy() local 789 memset(ringbuffer, 0, sizeof(ringbuffer)); in aub_dump_ring_buffer_legacy() 792 ringbuffer[ring_count] = AUB_MI_BATCH_BUFFER_START | (aub_mi_bbs_len - 2); in aub_dump_ring_buffer_legacy() 793 aub_write_reloc(&aub->devinfo, &ringbuffer[ring_count + 1], batch_offset); in aub_dump_ring_buffer_legacy() 808 data_out(aub, ringbuffer, ring_count * 4); in aub_dump_ring_buffer_legacy()
|
/external/libwebsockets/minimal-examples/client-server/ |
D | README.md | 3 …me time to https://libwebsockets.org dumb-increment-protocol to feed a ringbuffer that is sent to …
|