Home
last modified time | relevance | path

Searched refs:num_args (Results 1 – 25 of 144) sorted by relevance

123456

/third_party/grpc/src/ruby/ext/grpc/
Drb_channel_args.c65 if (args->num_args <= 0) { in grpc_rb_channel_create_in_process_add_args_hash_cb()
67 args->num_args, StringValueCStr(key)); in grpc_rb_channel_create_in_process_add_args_hash_cb()
71 args->args[args->num_args - 1].key = (char*)the_key; in grpc_rb_channel_create_in_process_add_args_hash_cb()
74 args->args[args->num_args - 1].type = GRPC_ARG_STRING; in grpc_rb_channel_create_in_process_add_args_hash_cb()
75 args->args[args->num_args - 1].value.string = in grpc_rb_channel_create_in_process_add_args_hash_cb()
77 --args->num_args; in grpc_rb_channel_create_in_process_add_args_hash_cb()
81 args->args[args->num_args - 1].type = GRPC_ARG_STRING; in grpc_rb_channel_create_in_process_add_args_hash_cb()
82 args->args[args->num_args - 1].value.string = StringValueCStr(val); in grpc_rb_channel_create_in_process_add_args_hash_cb()
83 --args->num_args; in grpc_rb_channel_create_in_process_add_args_hash_cb()
87 args->args[args->num_args - 1].type = GRPC_ARG_INTEGER; in grpc_rb_channel_create_in_process_add_args_hash_cb()
[all …]
/third_party/grpc/src/core/lib/channel/
Dchannel_args.cc88 for (size_t i = 0; i < src->num_args; ++i) { in grpc_channel_args_copy_and_add_and_remove()
97 dst->num_args = num_args_to_copy + num_to_add; in grpc_channel_args_copy_and_add_and_remove()
98 if (dst->num_args == 0) { in grpc_channel_args_copy_and_add_and_remove()
103 static_cast<grpc_arg*>(gpr_malloc(sizeof(grpc_arg) * dst->num_args)); in grpc_channel_args_copy_and_add_and_remove()
107 for (size_t i = 0; i < src->num_args; ++i) { in grpc_channel_args_copy_and_add_and_remove()
117 GPR_ASSERT(dst_idx == dst->num_args); in grpc_channel_args_copy_and_add_and_remove()
129 const size_t max_out = (a->num_args + b->num_args); in grpc_channel_args_union()
132 for (size_t i = 0; i < a->num_args; ++i) uniques[i] = a->args[i]; in grpc_channel_args_union()
134 size_t uniques_idx = a->num_args; in grpc_channel_args_union()
135 for (size_t i = 0; i < b->num_args; ++i) { in grpc_channel_args_union()
[all …]
/third_party/openh264/module/
Dtask_utils.py189 for num_args in range (0, MAX_ARGS):
190 generate_class_template(num_args, False, False)
191 generate_class_template(num_args, True, False)
192 generate_class_template(num_args, False, True)
193 generate_class_template(num_args, True, True)
200 for num_args in range(0, MAX_ARGS):
201 generate_function_template(num_args, False)
202 generate_function_template_ret(num_args, False)
203 generate_function_template(num_args, True)
204 generate_function_template_ret(num_args, True)
/third_party/freetype/src/psaux/
Dcffdecode.c625 FT_Int num_args = (FT_Int)( args - decoder->stack ); in cff_decoder_parse_charstrings() local
885 if ( num_args > 0 && decoder->read_width ) in cff_decoder_parse_charstrings()
902 set_width_ok = num_args & 2; in cff_decoder_parse_charstrings()
912 set_width_ok = num_args & 1; in cff_decoder_parse_charstrings()
920 : ( ( num_args == 5 ) || ( num_args == 1 ) ); in cff_decoder_parse_charstrings()
940 num_args--; in cff_decoder_parse_charstrings()
949 if ( num_args < req_args ) in cff_decoder_parse_charstrings()
952 num_args -= req_args; in cff_decoder_parse_charstrings()
977 num_args / 2, in cff_decoder_parse_charstrings()
978 args - ( num_args & ~1 ) ); in cff_decoder_parse_charstrings()
[all …]
Dt1decode.c1136 FT_Int num_args = t1_args_count[op]; in t1_decoder_parse_charstrings() local
1139 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_charstrings()
1141 if ( top - decoder->stack < num_args ) in t1_decoder_parse_charstrings()
1162 if ( top - decoder->stack != num_args ) in t1_decoder_parse_charstrings()
1166 top - decoder->stack, num_args )); in t1_decoder_parse_charstrings()
1172 top -= num_args; in t1_decoder_parse_charstrings()
1896 FT_Int num_args = t1_args_count[op]; in t1_decoder_parse_metrics() local
1899 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_metrics()
1901 if ( top - decoder->stack < num_args ) in t1_decoder_parse_metrics()
1914 if ( top - decoder->stack != num_args ) in t1_decoder_parse_metrics()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/
Dcffdecode.c623 FT_Int num_args = (FT_Int)( args - decoder->stack ); in cff_decoder_parse_charstrings() local
883 if ( num_args > 0 && decoder->read_width ) in cff_decoder_parse_charstrings()
900 set_width_ok = num_args & 2; in cff_decoder_parse_charstrings()
910 set_width_ok = num_args & 1; in cff_decoder_parse_charstrings()
918 : ( ( num_args == 5 ) || ( num_args == 1 ) ); in cff_decoder_parse_charstrings()
938 num_args--; in cff_decoder_parse_charstrings()
947 if ( num_args < req_args ) in cff_decoder_parse_charstrings()
950 num_args -= req_args; in cff_decoder_parse_charstrings()
975 num_args / 2, in cff_decoder_parse_charstrings()
976 args - ( num_args & ~1 ) ); in cff_decoder_parse_charstrings()
[all …]
Dt1decode.c1139 FT_Int num_args = t1_args_count[op]; in t1_decoder_parse_charstrings() local
1142 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_charstrings()
1144 if ( top - decoder->stack < num_args ) in t1_decoder_parse_charstrings()
1165 if ( top - decoder->stack != num_args ) in t1_decoder_parse_charstrings()
1169 top - decoder->stack, num_args )); in t1_decoder_parse_charstrings()
1175 top -= num_args; in t1_decoder_parse_charstrings()
1871 FT_Int num_args = t1_args_count[op]; in t1_decoder_parse_metrics() local
1874 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_metrics()
1876 if ( top - decoder->stack < num_args ) in t1_decoder_parse_metrics()
1881 if ( top - decoder->stack != num_args ) in t1_decoder_parse_metrics()
[all …]
/third_party/skia/third_party/externals/freetype/src/psaux/
Dcffdecode.c625 FT_Int num_args = (FT_Int)( args - decoder->stack ); in cff_decoder_parse_charstrings() local
885 if ( num_args > 0 && decoder->read_width ) in cff_decoder_parse_charstrings()
902 set_width_ok = num_args & 2; in cff_decoder_parse_charstrings()
912 set_width_ok = num_args & 1; in cff_decoder_parse_charstrings()
920 : ( ( num_args == 5 ) || ( num_args == 1 ) ); in cff_decoder_parse_charstrings()
940 num_args--; in cff_decoder_parse_charstrings()
949 if ( num_args < req_args ) in cff_decoder_parse_charstrings()
952 num_args -= req_args; in cff_decoder_parse_charstrings()
977 num_args / 2, in cff_decoder_parse_charstrings()
978 args - ( num_args & ~1 ) ); in cff_decoder_parse_charstrings()
[all …]
Dt1decode.c1139 FT_Int num_args = t1_args_count[op]; in t1_decoder_parse_charstrings() local
1142 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_charstrings()
1144 if ( top - decoder->stack < num_args ) in t1_decoder_parse_charstrings()
1165 if ( top - decoder->stack != num_args ) in t1_decoder_parse_charstrings()
1169 top - decoder->stack, num_args )); in t1_decoder_parse_charstrings()
1175 top -= num_args; in t1_decoder_parse_charstrings()
1900 FT_Int num_args = t1_args_count[op]; in t1_decoder_parse_metrics() local
1903 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_metrics()
1905 if ( top - decoder->stack < num_args ) in t1_decoder_parse_metrics()
1918 if ( top - decoder->stack != num_args ) in t1_decoder_parse_metrics()
[all …]
/third_party/node/src/tracing/
Dtrace_event.h460 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args, in AddTraceEventImpl() argument
464 if (num_args > 0 && arg_types[0] == TRACE_VALUE_TYPE_CONVERTABLE) { in AddTraceEventImpl()
468 if (num_args > 1 && arg_types[1] == TRACE_VALUE_TYPE_CONVERTABLE) { in AddTraceEventImpl()
477 bind_id, num_args, arg_names, arg_types, in AddTraceEventImpl()
483 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args, in AddTraceEventWithTimestampImpl() argument
487 if (num_args > 0 && arg_types[0] == TRACE_VALUE_TYPE_CONVERTABLE) { in AddTraceEventWithTimestampImpl()
491 if (num_args > 1 && arg_types[1] == TRACE_VALUE_TYPE_CONVERTABLE) { in AddTraceEventWithTimestampImpl()
500 phase, category_group_enabled, name, scope, id, bind_id, num_args, in AddTraceEventWithTimestampImpl()
505 const uint8_t* category_group_enabled, const char* name, int32_t num_args, in AddMetadataEventImpl() argument
509 if (num_args > 0 && arg_types[0] == TRACE_VALUE_TYPE_CONVERTABLE) { in AddMetadataEventImpl()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_intr.c110 unsigned num_args) in lp_declare_intrinsic() argument
117 function_type = LLVMFunctionType(ret_type, arg_types, num_args, 0); in lp_declare_intrinsic()
227 unsigned num_args, in lp_build_intrinsic() argument
240 assert(num_args <= LP_MAX_FUNC_ARGS); in lp_build_intrinsic()
242 for(i = 0; i < num_args; ++i) { in lp_build_intrinsic()
247 function = lp_declare_intrinsic(module, name, ret_type, arg_types, num_args); in lp_build_intrinsic()
268 call = LLVMBuildCall(builder, function, args, num_args, ""); in lp_build_intrinsic()
395 unsigned num_args) in lp_build_intrinsic_map() argument
403 assert(num_args <= LP_MAX_FUNC_ARGS); in lp_build_intrinsic_map()
410 for(j = 0; j < num_args; ++j) in lp_build_intrinsic_map()
[all …]
Dlp_bld_intr.h79 unsigned num_args);
90 unsigned num_args,
123 unsigned num_args);
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dspirv_builder.c1075 const SpvId *args, size_t num_args) in spirv_builder_emit_ext_inst() argument
1079 int words = 5 + num_args; in spirv_builder_emit_ext_inst()
1086 for (int i = 0; i < num_args; ++i) in spirv_builder_emit_ext_inst()
1094 size_t num_args; member
1106 hash = XXH32(type->args, sizeof(uint32_t) * type->num_args, hash); in non_aggregate_type_hash()
1118 assert(ta->num_args == tb->num_args); in non_aggregate_type_equals()
1119 return memcmp(ta->args, tb->args, sizeof(uint32_t) * ta->num_args) == 0; in non_aggregate_type_equals()
1124 size_t num_args) in get_type_def() argument
1146 assert(num_args <= ARRAY_SIZE(key.args)); in get_type_def()
1148 memcpy(&key.args, args, sizeof(uint32_t) * num_args); in get_type_def()
[all …]
/third_party/mesa3d/src/compiler/spirv/
Dvtn_amd.c58 unsigned num_args; in vtn_handle_amd_shader_ballot_instruction() local
62 num_args = 1; in vtn_handle_amd_shader_ballot_instruction()
66 num_args = 1; in vtn_handle_amd_shader_ballot_instruction()
70 num_args = 3; in vtn_handle_amd_shader_ballot_instruction()
74 num_args = 1; in vtn_handle_amd_shader_ballot_instruction()
87 for (unsigned i = 0; i < num_args; i++) in vtn_handle_amd_shader_ballot_instruction()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/val/
Dval_limits_test.cpp263 int num_args = 255; in TEST_F() local
269 for (int i = 0; i < num_args; ++i) { in TEST_F()
279 int num_args = 256; in TEST_F() local
284 for (int i = 0; i < num_args; ++i) { in TEST_F()
296 int num_args = 100; in TEST_F() local
302 for (int i = 0; i < num_args; ++i) { in TEST_F()
313 int num_args = 101; in TEST_F() local
318 for (int i = 0; i < num_args; ++i) { in TEST_F()
/third_party/spirv-tools/test/val/
Dval_limits_test.cpp332 int num_args = 255; in TEST_F() local
338 for (int i = 0; i < num_args; ++i) { in TEST_F()
348 int num_args = 256; in TEST_F() local
353 for (int i = 0; i < num_args; ++i) { in TEST_F()
365 int num_args = 100; in TEST_F() local
371 for (int i = 0; i < num_args; ++i) { in TEST_F()
382 int num_args = 101; in TEST_F() local
387 for (int i = 0; i < num_args; ++i) { in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_limits_test.cpp332 int num_args = 255; in TEST_F() local
338 for (int i = 0; i < num_args; ++i) { in TEST_F()
348 int num_args = 256; in TEST_F() local
353 for (int i = 0; i < num_args; ++i) { in TEST_F()
365 int num_args = 100; in TEST_F() local
371 for (int i = 0; i < num_args; ++i) { in TEST_F()
382 int num_args = 101; in TEST_F() local
387 for (int i = 0; i < num_args; ++i) { in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/test/val/
Dval_limits_test.cpp332 int num_args = 255; in TEST_F() local
338 for (int i = 0; i < num_args; ++i) { in TEST_F()
348 int num_args = 256; in TEST_F() local
353 for (int i = 0; i < num_args; ++i) { in TEST_F()
365 int num_args = 100; in TEST_F() local
371 for (int i = 0; i < num_args; ++i) { in TEST_F()
382 int num_args = 101; in TEST_F() local
387 for (int i = 0; i < num_args; ++i) { in TEST_F()
/third_party/mesa3d/src/util/
Dstring_buffer.c71 uint32_t num_args, ...) in _mesa_string_buffer_append_all() argument
76 va_start(args, num_args); in _mesa_string_buffer_append_all()
77 for (i = 0; i < num_args; i++) { in _mesa_string_buffer_append_all()
/third_party/selinux/libselinux/src/
Dlabel_support.c66 int read_spec_entries(char *line_buf, const char **errbuf, int num_args, ...) in read_spec_entries() argument
92 va_start(ap, num_args); in read_spec_entries()
95 while (items < num_args) { in read_spec_entries()
/third_party/selinux/libsepol/src/
Dutil.c252 int tokenize(char *line_buf, char delim, int num_args, ...) in tokenize() argument
262 va_start(ap, num_args); in tokenize()
264 for (items = 0; items < num_args && *buf_p != '\0'; items++) { in tokenize()
268 if (items == num_args - 1) { in tokenize()
/third_party/grpc/src/core/lib/surface/
Dinit_secure.cc44 for (size_t i = 0; i < args->num_args; i++) { in maybe_prepend_client_auth_filter()
59 for (size_t i = 0; i < args->num_args; i++) { in maybe_prepend_server_auth_filter()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dsubstitute.cc31 size_t num_args) { in SubstituteAndAppendArray() argument
45 if (static_cast<size_t>(index) >= num_args) { in SubstituteAndAppendArray()
52 index, static_cast<int>(num_args), absl::CEscape(format).c_str()); in SubstituteAndAppendArray()
/third_party/abseil-cpp/absl/strings/
Dsubstitute.cc31 size_t num_args) { in SubstituteAndAppendArray() argument
45 if (static_cast<size_t>(index) >= num_args) { in SubstituteAndAppendArray()
52 index, static_cast<int>(num_args), absl::CEscape(format).c_str()); in SubstituteAndAppendArray()
/third_party/boost/boost/test/impl/
Dtest_tools.ipp150 std::size_t num_args, va_list args,
242 args_copy.reserve( num_args );
243 for( std::size_t i = 0; i < num_args; ++i ) {
253 for( std::size_t i = 0; i < num_args; ++i ) {
256 if( i != num_args-1 )
263 for( std::size_t i = 0; i < num_args; ++i ) {
266 if( i != num_args-1 )
314 std::size_t num_args, ... )
366 va_start( args, num_args );
368 format_report( unit_test_log, ar, assertion_descr, tl, ct, num_args, args, prefix, suffix );
[all …]

123456