/external/icing/icing/testing/ |
D | schema-generator.h | 49 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/ |
D | metablock_inc.h | 99 ++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()
|
D | metablock.c | 198 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 …]
|
D | brotli_bit_stream.c | 759 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 …]
|
D | block_splitter.h | 23 size_t num_types; /* Amount of distinct types */ member
|
D | block_splitter_inc.h | 357 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/ |
D | Backend.cpp | 25 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()
|
D | BackendClient.cpp | 24 uint32_t *num_types, in ValidateDisplay() argument 28 ++*num_types; in ValidateDisplay()
|
D | BackendClient.h | 27 uint32_t *num_types,
|
D | Backend.h | 28 uint32_t *num_types,
|
D | BackendManager.h | 46 uint32_t *num_types, uint32_t *num_requests);
|
/external/mesa3d/src/gallium/frontends/xvmc/tests/ |
D | testlib.c | 60 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/ |
D | dismod.c | 118 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/ |
D | TestTypeGetModule.py | 49 num_types = type_list.GetSize() 53 while index < num_types:
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_conv.c | 396 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/ |
D | eap_tls_common.h | 136 size_t *num_types, int use_machine_cred); 137 int eap_peer_tls_phase2_nak(struct eap_method_type *types, size_t num_types,
|
D | eap_tls_common.c | 1098 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/ |
D | catch_test_registry.h | 208 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/ |
D | icing-search-engine_flush_benchmark.cc | 148 int num_types = kAvgNumNamespaces * kAvgNumTypes; in BM_FlushBenchmark() local 154 schema_generator.GenerateSchema(num_types, kMaxNumProperties); in BM_FlushBenchmark()
|
D | icing-search-engine_benchmark.cc | 212 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/ |
D | types.c | 677 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/ |
D | context.c | 55 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/ |
D | ppd-cache.c | 432 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/ |
D | convert_to_constants.py | 332 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/ |
D | parse_c_type.h | 157 int num_types; member
|