Home
last modified time | relevance | path

Searched refs:num_types (Results 1 - 25 of 37) sorted by relevance

12

/third_party/node/deps/brotli/c/enc/
H A Dmetablock_inc.h99 ++split->num_types;
121 if (split->num_types < BROTLI_MAX_NUMBER_OF_BLOCK_TYPES &&
126 split->types[self->num_blocks_] = (uint8_t)split->num_types;
128 self->last_histogram_ix_[0] = (uint8_t)split->num_types;
132 ++split->num_types;
157 if (split->num_types == 1) {
168 *self->histograms_size_ = split->num_types;
H A 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 < sel in ContextBlockSplitterFinishBlock()
[all...]
H A Dbrotli_bit_stream.c759 const size_t num_types, in BuildAndStoreBlockSplitCode()
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 in StoreTrivialContextMap()
756 BuildAndStoreBlockSplitCode(const uint8_t* types, const uint32_t* lengths, const size_t num_blocks, const size_t num_types, HuffmanTree* tree, BlockSplitCode* code, size_t* storage_ix, uint8_t* storage) BuildAndStoreBlockSplitCode() argument
[all...]
H A Dblock_splitter.h23 size_t num_types; /* Amount of distinct types */ member
H A Dblock_splitter_inc.h357 split->num_types = (size_t)max_type + 1;
379 split->num_types = 1;
387 split->num_types = 1;
H A Dblock_splitter.c109 self->num_types = 0; in BrotliInitBlockSplit()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dmetablock_inc.h99 ++split->num_types;
121 if (split->num_types < BROTLI_MAX_NUMBER_OF_BLOCK_TYPES &&
126 split->types[self->num_blocks_] = (uint8_t)split->num_types;
128 self->last_histogram_ix_[0] = (uint8_t)split->num_types;
132 ++split->num_types;
157 if (split->num_types == 1) {
168 *self->histograms_size_ = split->num_types;
H A 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 < sel in ContextBlockSplitterFinishBlock()
[all...]
H A Dbrotli_bit_stream.c759 const size_t num_types, in BuildAndStoreBlockSplitCode()
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 in StoreTrivialContextMap()
756 BuildAndStoreBlockSplitCode(const uint8_t* types, const uint32_t* lengths, const size_t num_blocks, const size_t num_types, HuffmanTree* tree, BlockSplitCode* code, size_t* storage_ix, uint8_t* storage) BuildAndStoreBlockSplitCode() argument
[all...]
H A Dblock_splitter.h23 size_t num_types; /* Amount of distinct types */ member
H A Dblock_splitter_inc.h357 split->num_types = (size_t)max_type + 1;
379 split->num_types = 1;
387 split->num_types = 1;
H A Dblock_splitter.c109 self->num_types = 0; in BrotliInitBlockSplit()
/third_party/mesa3d/src/gallium/frontends/xvmc/tests/
H A 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()
/third_party/selinux/checkpolicy/test/
H A Ddismod.c117 unsigned int i, num_types; in display_type_set() local
126 num_types = 0; in display_type_set()
128 num_types++; in display_type_set()
135 num_types++; in display_type_set()
136 if (num_types > 1) in display_type_set()
140 if (num_types <= 1) { in display_type_set()
145 num_types++; in display_type_set()
146 if (num_types > 1) in display_type_set()
151 if (num_types > 1) in display_type_set()
172 if (num_types > in display_type_set()
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c399 const unsigned num_types = ARRAY_SIZE(conv_types); variable
410 for(src_type = conv_types; src_type < &conv_types[num_types]; ++src_type) { in test_all()
411 for(dst_type = conv_types; dst_type < &conv_types[num_types]; ++dst_type) { in test_all()
439 src_type = &conv_types[rand() % num_types]; in test_some()
442 dst_type = &conv_types[rand() % num_types]; in test_some()
H A Dlp_test_blend.c636 const unsigned num_types = ARRAY_SIZE(blend_types); variable
658 for(type = blend_types; type < &blend_types[num_types]; ++type) { in test_all()
718 type = &blend_types[rand() % num_types]; in test_some()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
H A Deap_tls_common.h136 size_t *num_types);
137 int eap_peer_tls_phase2_nak(struct eap_method_type *types, size_t num_types,
H A Deap_tls_common.c1086 * @num_types: Buffer for returning number of allocated EAP methods
1095 size_t *num_types) in eap_peer_select_phase2_methods()
1164 *num_types = num_methods; in eap_peer_select_phase2_methods()
1173 * @num_types: Buffer for returning number of allocated EAP methods
1178 int eap_peer_tls_phase2_nak(struct eap_method_type *types, size_t num_types, in eap_peer_tls_phase2_nak() argument
1187 (u8 *) types, num_types * sizeof(struct eap_method_type)); in eap_peer_tls_phase2_nak()
1188 *resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_NAK, num_types, in eap_peer_tls_phase2_nak()
1193 for (i = 0; i < num_types; i++) { in eap_peer_tls_phase2_nak()
1092 eap_peer_select_phase2_methods(struct eap_peer_config *config, const char *prefix, struct eap_method_type **types, size_t *num_types) eap_peer_select_phase2_methods() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Deap_tls_common.h141 size_t *num_types, int use_machine_cred);
142 int eap_peer_tls_phase2_nak(struct eap_method_type *types, size_t num_types,
H A Deap_tls_common.c1095 * @num_types: Buffer for returning number of allocated EAP methods
1104 size_t *num_types, int use_machine_cred) in eap_peer_select_phase2_methods()
1177 *num_types = num_methods; in eap_peer_select_phase2_methods()
1186 * @num_types: Buffer for returning number of allocated EAP methods
1191 int eap_peer_tls_phase2_nak(struct eap_method_type *types, size_t num_types, in eap_peer_tls_phase2_nak() argument
1200 (u8 *) types, num_types * sizeof(struct eap_method_type)); in eap_peer_tls_phase2_nak()
1201 *resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_NAK, num_types, in eap_peer_tls_phase2_nak()
1206 for (i = 0; i < num_types; i++) { in eap_peer_tls_phase2_nak()
1101 eap_peer_select_phase2_methods(struct eap_peer_config *config, const char *prefix, struct eap_method_type **types, size_t *num_types, int use_machine_cred) eap_peer_select_phase2_methods() argument
/third_party/mesa3d/src/gallium/frontends/xvmc/
H A 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()
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_module.c356 if (lhs->num_types != rhs->num_types) in type_list_equal()
358 for (unsigned i = 0; i < lhs->num_types; ++i) in type_list_equal()
602 if (type->struct_def.elem.num_types == num_elem_types && in dxil_module_get_struct_type()
624 type->struct_def.elem.num_types = num_elem_types; in dxil_module_get_struct_type()
906 type->function_def.args.num_types = num_arg_types; in dxil_module_add_function_type()
1415 assert(type->struct_def.elem.num_types < ARRAY_SIZE(temp) - 2); in emit_struct_type()
1418 for (int i = 0; i < type->struct_def.elem.num_types; ++i) { in emit_struct_type()
1424 2 + type->struct_def.elem.num_types); in emit_struct_type()
1444 assert(type->function_def.args.num_types < ARRAY_SIZ in emit_function_type()
[all...]
H A Ddxil_internal.h39 size_t num_types; member
H A Ddxil_dump.c227 for (size_t i = 0; i < type->function_def.args.num_types; ++i) { in dump_type_name()
252 for (size_t i = 0; i < type->struct_def.elem.num_types; ++i) { in dump_type()
468 assert(call->num_args == call->func->type->function_def.args.num_types); in dump_instr_call()
/third_party/gn/src/gn/
H A Dparser.h100 size_t num_types,

Completed in 21 milliseconds

12