Home
last modified time | relevance | path

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

/external/icu/icu4c/source/samples/coll/
Dcoll.cpp87 for (int argNum = 1; argNum < argc; argNum ++) { in processOptions() local
88 const char *pArgName = argv[argNum]; in processOptions()
97 argNum ++; in processOptions()
98 if (argNum >= argc) { in processOptions()
103 *(const char **)(pOpt->pVar) = argv[argNum]; in processOptions()
106 argNum ++; in processOptions()
107 if (argNum >= argc) { in processOptions()
113 int i = strtol(argv[argNum], &endp, 0); in processOptions()
114 if (endp == argv[argNum]) { in processOptions()
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp98 for (int argNum = 1; argNum < argc; argNum ++) { in processOptions() local
99 const char *pArgName = argv[argNum]; in processOptions()
108 argNum ++; in processOptions()
109 if (argNum >= argc) { in processOptions()
114 *(const char **)(pOpt->pVar) = argv[argNum]; in processOptions()
117 argNum ++; in processOptions()
118 if (argNum >= argc) { in processOptions()
124 int i = strtol(argv[argNum], &endp, 0); in processOptions()
125 if (endp == argv[argNum]) { in processOptions()
/external/apache-xml/src/main/java/org/apache/xpath/functions/
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()
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()
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/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperfold.cpp232 int argNum; in ProcessOptions() local
236 for (argNum=1; argNum<argc; argNum++) { in ProcessOptions()
237 pArgName = argv[argNum]; in ProcessOptions()
245 argNum ++; in ProcessOptions()
246 if (argNum >= argc) { in ProcessOptions()
250 *(const char **)(pOpt->pVar) = argv[argNum]; in ProcessOptions()
253 argNum ++; in ProcessOptions()
254 if (argNum >= argc) { in ProcessOptions()
259 i = strtol(argv[argNum], &endp, 0); in ProcessOptions()
260 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/icu4c/source/test/perf/collationperf/
Dcollperf.cpp222 int argNum; in ProcessOptions() local
226 for (argNum=1; argNum<argc; argNum++) { in ProcessOptions()
227 pArgName = argv[argNum]; in ProcessOptions()
235 argNum ++; in ProcessOptions()
236 if (argNum >= argc) { in ProcessOptions()
240 *(const char **)(pOpt->pVar) = argv[argNum]; in ProcessOptions()
243 argNum ++; in ProcessOptions()
244 if (argNum >= argc) { in ProcessOptions()
249 i = strtol(argv[argNum], &endp, 0); in ProcessOptions()
250 if (endp == argv[argNum]) { in ProcessOptions()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp447 unsigned argNum = std::distance(Arg->getParent()->arg_begin(), in getCppName() local
449 name = std::string("arg_") + utostr(argNum); in getCppName()