Home
last modified time | relevance | path

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

/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/pooling/normal/
DCircleStack.java55 public final E[] pop(int argNum) { in pop() argument
56 assert (argNum <= container.length) : "Container array is too small"; in pop()
57 if(index + argNum < size){ in pop()
58 System.arraycopy(pool, index, container, 0, argNum); in pop()
59 index += argNum; in pop()
61 int overlap = (index + argNum) - size; in pop()
62 System.arraycopy(pool, index, container, 0, argNum - overlap); in pop()
63 System.arraycopy(pool, 0, container, argNum - overlap, overlap); in pop()
70 public void push(int argNum) {} in push() argument
DDefaultWorldPool.java180 public final Vec2[] popVec2(int argNum) { in popVec2() argument
181 return vecs.pop(argNum); in popVec2()
184 public final void pushVec2(int argNum) { in pushVec2() argument
185 vecs.push(argNum); in pushVec2()
192 public final Vec3[] popVec3(int argNum) { in popVec3() argument
193 return vec3s.pop(argNum); in popVec3()
196 public final void pushVec3(int argNum) { in pushVec3() argument
197 vec3s.push(argNum); in pushVec3()
204 public final Mat22[] popMat22(int argNum) { in popMat22() argument
205 return mats.pop(argNum); in popMat22()
[all …]
DOrderedStack.java56 public final E[] pop(int argNum) {
57 assert (index + argNum < size) : "End of stack reached, there is probably a leak somewhere";
58 assert (argNum <= container.length) : "Container array is too small";
59 System.arraycopy(pool, index, container, 0, argNum);
60 index += argNum;
64 public final void push(int argNum) {
65 index -= argNum;
/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/
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/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/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/pooling/
DIOrderedStack.java49 public E[] pop(int argNum); in pop() argument
55 public void push(int argNum); in push() argument
/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.java898 int argNum; in processOptions() local
899 for (argNum =0; argNum < args.length; argNum++) { in processOptions()
901 if (args[argNum].equalsIgnoreCase(options[i].name)) { in processOptions()
907 argNum++; in processOptions()
908 if ((argNum >= args.length) || (args[argNum].charAt(0)=='-')) { in processOptions()
913 /* int value =*/ Integer.parseInt(args[argNum]); in processOptions()
914 … options[i].value.delete(0, options[i].value.capacity()).append(args[argNum]); in processOptions()
921 argNum++; in processOptions()
922 if ((argNum >= args.length) || (args[argNum].charAt(0)=='-')) { in processOptions()
926 … options[i].value.delete(0, options[i].value.capacity()).append(args[argNum]); in processOptions()
/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/clang/lib/CodeGen/
DCGBlocks.cpp1099 unsigned argNum, in setBlockContextParameter() argument
1115 DI->EmitDeclareOfBlockLiteralArgVariable(*BlockInfo, arg, argNum, in setBlockContextParameter()
DCodeGenFunction.h1278 void setBlockContextParameter(const ImplicitParamDecl *D, unsigned argNum,
/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()