Home
last modified time | relevance | path

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

1234567

/external/grpc-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 …]
/external/grpc-grpc/src/core/lib/channel/
Dchannel_args.cc82 for (size_t i = 0; i < src->num_args; ++i) { in grpc_channel_args_copy_and_add_and_remove()
91 dst->num_args = num_args_to_copy + num_to_add; in grpc_channel_args_copy_and_add_and_remove()
92 if (dst->num_args == 0) { in grpc_channel_args_copy_and_add_and_remove()
97 static_cast<grpc_arg*>(gpr_malloc(sizeof(grpc_arg) * dst->num_args)); in grpc_channel_args_copy_and_add_and_remove()
101 for (size_t i = 0; i < src->num_args; ++i) { in grpc_channel_args_copy_and_add_and_remove()
111 GPR_ASSERT(dst_idx == dst->num_args); in grpc_channel_args_copy_and_add_and_remove()
121 const size_t max_out = (a->num_args + b->num_args); in grpc_channel_args_union()
124 for (size_t i = 0; i < a->num_args; ++i) uniques[i] = a->args[i]; in grpc_channel_args_union()
126 size_t uniques_idx = a->num_args; in grpc_channel_args_union()
127 for (size_t i = 0; i < b->num_args; ++i) { in grpc_channel_args_union()
[all …]
/external/freetype/src/psaux/
Dcffdecode.c623 FT_Int num_args = (FT_Int)( args - decoder->stack ); in cff_decoder_parse_charstrings() local
874 if ( num_args > 0 && decoder->read_width ) in cff_decoder_parse_charstrings()
891 set_width_ok = num_args & 2; in cff_decoder_parse_charstrings()
901 set_width_ok = num_args & 1; in cff_decoder_parse_charstrings()
909 : ( ( num_args == 5 ) || ( num_args == 1 ) ); in cff_decoder_parse_charstrings()
929 num_args--; in cff_decoder_parse_charstrings()
938 if ( num_args < req_args ) in cff_decoder_parse_charstrings()
941 num_args -= req_args; in cff_decoder_parse_charstrings()
966 num_args / 2, in cff_decoder_parse_charstrings()
967 args - ( num_args & ~1 ) ); in cff_decoder_parse_charstrings()
[all …]
Dt1decode.c1130 FT_Int num_args = t1_args_count[op]; in t1_decoder_parse_charstrings() local
1133 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_charstrings()
1135 if ( top - decoder->stack < num_args ) in t1_decoder_parse_charstrings()
1156 if ( top - decoder->stack != num_args ) in t1_decoder_parse_charstrings()
1160 top - decoder->stack, num_args )); in t1_decoder_parse_charstrings()
1166 top -= num_args; in t1_decoder_parse_charstrings()
1862 FT_Int num_args = t1_args_count[op]; in t1_decoder_parse_metrics() local
1865 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_metrics()
1867 if ( top - decoder->stack < num_args ) in t1_decoder_parse_metrics()
1872 if ( top - decoder->stack != num_args ) in t1_decoder_parse_metrics()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_intr.c105 unsigned num_args) in lp_declare_intrinsic() argument
112 function_type = LLVMFunctionType(ret_type, arg_types, num_args, 0); in lp_declare_intrinsic()
224 unsigned num_args, in lp_build_intrinsic() argument
237 assert(num_args <= LP_MAX_FUNC_ARGS); in lp_build_intrinsic()
239 for(i = 0; i < num_args; ++i) { in lp_build_intrinsic()
244 function = lp_declare_intrinsic(module, name, ret_type, arg_types, num_args); in lp_build_intrinsic()
254 call = LLVMBuildCall(builder, function, args, num_args, ""); in lp_build_intrinsic()
381 unsigned num_args) in lp_build_intrinsic_map() argument
389 assert(num_args <= LP_MAX_FUNC_ARGS); in lp_build_intrinsic_map()
396 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);
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_xla_computations_pass.cc73 Status GetIndexAttr(const Node& n, int num_args, int* index) { in GetIndexAttr() argument
75 if (*index < 0 || *index >= num_args) { in GetIndexAttr()
119 const int num_args = input_permutation->size(); in RewriteSubgraph() local
124 args.reserve(num_args); in RewriteSubgraph()
160 int variable_start_index = num_args; in RewriteSubgraph()
161 for (int i = 0; i < num_args; ++i) { in RewriteSubgraph()
163 TF_RETURN_IF_ERROR(GetIndexAttr(*args[i], num_args, &index)); in RewriteSubgraph()
165 variable_start_index == num_args) { in RewriteSubgraph()
266 const int num_args = variable_start_index; in BuildXlaLaunchOps() local
269 << " input edges: " << in_edges.size() << " num_args: " << num_args in BuildXlaLaunchOps()
[all …]
/external/v8/src/tracing/
Dtrace-event.h453 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args, in AddTraceEventImpl() argument
457 if (num_args > 0 && arg_types[0] == TRACE_VALUE_TYPE_CONVERTABLE) { in AddTraceEventImpl()
461 if (num_args > 1 && arg_types[1] == TRACE_VALUE_TYPE_CONVERTABLE) { in AddTraceEventImpl()
465 DCHECK_LE(num_args, 2); in AddTraceEventImpl()
469 id, bind_id, num_args, arg_names, arg_types, in AddTraceEventImpl()
475 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args, in AddTraceEventWithTimestampImpl() argument
479 if (num_args > 0 && arg_types[0] == TRACE_VALUE_TYPE_CONVERTABLE) { in AddTraceEventWithTimestampImpl()
483 if (num_args > 1 && arg_types[1] == TRACE_VALUE_TYPE_CONVERTABLE) { in AddTraceEventWithTimestampImpl()
487 DCHECK_LE(num_args, 2); in AddTraceEventWithTimestampImpl()
491 phase, category_group_enabled, name, scope, id, bind_id, num_args, in AddTraceEventWithTimestampImpl()
[all …]
/external/v8/src/libplatform/tracing/
Dtrace-object.cc36 const char* scope, uint64_t id, uint64_t bind_id, int num_args, in Initialize() argument
56 num_args_ = (num_args > kTraceMaxNumArgs) ? kTraceMaxNumArgs : num_args; in Initialize()
113 const char* scope, uint64_t id, uint64_t bind_id, int num_args, in InitializeForTesting() argument
127 num_args_ = num_args; in InitializeForTesting()
Dtracing-controller.cc75 const char* scope, uint64_t id, uint64_t bind_id, int num_args, in AddTraceEvent() argument
84 phase, category_enabled_flag, name, scope, id, bind_id, num_args, in AddTraceEvent()
93 const char* scope, uint64_t id, uint64_t bind_id, int num_args, in AddTraceEventWithTimestamp() argument
102 bind_id, num_args, arg_names, arg_types, in AddTraceEventWithTimestamp()
/external/grpc-grpc/test/cpp/interop/
Dinterop_test.cc96 const size_t num_args = 3 + !FLAGS_extra_server_flags.empty(); in main() local
97 char** args = (char**)gpr_malloc(sizeof(char*) * num_args); in main()
98 memset(args, 0, sizeof(char*) * num_args); in main()
105 for (size_t i = 0; i < num_args - 1; ++i) { in main()
/external/toolchain-utils/binary_search_tool/test/
Dis_good_noinc_prune.py27 num_args = num_good_args + num_bad_args
28 if num_args != len(working_set):
29 print('Only %d args, expected %d' % (num_args, len(working_set)))
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_limits_test.cpp328 int num_args = 255; in TEST_F() local
334 for (int i = 0; i < num_args; ++i) { in TEST_F()
344 int num_args = 256; in TEST_F() local
349 for (int i = 0; i < num_args; ++i) { in TEST_F()
361 int num_args = 100; in TEST_F() local
367 for (int i = 0; i < num_args; ++i) { in TEST_F()
378 int num_args = 101; in TEST_F() local
383 for (int i = 0; i < num_args; ++i) { in TEST_F()
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_limits_test.cpp328 int num_args = 255; in TEST_F() local
334 for (int i = 0; i < num_args; ++i) { in TEST_F()
344 int num_args = 256; in TEST_F() local
349 for (int i = 0; i < num_args; ++i) { in TEST_F()
361 int num_args = 100; in TEST_F() local
367 for (int i = 0; i < num_args; ++i) { in TEST_F()
378 int num_args = 101; in TEST_F() local
383 for (int i = 0; i < num_args; ++i) { in TEST_F()
/external/u-boot/arch/arm/mach-omap2/
Dsec-common.c63 u32 num_args; in secure_rom_call() local
68 num_args = va_arg(ap, u32); in secure_rom_call()
70 if (num_args > 4) { in secure_rom_call()
76 for (i = 0; i < num_args; i++) in secure_rom_call()
79 secure_rom_call_args[0] = num_args; in secure_rom_call()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compiled_cpu_function.h150 int num_args() const { return num_args_; } in num_args() function
158 assert(idx < num_args()); in arg_size()
277 int64 num_args) { in set_static_data_num_args() argument
278 static_data->num_args_ = num_args; in set_static_data_num_args()
/external/mesa3d/src/amd/common/
Dac_llvm_build.c1351 unsigned num_args = 0; in ac_build_image_opcode() local
1361 args[num_args++] = ac_to_float(ctx, a->addr); in ac_build_image_opcode()
1363 args[num_args++] = a->addr; in ac_build_image_opcode()
1365 args[num_args++] = a->resource; in ac_build_image_opcode()
1367 args[num_args++] = a->sampler; in ac_build_image_opcode()
1368 args[num_args++] = LLVMConstInt(ctx->i32, a->dmask, 0); in ac_build_image_opcode()
1370 args[num_args++] = LLVMConstInt(ctx->i1, a->unorm, 0); in ac_build_image_opcode()
1371 args[num_args++] = ctx->i1false; /* glc */ in ac_build_image_opcode()
1372 args[num_args++] = ctx->i1false; /* slc */ in ac_build_image_opcode()
1373 args[num_args++] = ctx->i1false; /* lwe */ in ac_build_image_opcode()
[all …]
/external/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()
/external/selinux/libselinux/src/
Dlabel_support.c66 int hidden 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()
/external/selinux/libsepol/src/
Dutil.c253 int hidden tokenize(char *line_buf, char delim, int num_args, ...) in tokenize() argument
263 va_start(ap, num_args); in tokenize()
265 for (items = 0; items < num_args && *buf_p != '\0'; items++) { in tokenize()
269 if (items == num_args - 1) { in tokenize()
/external/v8/include/libplatform/
Dv8-tracing.h42 const char* scope, uint64_t id, uint64_t bind_id, int num_args,
50 const char* scope, uint64_t id, uint64_t bind_id, int num_args,
67 int num_args() const { return num_args_; } in num_args() function
247 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args, in V8_PLATFORM_NON_EXPORTED_BASE()
254 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args, in V8_PLATFORM_NON_EXPORTED_BASE()
/external/libchrome/base/trace_event/
Dtrace_event.h804 const int num_args = 1; in AddTraceEventWithThreadIdAndTimestamp() local
810 timestamp, num_args, &arg1_name, arg_types, NULL, convertable_values, in AddTraceEventWithThreadIdAndTimestamp()
830 const int num_args = 2; in AddTraceEventWithThreadIdAndTimestamp() local
841 timestamp, num_args, arg_names, arg_types, arg_values, convertable_values, in AddTraceEventWithThreadIdAndTimestamp()
861 const int num_args = 2; in AddTraceEventWithThreadIdAndTimestamp() local
873 timestamp, num_args, arg_names, arg_types, arg_values, convertable_values, in AddTraceEventWithThreadIdAndTimestamp()
893 const int num_args = 2; in AddTraceEventWithThreadIdAndTimestamp() local
901 timestamp, num_args, arg_names, arg_types, NULL, convertable_values, in AddTraceEventWithThreadIdAndTimestamp()
950 const int num_args = 1; in AddTraceEventWithThreadIdAndTimestamp() local
956 timestamp, num_args, &arg1_name, arg_types, arg_values, NULL, flags); in AddTraceEventWithThreadIdAndTimestamp()
[all …]
/external/webrtc/webrtc/base/
Devent_tracer.h38 int num_args,
64 int num_args,
Devent_tracer.cc53 int num_args, in AddTraceEvent() argument
63 num_args, in AddTraceEvent()
216 int num_args, in InternalAddTraceEvent() argument
/external/grpc-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()

1234567