Home
last modified time | relevance | path

Searched refs:arg_count (Results 1 – 25 of 47) sorted by relevance

12

/third_party/openssl/test/testutil/
Dmain.c17 static size_t arg_count; variable
23 size_t i, n = arg_count < OSSL_NELEM(arg_used) ? arg_count in check_arg_usage()
30 if (i < arg_count) in check_arg_usage()
45 arg_count = argc - 1; in main()
67 if (n > arg_count) in test_get_argument()
76 return arg_count; in test_get_argument_count()
83 for (i = 1; i <= arg_count; i++) in test_has_option()
95 for (i = 1; i <= arg_count; i++) in test_get_option_argument()
98 if (args[i][n] == '\0' && i + 1 < arg_count) { in test_get_option_argument()
/third_party/boost/libs/unordered/test/unordered/
Demplace_tests.cpp36 int arg_count; member
49 emplace_value(A0 const& b0, A1 const& b1) : arg_count(2), a0(b0), a1(b1) {} in emplace_value()
52 : arg_count(3), a0(b0), a1(b1), a2(b2) in emplace_value()
57 : arg_count(4), a0(b0), a1(b1), a2(b2), a3(b3) in emplace_value()
63 : arg_count(5), a0(b0), a1(b1), a2(b2), a3(b3), a4(b4) in emplace_value()
69 : arg_count(6), a0(b0), a1(b1), a2(b2), a3(b3), a4(b4), a5(b5) in emplace_value()
75 : arg_count(7), a0(b0), a1(b1), a2(b2), a3(b3), a4(b4), a5(b5), a6(b6) in emplace_value()
81 : arg_count(8), a0(b0), a1(b1), a2(b2), a3(b3), a4(b4), a5(b5), a6(b6), in emplace_value()
88 : arg_count(9), a0(b0), a1(b1), a2(b2), a3(b3), a4(b4), a5(b5), a6(b6), in emplace_value()
96 : arg_count(10), a0(b0), a1(b1), a2(b2), a3(b3), a4(b4), a5(b5), a6(b6), in emplace_value()
[all …]
/third_party/mesa3d/src/amd/common/
Dac_shader_args.c31 assert(info->arg_count < AC_MAX_ARGS); in ac_add_arg()
43 info->args[info->arg_count].file = regfile; in ac_add_arg()
44 info->args[info->arg_count].offset = offset; in ac_add_arg()
45 info->args[info->arg_count].size = size; in ac_add_arg()
46 info->args[info->arg_count].type = type; in ac_add_arg()
49 arg->arg_index = info->arg_count; in ac_add_arg()
53 info->arg_count++; in ac_add_arg()
/third_party/gettext/gettext-tools/src/
Dformat-smalltalk.c44 unsigned int arg_count; member
58 spec.arg_count = 0; in format_parse()
73 while (spec.arg_count <= number) in format_parse()
74 spec.args_used[spec.arg_count++] = false; in format_parse()
134 for (i = 0; i < spec1->arg_count || i < spec2->arg_count; i++) in format_check()
136 bool arg_used1 = (i < spec1->arg_count && spec1->args_used[i]); in format_check()
137 bool arg_used2 = (i < spec2->arg_count && spec2->args_used[i]); in format_check()
199 for (i = 0; i < spec->arg_count; i++) in format_print()
Dformat-qt.c62 unsigned int arg_count; member
77 spec.arg_count = 0; in format_parse()
108 while (spec.arg_count <= number) in format_parse()
109 spec.args_used[spec.arg_count++] = false; in format_parse()
158 for (i = 0; i < spec1->arg_count || i < spec2->arg_count; i++) in format_check()
160 bool arg_used1 = (i < spec1->arg_count && spec1->args_used[i]); in format_check()
161 bool arg_used2 = (i < spec2->arg_count && spec2->args_used[i]); in format_check()
215 for (i = 0; i < spec->arg_count; i++) in format_print()
/third_party/pcre2/pcre2/src/sljit/
DsljitNativeMIPS_32.c447 sljit_s32 arg_count = 0; in call_with_args() local
465 offsets[arg_count] = (sljit_u8)stack_offset; in call_with_args()
467 if (word_arg_count == 0 && arg_count <= 1) in call_with_args()
468 offsets[arg_count] = 254 + arg_count; in call_with_args()
471 arg_count++; in call_with_args()
477 offsets[arg_count] = (sljit_u8)stack_offset; in call_with_args()
479 if (word_arg_count == 0 && arg_count <= 1) in call_with_args()
480 offsets[arg_count] = 254 + arg_count; in call_with_args()
483 arg_count++; in call_with_args()
487 offsets[arg_count] = (sljit_u8)stack_offset; in call_with_args()
[all …]
DsljitNativeX86_64.c651 sljit_s32 arg_count = 0; in call_with_args() local
669 arg_count++; in call_with_args()
672 if (arg_count != float_arg_count) in call_with_args()
676 arg_count++; in call_with_args()
679 if (arg_count != word_arg_count || arg_count != word_arg_regs[arg_count]) { in call_with_args()
682 if (src == word_arg_regs[arg_count]) { in call_with_args()
705 if (arg_count != float_arg_count) in call_with_args()
706 FAIL_IF(emit_sse2_load(compiler, 1, arg_count, float_arg_count, 0)); in call_with_args()
707 arg_count--; in call_with_args()
711 if (arg_count != float_arg_count) in call_with_args()
[all …]
DsljitNativeMIPS_64.c547 sljit_s32 arg_count = 0; in call_with_args() local
564 arg_count++; in call_with_args()
568 arg_count++; in call_with_args()
579 if (arg_count != float_arg_count) in call_with_args()
580 ins = MOV_S | FMT_S | FS(float_arg_count) | FD(arg_count); in call_with_args()
581 else if (arg_count == 1) in call_with_args()
583 arg_count--; in call_with_args()
587 if (arg_count != float_arg_count) in call_with_args()
588 ins = MOV_S | FMT_D | FS(float_arg_count) | FD(arg_count); in call_with_args()
589 else if (arg_count == 1) in call_with_args()
[all …]
DsljitNativePPC_64.c427 sljit_s32 arg_count = 0; in call_with_args() local
443 arg_count++; in call_with_args()
446 arg_count++; in call_with_args()
449 if (arg_count != word_arg_count && arg_count == reg) { in call_with_args()
463 arg_count--; in call_with_args()
466 if (arg_count != word_arg_count) in call_with_args()
467 FAIL_IF(push_inst(compiler, OR | S(word_arg_count) | A(arg_count) | B(word_arg_count))); in call_with_args()
469 arg_count--; in call_with_args()
DsljitLir.c631 sljit_s32 arg_count = 0; in get_arg_count() local
635 arg_count++; in get_arg_count()
639 return arg_count; in get_arg_count()
1036 sljit_s32 types, arg_count, curr_type; in check_sljit_emit_enter() local
1053 arg_count = 0; in check_sljit_emit_enter()
1054 while (types != 0 && arg_count < 3) { in check_sljit_emit_enter()
1057 arg_count++; in check_sljit_emit_enter()
1060 CHECK_ARGUMENT(arg_count <= saveds && types == 0); in check_sljit_emit_enter()
1088 sljit_s32 types, arg_count, curr_type; in check_sljit_set_context() local
1104 arg_count = 0; in check_sljit_set_context()
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/
Dfullconnection.cc268 int arg_count = 3; in SetConstArgs() local
269 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, bias_) != CL_SUCCESS) { in SetConstArgs()
273 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, N_) != CL_SUCCESS) { in SetConstArgs()
279 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, CI4) != CL_SUCCESS) { in SetConstArgs()
283 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, UP_DIV(CO_, C4NUM)) != CL_SUCCESS) { in SetConstArgs()
289 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, in_img_shape) != CL_SUCCESS) { in SetConstArgs()
294 …if (ocl_runtime_->SetKernelArg(kernel_, arg_count, static_cast<cl_int>(param->act_type_)) != CL_SU… in SetConstArgs()
321 int arg_count = 0; in Run() local
322 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, in_tensors_[0]->data()) != CL_SUCCESS) { in Run()
326 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, out_tensors_[0]->data()) != CL_SUCCESS) { in Run()
[all …]
Dmatmul.cc265 int arg_count = 2; in SetConstArgs() local
269 arg_count++; in SetConstArgs()
271 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, padWeight_, true) != CL_SUCCESS) { in SetConstArgs()
276 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, bias_) != CL_SUCCESS) { in SetConstArgs()
280 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, in_shape) != CL_SUCCESS) { in SetConstArgs()
284 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, out_shape) != CL_SUCCESS) { in SetConstArgs()
293 int arg_count = 0; in Run() local
294 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, in_tensors_[0]->data()) != CL_SUCCESS) { in Run()
298 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, out_tensors_[0]->data()) != CL_SUCCESS) { in Run()
303 if (ocl_runtime_->SetKernelArg(kernel_, arg_count++, in_tensors_[1]->data()) != CL_SUCCESS) { in Run()
/third_party/ltp/testcases/kernel/mem/thp/
Dthp01.c110 long arg_len, arg_count; in setup() local
124 arg_count = ARGS_SZ; in setup()
125 tst_res(TINFO, "Using %ld args of size %ld", arg_count, arg_len); in setup()
126 for (i = 1; i < arg_count; i++) in setup()
/third_party/gstreamer/gstplugins_base/tests/icles/playback/
Dtest7.c27 static int arg_count; variable
117 if (arg_count < max_count) { in about_to_finish_cb()
118 g_object_set (G_OBJECT (element), "uri", uri[arg_count], NULL); in about_to_finish_cb()
119 arg_count++; in about_to_finish_cb()
155 arg_count = 2; in main()
/third_party/flutter/engine/flutter/shell/platform/windows/client_wrapper/
Dflutter_window_controller.cc48 size_t arg_count = engine_arguments.size(); in CreateWindow() local
52 arg_count > 0 ? &engine_arguments[0] : nullptr, arg_count); in CreateWindow()
/third_party/flutter/engine/flutter/shell/platform/glfw/client_wrapper/
Dflutter_window_controller.cc48 size_t arg_count = engine_arguments.size(); in CreateWindow() local
52 arg_count > 0 ? &engine_arguments[0] : nullptr, arg_count); in CreateWindow()
/third_party/ltp/lib/
Dsafe_file_ops.c174 int arg_count = 0; in file_lines_scanf() local
190 arg_count = tst_count_scanf_conversions(fmt); in file_lines_scanf()
197 if (ret == arg_count) in file_lines_scanf()
202 if (strict && ret != arg_count) { in file_lines_scanf()
205 arg_count, ret, path); in file_lines_scanf()
209 return !(ret == arg_count); in file_lines_scanf()
/third_party/glib/gio/gdbus-2.0/codegen/
Ddbustypes.py300 arg_count = 0
302 a.post_process(interface_prefix, cns, cns_upper, cns_lower, arg_count)
303 arg_count += 1
308 a.post_process(interface_prefix, cns, cns_upper, cns_lower, arg_count)
309 arg_count += 1
357 arg_count = 0
359 a.post_process(interface_prefix, cns, cns_upper, cns_lower, arg_count)
360 arg_count += 1
/third_party/python/Python/
Dast_unparse.c219 Py_ssize_t i, di, arg_count, posonlyarg_count, default_count; in append_ast_args() local
225 arg_count = asdl_seq_LEN(args->args); in append_ast_args()
227 for (i = 0; i < posonlyarg_count + arg_count; i++) { in append_ast_args()
235 di = i - posonlyarg_count - arg_count + default_count; in append_ast_args()
255 arg_count = asdl_seq_LEN(args->kwonlyargs); in append_ast_args()
257 for (i = 0; i < arg_count; i++) { in append_ast_args()
261 di = i - arg_count + default_count; in append_ast_args()
542 Py_ssize_t i, arg_count, kw_count; in append_ast_call() local
547 arg_count = asdl_seq_LEN(e->v.Call.args); in append_ast_call()
549 if (arg_count == 1 && kw_count == 0) { in append_ast_call()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c90 if (emit_data->arg_count == 0) { in lp_build_action_set_dst_type()
107 emit_data->dst_type, emit_data->args, emit_data->arg_count, 0); in lp_build_tgsi_intrinsic()
134 emit_data.arg_count = 1; in lp_build_emit_llvm_unary()
148 emit_data.arg_count = 2; in lp_build_emit_llvm_binary()
164 emit_data.arg_count = 3; in lp_build_emit_llvm_ternary()
183 emit_data->arg_count = emit_data->info->num_src; in lp_build_fetch_args()
Dlp_bld_tgsi_action.h58 unsigned arg_count; member
/third_party/python/Lib/test/
Dtest_baseexception.py101 arg_count = 3
102 args = tuple(range(arg_count))
104 results = ([len(exc.args), arg_count], [exc.args, args],
/third_party/mesa3d/src/mesa/main/
Datifragshader.c117 static void debug_op(GLint optype, GLuint arg_count, GLenum op, GLuint dst, in debug_op() argument
125 op_name = atifs_ops[(arg_count-1)+(optype?3:0)]; in debug_op()
136 if (arg_count>1) in debug_op()
139 if (arg_count>2) in debug_op()
581 _mesa_FragmentOpXATI(GLint optype, GLuint arg_count, GLenum op, GLuint dst, in _mesa_FragmentOpXATI() argument
699 curI->ArgCount[optype] = arg_count; in _mesa_FragmentOpXATI()
733 …debug_op(optype, arg_count, op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2M… in _mesa_FragmentOpXATI()
/third_party/harfbuzz/src/
Dhb-cff-interp-cs-common.hh554 unsigned int arg_count = env.argStack.get_count (); in rcurveline() local
555 if (unlikely (arg_count < 8)) in rcurveline()
559 unsigned int curve_limit = arg_count - 2; in rcurveline()
578 unsigned int arg_count = env.argStack.get_count (); in rlinecurve() local
579 if (unlikely (arg_count < 8)) in rlinecurve()
583 unsigned int line_limit = arg_count - 6; in rlinecurve()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-cff-interp-cs-common.hh554 unsigned int arg_count = env.argStack.get_count (); in rcurveline() local
555 if (unlikely (arg_count < 8)) in rcurveline()
559 unsigned int curve_limit = arg_count - 2; in rcurveline()
578 unsigned int arg_count = env.argStack.get_count (); in rlinecurve() local
579 if (unlikely (arg_count < 8)) in rlinecurve()
583 unsigned int line_limit = arg_count - 6; in rlinecurve()

12