/external/jcommander/src/test/java/com/beust/jcommander/ |
PositiveIntegerTest.java | 16 JCommander jc = new JCommander(arg); local 17 jc.parse(new String[] { "-p", "8080" }); 28 JCommander jc = new JCommander(arg); local 29 jc.parse(new String[] { "-p", "" }); 39 JCommander jc = new JCommander(arg); local 40 jc.parse(new String[] { "-p", "-1" }); 50 JCommander jc = new JCommander(arg); local 51 jc.parse(new String[] { "-p", "abc" }); 62 JCommander jc = new JCommander(arg); local 63 jc.parse(new String[] { "--port", " " }) [all...] |
CmdTest.java | 24 JCommander jc = new JCommander(); local 25 jc.addCommand(new CmdOne()); 26 jc.addCommand(new CmdTwo()); 36 jc.parseWithoutValidation(args); 37 if (jc.getParsedCommand() == null) { 41 jc.parse(newArgs.toArray(new String[0])); 44 jc.parse(args); 46 return jc.getParsedCommand();
|
FinderTest.java | 18 JCommander jc = new JCommander(a); local 19 jc.setCaseSensitiveOptions(false); 20 jc.parse(new String[] { "--PARAM", "foo" }); 27 JCommander jc = new JCommander(a); local 28 jc.addCommand(conf); 29 jc.setCaseSensitiveOptions(false); 30 // jc.setCaseSensitiveCommands(false); 31 jc.parse("--CONFIGURE"); 32 String command = jc.getParsedCommand(); 42 JCommander jc = new JCommander(a) local 54 JCommander jc = new JCommander(a); local 70 JCommander jc = new JCommander(a); local 85 JCommander jc = new JCommander(a); local [all...] |
ConverterFactoryTest.java | 53 JCommander jc = new JCommander(a); local 54 jc.addConverterFactory(CONVERTER_FACTORY); 55 jc.parse("-hostport", "example.com:8080"); 66 JCommander jc = new JCommander(a); local 67 if (f != null) jc.addConverterFactory(f); 68 jc.parse("a.com:10", "b.com:20");
|
DefaultProviderTest.java | 38 JCommander jc = new JCommander(a); local 39 jc.setDefaultProvider(provider); 41 jc.parse(args);
|
/external/jcommander/src/test/java/test/ |
QuotedMainTest.java | 20 JCommander jc = new JCommander(this); local 21 jc.parse(quoted);
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
ArgsEnum.java | 47 JCommander jc = new JCommander(args, argv); local 48 jc.usage(); 49 Assert.assertEquals(jc.getParameters().get(0).getDescription(),
|
/external/javassist/src/main/javassist/expr/ |
MethodCall.java | 203 Javac jc = new Javac(thisClass); local 210 jc.recordParams(classname, params, 212 int retVar = jc.recordReturnType(retType, true); 214 jc.recordStaticProceed(classname, methodname); 216 jc.recordSpecialProceed(Javac.param0Name, classname, 219 jc.recordProceed(Javac.param0Name, methodname); 225 Bytecode bytecode = jc.getBytecode(); 227 jc.recordLocalVariables(ca, pos); 234 jc.compileStmnt(statement);
|
Cast.java | 95 Javac jc = new Javac(thisClass); local 105 jc.recordParams(javaLangObject, params, true, paramVar, 107 int retVar = jc.recordReturnType(retType, true); 108 jc.recordProceed(new ProceedForCast(index, retType)); 114 Bytecode bytecode = jc.getBytecode(); 116 jc.recordLocalVariables(ca, pos); 121 jc.compileStmnt(statement);
|
Instanceof.java | 98 Javac jc = new Javac(thisClass); local 108 jc.recordParams(javaLangObject, params, true, paramVar, 110 int retVar = jc.recordReturnType(retType, true); 111 jc.recordProceed(new ProceedForInstanceof(index)); 114 jc.recordType(getType()); 120 Bytecode bytecode = jc.getBytecode(); 122 jc.recordLocalVariables(ca, pos); 127 jc.compileStmnt(statement);
|
NewArray.java | 208 Javac jc = new Javac(thisClass); local 216 jc.recordParams(javaLangObject, params, 222 int retVar = jc.recordReturnType(retType, true); 223 jc.recordProceed(new ProceedForArray(retType, opcode, index, dim)); 225 Bytecode bytecode = jc.getBytecode(); 227 jc.recordLocalVariables(ca, pos); 232 jc.compileStmnt(statement);
|
NewExpr.java | 182 Javac jc = new Javac(thisClass); local 189 jc.recordParams(newTypeName, params, 191 int retVar = jc.recordReturnType(newType, true); 192 jc.recordProceed(new ProceedForNew(newType, newIndex, 199 Bytecode bytecode = jc.getBytecode(); 201 jc.recordLocalVariables(ca, pos); 206 jc.compileStmnt(statement);
|
FieldAccess.java | 155 Javac jc = new Javac(thisClass); local 175 jc.recordParams(constPool.getFieldrefClassName(index), params, 184 int retVar = jc.recordReturnType(retType, included); 186 jc.recordProceed(new ProceedForRead(retType, opcode, 190 jc.recordType(fieldType); 191 jc.recordProceed(new ProceedForWrite(params[0], opcode, 195 Bytecode bytecode = jc.getBytecode(); 197 jc.recordLocalVariables(ca, pos); 209 jc.compileStmnt(statement);
|
/external/jcommander/src/test/java/com/beust/jcommander/command/ |
CommandTest.java | 33 JCommander jc = new JCommander(cm); local 35 jc.addCommand(add); 37 jc.addCommand("commit", commit); 38 jc.parse("add", "-i", "A.java"); 40 Assert.assertEquals(jc.getParsedCommand(), "add"); 48 JCommander jc = new JCommander(cm); local 50 jc.addCommand(add); 56 JCommander jc = new JCommander(cm); local 58 jc.addCommand("add", add); 60 jc.addCommand("commit", commit) 71 JCommander jc = new JCommander(cm); local 93 JCommander jc = new JCommander(cm); local [all...] |
CommandAliasTest.java | 39 JCommander jc = new JCommander(cm); local 41 jc.addCommand("add", add, "a"); 42 jc.parse("a", "-i", "A.java"); 44 Assert.assertEquals(jc.getParsedCommand(), "add"); 45 Assert.assertEquals(jc.getParsedAlias(), "a"); 62 JCommander jc = new JCommander(cm); local 64 jc.addCommand("commit", commit, "ci", "cmt"); 65 jc.parse(alias, "--amend", "--author", "jack", "file1.txt"); 67 Assert.assertEquals(jc.getParsedCommand(), "commit"); 68 Assert.assertEquals(jc.getParsedAlias(), alias) 77 JCommander jc = new JCommander(cm); local 92 JCommander jc = new JCommander(cm); local 110 JCommander jc = new JCommander(cm); local 118 JCommander jc = new JCommander(cm); local 137 JCommander jc = new JCommander(cm); local 153 JCommander jc = new JCommander(cm); local [all...] |
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/ |
reverse_copy.pass.cpp | 44 int jc[sc] = {-1}; local 45 r = std::reverse_copy(InIter(ic), InIter(ic+sc), OutIter(jc)); 46 assert(base(r) == jc+sc); 47 assert(jc[0] == 2); 48 assert(jc[1] == 1); 49 assert(jc[2] == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.reverse/ |
reverse_copy.pass.cpp | 44 int jc[sc] = {-1}; local 45 r = std::reverse_copy(InIter(ic), InIter(ic+sc), OutIter(jc)); 46 assert(base(r) == jc+sc); 47 assert(jc[0] == 2); 48 assert(jc[1] == 1); 49 assert(jc[2] == 0);
|
/external/testng/src/main/java/org/testng/ |
Converter.java | 53 JCommander jc = new JCommander(this); local 55 jc.parse(args); 88 jc.usage();
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/ |
unique_copy.pass.cpp | 46 int jc[sc] = {-1}; local 47 r = std::unique_copy(InIter(ic), InIter(ic+sc), OutIter(jc)); 48 assert(base(r) == jc + 1); 49 assert(jc[0] == 0);
|
unique_copy_pred.pass.cpp | 61 int jc[sc] = {-1}; local 63 r = std::unique_copy(InIter(ic), InIter(ic+sc), OutIter(jc), count_equal()); 64 assert(base(r) == jc + 1); 65 assert(jc[0] == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.unique/ |
unique_copy.pass.cpp | 46 int jc[sc] = {-1}; local 47 r = std::unique_copy(InIter(ic), InIter(ic+sc), OutIter(jc)); 48 assert(base(r) == jc + 1); 49 assert(jc[0] == 0);
|
unique_copy_pred.pass.cpp | 61 int jc[sc] = {-1}; local 63 r = std::unique_copy(InIter(ic), InIter(ic+sc), OutIter(jc), count_equal()); 64 assert(base(r) == jc + 1); 65 assert(jc[0] == 0);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadUtils.java | 34 public static boolean requestDownload(JobContext jc, URL url, File file) { 38 return download(jc, url, fos); 46 public static void dump(JobContext jc, InputStream is, OutputStream os) 51 jc.setCancelListener(new CancelListener() { 58 if (jc.isCancelled()) throw new InterruptedIOException(); 62 jc.setCancelListener(null); 66 public static boolean download(JobContext jc, URL url, OutputStream output) { 70 dump(jc, input, output);
|
DecodeUtils.java | 60 public static Bitmap decode(JobContext jc, FileDescriptor fd, Options options) { 62 jc.setCancelListener(new DecodeCanceller(options)); 68 public static void decodeBounds(JobContext jc, FileDescriptor fd, 72 jc.setCancelListener(new DecodeCanceller(options)); 77 public static Bitmap decode(JobContext jc, byte[] bytes, Options options) { 78 return decode(jc, bytes, 0, bytes.length, options); 81 public static Bitmap decode(JobContext jc, byte[] bytes, int offset, 84 jc.setCancelListener(new DecodeCanceller(options)); 90 public static void decodeBounds(JobContext jc, byte[] bytes, int offset, 94 jc.setCancelListener(new DecodeCanceller(options)) [all...] |
/external/javassist/src/main/javassist/tools/reflect/ |
Metaobject.java | 159 Class jc = getClassMetaobject().getJavaClass(); local 161 return jc.getField(name).get(getObject()); 179 Class jc = getClassMetaobject().getJavaClass(); local 181 jc.getField(name).set(getObject(), value);
|