Home
last modified time | relevance | path

Searched refs:num_contexts (Results 1 – 9 of 9) sorted by relevance

/external/brotli/c/enc/
Dmetablock.c337 size_t num_contexts, size_t min_block_size, double split_threshold, in InitContextBlockSplitter() argument
342 BROTLI_DCHECK(num_contexts <= BROTLI_MAX_STATIC_CONTEXTS); in InitContextBlockSplitter()
345 self->num_contexts_ = num_contexts; in InitContextBlockSplitter()
346 self->max_block_types_ = BROTLI_MAX_NUMBER_OF_BLOCK_TYPES / num_contexts; in InitContextBlockSplitter()
369 *histograms_size = max_num_types * num_contexts; in InitContextBlockSplitter()
374 ClearHistogramsLiteral(&self->histograms_[0], num_contexts); in InitContextBlockSplitter()
385 const size_t num_contexts = self->num_contexts_; in ContextBlockSplitterFinishBlock() local
398 for (i = 0; i < num_contexts; ++i) { in ContextBlockSplitterFinishBlock()
401 last_entropy[num_contexts + i] = last_entropy[i]; in ContextBlockSplitterFinishBlock()
405 self->curr_histogram_ix_ += num_contexts; in ContextBlockSplitterFinishBlock()
[all …]
Dmetablock.h92 size_t num_contexts, const uint32_t* static_context_map,
/external/libiio/src/examples/
Diio-monitor.c202 unsigned int num_contexts; in show_contexts_screen() local
222 num_contexts = ret; in show_contexts_screen()
224 items = calloc(num_contexts + 1, sizeof(*items)); in show_contexts_screen()
226 for (i = 0; i < num_contexts; i++) { in show_contexts_screen()
238 items, num_contexts + 1, TRUE, in show_contexts_screen()
244 if (ret < num_contexts) { in show_contexts_screen()
247 } else if (ret == num_contexts) { in show_contexts_screen()
269 for (i = 0; i < num_contexts; i++) in show_contexts_screen()
/external/autotest/client/tests/aiostress/
Daio-stress.c101 int num_contexts = 1; variable
1328 num_contexts = atoi(optarg);
1414 if (num_threads > (num_files * num_contexts)) {
1415 num_threads = num_files * num_contexts;
1431 max_io_submit = num_files * io_iter * num_contexts;
1453 if (file_size < num_contexts * context_offset) {
1455 file_size, num_contexts);
1463 num_threads, num_files, num_contexts,
1468 for (j = 0 ; j < num_contexts ; j++) {
1486 if (setup_shared_mem(num_threads, num_files * num_contexts,
/external/ltp/testcases/kernel/io/ltp-aiodio/
Daio-stress.c102 int num_contexts = 1; variable
1362 num_contexts = atoi(optarg);
1448 if (num_threads > (num_files * num_contexts)) {
1449 num_threads = num_files * num_contexts;
1467 max_io_submit = num_files * io_iter * num_contexts;
1491 if (file_size < num_contexts * context_offset) {
1493 (long)file_size, num_contexts);
1504 "verification %s\n", num_threads, num_files, num_contexts,
1509 for (j = 0; j < num_contexts; j++) {
1535 if (setup_shared_mem(num_threads, num_files * num_contexts,
/external/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_screen.h53 int num_contexts; member
Drbug_core.c306 ctxs = MALLOC(rb_screen->num_contexts * sizeof(rbug_context_t)); in rbug_context_list()
/external/mesa3d/src/intel/tools/
Daub_write.h102 int num_contexts; member
Daub_write.c618 assert(aub->num_contexts < MAX_CONTEXT_COUNT); in aub_context_new()
620 struct aub_context *ctx = &aub->contexts[aub->num_contexts++]; in aub_context_new()
643 for (int i = 0; i < aub->num_contexts; i++) { in aub_context_find()