Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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,
/third_party/node/deps/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,
/third_party/node/deps/v8/src/snapshot/
Dsnapshot.cc110 static uint32_t StartupSnapshotOffset(int num_contexts) { in StartupSnapshotOffset() argument
112 num_contexts * kInt32Size); in StartupSnapshotOffset()
144 size_t num_contexts = in HasContextSnapshot() local
146 return index < num_contexts; in HasContextSnapshot()
388 const int num_contexts = static_cast<int>(contexts->size()); in Create() local
390 context_snapshots.reserve(num_contexts); in Create()
396 for (int i = 0; i < num_contexts; i++) { in Create()
428 for (int i = 0; i < num_contexts; i++) { in Create()
499 uint32_t num_contexts = static_cast<uint32_t>(context_snapshots->size()); in CreateSnapshotBlob() local
501 SnapshotImpl::StartupSnapshotOffset(num_contexts); in CreateSnapshotBlob()
[all …]
/third_party/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,
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_screen.h49 int num_contexts; member
Drbug_core.c291 ctxs = MALLOC(rb_screen->num_contexts * sizeof(rbug_context_t)); in rbug_context_list()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_range.h67 p_atomic_read(&resource->screen->num_contexts) == 1) { in util_range_add()
/third_party/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()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_screen.h90 unsigned num_contexts; member
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_pipe.c350 p_atomic_dec(&ctx->screen->num_contexts); in noop_destroy_context()
451 p_atomic_inc(&screen->num_contexts); in noop_create_context()
/third_party/json/tests/thirdparty/doctest/
Ddoctest.h4991 int num_contexts = get_num_active_contexts();
4992 if(num_contexts) {
4995 for(int i = 0; i < num_contexts; ++i) {
5469 int num_contexts = get_num_active_contexts();
5470 if(num_contexts) {
5474 for(int i = 0; i < num_contexts; ++i) {
5547 int num_contexts = get_num_active_contexts();
5548 if(num_contexts) {
5552 for(int i = 0; i < num_contexts; ++i) {
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_pipe.c357 p_atomic_dec(&context->screen->num_contexts); in si_destroy_context()
799 p_atomic_inc(&screen->num_contexts); in si_create_context()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_context.c184 p_atomic_dec(&screen->base.num_contexts); in zink_context_destroy()
4634 p_atomic_inc(&screen->base.num_contexts); in zink_context_create()
/third_party/node/deps/v8/src/api/
Dapi.cc600 const int num_contexts = num_additional_contexts + 1; // The default context. in CreateBlob() local
653 contexts.reserve(num_contexts); in CreateBlob()
673 embedder_fields_serializers.reserve(num_contexts); in CreateBlob()
/third_party/mesa3d/docs/relnotes/
D21.1.0.rst3523 - gallium: add pipe_screen::num_contexts for skipping mutex locking in util_range
3524 - radeonsi: update pipe_screen::num_contexts
D21.3.0.rst2581 - gallium/noop: update pipe_screen::num_contexts
D21.2.0.rst4043 - zink: update pipe_screen::num_contexts
D22.2.0.rst4720 - zink: don't increment screen->num_contexts for copy context