Home
last modified time | relevance | path

Searched refs:argIndex (Results 1 – 25 of 74) sorted by relevance

123

/external/angle/src/tests/perf_tests/
DANGLEPerfTestArgs.cpp57 for (int argIndex = 0; argIndex < *argc; argIndex++) in ANGLEProcessPerfTestArgs() local
59 if (strcmp("--one-frame-only", argv[argIndex]) == 0) in ANGLEProcessPerfTestArgs()
64 else if (strcmp("--enable-trace", argv[argIndex]) == 0) in ANGLEProcessPerfTestArgs()
68 else if (strcmp("--trace-file", argv[argIndex]) == 0 && argIndex < *argc - 1) in ANGLEProcessPerfTestArgs()
70 gTraceFile = argv[argIndex + 1]; in ANGLEProcessPerfTestArgs()
72 argIndex++; in ANGLEProcessPerfTestArgs()
74 else if (strcmp("--calibration", argv[argIndex]) == 0) in ANGLEProcessPerfTestArgs()
79 else if (strcmp("--steps-per-trial", argv[argIndex]) == 0 && argIndex < *argc - 1) in ANGLEProcessPerfTestArgs()
81 gStepsPerTrial = ReadIntArgument(argv[argIndex + 1]); in ANGLEProcessPerfTestArgs()
83 argIndex++; in ANGLEProcessPerfTestArgs()
[all …]
/external/llvm-project/mlir/tools/mlir-tblgen/
DRewriterGen.cpp87 void emitOperandMatch(DagNode tree, StringRef opName, int argIndex,
92 void emitAttributeMatch(DagNode tree, StringRef opName, int argIndex,
396 int argIndex, int depth) { in emitOperandMatch() argument
398 auto *operand = op.getArg(argIndex).get<NamedTypeConstraint *>(); in emitOperandMatch()
399 auto matcher = tree.getArgAsLeaf(argIndex); in emitOperandMatch()
407 op.getOperationName(), argIndex + 1)); in emitOperandMatch()
417 op.getOperationName(), argIndex); in emitOperandMatch()
421 opName, argIndex); in emitOperandMatch()
433 auto name = tree.getArgName(argIndex); in emitOperandMatch()
439 op.arg_begin(), op.arg_begin() + argIndex, in emitOperandMatch()
[all …]
/external/OpenCL-CTS/test_conformance/basic/
Dtest_async_copy_fence.cpp518 cl_uint argIndex = 0; in test_copy_fence() local
519 error = clSetKernelArg(kernel, argIndex, sizeof(streams[0]), &streams[0]); in test_copy_fence()
521 ++argIndex; in test_copy_fence()
522 error = clSetKernelArg(kernel, argIndex, sizeof(streams[1]), &streams[1]); in test_copy_fence()
524 ++argIndex; in test_copy_fence()
528 clSetKernelArg(kernel, argIndex, sizeof(streams[2]), &streams[2]); in test_copy_fence()
530 ++argIndex; in test_copy_fence()
535 clSetKernelArg(kernel, argIndex, sizeof(streams[3]), &streams[3]); in test_copy_fence()
537 ++argIndex; in test_copy_fence()
539 error = clSetKernelArg(kernel, argIndex, transaction1LocalBufferSize, NULL); in test_copy_fence()
[all …]
/external/angle/src/tests/
Dangle_unittest_main.cpp53 for (int argIndex = 1; argIndex < argc; ++argIndex) in main() local
55 if (strcmp(argv[argIndex], "-v") == 0 || strcmp(argv[argIndex], "--verbose") == 0) in main()
/external/angle/src/tests/deqp_support/
Dangle_deqp_gtest.cpp697 void HandleCaseName(const char *caseString, int *argc, int argIndex, char **argv) in HandleCaseName() argument
709 argv[argIndex] = gCaseStringBuffer.data(); in HandleCaseName()
733 int argIndex = 0; in InitTestHarness() local
734 while (argIndex < *argc) in InitTestHarness()
736 if (strncmp(argv[argIndex], kdEQPEGLString, strlen(kdEQPEGLString)) == 0) in InitTestHarness()
738 HandleDisplayType(argv[argIndex] + strlen(kdEQPEGLString)); in InitTestHarness()
740 else if (strncmp(argv[argIndex], kANGLEEGLString, strlen(kANGLEEGLString)) == 0) in InitTestHarness()
742 HandleDisplayType(argv[argIndex] + strlen(kANGLEEGLString)); in InitTestHarness()
744 else if (strncmp(argv[argIndex], kANGLEPreRotation, strlen(kANGLEPreRotation)) == 0) in InitTestHarness()
746 HandlePreRotation(argv[argIndex] + strlen(kANGLEPreRotation)); in InitTestHarness()
[all …]
/external/angle/util/
Dtest_utils_unittest_helper.cpp22 for (int argIndex = 1; argIndex < argc; ++argIndex) in main() local
24 if (strcmp(argv[argIndex], kRunTestSuite) == 0) in main()
/external/oj-libjdwp/src/share/back/
Dinvoker.c107 jint argIndex; in createGlobalRefs() local
141 argIndex = 0; in createGlobalRefs()
145 if ( argIndex > request->argumentCount ) { in createGlobalRefs()
152 saveGlobalRef(env, argument->l, &argRefs[argIndex]); in createGlobalRefs()
153 if (argRefs[argIndex] == NULL) { in createGlobalRefs()
160 argIndex++; in createGlobalRefs()
167 if ( error == JVMTI_ERROR_NONE && argIndex != request->argumentCount ) { in createGlobalRefs()
177 argIndex = 0; in createGlobalRefs()
180 while ( argIndex < request->argumentCount ) { in createGlobalRefs()
183 argument->l = argRefs[argIndex]; in createGlobalRefs()
[all …]
/external/llvm-project/mlir/test/lib/IR/
DTestFunc.cpp23 for (auto argIndex : llvm::seq<int>(0, func.getNumArguments())) { in runOnOperation() local
24 if (func.getArgAttr(argIndex, "test.erase_this_arg")) { in runOnOperation()
27 indicesToErase.push_back(argIndex); in runOnOperation()
28 indicesToErase.push_back(argIndex); in runOnOperation()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DMonomorphizeUnsupportedFunctionsInVulkanGLSL.cpp151 for (size_t argIndex = 0; argIndex < originalCallArguments.size(); ++argIndex) in CreateMonomorphizedFunctionCallArgs() local
154 argIndex != replacedArguments[nextReplacedArg].argumentIndex) in CreateMonomorphizedFunctionCallArgs()
157 substituteArgsOut->push_back(originalCallArguments[argIndex]); in CreateMonomorphizedFunctionCallArgs()
290 for (size_t argIndex = 0; argIndex < callArguments.size(); ++argIndex) in processFunctionCall() local
292 TIntermTyped *callArgument = callArguments[argIndex]->getAsTyped(); in processFunctionCall()
293 const TVariable *funcArgument = function->getParam(argIndex); in processFunctionCall()
349 replacedArguments.push_back({argIndex, argument}); in processFunctionCall()
DRewriteR32fImages.cpp188 for (size_t argIndex = 1; argIndex < arguments->size(); ++argIndex) in RewriteBuiltinFunctionCall() local
190 TIntermTyped *arg = (*arguments)[argIndex]->getAsTyped(); in RewriteBuiltinFunctionCall()
/external/angle/samples/sample_util/
DSampleApplication.cpp97 for (int argIndex = 1; argIndex < argc; argIndex++) in SampleApplication() local
99 if (strncmp(argv[argIndex], kUseAngleArg, strlen(kUseAngleArg)) == 0) in SampleApplication()
101 const char *arg = argv[argIndex] + strlen(kUseAngleArg); in SampleApplication()
106 if (strncmp(argv[argIndex], kUseGlArg, strlen(kUseGlArg)) == 0) in SampleApplication()
/external/llvm-project/mlir/lib/Transforms/
DNormalizeMemRefs.cpp178 for (unsigned argIndex : llvm::seq<unsigned>(0, funcOp.getNumArguments())) { in areMemRefsNormalizable() local
179 BlockArgument oldMemRef = funcOp.getArgument(argIndex); in areMemRefsNormalizable()
341 for (unsigned argIndex : in normalizeFuncOpMemRefs() local
343 Type argType = functionType.getInput(argIndex); in normalizeFuncOpMemRefs()
364 funcOp.front().insertArgument(argIndex, newMemRefType); in normalizeFuncOpMemRefs()
365 BlockArgument oldMemRef = funcOp.getArgument(argIndex + 1); in normalizeFuncOpMemRefs()
379 funcOp.front().eraseArgument(argIndex); in normalizeFuncOpMemRefs()
385 funcOp.front().eraseArgument(argIndex + 1); in normalizeFuncOpMemRefs()
/external/jline/src/src/main/java/jline/
DArgumentCompletor.java139 int argIndex = list.getCursorArgumentIndex(); in complete() local
141 if (argIndex < 0) { in complete()
148 if (argIndex >= completors.length) { in complete()
151 comp = completors[argIndex]; in complete()
156 for (int i = 0; getStrict() && (i < argIndex); i++) { in complete()
/external/llvm-project/mlir/lib/Conversion/GPUToSPIRV/
DConvertGPUToSPIRV.cpp224 for (auto argIndex : llvm::seq<unsigned>(0, funcOp.getNumArguments())) { in getDefaultABIAttrs() local
226 argIndex, spirv::getInterfaceVarABIAttrName())) in getDefaultABIAttrs()
231 if (funcOp.getArgument(argIndex).getType().isIntOrIndexOrFloat()) in getDefaultABIAttrs()
233 argABI.push_back(spirv::getInterfaceVarABIAttr(0, argIndex, sc, context)); in getDefaultABIAttrs()
247 for (auto argIndex : llvm::seq<unsigned>(0, funcOp.getNumArguments())) { in matchAndRewrite() local
250 argIndex, spirv::getInterfaceVarABIAttrName()); in matchAndRewrite()
255 << argIndex; in matchAndRewrite()
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DIcu4jTransform.java907 int argIndex = inputDirNames.length; in Icu4jRules() local
908 String targetDir = args[argIndex++]; in Icu4jRules()
909 Path corePlatformApiFile = Paths.get(args[argIndex++]); in Icu4jRules()
910 Path intraCoreApiFile = Paths.get(args[argIndex++]); in Icu4jRules()
911 Path unsupportedAppUsageFile = Paths.get(args[argIndex++]); in Icu4jRules()
914 if (argIndex != args.length) { in Icu4jRules()
/external/clang/lib/Analysis/
DPrintfFormatString.cpp39 unsigned *argIndex) { in ParsePrecision() argument
40 if (argIndex) { in ParsePrecision()
41 FS.setPrecision(ParseNonPositionAmount(Beg, E, *argIndex)); in ParsePrecision()
73 unsigned &argIndex, in ParsePrintfSpecifier() argument
150 FS.usesPositionalArg() ? nullptr : &argIndex)) in ParsePrintfSpecifier()
170 FS.usesPositionalArg() ? nullptr : &argIndex)) in ParsePrintfSpecifier()
308 FS.setArgIndex(argIndex++); in ParsePrintfSpecifier()
312 argIndex++; in ParsePrintfSpecifier()
333 unsigned argIndex = 0; in ParsePrintfString() local
337 const PrintfSpecifierResult &FSR = ParsePrintfSpecifier(H, I, E, argIndex, in ParsePrintfString()
[all …]
DFormatStringParsing.h30 unsigned &argIndex);
39 unsigned *argIndex);
/external/angle/src/libANGLE/
DCLKernel.cpp18 cl_int Kernel::setArg(cl_uint argIndex, size_t argSize, const void *argValue) in setArg() argument
20 return mImpl->setArg(argIndex, argSize, argValue); in setArg()
157 cl_int Kernel::getArgInfo(cl_uint argIndex, in getArgInfo() argument
163 const rx::CLKernelImpl::ArgInfo &info = mInfo.args[argIndex]; in getArgInfo()
DCLKernel.h22 cl_int setArg(cl_uint argIndex, size_t argSize, const void *argValue);
32 cl_int getArgInfo(cl_uint argIndex,
/external/llvm-project/mlir/lib/TableGen/
DPattern.cpp197 : op(op), kind(kind), argIndex(index) {} in SymbolInfo()
221 op->getArg(*argIndex).get<NamedAttribute *>()->attr.getStorageType(); in getVarDecl()
257 auto *operand = op->getArg(*argIndex).get<NamedTypeConstraint *>(); in getValueAndRangeUse()
359 int argIndex) { in bindOpArgument() argument
367 auto symInfo = op.getArg(argIndex).is<NamedAttribute *>() in bindOpArgument()
368 ? SymbolInfo::getAttr(&op, argIndex) in bindOpArgument()
369 : SymbolInfo::getOperand(&op, argIndex); in bindOpArgument()
418 int argIndex) const { in findBoundSymbol()
423 if (it->second.op == &op && it->second.argIndex == argIndex) { in findBoundSymbol()
/external/llvm-project/clang/lib/AST/
DPrintfFormatString.cpp40 unsigned *argIndex) { in ParsePrecision() argument
41 if (argIndex) { in ParsePrecision()
42 FS.setPrecision(ParseNonPositionAmount(Beg, E, *argIndex)); in ParsePrecision()
74 unsigned &argIndex, in ParsePrintfSpecifier() argument
219 FS.usesPositionalArg() ? nullptr : &argIndex)) in ParsePrintfSpecifier()
239 FS.usesPositionalArg() ? nullptr : &argIndex)) in ParsePrintfSpecifier()
389 FS.setArgIndex(argIndex++); in ParsePrintfSpecifier()
393 argIndex++; in ParsePrintfSpecifier()
414 unsigned argIndex = 0; in ParsePrintfString() local
418 const PrintfSpecifierResult &FSR = ParsePrintfSpecifier(H, I, E, argIndex, in ParsePrintfString()
[all …]
DFormatStringParsing.h42 unsigned &argIndex);
51 unsigned *argIndex);
/external/bcc/src/cc/vendor/
Dtinyformat.hpp584 int& argIndex, int numFormatters) in streamStateFromFormat() argument
650 if(argIndex < numFormatters) in streamStateFromFormat()
651 width = formatters[argIndex++].toInt(); in streamStateFromFormat()
672 if(argIndex < numFormatters) in streamStateFromFormat()
673 precision = formatters[argIndex++].toInt(); in streamStateFromFormat()
778 for (int argIndex = 0; argIndex < numFormatters; ++argIndex) in formatImpl() local
785 formatters, argIndex, numFormatters); in formatImpl()
786 if (argIndex >= numFormatters) in formatImpl()
792 const FormatArg& arg = formatters[argIndex]; in formatImpl()
/external/llvm-project/mlir/include/mlir/TableGen/
DPattern.h295 Optional<int> argIndex; variable
315 bool bindOpArgument(StringRef symbol, const Operator &op, int argIndex);
338 int argIndex) const;
/external/tensorflow/tensorflow/go/genop/internal/
Dgenop.go419 argIndex := -1
422 argIndex = i
426 if argIndex == -1 {
432 op: op.InputArg[argIndex], api: apidef.InArg[argIndex]}

123