Home
last modified time | relevance | path

Searched refs:argNum (Results 1 – 10 of 10) sorted by relevance

/third_party/icu/icu4c/source/samples/coll/
Dcoll.cpp93 for (int argNum = 1; argNum < argc; argNum ++) { in processOptions() local
94 const char *pArgName = argv[argNum]; in processOptions()
103 argNum ++; in processOptions()
104 if (argNum >= argc) { in processOptions()
109 *(const char **)(pOpt->pVar) = argv[argNum]; in processOptions()
112 argNum ++; in processOptions()
113 if (argNum >= argc) { in processOptions()
119 int i = strtol(argv[argNum], &endp, 0); in processOptions()
120 if (endp == argv[argNum]) { in processOptions()
/third_party/skia/third_party/externals/icu/source/samples/coll/
Dcoll.cpp93 for (int argNum = 1; argNum < argc; argNum ++) { in processOptions() local
94 const char *pArgName = argv[argNum]; in processOptions()
103 argNum ++; in processOptions()
104 if (argNum >= argc) { in processOptions()
109 *(const char **)(pOpt->pVar) = argv[argNum]; in processOptions()
112 argNum ++; in processOptions()
113 if (argNum >= argc) { in processOptions()
119 int i = strtol(argv[argNum], &endp, 0); in processOptions()
120 if (endp == argv[argNum]) { in processOptions()
/third_party/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp103 for (int argNum = 1; argNum < argc; argNum ++) { in processOptions() local
104 const char *pArgName = argv[argNum]; in processOptions()
113 argNum ++; in processOptions()
114 if (argNum >= argc) { in processOptions()
119 *(const char **)(pOpt->pVar) = argv[argNum]; in processOptions()
122 argNum ++; in processOptions()
123 if (argNum >= argc) { in processOptions()
129 int i = strtol(argv[argNum], &endp, 0); in processOptions()
130 if (endp == argv[argNum]) { in processOptions()
/third_party/skia/third_party/externals/icu/source/samples/strsrch/
Dstrsrch.cpp103 for (int argNum = 1; argNum < argc; argNum ++) { in processOptions() local
104 const char *pArgName = argv[argNum]; in processOptions()
113 argNum ++; in processOptions()
114 if (argNum >= argc) { in processOptions()
119 *(const char **)(pOpt->pVar) = argv[argNum]; in processOptions()
122 argNum ++; in processOptions()
123 if (argNum >= argc) { in processOptions()
129 int i = strtol(argv[argNum], &endp, 0); in processOptions()
130 if (endp == argv[argNum]) { in processOptions()
/third_party/glslang/glslang/MachineIndependent/
Dattribute.cpp44 bool TAttributeArgs::getInt(int& value, int argNum) const in getInt()
46 const TConstUnion* intConst = getConstUnion(EbtInt, argNum); in getInt()
58 bool TAttributeArgs::getString(TString& value, int argNum, bool convertToLower) const in getString() argument
60 const TConstUnion* stringConst = getConstUnion(EbtString, argNum); in getString()
81 const TConstUnion* TAttributeArgs::getConstUnion(TBasicType basicType, int argNum) const in getConstUnion()
86 if (argNum >= (int)args->getSequence().size()) in getConstUnion()
89 if (args->getSequence()[argNum]->getAsConstantUnion() == nullptr) in getConstUnion()
92 …const TConstUnion* constVal = &args->getSequence()[argNum]->getAsConstantUnion()->getConstArray()[… in getConstUnion()
Dattribute.h134 bool getInt(int& value, int argNum = 0) const;
138 bool getString(TString& value, int argNum = 0, bool convertToLower = true) const;
144 const TConstUnion* getConstUnion(TBasicType basicType, int argNum) const;
/third_party/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperfold.cpp237 int argNum; in ProcessOptions() local
241 for (argNum=1; argNum<argc; argNum++) { in ProcessOptions()
242 pArgName = argv[argNum]; in ProcessOptions()
250 argNum ++; in ProcessOptions()
251 if (argNum >= argc) { in ProcessOptions()
255 *(const char **)(pOpt->pVar) = argv[argNum]; in ProcessOptions()
258 argNum ++; in ProcessOptions()
259 if (argNum >= argc) { in ProcessOptions()
264 i = strtol(argv[argNum], &endp, 0); in ProcessOptions()
265 if (endp == argv[argNum]) { in ProcessOptions()
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java909 int argNum; in processOptions() local
910 for (argNum =0; argNum < args.length; argNum++) { in processOptions()
912 if (args[argNum].equalsIgnoreCase(options[i].name)) { in processOptions()
918 argNum++; in processOptions()
919 if ((argNum >= args.length) || (args[argNum].charAt(0)=='-')) { in processOptions()
924 /* int value =*/ Integer.parseInt(args[argNum]); in processOptions()
925 … options[i].value.delete(0, options[i].value.capacity()).append(args[argNum]); in processOptions()
932 argNum++; in processOptions()
933 if ((argNum >= args.length) || (args[argNum].charAt(0)=='-')) { in processOptions()
937 … options[i].value.delete(0, options[i].value.capacity()).append(args[argNum]); in processOptions()
/third_party/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp226 int argNum; in ProcessOptions() local
230 for (argNum=1; argNum<argc; argNum++) { in ProcessOptions()
231 pArgName = argv[argNum]; in ProcessOptions()
239 argNum ++; in ProcessOptions()
240 if (argNum >= argc) { in ProcessOptions()
244 *(const char **)(pOpt->pVar) = argv[argNum]; in ProcessOptions()
247 argNum ++; in ProcessOptions()
248 if (argNum >= argc) { in ProcessOptions()
253 i = strtol(argv[argNum], &endp, 0); in ProcessOptions()
254 if (endp == argv[argNum]) { in ProcessOptions()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp5921 const auto needsConversion = [&](int argNum) { in addOutputArgumentConversions() argument
5922 return function[argNum].type->getQualifier().isParamOutput() && in addOutputArgumentConversions()
5923 (*function[argNum].type != arguments[argNum]->getAsTyped()->getType() || in addOutputArgumentConversions()
5924 shouldConvertLValue(arguments[argNum]) || in addOutputArgumentConversions()
5925 wasFlattened(arguments[argNum]->getAsTyped())); in addOutputArgumentConversions()