| /external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/handshake/ |
| D | CipherSuite.java | 25 private static final CipherSuite[] CIPHER_SUITES = new CipherSuite[] { 26 new CipherSuite(0x0000, "TLS_NULL_WITH_NULL_NULL"), 27 new CipherSuite(0x0001, "TLS_RSA_WITH_NULL_MD5", "SSL_RSA_WITH_NULL_MD5"), 28 new CipherSuite(0x0002, "TLS_RSA_WITH_NULL_SHA", "SSL_RSA_WITH_NULL_SHA"), 29 … new CipherSuite(0x0003, "TLS_RSA_EXPORT_WITH_RC4_40_MD5", "SSL_RSA_EXPORT_WITH_RC4_40_MD5"), 30 new CipherSuite(0x0004, "TLS_RSA_WITH_RC4_128_MD5", "SSL_RSA_WITH_RC4_128_MD5"), 31 new CipherSuite(0x0005, "TLS_RSA_WITH_RC4_128_SHA", "SSL_RSA_WITH_RC4_128_SHA"), 32 new CipherSuite(0x0006, "TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5"), 33 new CipherSuite(0x0007, "TLS_RSA_WITH_IDEA_CBC_SHA"), 34 new CipherSuite(0x0008, "TLS_RSA_EXPORT_WITH_DES40_CBC_SHA", [all …]
|
| /external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/handshake/ |
| D | CipherSuite.java | 27 private static final CipherSuite[] CIPHER_SUITES = new CipherSuite[] { 28 new CipherSuite(0x0000, "TLS_NULL_WITH_NULL_NULL"), 29 new CipherSuite(0x0001, "TLS_RSA_WITH_NULL_MD5", "SSL_RSA_WITH_NULL_MD5"), 30 new CipherSuite(0x0002, "TLS_RSA_WITH_NULL_SHA", "SSL_RSA_WITH_NULL_SHA"), 31 new CipherSuite( 33 new CipherSuite(0x0004, "TLS_RSA_WITH_RC4_128_MD5", "SSL_RSA_WITH_RC4_128_MD5"), 34 new CipherSuite(0x0005, "TLS_RSA_WITH_RC4_128_SHA", "SSL_RSA_WITH_RC4_128_SHA"), 35 new CipherSuite(0x0006, "TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5"), 36 new CipherSuite(0x0007, "TLS_RSA_WITH_IDEA_CBC_SHA"), 37 new CipherSuite(0x0008, "TLS_RSA_EXPORT_WITH_DES40_CBC_SHA", [all …]
|
| /external/proguard/src/proguard/optimize/peephole/ |
| D | InstructionSequenceConstants.java | 226 public static final Constant[] CONSTANTS = new Constant[] 228 new IntegerConstant(32768), 229 new IntegerConstant(65536), 230 new IntegerConstant(16777216), 232 new IntegerConstant(0x0000ff00), 233 new IntegerConstant(0x00ff0000), 234 new IntegerConstant(0xff000000), 235 new IntegerConstant(0x0000ffff), 236 new IntegerConstant(0xffff0000), 238 new LongConstant(-1L), [all …]
|
| /external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
| D | ITreeFixture.cs | 57 CommonTree t = new CommonTree(new CommonToken(101)); in testSingleNode() 66 CommonTree r0 = new CommonTree(new CommonToken(101)); in test4Nodes() 67 r0.AddChild(new CommonTree(new CommonToken(102))); in test4Nodes() 68 r0.GetChild(0).AddChild(new CommonTree(new CommonToken(103))); in test4Nodes() 69 r0.AddChild(new CommonTree(new CommonToken(104))); in test4Nodes() 79 CommonTree r0 = new CommonTree((IToken)null); in testList() 81 r0.AddChild(c0 = new CommonTree(new CommonToken(101))); in testList() 82 r0.AddChild(c1 = new CommonTree(new CommonToken(102))); in testList() 83 r0.AddChild(c2 = new CommonTree(new CommonToken(103))); in testList() 100 CommonTree root = new CommonTree(new CommonToken(5)); in testList2() [all …]
|
| /external/antlr/tool/src/test/java/org/antlr/test/ |
| D | TestTrees.java | 41 TreeAdaptor adaptor = new CommonTreeAdaptor(); 47 public V(int ttype, int x) { this.x=x; token=new CommonToken(ttype); } in V() 54 CommonTree t = new CommonTree(new CommonToken(101)); in testSingleNode() 61 CommonTree t = new V(101, 2); in testTwoChildrenOfNilRoot() 62 CommonTree u = new V(new CommonToken(102,"102")); in testTwoChildrenOfNilRoot() 73 CommonTree r0 = new CommonTree(new CommonToken(101)); in test4Nodes() 74 r0.addChild(new CommonTree(new CommonToken(102))); in test4Nodes() 75 r0.getChild(0).addChild(new CommonTree(new CommonToken(103))); in test4Nodes() 76 r0.addChild(new CommonTree(new CommonToken(104))); in test4Nodes() 84 CommonTree r0 = new CommonTree((Token)null); in testList() [all …]
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
| D | X962NamedCurves.java | 18 static X9ECParametersHolder prime192v1 = new X9ECParametersHolder() 22 BigInteger n = new BigInteger("ffffffffffffffffffffffff99def836146bc9b1b4d22831", 16); 25 ECCurve cFp192v1 = new ECCurve.Fp( 26 new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF", 16), 27 new BigInteger("fffffffffffffffffffffffffffffffefffffffffffffffc", 16), 28 new BigInteger("64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1", 16), 31 return new X9ECParameters( 33 new X9ECPoint(cFp192v1, 40 static X9ECParametersHolder prime192v2 = new X9ECParametersHolder() 44 BigInteger n = new BigInteger("fffffffffffffffffffffffe5fb1a724dc80418648d8dd31", 16); [all …]
|
| /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x9/ |
| D | X962NamedCurves.java | 20 static X9ECParametersHolder prime192v1 = new X9ECParametersHolder() 24 BigInteger n = new BigInteger("ffffffffffffffffffffffff99def836146bc9b1b4d22831", 16); 27 ECCurve cFp192v1 = new ECCurve.Fp( 28 new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF", 16), 29 new BigInteger("fffffffffffffffffffffffffffffffefffffffffffffffc", 16), 30 new BigInteger("64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1", 16), 33 return new X9ECParameters( 35 new X9ECPoint(cFp192v1, 42 static X9ECParametersHolder prime192v2 = new X9ECParametersHolder() 46 BigInteger n = new BigInteger("fffffffffffffffffffffffe5fb1a724dc80418648d8dd31", 16); [all …]
|
| /external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/util/ |
| D | TryListBuilderTest.java | 50 TryListBuilder tlb = new TryListBuilder(); in testSingleCatchAll_Beginning() 52 tlb.addHandler(0, 10, new ImmutableExceptionHandler(null, 5)); in testSingleCatchAll_Beginning() 56 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatchAll_Beginning() 57 ImmutableList.of(new ImmutableExceptionHandler(null, 5)))); in testSingleCatchAll_Beginning() 64 TryListBuilder tlb = new TryListBuilder(); in testSingleCatchAll_Middle() 66 tlb.addHandler(5, 10, new ImmutableExceptionHandler(null, 15)); in testSingleCatchAll_Middle() 70 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatchAll_Middle() 71 ImmutableList.of(new ImmutableExceptionHandler(null, 15)))); in testSingleCatchAll_Middle() 78 TryListBuilder tlb = new TryListBuilder(); in testSingleCatch_Beginning() 80 tlb.addHandler(0, 10, new ImmutableExceptionHandler("Ljava/lang/Exception;", 5)); in testSingleCatch_Beginning() [all …]
|
| /external/selinux/libsepol/cil/src/ |
| D | cil_copy_ast.c | 51 struct cil_list *new; in cil_copy_list() local 54 cil_list_init(&new, data->flavor); in cil_copy_list() 59 cil_list_append(new, CIL_STRING, orig_item->data); in cil_copy_list() 64 cil_list_append(new, CIL_LIST, new_sub); in cil_copy_list() 73 cil_list_append(new, CIL_PARAM, pn); in cil_copy_list() 78 cil_list_append(new, orig_item->flavor, orig_item->data); in cil_copy_list() 83 *copy = new; in cil_copy_list() 88 char *new = NULL; in cil_copy_node() local 91 new = data; in cil_copy_node() 93 *copy = new; in cil_copy_node() [all …]
|
| /external/deqp/external/openglcts/modules/gl/ |
| D | gl4cDirectStateAccessTests.cpp | 65 addChild(new TransformFeedback::CreationTest(m_context)); in init() 66 addChild(new TransformFeedback::DefaultsTest(m_context)); in init() 67 addChild(new TransformFeedback::BuffersTest(m_context)); in init() 68 addChild(new TransformFeedback::ErrorsTest(m_context)); in init() 69 addChild(new TransformFeedback::FunctionalTest(m_context)); in init() 72 addChild(new Samplers::CreationTest(m_context)); in init() 73 addChild(new Samplers::DefaultsTest(m_context)); in init() 74 addChild(new Samplers::ErrorsTest(m_context)); in init() 75 addChild(new Samplers::FunctionalTest(m_context)); in init() 78 addChild(new ProgramPipelines::CreationTest(m_context)); in init() [all …]
|
| /external/v8/benchmarks/ |
| D | earley-boyer.js | 4 var EarleyBoyer = new BenchmarkSuite('EarleyBoyer', 666463, [ 5 new Benchmark("Earley", function () { BgL_earleyzd2benchmarkzd2(); }), 6 new Benchmark("Boyer", function () { BgL_nboyerzd2benchmarkzd2(); }) 38 SC_DEFAULT_OUT = new sc_GenericOutputPort( 103 var sc_properties = new Object(); 109 ht = new Object(); 507 if ((new RegExp("^["+allowedChars+"]*$", "i")).test(s)) 586 (peephole (hole 2 "new sc_Pair(" car ", " cdr ")"))) 589 return new sc_Pair(car, cdr); 596 res = new sc_Pair(arguments[i], res); [all …]
|
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
| D | IslamicTest.java | 55 int[][] tests = new int[][] { in TestRoll() 97 new TestCase(1507231.5, 0, -1245, 12, 9, SUN, 0, 0, 0), in TestCivilCases() 98 new TestCase(1660037.5, 0, -813, 2, 23, WED, 0, 0, 0), in TestCivilCases() 99 new TestCase(1746893.5, 0, -568, 4, 1, WED, 0, 0, 0), in TestCivilCases() 100 new TestCase(1770641.5, 0, -501, 4, 6, SUN, 0, 0, 0), in TestCivilCases() 101 new TestCase(1892731.5, 0, -157, 10, 17, WED, 0, 0, 0), in TestCivilCases() 102 new TestCase(1931579.5, 0, -47, 6, 3, MON, 0, 0, 0), in TestCivilCases() 103 new TestCase(1974851.5, 0, 75, 7, 13, SAT, 0, 0, 0), in TestCivilCases() 104 new TestCase(2091164.5, 0, 403, 10, 5, SUN, 0, 0, 0), in TestCivilCases() 105 new TestCase(2121509.5, 0, 489, 5, 22, SUN, 0, 0, 0), in TestCivilCases() [all …]
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
| D | IslamicTest.java | 58 int[][] tests = new int[][] { in TestRoll() 100 new TestCase(1507231.5, 0, -1245, 12, 9, SUN, 0, 0, 0), in TestCivilCases() 101 new TestCase(1660037.5, 0, -813, 2, 23, WED, 0, 0, 0), in TestCivilCases() 102 new TestCase(1746893.5, 0, -568, 4, 1, WED, 0, 0, 0), in TestCivilCases() 103 new TestCase(1770641.5, 0, -501, 4, 6, SUN, 0, 0, 0), in TestCivilCases() 104 new TestCase(1892731.5, 0, -157, 10, 17, WED, 0, 0, 0), in TestCivilCases() 105 new TestCase(1931579.5, 0, -47, 6, 3, MON, 0, 0, 0), in TestCivilCases() 106 new TestCase(1974851.5, 0, 75, 7, 13, SAT, 0, 0, 0), in TestCivilCases() 107 new TestCase(2091164.5, 0, 403, 10, 5, SUN, 0, 0, 0), in TestCivilCases() 108 new TestCase(2121509.5, 0, 489, 5, 22, SUN, 0, 0, 0), in TestCivilCases() [all …]
|
| /external/proguard/src/proguard/obfuscate/ |
| D | Obfuscator.java | 47 * Creates a new Obfuscator. 66 throw new IOException("You have to specify '-keep' options for the obfuscation step."); in execute() 70 programClassPool.classesAccept(new ClassCleaner()); in execute() 71 libraryClassPool.classesAccept(new ClassCleaner()); in execute() 78 (ClassVisitor)new AllMemberVisitor(new MethodLinker()) : in execute() 79 (ClassVisitor)new BottomClassFilter(new MethodLinker()); in execute() 85 NameMarker nameMarker = new NameMarker(); in execute() 99 libraryClassPool.classesAccept(new AllMemberVisitor(nameMarker)); in execute() 106 new ClassVersionFilter(ClassConstants.CLASS_VERSION_1_7, in execute() 107 new AllConstantVisitor( in execute() [all …]
|
| /external/proguard/src/proguard/classfile/util/ |
| D | DynamicMemberReferenceInitializer.java | 72 private final Constant[] GET_FIELD_CONSTANTS = new Constant[] 74 new MethodrefConstant(1, 2, null, null), 75 new ClassConstant(3, null), 76 new NameAndTypeConstant(4, 5), 77 new Utf8Constant(ClassConstants.NAME_JAVA_LANG_CLASS), 78 new Utf8Constant(ClassConstants.METHOD_NAME_CLASS_GET_FIELD), 79 new Utf8Constant(ClassConstants.METHOD_TYPE_CLASS_GET_FIELD), 82 private final Constant[] GET_DECLARED_FIELD_CONSTANTS = new Constant[] 84 new MethodrefConstant(1, 2, null, null), 85 new ClassConstant(3, null), [all …]
|
| /external/proguard/src/proguard/optimize/ |
| D | Optimizer.java | 79 public static final String[] OPTIMIZATION_NAMES = new String[] 116 * Creates a new Optimizer. 135 throw new IOException("You have to specify '-keep' options for the optimization step."); in execute() 140 new ListParser(new NameParser()).parse(configuration.optimizations) : in execute() 141 new ConstantMatcher(true); in execute() 174 ClassCounter classMarkingFinalCounter = new ClassCounter(); in execute() 175 ClassCounter classUnboxingEnumCounter = new ClassCounter(); in execute() 176 ClassCounter classMergingVerticalCounter = new ClassCounter(); in execute() 177 ClassCounter classMergingHorizontalCounter = new ClassCounter(); in execute() 178 MemberCounter fieldRemovalWriteonlyCounter = new MemberCounter(); in execute() [all …]
|
| /external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/ |
| D | InstructionConstants.java | 48 Instruction NOP = new NOP(); 49 Instruction ACONST_NULL = new ACONST_NULL(); 50 Instruction ICONST_M1 = new ICONST(-1); 51 Instruction ICONST_0 = new ICONST(0); 52 Instruction ICONST_1 = new ICONST(1); 53 Instruction ICONST_2 = new ICONST(2); 54 Instruction ICONST_3 = new ICONST(3); 55 Instruction ICONST_4 = new ICONST(4); 56 Instruction ICONST_5 = new ICONST(5); 57 Instruction LCONST_0 = new LCONST(0); [all …]
|
| D | InstructionConst.java | 47 public static final Instruction NOP = new NOP(); 48 public static final Instruction ACONST_NULL = new ACONST_NULL(); 49 public static final Instruction ICONST_M1 = new ICONST(-1); 50 public static final Instruction ICONST_0 = new ICONST(0); 51 public static final Instruction ICONST_1 = new ICONST(1); 52 public static final Instruction ICONST_2 = new ICONST(2); 53 public static final Instruction ICONST_3 = new ICONST(3); 54 public static final Instruction ICONST_4 = new ICONST(4); 55 public static final Instruction ICONST_5 = new ICONST(5); 56 public static final Instruction LCONST_0 = new LCONST(0); [all …]
|
| /external/turbine/javatests/com/google/turbine/model/ |
| D | ConstTest.java | 35 new EqualsTester() in equalsTest() 36 .addEqualityGroup(new Const.BooleanValue(true), new Const.BooleanValue(true)) in equalsTest() 37 .addEqualityGroup(new Const.BooleanValue(false), new Const.BooleanValue(false)) in equalsTest() 38 .addEqualityGroup(new Const.IntValue(1), new Const.IntValue(1)) in equalsTest() 39 .addEqualityGroup(new Const.IntValue(2), new Const.IntValue(2)) in equalsTest() 40 .addEqualityGroup(new Const.LongValue(1), new Const.LongValue(1)) in equalsTest() 41 .addEqualityGroup(new Const.LongValue(2), new Const.LongValue(2)) in equalsTest() 42 .addEqualityGroup(new Const.CharValue('x'), new Const.CharValue('x')) in equalsTest() 43 .addEqualityGroup(new Const.CharValue('y'), new Const.CharValue('y')) in equalsTest() 44 .addEqualityGroup(new Const.FloatValue(1), new Const.FloatValue(1)) in equalsTest() [all …]
|
| /external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/ |
| D | ReferenceTypeTest.java | 52 typeSolver = new ReflectionTypeSolver(); in setup() 53 …object = new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver), typeSolve… in setup() 54 …string = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolve… in setup() 55 listOfA = new ReferenceTypeImpl( in setup() 56 new ReflectionInterfaceDeclaration(List.class, typeSolver), in setup() 57 …ImmutableList.of(new ResolvedTypeVariable(ResolvedTypeParameterDeclaration.onType("A", "foo.Bar", … in setup() 58 listOfStrings = new ReferenceTypeImpl( in setup() 59 new ReflectionInterfaceDeclaration(List.class, typeSolver), in setup() 60 …ImmutableList.of(new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), t… in setup() 61 linkedListOfString = new ReferenceTypeImpl( in setup() [all …]
|
| /external/deqp/modules/gles3/functional/ |
| D | es3fFunctionalTests.cpp | 180 addChild(new ShaderCommonFunctionTests (m_context)); in init() 181 addChild(new ShaderPackingFunctionTests (m_context)); in init() 196 addChild(new ShaderLibraryTest (m_context, "preprocessor", "Preprocessor Tests")); in init() 197 addChild(new ShaderLibraryTest (m_context, "constants", "Constant Literal Tests")); in init() 198 addChild(new ShaderLibraryTest (m_context, "linkage", "Linkage Tests")); in init() 199 addChild(new ShaderLibraryTest (m_context, "conversions", "Type Conversion Tests")); in init() 200 addChild(new ShaderLibraryTest (m_context, "conditionals", "Conditionals Tests")); in init() 201 addChild(new ShaderLibraryTest (m_context, "declarations", "Declarations Tests")); in init() 202 addChild(new ShaderLibraryTest (m_context, "swizzles", "Swizzle Tests")); in init() 203 …addChild(new ShaderLibraryTest (m_context, "swizzle_math_operations", "Swizzle Math Operations … in init() [all …]
|
| /external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
| D | AbstractHttp2Headers.java | 30 throw new UnsupportedOperationException(); in valueIterator() 35 throw new UnsupportedOperationException(); in size() 40 throw new UnsupportedOperationException(); in isEmpty() 45 throw new UnsupportedOperationException(); in names() 50 throw new UnsupportedOperationException(); in get() 55 throw new UnsupportedOperationException(); in get() 60 throw new UnsupportedOperationException(); in getAndRemove() 65 throw new UnsupportedOperationException(); in getAndRemove() 70 throw new UnsupportedOperationException(); in getAll() 75 throw new UnsupportedOperationException(); in getAllAndRemove() [all …]
|
| /external/guava/guava-testlib/test/com/google/common/testing/ |
| D | FreshValueGeneratorTest.java | 155 FreshValueGenerator generator = new FreshValueGenerator(); in testStringArray() 162 FreshValueGenerator generator = new FreshValueGenerator(); in testPrimitiveArray() 169 assertFreshInstance(new TypeToken<Range<String>>() {}); in testRange() 173 assertFreshInstance(new TypeToken<ImmutableList<String>>() {}); in testImmutableList() 174 assertValueAndTypeEquals(ImmutableList.of(new FreshValueGenerator().generate(String.class)), in testImmutableList() 175 new FreshValueGenerator().generate(new TypeToken<ImmutableList<String>>() {})); in testImmutableList() 176 assertValueAndTypeEquals(ImmutableList.of(new FreshValueGenerator().generate(int.class)), in testImmutableList() 177 new FreshValueGenerator().generate(new TypeToken<ImmutableList<Integer>>() {})); in testImmutableList() 178 assertValueAndTypeEquals(ImmutableList.of(new FreshValueGenerator().generate(String.class)), in testImmutableList() 179 new FreshValueGenerator().generate(new TypeToken<ImmutableList<?>>() {})); in testImmutableList() [all …]
|
| /external/wycheproof/java/com/google/security/wycheproof/testcases/ |
| D | BigIntegerTest.java | 29 new BigInteger[] { 31 new BigInteger("-1"), 32 new BigInteger("0"), 33 new BigInteger("1"), 35 new BigInteger("147573952589676412927"), 36 new BigInteger("2361183241434822606847"), 38 new BigInteger("1194649"), 39 new BigInteger("12327121"), 41 new BigInteger("2152302898747"), 42 new BigInteger("3474749660383"), [all …]
|
| /external/apache-xml/src/main/java/org/apache/xalan/processor/ |
| D | XSLTSchema.java | 82 XSLTAttributeDef hrefAttr = new XSLTAttributeDef(null, "href", in build() 86 XSLTAttributeDef elementsAttr = new XSLTAttributeDef(null, "elements", in build() 90 // XSLTAttributeDef anyNamespacedAttr = new XSLTAttributeDef("*", "*", in build() 94 XSLTAttributeDef methodAttr = new XSLTAttributeDef(null, "method", in build() 96 XSLTAttributeDef versionAttr = new XSLTAttributeDef(null, "version", in build() 98 XSLTAttributeDef encodingAttr = new XSLTAttributeDef(null, "encoding", in build() 100 XSLTAttributeDef omitXmlDeclarationAttr = new XSLTAttributeDef(null, in build() 104 XSLTAttributeDef standaloneAttr = new XSLTAttributeDef(null, in build() 107 XSLTAttributeDef doctypePublicAttr = new XSLTAttributeDef(null, in build() 110 XSLTAttributeDef doctypeSystemAttr = new XSLTAttributeDef(null, in build() [all …]
|