Home
last modified time | relevance | path

Searched refs:numArgs (Results 1 – 25 of 95) sorted by relevance

1234

/external/boringssl/src/util/fipstools/acvp/acvptool/testmodulewrapper/
Dtestmodulewrapper.go215 numArgs := binary.LittleEndian.Uint32(nums[:4])
216 if numArgs == 0 {
218 } else if numArgs > maxArgs {
219 return fmt.Errorf("Operation requested with %d args, but %d is the limit", numArgs, maxArgs)
222 if numArgs > 1 {
223 if _, err := io.ReadFull(os.Stdin, nums[8:4+4*numArgs]); err != nil {
230 for i := uint32(0); i < numArgs; i++ {
253 for i := uint32(0); i < numArgs; i++ {
262 if err := handler(args[1:numArgs]); err != nil {
/external/deqp/framework/delibs/deutil/
DdeCommandLine.c129 cmdLine->numArgs = CharPtrArray_getNumElements(args); in deCommandLine_parse()
132 for (argNdx = 0; argNdx < cmdLine->numArgs; argNdx++) in deCommandLine_parse()
146 static void testParse (const char* cmdLine, const char* const* refArgs, int numArgs) in testParse() argument
152 DE_TEST_ASSERT(parsedCmdLine->numArgs == numArgs); in testParse()
154 for (argNdx = 0; argNdx < numArgs; argNdx++) in testParse()
DdeCommandLine.h32 int numArgs; member
/external/lzma/C/Util/Lzma/
DLzmaUtil.c173 static int main2(int numArgs, const char *args[], char *rs) in main2() argument
188 if (numArgs == 1) in main2()
194 if (numArgs < 3 || numArgs > 4 || strlen(args[1]) != 1) in main2()
212 if (numArgs > 3) in main2()
252 int MY_CDECL main(int numArgs, const char *args[]) in main() argument
255 int res = main2(numArgs, args, rs); in main()
/external/lzma/CPP/7zip/UI/Console/
DMainAr.cpp23 int numArgs, char *args[]
52 int numArgs, char *args[] in main() argument
68 numArgs, args in main()
/external/autotest/client/deps/webgl_mpd/src/debug/
Dwebgl-debug.js216 function glFunctionArgToString(functionName, numArgs, argumentIndex, value) { argument
219 var funcInfo = funcInfo[numArgs];
246 var numArgs = args.length;
247 for (var ii = 0; ii < numArgs; ++ii) {
249 glFunctionArgToString(functionName, numArgs, ii, args[ii]);
299 var numArgs = args.length;
300 for (var ii = 0; ii < numArgs; ++ii) {
302 glFunctionArgToString(functionName, numArgs, ii, args[ii]);
/external/angle/src/common/
Devent_tracer.cpp32 int numArgs, in AddTraceEvent() argument
46 numArgs, argNames, argTypes, argValues, flags); in AddTraceEvent()
Devent_tracer.h19 int numArgs,
/external/skia/tools/trace/
DChromeTracingTracer.cpp84 int numArgs, in addTraceEvent() argument
93 int size = static_cast<int>(sizeof(TraceEvent) + numArgs * sizeof(TraceEventArg)); in addTraceEvent()
94 for (int i = 0; i < numArgs; ++i) { in addTraceEvent()
109 traceEvent->fNumArgs = numArgs; in addTraceEvent()
120 for (int i = 0; i < numArgs; ++i) { in addTraceEvent()
DSkDebugfTracer.cpp15 int numArgs, in addTraceEvent() argument
21 for (int i = 0; i < numArgs; ++i) { in addTraceEvent()
/external/skqp/tools/trace/
DSkChromeTracingTracer.cpp90 int numArgs, in addTraceEvent() argument
99 int size = static_cast<int>(sizeof(TraceEvent) + numArgs * sizeof(TraceEventArg)); in addTraceEvent()
100 for (int i = 0; i < numArgs; ++i) { in addTraceEvent()
115 traceEvent->fNumArgs = numArgs; in addTraceEvent()
126 for (int i = 0; i < numArgs; ++i) { in addTraceEvent()
DSkDebugfTracer.cpp15 int numArgs, in addTraceEvent() argument
21 for (int i = 0; i < numArgs; ++i) { in addTraceEvent()
/external/lzma/CPP/7zip/Bundles/SFXCon/
DSfxCon.cpp230 static void GetArguments(int numArgs, const char *args[], UStringVector &parts) in GetArguments() argument
233 for (int i = 0; i < numArgs; i++) in GetArguments()
243 int numArgs, const char *args[] in Main2() argument
262 GetArguments(numArgs, args, commandStrings); in Main2()
/external/OpenCL-CTS/test_conformance/api/
Dtest_kernels.cpp88 cl_uint numArgs, numInstances; in test_get_kernel_info() local
117 if( paramSize != sizeof( numArgs ) ) in test_get_kernel_info()
119 … count param returns invalid size (expected %d, got %d)\n", (int)sizeof( numArgs ), (int)paramSize… in test_get_kernel_info()
123 error = clGetKernelInfo( kernel, CL_KERNEL_NUM_ARGS, sizeof( numArgs ), &numArgs, NULL ); in test_get_kernel_info()
125 if( numArgs != 2 ) in test_get_kernel_info()
127 … log_error( "ERROR: Kernel arg count returned invalid value (expected %d, got %d)\n", 2, numArgs ); in test_get_kernel_info()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_vloadstore.cpp107 cl_uint numArgs; in test_vload() local
108 error = clGetKernelInfo(kernel, CL_KERNEL_NUM_ARGS, sizeof(numArgs), &numArgs, NULL); in test_vload()
122 if (numArgs == 5) { in test_vload()
591 cl_uint numArgs; in test_vstore() local
592 error = clGetKernelInfo(kernel, CL_KERNEL_NUM_ARGS, sizeof(numArgs), &numArgs, NULL); in test_vstore()
604 if (numArgs == 5) in test_vstore()
644 if (numArgs == 5) in test_vstore()
/external/clang/include/clang/Sema/
DAttributeList.h239 ArgsUnion *args, unsigned numArgs, in AttributeList() argument
242 ScopeLoc(scopeLoc), EllipsisLoc(ellipsisLoc), NumArgs(numArgs), in AttributeList()
247 if (numArgs) memcpy(getArgsBuffer(), args, numArgs * sizeof(ArgsUnion)); in AttributeList()
632 ArgsUnion *args, unsigned numArgs,
636 + numArgs * sizeof(ArgsUnion));
639 args, numArgs, syntax,
768 ArgsUnion *args, unsigned numArgs,
772 pool.create(attrName, attrRange, scopeName, scopeLoc, args, numArgs,
/external/llvm-project/clang/include/clang/Sema/
DParsedAttr.h284 ArgsUnion *args, unsigned numArgs, Syntax syntaxUsed, in ParsedAttr() argument
288 EllipsisLoc(ellipsisLoc), NumArgs(numArgs), Invalid(false), in ParsedAttr()
293 if (numArgs) in ParsedAttr()
294 memcpy(getArgsBuffer(), args, numArgs * sizeof(ArgsUnion)); in ParsedAttr()
739 ArgsUnion *args, unsigned numArgs,
745 detail::PropertyData>(numArgs, 0, 0, 0, 0);
750 detail::PropertyData>(numArgs, 0, 0, 0,
753 args, numArgs, syntax, ellipsisLoc));
942 ArgsUnion *args, unsigned numArgs,
946 args, numArgs, syntax, ellipsisLoc);
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseables.cpp88 const int numArgs = int(std::count(argOrder, argOrder + strlen(argOrder), ',')) + 1; in IsIllegalSample() local
92 if ((name == "Sample" && numArgs >= 4) || in IsIllegalSample()
93 (name == "SampleBias" && numArgs >= 5) || in IsIllegalSample()
94 (name == "SampleCmp" && numArgs >= 5) || in IsIllegalSample()
95 (name == "SampleCmpLevelZero" && numArgs >= 5) || in IsIllegalSample()
96 (name == "SampleGrad" && numArgs >= 6) || in IsIllegalSample()
97 (name == "SampleLevel" && numArgs >= 5)) in IsIllegalSample()
122 if ((isGather && numArgs > 3) || (isGatherCmp && numArgs > 4)) in IsIllegalSample()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseables.cpp88 const int numArgs = int(std::count(argOrder, argOrder + strlen(argOrder), ',')) + 1; in IsIllegalSample() local
92 if ((name == "Sample" && numArgs >= 4) || in IsIllegalSample()
93 (name == "SampleBias" && numArgs >= 5) || in IsIllegalSample()
94 (name == "SampleCmp" && numArgs >= 5) || in IsIllegalSample()
95 (name == "SampleCmpLevelZero" && numArgs >= 5) || in IsIllegalSample()
96 (name == "SampleGrad" && numArgs >= 6) || in IsIllegalSample()
97 (name == "SampleLevel" && numArgs >= 5)) in IsIllegalSample()
122 if ((isGather && numArgs > 3) || (isGatherCmp && numArgs > 4)) in IsIllegalSample()
/external/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp608 int main2(int numArgs, const char *args[]) in main2() argument
611 if (numArgs == 1) in main2()
614 if (numArgs != 3) in main2()
700 main(int numArgs, const char *args[]) in main() argument
702 try { return main2(numArgs, args); } in main()
/external/angle/src/libANGLE/renderer/cl/
DCLKernelCL.cpp176 !GetKernelInfo(mNative, cl::KernelInfo::NumArgs, info.numArgs, errorCode) || in createInfo()
209 info.args.resize(info.numArgs); in createInfo()
212 for (cl_uint index = 0u; index < info.numArgs; ++index) in createInfo()
/external/lzma/CPP/7zip/UI/Client7z/
DClient7z.cpp731 int MY_CDECL main(int numArgs, const char *args[]) in main() argument
737 if (numArgs < 2) in main()
743 if (numArgs < 3) in main()
780 if (numArgs < 4) in main()
788 for (i = 3; i < numArgs; i++) in main()
877 if (numArgs != 3) in main()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp326 static int main2(int numArgs, const char *args[]) in main2() argument
330 if (numArgs == 1) in main2()
343 for (int i = 1; i < numArgs; i++) in main2()
784 int MY_CDECL main(int numArgs, const char *args[]) in main() argument
788 try { return main2(numArgs, args); } in main()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_translate.c428 uint opcode, uint numArgs, in emit_simple_arith() argument
433 assert(numArgs <= 3); in emit_simple_arith()
435 arg1 = (numArgs < 1) ? 0 : src_vector( p, &inst->Src[0], fs ); in emit_simple_arith()
436 arg2 = (numArgs < 2) ? 0 : src_vector( p, &inst->Src[1], fs ); in emit_simple_arith()
437 arg3 = (numArgs < 3) ? 0 : src_vector( p, &inst->Src[2], fs ); in emit_simple_arith()
453 uint opcode, uint numArgs, in emit_simple_arith_swap2() argument
458 assert(numArgs == 2); in emit_simple_arith_swap2()
465 emit_simple_arith(p, &inst2, opcode, numArgs, fs); in emit_simple_arith_swap2()
/external/clang/lib/StaticAnalyzer/Checkers/
DUnixAPIChecker.cpp57 const unsigned numArgs,
257 const unsigned numArgs, in BasicAllocationCheck() argument
261 if (CE->getNumArgs() != numArgs) in BasicAllocationCheck()

1234