Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DANGLEPerfTestArgs.cpp58 for (int argIndex = 0; argIndex < *argc; argIndex++) in ANGLEProcessPerfTestArgs() local
60 if (strcmp("--one-frame-only", argv[argIndex]) == 0) in ANGLEProcessPerfTestArgs()
65 else if (strcmp("--enable-trace", argv[argIndex]) == 0) in ANGLEProcessPerfTestArgs()
69 else if (strcmp("--trace-file", argv[argIndex]) == 0 && argIndex < *argc - 1) in ANGLEProcessPerfTestArgs()
71 gTraceFile = argv[argIndex + 1]; in ANGLEProcessPerfTestArgs()
73 argIndex++; in ANGLEProcessPerfTestArgs()
75 else if (strcmp("--calibration", argv[argIndex]) == 0) in ANGLEProcessPerfTestArgs()
80 else if (strcmp("--steps-per-trial", argv[argIndex]) == 0 && argIndex < *argc - 1) in ANGLEProcessPerfTestArgs()
82 gStepsPerTrial = ReadIntArgument(argv[argIndex + 1]); in ANGLEProcessPerfTestArgs()
84 argIndex++; in ANGLEProcessPerfTestArgs()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DANGLEPerfTestArgs.cpp28 for (int argIndex = 0; argIndex < *argc; argIndex++) in ANGLEProcessPerfTestArgs() local
30 if (strcmp("--one-frame-only", argv[argIndex]) == 0) in ANGLEProcessPerfTestArgs()
34 else if (strcmp("--enable-trace", argv[argIndex]) == 0) in ANGLEProcessPerfTestArgs()
38 else if (strcmp("--trace-file", argv[argIndex]) == 0 && argIndex < *argc - 1) in ANGLEProcessPerfTestArgs()
40 gTraceFile = argv[argIndex]; in ANGLEProcessPerfTestArgs()
42 argIndex++; in ANGLEProcessPerfTestArgs()
44 else if (strcmp("--calibration", argv[argIndex]) == 0) in ANGLEProcessPerfTestArgs()
48 else if (strcmp("--steps", argv[argIndex]) == 0 && argIndex < *argc - 1) in ANGLEProcessPerfTestArgs()
52 strstr << argv[argIndex + 1]; in ANGLEProcessPerfTestArgs()
56 argIndex++; in ANGLEProcessPerfTestArgs()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/deqp_support/
Dangle_deqp_gtest.cpp588 void HandleCaseName(const char *caseString, int *argc, int argIndex, char **argv) in HandleCaseName() argument
600 argv[argIndex] = gCaseStringBuffer.data(); in HandleCaseName()
603 void DeleteArg(int *argc, int argIndex, char **argv) in DeleteArg() argument
606 for (int moveIndex = argIndex; moveIndex < *argc; ++moveIndex) in DeleteArg()
616 int argIndex = 0; in InitTestHarness() local
617 while (argIndex < *argc) in InitTestHarness()
619 if (strncmp(argv[argIndex], gdEQPEGLString, strlen(gdEQPEGLString)) == 0) in InitTestHarness()
621 HandleDisplayType(argv[argIndex] + strlen(gdEQPEGLString)); in InitTestHarness()
622 DeleteArg(argc, argIndex, argv); in InitTestHarness()
624 else if (strncmp(argv[argIndex], gANGLEEGLString, strlen(gANGLEEGLString)) == 0) in InitTestHarness()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/
Dangle_deqp_gtest.cpp735 void HandleCaseName(const char *caseString, int *argc, int argIndex, char **argv) in HandleCaseName() argument
747 argv[argIndex] = gCaseStringBuffer.data(); in HandleCaseName()
771 int argIndex = 0; in InitTestHarness() local
772 while (argIndex < *argc) in InitTestHarness()
774 if (strncmp(argv[argIndex], kdEQPEGLString, strlen(kdEQPEGLString)) == 0) in InitTestHarness()
776 HandleDisplayType(argv[argIndex] + strlen(kdEQPEGLString)); in InitTestHarness()
778 else if (strncmp(argv[argIndex], kANGLEEGLString, strlen(kANGLEEGLString)) == 0) in InitTestHarness()
780 HandleDisplayType(argv[argIndex] + strlen(kANGLEEGLString)); in InitTestHarness()
782 else if (strncmp(argv[argIndex], kANGLEPreRotation, strlen(kANGLEPreRotation)) == 0) in InitTestHarness()
784 HandlePreRotation(argv[argIndex] + strlen(kANGLEPreRotation)); in InitTestHarness()
[all …]
/third_party/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DMonomorphizeUnsupportedFunctions.cpp150 for (size_t argIndex = 0; argIndex < originalCallArguments.size(); ++argIndex) in CreateMonomorphizedFunctionCallArgs() local
153 argIndex != replacedArguments[nextReplacedArg].argumentIndex) in CreateMonomorphizedFunctionCallArgs()
156 substituteArgsOut->push_back(originalCallArguments[argIndex]); in CreateMonomorphizedFunctionCallArgs()
289 for (size_t argIndex = 0; argIndex < callArguments.size(); ++argIndex) in processFunctionCall() local
291 TIntermTyped *callArgument = callArguments[argIndex]->getAsTyped(); in processFunctionCall()
292 const TVariable *funcArgument = function->getParam(argIndex); in processFunctionCall()
348 replacedArguments.push_back({argIndex, argument}); in processFunctionCall()
DRewriteCubeMapSamplersAs2DArray.cpp927 for (size_t argIndex = 2; argIndex < arguments->size(); ++argIndex) in convertBuiltinFunction() local
929 substituteArguments.push_back((*arguments)[argIndex]->getAsTyped()->deepCopy()); in convertBuiltinFunction()
/third_party/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/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,
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DRewriteR32fImages.cpp188 for (size_t argIndex = 1; argIndex < arguments->size(); ++argIndex) in RewriteBuiltinFunctionCall() local
190 TIntermTyped *arg = (*arguments)[argIndex]->getAsTyped(); in RewriteBuiltinFunctionCall()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DANGLETest.cpp294 for (int argIndex = 0; argIndex < *argc; ++argIndex) in RunSeparateProcessesForEachConfig() local
296 if (strncmp(argv[argIndex], kSeparateProcessPerConfig, strlen(kSeparateProcessPerConfig)) != in RunSeparateProcessesForEachConfig()
299 commonArgs.push_back(argv[argIndex]); in RunSeparateProcessesForEachConfig()
1349 for (int argIndex = 1; argIndex < *argc; argIndex++) in ANGLEProcessTestArgs() local
1351 if (strncmp(argv[argIndex], kUseConfig, strlen(kUseConfig)) == 0) in ANGLEProcessTestArgs()
1353 gSelectedConfig = std::string(argv[argIndex] + strlen(kUseConfig)); in ANGLEProcessTestArgs()
1355 if (strncmp(argv[argIndex], kSeparateProcessPerConfig, strlen(kSeparateProcessPerConfig)) == in ANGLEProcessTestArgs()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DANGLETest.cpp1579 for (int argIndex = 1; argIndex < *argc; argIndex++) in ANGLEProcessTestArgs() local
1581 if (strncmp(argv[argIndex], kUseConfig, strlen(kUseConfig)) == 0) in ANGLEProcessTestArgs()
1583 SetSelectedConfig(argv[argIndex] + strlen(kUseConfig)); in ANGLEProcessTestArgs()
1585 else if (strncmp(argv[argIndex], kReuseDisplays, strlen(kReuseDisplays)) == 0) in ANGLEProcessTestArgs()
1589 else if (strncmp(argv[argIndex], kBatchId, strlen(kBatchId)) == 0) in ANGLEProcessTestArgs()
1594 else if (strncmp(argv[argIndex], kEnableANGLEPerTestCaptureLabel, in ANGLEProcessTestArgs()
1599 else if (strncmp(argv[argIndex], kDelayTestStart, strlen(kDelayTestStart)) == 0) in ANGLEProcessTestArgs()
1601 SetTestStartDelay(argv[argIndex] + strlen(kDelayTestStart)); in ANGLEProcessTestArgs()
1603 else if (strncmp(argv[argIndex], kRenderDoc, strlen(kRenderDoc)) == 0) in ANGLEProcessTestArgs()
1607 else if (strncmp(argv[argIndex], kNoRenderDoc, strlen(kNoRenderDoc)) == 0) in ANGLEProcessTestArgs()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
DTestSuite.cpp147 void DeleteArg(int *argc, char **argv, int argIndex) in DeleteArg() argument
151 for (int index = argIndex; index < *argc; ++index) in DeleteArg()
1073 for (int argIndex = 1; argIndex < *argc;) in TestSuite() local
1075 if (parseSingleArg(argv[argIndex])) in TestSuite()
1077 DeleteArg(argc, argv, argIndex); in TestSuite()
1081 if (ParseFlagValue("--gtest_filter=", argv[argIndex])) in TestSuite()
1083 filterArgIndex = argIndex; in TestSuite()
1088 if (strcmp("--gtest_also_run_disabled_tests", argv[argIndex]) == 0) in TestSuite()
1093 mChildProcessArgs.push_back(argv[argIndex]); in TestSuite()
1095 ++argIndex; in TestSuite()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
DCLKernelCL.h26 cl_int setArg(cl_uint argIndex, size_t argSize, const void *argValue) override;
DCLKernelCL.cpp129 cl_int CLKernelCL::setArg(cl_uint argIndex, size_t argSize, const void *argValue) in setArg() argument
167 return mNative->getDispatch().clSetKernelArg(mNative, argIndex, argSize, argValue); in setArg()
/third_party/flutter/skia/third_party/externals/wuffs/script/
Dextract-giflzw.go63 for argIndex, arg := range flag.Args() {
90 filename = fmt.Sprintf("%s-frame-%03d", filename, argIndex)
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DCLKernelImpl.h86 virtual cl_int setArg(cl_uint argIndex, size_t argSize, const void *argValue) = 0;
/third_party/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp959 size_t argIndex = 0; in assembleMatrixFromExpressions() local
974 if (argIndex < args.size()) { in assembleMatrixFromExpressions()
975 const Type& argType = args[argIndex]->type(); in assembleMatrixFromExpressions()
978 fExtraFunctions.printf("x%zu", argIndex); in assembleMatrixFromExpressions()
984 fExtraFunctions.printf("x%zu.", argIndex); in assembleMatrixFromExpressions()
993 fExtraFunctions.printf("x%zu[%d].", argIndex, argPosition / argType.rows()); in assembleMatrixFromExpressions()
1009 ++argIndex; in assembleMatrixFromExpressions()
1019 if (argPosition != 0 || argIndex != args.size()) { in assembleMatrixFromExpressions()
1056 size_t argIndex = 0; in getMatrixConstructHelper() local
1060 this->typeName(expr->type()).c_str(), argIndex++); in getMatrixConstructHelper()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
DRewriteRowMajorMatrices.cpp784 for (size_t argIndex = 0; argIndex < arguments->size(); ++argIndex) in determineAccess() local
786 if ((*arguments)[argIndex] == expression) in determineAccess()
795 const TVariable *param = function->getParam(argIndex); in determineAccess()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp903 for (size_t argIndex = 2; argIndex < arguments->size(); ++argIndex) in convertBuiltinFunction() local
905 substituteArguments->push_back((*arguments)[argIndex]->getAsTyped()->deepCopy()); in convertBuiltinFunction()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DListFormatter.java690 int argIndex = IterInternal.getArgIndex(state); in append() local
691 if (argIndex == 0) { in append()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DListFormatter.java618 int argIndex = IterInternal.getArgIndex(state); in append() local
619 if (argIndex == 0) { in append()
/third_party/typescript/src/linter/
DTypeScriptLinter.ts1546 for (let argIndex = 0; argIndex < tsCallOrNewExpr.arguments.length; ++argIndex) { variable
1547 const tsArg = tsCallOrNewExpr.arguments[argIndex]; constant
1551 …let paramIndex = argIndex < callSignature.parameters.length ? argIndex : callSignature.parameters.… variable

12