Searched refs:num_contexts (Results 1 – 11 of 11) sorted by relevance
/external/brotli/c/enc/ |
D | metablock.c | 341 size_t num_contexts, size_t min_block_size, double split_threshold, in InitContextBlockSplitter() argument 346 BROTLI_DCHECK(num_contexts <= BROTLI_MAX_STATIC_CONTEXTS); in InitContextBlockSplitter() 349 self->num_contexts_ = num_contexts; in InitContextBlockSplitter() 350 self->max_block_types_ = BROTLI_MAX_NUMBER_OF_BLOCK_TYPES / num_contexts; in InitContextBlockSplitter() 373 *histograms_size = max_num_types * num_contexts; in InitContextBlockSplitter() 378 ClearHistogramsLiteral(&self->histograms_[0], num_contexts); in InitContextBlockSplitter() 389 const size_t num_contexts = self->num_contexts_; in ContextBlockSplitterFinishBlock() local 402 for (i = 0; i < num_contexts; ++i) { in ContextBlockSplitterFinishBlock() 405 last_entropy[num_contexts + i] = last_entropy[i]; in ContextBlockSplitterFinishBlock() 409 self->curr_histogram_ix_ += num_contexts; in ContextBlockSplitterFinishBlock() [all …]
|
D | metablock.h | 92 size_t num_contexts, const uint32_t* static_context_map,
|
/external/v8/src/snapshot/ |
D | snapshot.cc | 98 static uint32_t StartupSnapshotOffset(int num_contexts) { in StartupSnapshotOffset() argument 100 num_contexts * kInt32Size); in StartupSnapshotOffset() 129 size_t num_contexts = in HasContextSnapshot() local 131 return index < num_contexts; in HasContextSnapshot() 344 const int num_contexts = static_cast<int>(contexts->size()); in Create() local 346 context_snapshots.reserve(num_contexts); in Create() 352 for (int i = 0; i < num_contexts; i++) { in Create() 378 for (int i = 0; i < num_contexts; i++) { in Create() 437 uint32_t num_contexts = static_cast<uint32_t>(context_snapshots->size()); in CreateSnapshotBlob() local 439 SnapshotImpl::StartupSnapshotOffset(num_contexts); in CreateSnapshotBlob() [all …]
|
/external/libiio/src/examples/ |
D | iio-monitor.c | 202 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/ |
D | aio-stress.c | 101 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/ |
D | aio-stress.c | 102 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/ |
D | rbug_screen.h | 53 int num_contexts; member
|
D | rbug_core.c | 306 ctxs = MALLOC(rb_screen->num_contexts * sizeof(rbug_context_t)); in rbug_context_list()
|
/external/mesa3d/src/intel/tools/ |
D | aub_write.h | 102 int num_contexts; member
|
D | aub_write.c | 618 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()
|
/external/v8/src/api/ |
D | api.cc | 747 const int num_contexts = num_additional_contexts + 1; // The default context. in CreateBlob() local 799 contexts.reserve(num_contexts); in CreateBlob() 819 embedder_fields_serializers.reserve(num_contexts); in CreateBlob()
|