Home
last modified time | relevance | path

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

12

/external/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()
/external/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()
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFunction2Args.java78 public void setArg(Expression arg, int argNum) in setArg() argument
83 if (argNum == 0) in setArg()
84 super.setArg(arg, argNum); in setArg()
85 else if (1 == argNum) in setArg()
102 public void checkNumberArgs(int argNum) throws WrongNumberArgsException in checkNumberArgs() argument
104 if (argNum != 2) in checkNumberArgs()
DFunction3Args.java77 public void setArg(Expression arg, int argNum) in setArg() argument
81 if (argNum < 2) in setArg()
82 super.setArg(arg, argNum); in setArg()
83 else if (2 == argNum) in setArg()
100 public void checkNumberArgs(int argNum) throws WrongNumberArgsException in checkNumberArgs() argument
102 if (argNum != 3) in checkNumberArgs()
DFunctionOneArg.java60 public void setArg(Expression arg, int argNum) in setArg() argument
64 if (0 == argNum) in setArg()
81 public void checkNumberArgs(int argNum) throws WrongNumberArgsException in checkNumberArgs() argument
83 if (argNum != 1) in checkNumberArgs()
DFunctionMultiArgs.java62 public void setArg(Expression arg, int argNum) in setArg() argument
66 if (argNum < 3) in setArg()
67 super.setArg(arg, argNum); in setArg()
120 public void checkNumberArgs(int argNum) throws WrongNumberArgsException{} in checkNumberArgs() argument
DFunction.java55 public void setArg(Expression arg, int argNum) in setArg() argument
72 public void checkNumberArgs(int argNum) throws WrongNumberArgsException in checkNumberArgs() argument
74 if (argNum != 0) in checkNumberArgs()
DFuncConcat.java75 public void checkNumberArgs(int argNum) throws WrongNumberArgsException in checkNumberArgs() argument
77 if (argNum < 2) in checkNumberArgs()
DFuncSubstring.java109 public void checkNumberArgs(int argNum) throws WrongNumberArgsException in checkNumberArgs() argument
111 if (argNum < 2) in checkNumberArgs()
DFunctionDef1Arg.java141 public void checkNumberArgs(int argNum) throws WrongNumberArgsException in checkNumberArgs() argument
143 if (argNum > 1) in checkNumberArgs()
DFuncExtFunction.java232 public void setArg(Expression arg, int argNum) in setArg() argument
247 public void checkNumberArgs(int argNum) throws WrongNumberArgsException{} in checkNumberArgs() argument
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dattribute.cpp46 bool TAttributeArgs::getInt(int& value, int argNum) const in getInt()
48 const TConstUnion* intConst = getConstUnion(EbtInt, argNum); in getInt()
60 bool TAttributeArgs::getString(TString& value, int argNum, bool convertToLower) const in getString() argument
62 const TConstUnion* stringConst = getConstUnion(EbtString, argNum); in getString()
83 const TConstUnion* TAttributeArgs::getConstUnion(TBasicType basicType, int argNum) const in getConstUnion()
88 if (argNum >= (int)args->getSequence().size()) in getConstUnion()
91 if (args->getSequence()[argNum]->getAsConstantUnion() == nullptr) in getConstUnion()
94 …const TConstUnion* constVal = &args->getSequence()[argNum]->getAsConstantUnion()->getConstArray()[… in getConstUnion()
Dattribute.h132 bool getInt(int& value, int argNum = 0) const;
136 bool getString(TString& value, int argNum = 0, bool convertToLower = true) const;
142 const TConstUnion* getConstUnion(TBasicType basicType, int argNum) const;
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
Dattribute.cpp46 bool TAttributeArgs::getInt(int& value, int argNum) const in getInt()
48 const TConstUnion* intConst = getConstUnion(EbtInt, argNum); in getInt()
60 bool TAttributeArgs::getString(TString& value, int argNum, bool convertToLower) const in getString() argument
62 const TConstUnion* stringConst = getConstUnion(EbtString, argNum); in getString()
83 const TConstUnion* TAttributeArgs::getConstUnion(TBasicType basicType, int argNum) const in getConstUnion()
88 if (argNum >= (int)args->getSequence().size()) in getConstUnion()
91 if (args->getSequence()[argNum]->getAsConstantUnion() == nullptr) in getConstUnion()
94 …const TConstUnion* constVal = &args->getSequence()[argNum]->getAsConstantUnion()->getConstArray()[… in getConstUnion()
Dattribute.h133 bool getInt(int& value, int argNum = 0) const;
137 bool getString(TString& value, int argNum = 0, bool convertToLower = true) const;
143 const TConstUnion* getConstUnion(TBasicType basicType, int argNum) const;
/external/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()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DFuncFormatNumb.java173 public void checkNumberArgs(int argNum) throws WrongNumberArgsException in checkNumberArgs() argument
175 if ((argNum > 3) || (argNum < 2)) in checkNumberArgs()
DFuncDocument.java438 public void checkNumberArgs(int argNum) throws WrongNumberArgsException in checkNumberArgs() argument
440 if ((argNum < 1) || (argNum > 2)) in checkNumberArgs()
/external/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()
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/jni/staticjvmtiagent/
Dagent.cc464 for (int argNum = 0; argNum < numParams; argNum++) { in Java_com_android_dx_mockito_inline_StaticClassTransformer_nativeRedefine() local
465 const auto& type = method->decl->prototype->param_types->types[argNum]; in Java_com_android_dx_mockito_inline_StaticClassTransformer_nativeRedefine()
498 addInstr(c, fi, OP_CONST, {v4, c.Alloc<Const32>(argNum)}); in Java_com_android_dx_mockito_inline_StaticClassTransformer_nativeRedefine()
551 for (int argNum = 0; argNum < numParams; argNum++) { in Java_com_android_dx_mockito_inline_StaticClassTransformer_nativeRedefine() local
552 const auto& type = method->decl->prototype->param_types->types[argNum]; in Java_com_android_dx_mockito_inline_StaticClassTransformer_nativeRedefine()
/external/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()
/external/dexmaker/dexmaker-mockito-inline/src/main/jni/dexmakerjvmtiagent/
Dagent.cc665 for (int argNum = 0; argNum < numParams; argNum++) { in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine() local
666 const auto& type = method->decl->prototype->param_types->types[argNum]; in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine()
699 addInstr(c, fi, OP_CONST, {v4, c.Alloc<Const32>(argNum)}); in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine()
751 for (int argNum = 0; argNum < numParams; argNum++) { in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine() local
752 const auto& type = method->decl->prototype->param_types->types[argNum]; in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DFusionOnTensors.cpp73 for (unsigned argNum : llvm::seq<unsigned>(0, producer.getNumInputs())) { in getIndexingMapOfProducerOperandsInFusedOp() local
75 AffineMap argMap = producer.getInputIndexingMap(argNum); in getIndexingMapOfProducerOperandsInFusedOp()
/external/clang/lib/CodeGen/
DCGBlocks.cpp1102 unsigned argNum, in setBlockContextParameter() argument
1118 DI->EmitDeclareOfBlockLiteralArgVariable(*BlockInfo, arg, argNum, in setBlockContextParameter()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp5828 const auto needsConversion = [&](int argNum) { in addOutputArgumentConversions() argument
5829 return function[argNum].type->getQualifier().isParamOutput() && in addOutputArgumentConversions()
5830 (*function[argNum].type != arguments[argNum]->getAsTyped()->getType() || in addOutputArgumentConversions()
5831 shouldConvertLValue(arguments[argNum]) || in addOutputArgumentConversions()
5832 wasFlattened(arguments[argNum]->getAsTyped())); in addOutputArgumentConversions()

12