Home
last modified time | relevance | path

Searched refs:num_types (Results 1 – 25 of 53) sorted by relevance

123

/external/icing/icing/testing/
Dschema-generator.h49 SchemaProto GenerateSchema(int num_types, int max_num_properties) { in GenerateSchema() argument
52 while (--num_types >= 0) { in GenerateSchema()
54 SetType(schema.add_types(), "Type" + std::to_string(num_types), in GenerateSchema()
82 SchemaProto GenerateSchema(int num_types) { in GenerateSchema() argument
84 while (--num_types >= 0) { in GenerateSchema()
85 SetType(schema.add_types(), "Type" + std::to_string(num_types), in GenerateSchema()
/external/brotli/c/enc/
Dmetablock_inc.h99 ++split->num_types; in FN()
121 if (split->num_types < BROTLI_MAX_NUMBER_OF_BLOCK_TYPES && in FN()
126 split->types[self->num_blocks_] = (uint8_t)split->num_types; in FN()
128 self->last_histogram_ix_[0] = (uint8_t)split->num_types; in FN()
132 ++split->num_types; in FN()
157 if (split->num_types == 1) { in FN()
168 *self->histograms_size_ = split->num_types; in FN()
Dmetablock.c198 BROTLI_ALLOC(m, ContextType, mb->literal_split.num_types); in BrotliBuildMetaBlock()
200 for (i = 0; i < mb->literal_split.num_types; ++i) { in BrotliBuildMetaBlock()
206 mb->literal_split.num_types * literal_context_multiplier; in BrotliBuildMetaBlock()
213 mb->distance_split.num_types << BROTLI_DISTANCE_CONTEXT_BITS; in BrotliBuildMetaBlock()
220 mb->command_histograms_size = mb->command_split.num_types; in BrotliBuildMetaBlock()
234 mb->literal_split.num_types << BROTLI_LITERAL_CONTEXT_BITS; in BrotliBuildMetaBlock()
253 for (i = mb->literal_split.num_types; i != 0;) { in BrotliBuildMetaBlock()
265 mb->distance_split.num_types << BROTLI_DISTANCE_CONTEXT_BITS; in BrotliBuildMetaBlock()
404 ++split->num_types; in ContextBlockSplitterFinishBlock()
440 if (split->num_types < self->max_block_types_ && in ContextBlockSplitterFinishBlock()
[all …]
Dbrotli_bit_stream.c759 const size_t num_types, in BuildAndStoreBlockSplitCode() argument
768 memset(type_histo, 0, (num_types + 2) * sizeof(type_histo[0])); in BuildAndStoreBlockSplitCode()
776 StoreVarLenUint8(num_types - 1, storage_ix, storage); in BuildAndStoreBlockSplitCode()
777 if (num_types > 1) { /* TODO: else? could StoreBlockSwitch occur? */ in BuildAndStoreBlockSplitCode()
778 BuildAndStoreHuffmanTree(&type_histo[0], num_types + 2, num_types + 2, tree, in BuildAndStoreBlockSplitCode()
790 static void StoreTrivialContextMap(size_t num_types, in StoreTrivialContextMap() argument
795 StoreVarLenUint8(num_types - 1, storage_ix, storage); in StoreTrivialContextMap()
796 if (num_types > 1) { in StoreTrivialContextMap()
799 size_t alphabet_size = num_types + repeat_code; in StoreTrivialContextMap()
808 histogram[repeat_code] = (uint32_t)num_types; in StoreTrivialContextMap()
[all …]
Dblock_splitter.h23 size_t num_types; /* Amount of distinct types */ member
Dblock_splitter_inc.h357 split->num_types = (size_t)max_type + 1; in FN()
379 split->num_types = 1; in FN()
387 split->num_types = 1; in FN()
/external/drm_hwcomposer/backend/
DBackend.cpp25 uint32_t *num_types, in ValidateDisplay() argument
27 *num_types = 0; in ValidateDisplay()
100 *num_types = client_size; in ValidateDisplay()
107 return *num_types ? HWC2::Error::HasChanges : HWC2::Error::None; in ValidateDisplay()
DBackendClient.cpp24 uint32_t *num_types, in ValidateDisplay() argument
28 ++*num_types; in ValidateDisplay()
DBackendClient.h27 uint32_t *num_types,
DBackend.h28 uint32_t *num_types,
DBackendManager.h46 uint32_t *num_types, uint32_t *num_requests);
/external/mesa3d/src/gallium/frontends/xvmc/tests/
Dtestlib.c60 int num_types; in GetPort() local
73 …XvMCSurfaceInfo *surface_info = XvMCListSurfaceTypes(display, adaptor_info[i].base_id, &num_types); in GetPort()
77 for (j = 0; j < num_types && !found_port; ++j) in GetPort()
/external/selinux/checkpolicy/test/
Ddismod.c118 unsigned int i, num_types; in display_type_set() local
127 num_types = 0; in display_type_set()
129 num_types++; in display_type_set()
136 num_types++; in display_type_set()
137 if (num_types > 1) in display_type_set()
141 if (num_types <= 1) { in display_type_set()
146 num_types++; in display_type_set()
147 if (num_types > 1) in display_type_set()
152 if (num_types > 1) in display_type_set()
173 if (num_types > 1) in display_type_set()
/external/llvm-project/lldb/test/API/functionalities/type_get_module/
DTestTypeGetModule.py49 num_types = type_list.GetSize()
53 while index < num_types:
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_conv.c396 const unsigned num_types = ARRAY_SIZE(conv_types); variable
407 for(src_type = conv_types; src_type < &conv_types[num_types]; ++src_type) { in test_all()
408 for(dst_type = conv_types; dst_type < &conv_types[num_types]; ++dst_type) { in test_all()
436 src_type = &conv_types[rand() % num_types]; in test_some()
439 dst_type = &conv_types[rand() % num_types]; in test_some()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls_common.h136 size_t *num_types, int use_machine_cred);
137 int eap_peer_tls_phase2_nak(struct eap_method_type *types, size_t num_types,
Deap_tls_common.c1098 size_t *num_types, int use_machine_cred) in eap_peer_select_phase2_methods() argument
1171 *num_types = num_methods; in eap_peer_select_phase2_methods()
1185 int eap_peer_tls_phase2_nak(struct eap_method_type *types, size_t num_types, in eap_peer_tls_phase2_nak() argument
1194 (u8 *) types, num_types * sizeof(struct eap_method_type)); in eap_peer_tls_phase2_nak()
1195 *resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_NAK, num_types, in eap_peer_tls_phase2_nak()
1200 for (i = 0; i < num_types; i++) { in eap_peer_tls_phase2_nak()
/external/catch2/include/internal/
Dcatch_test_registry.h208 constexpr auto num_types = sizeof(types_list) / sizeof(types_list[0]);\
209 …{ Name " - " + std::string(tmpl_types[index / num_types]) + "<" + std::string(types_list[index % n…
336 constexpr auto num_types = sizeof(types_list) / sizeof(types_list[0]);\
337 …{ Name " - " + std::string(tmpl_types[index / num_types]) + "<" + std::string(types_list[index % n…
/external/icing/icing/
Dicing-search-engine_flush_benchmark.cc148 int num_types = kAvgNumNamespaces * kAvgNumTypes; in BM_FlushBenchmark() local
154 schema_generator.GenerateSchema(num_types, kMaxNumProperties); in BM_FlushBenchmark()
Dicing-search-engine_benchmark.cc212 int num_types = kAvgNumNamespaces * kAvgNumTypes; in BM_IndexLatency() local
216 SchemaProto schema = schema_generator.GenerateSchema(num_types); in BM_IndexLatency()
282 int num_types = kAvgNumNamespaces * kAvgNumTypes; in BM_IndexThroughput() local
286 SchemaProto schema = schema_generator.GenerateSchema(num_types); in BM_IndexThroughput()
347 int num_types = kAvgNumNamespaces * kAvgNumTypes; in BM_MutlipleIndices() local
353 schema_generator.GenerateSchema(num_types, kMaxNumProperties); in BM_MutlipleIndices()
/external/libxkbcommon/src/xkbcomp/
Dtypes.c677 unsigned num_types; in CopyKeyTypesToKeymap() local
680 num_types = darray_empty(info->types) ? 1 : darray_size(info->types); in CopyKeyTypesToKeymap()
681 types = calloc(num_types, sizeof(*types)); in CopyKeyTypesToKeymap()
701 for (unsigned i = 0; i < num_types; i++) { in CopyKeyTypesToKeymap()
715 keymap->num_types = num_types; in CopyKeyTypesToKeymap()
/external/mesa3d/src/gallium/frontends/xvmc/
Dcontext.c55 int num_types; in Validate() local
84 surface_info = XvMCListSurfaceTypes(dpy, adaptor_info[j].base_id, &num_types); in Validate()
90 for (int l = 0; l < num_types && !found_surface; ++l) { in Validate()
/external/libcups/cups/
Dppd-cache.c432 num_types; /* Number of types in file */ in _ppdCacheCreateWithFile() local
519 num_types = 0; in _ppdCacheCreateWithFile()
795 if (num_types > 0) in _ppdCacheCreateWithFile()
802 if ((num_types = atoi(value)) <= 0 || num_types > 65536) in _ppdCacheCreateWithFile()
805 "line %d.", num_types, linenum)); in _ppdCacheCreateWithFile()
810 if ((pc->types = calloc((size_t)num_types, sizeof(pwg_map_t))) == NULL) in _ppdCacheCreateWithFile()
813 num_types)); in _ppdCacheCreateWithFile()
828 if (pc->num_types >= num_types) in _ppdCacheCreateWithFile()
836 map = pc->types + pc->num_types; in _ppdCacheCreateWithFile()
840 pc->num_types ++; in _ppdCacheCreateWithFile()
[all …]
/external/tensorflow/tensorflow/python/framework/
Dconvert_to_constants.py332 num_types = 0
337 num_types = len(types)
338 if num_types > index:
342 num_types = 1
348 (index, self._node.name, attr_name, num_types))
/external/python/cffi/cffi/
Dparse_c_type.h157 int num_types; member

123