/external/zxing/core/src/main/java/com/google/zxing/qrcode/decoder/ |
D | Version.java | 105 throw new IllegalArgumentException(); in getVersionForNumber() 141 BitMatrix bitMatrix = new BitMatrix(dimension); in buildFunctionPattern() 245 return new Version[]{ in buildVersions() 246 new Version(1, new int[]{}, in buildVersions() 247 new ECBlocks(7, new ECB(1, 19)), in buildVersions() 248 new ECBlocks(10, new ECB(1, 16)), in buildVersions() 249 new ECBlocks(13, new ECB(1, 13)), in buildVersions() 250 new ECBlocks(17, new ECB(1, 9))), in buildVersions() 251 new Version(2, new int[]{6, 18}, in buildVersions() 252 new ECBlocks(10, new ECB(1, 34)), in buildVersions() [all …]
|
/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/rust/android-crates-io/crates/merge/tests/ |
D | derive.rs | 21 pub fn new(field1: Option<usize>) -> S { in test_one_option_field() method 26 test(S::new(Some(1)), S::new(Some(1)), S::new(Some(2))); in test_one_option_field() 27 test(S::new(Some(1)), S::new(Some(1)), S::new(None)); in test_one_option_field() 28 test(S::new(Some(2)), S::new(None), S::new(Some(2))); in test_one_option_field() 29 test(S::new(None), S::new(None), S::new(None)); in test_one_option_field() 41 pub fn new(field1: Option<usize>, field2: Option<usize>) -> S { in test_two_option_fields() method 49 S::new(Some(1), Some(1)), in test_two_option_fields() 50 S::new(Some(1), Some(1)), in test_two_option_fields() 51 S::new(Some(2), Some(2)), in test_two_option_fields() 54 S::new(Some(1), Some(1)), in test_two_option_fields() [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/zxing/core/src/main/java/com/google/zxing/datamatrix/decoder/ |
D | Version.java | 124 this.ecBlocks = new ECB[] { ecBlocks }; in ECBlocks() 129 this.ecBlocks = new ECB[] { ecBlocks1, ecBlocks2 }; in ECBlocks() 173 return new Version[]{ in buildVersions() 174 new Version(1, 10, 10, 8, 8, in buildVersions() 175 new ECBlocks(5, new ECB(1, 3))), in buildVersions() 176 new Version(2, 12, 12, 10, 10, in buildVersions() 177 new ECBlocks(7, new ECB(1, 5))), in buildVersions() 178 new Version(3, 14, 14, 12, 12, in buildVersions() 179 new ECBlocks(10, new ECB(1, 8))), in buildVersions() 180 new Version(4, 16, 16, 14, 14, in buildVersions() [all …]
|
/external/tink/java_src/src/test/java/com/google/crypto/tink/internal/ |
D | JsonParserTest.java | 69 JsonArray output = new JsonArray(); in jsonArray() 77 JsonObject output = new JsonObject(); in jsonObject() 84 new TestCase("string", "\"xyz\"", new JsonPrimitive("xyz")), 85 new TestCase("number", "42", new JsonPrimitive(42)), 86 new TestCase("negative_number", "-42", new JsonPrimitive(-42)), 87 new TestCase("float", "42.42", new JsonPrimitive(42.42)), 88 new TestCase("negative_float", "-42.42", new JsonPrimitive(-42.42)), 89 new TestCase("true", "true", new JsonPrimitive(true)), 90 new TestCase("false", "false", new JsonPrimitive(false)), 91 new TestCase("null", "null", JsonNull.INSTANCE), [all …]
|
/external/tink-java/src/test/java/com/google/crypto/tink/internal/ |
D | JsonParserTest.java | 69 JsonArray output = new JsonArray(); in jsonArray() 77 JsonObject output = new JsonObject(); in jsonObject() 84 new TestCase("string", "\"xyz\"", new JsonPrimitive("xyz")), 85 new TestCase("number", "42", new JsonPrimitive(42)), 86 new TestCase("negative_number", "-42", new JsonPrimitive(-42)), 87 new TestCase("float", "42.42", new JsonPrimitive(42.42)), 88 new TestCase("negative_float", "-42.42", new JsonPrimitive(-42.42)), 89 new TestCase("true", "true", new JsonPrimitive(true)), 90 new TestCase("false", "false", new JsonPrimitive(false)), 91 new TestCase("null", "null", JsonNull.INSTANCE), [all …]
|
/external/selinux/libsepol/cil/src/ |
D | cil_copy_ast.c | 53 struct cil_list *new; in cil_copy_list() local 56 cil_list_init(&new, data->flavor); in cil_copy_list() 61 cil_list_append(new, CIL_STRING, orig_item->data); in cil_copy_list() 66 cil_list_append(new, CIL_LIST, new_sub); in cil_copy_list() 75 cil_list_append(new, CIL_PARAM, pn); in cil_copy_list() 80 cil_list_append(new, orig_item->flavor, orig_item->data); in cil_copy_list() 85 *copy = new; in cil_copy_list() 90 char *new = NULL; in cil_copy_node() local 93 new = data; in cil_copy_node() 95 *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/turbine/javatests/com/google/turbine/model/ |
D | ConstTest.java | 42 new EqualsTester() in equalsTest() 43 .addEqualityGroup(new Const.BooleanValue(true), new Const.BooleanValue(true)) in equalsTest() 44 .addEqualityGroup(new Const.BooleanValue(false), new Const.BooleanValue(false)) in equalsTest() 45 .addEqualityGroup(new Const.IntValue(1), new Const.IntValue(1)) in equalsTest() 46 .addEqualityGroup(new Const.IntValue(2), new Const.IntValue(2)) in equalsTest() 47 .addEqualityGroup(new Const.LongValue(1), new Const.LongValue(1)) in equalsTest() 48 .addEqualityGroup(new Const.LongValue(2), new Const.LongValue(2)) in equalsTest() 49 .addEqualityGroup(new Const.CharValue('x'), new Const.CharValue('x')) in equalsTest() 50 .addEqualityGroup(new Const.CharValue('y'), new Const.CharValue('y')) in equalsTest() 51 .addEqualityGroup(new Const.FloatValue(1), new Const.FloatValue(1)) in equalsTest() [all …]
|
/external/google-smali/dexlib2/src/test/java/com/android/tools/smali/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/icu/icu4j/main/core/src/test/java/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/apache-xml/test/java/src/org/apache/qetest/ |
D | CharTables.java | 42 * Simply uses new OutputStreamWriter(..., fileencoding). 56 File f = new File(filename); in writeCharTableFile() 57 FileOutputStream fos = new FileOutputStream(f); in writeCharTableFile() 58 PrintWriter writer = new PrintWriter(new OutputStreamWriter(fos, fileencoding)); in writeCharTableFile() 221 {new Integer(0x0020), "SPACE"} 222 , {new Integer(0x0021), "EXCLAMATION MARK"} 223 , {new Integer(0x0022), "QUOTATION MARK"} 224 , {new Integer(0x0023), "NUMBER SIGN"} 225 , {new Integer(0x0024), "DOLLAR SIGN"} 226 , {new Integer(0x0025), "PERCENT SIGN"} [all …]
|
/external/zxing/core/src/main/java/com/google/zxing/oned/ |
D | EANManufacturerOrgSupport.java | 33 private final List<int[]> ranges = new ArrayList<>(); 34 private final List<String> countryIdentifiers = new ArrayList<>(); 63 add(new int[] {0,19}, "US/CA"); in initIfNeeded() 64 add(new int[] {30,39}, "US"); in initIfNeeded() 65 add(new int[] {60,139}, "US/CA"); in initIfNeeded() 66 add(new int[] {300,379}, "FR"); in initIfNeeded() 67 add(new int[] {380}, "BG"); in initIfNeeded() 68 add(new int[] {383}, "SI"); in initIfNeeded() 69 add(new int[] {385}, "HR"); in initIfNeeded() 70 add(new int[] {387}, "BA"); in initIfNeeded() [all …]
|
/external/aws-sdk-java-v2/codegen-lite/src/test/resources/software/amazon/awssdk/codegen/lite/regions/ |
D | service-metadata-provider.java | 266 … .put("a4b", new A4bServiceMetadata()).put("access-analyzer", new AccessAnalyzerServiceMetadata()) 267 … .put("account", new AccountServiceMetadata()).put("acm", new AcmServiceMetadata()) 268 … .put("acm-pca", new AcmPcaServiceMetadata()).put("airflow", new AirflowServiceMetadata()) 269 ….put("amplify", new AmplifyServiceMetadata()).put("amplifybackend", new AmplifybackendServiceMetad… 270 ….put("api.detective", new ApiDetectiveServiceMetadata()).put("api.ecr", new ApiEcrServiceMetadata(… 271 … .put("api.ecr-public", new ApiEcrPublicServiceMetadata()) 272 … .put("api.elastic-inference", new ApiElasticInferenceServiceMetadata()) 273 … .put("api.fleethub.iot", new ApiFleethubIotServiceMetadata()) 274 ….put("api.mediatailor", new ApiMediatailorServiceMetadata()).put("api.pricing", new ApiPricingServ… 275 ….put("api.sagemaker", new ApiSagemakerServiceMetadata()).put("apigateway", new ApigatewayServiceMe… [all …]
|
/external/aws-sdk-java-v2/core/regions/target/generated-sources/sdk/software/amazon/awssdk/regions/ |
D | GeneratedServiceMetadataProvider.java | 344 … .put("a4b", new A4bServiceMetadata()).put("access-analyzer", new AccessAnalyzerServiceMetadata()) 345 .put("account", new AccountServiceMetadata()).put("acm", new AcmServiceMetadata()) 346 ….put("acm-pca", new AcmPcaServiceMetadata()).put("agreement-marketplace", new AgreementMarketplace… 347 … .put("airflow", new AirflowServiceMetadata()).put("amplify", new AmplifyServiceMetadata()) 348 .put("amplifybackend", new AmplifybackendServiceMetadata()) 349 ….put("amplifyuibuilder", new AmplifyuibuilderServiceMetadata()).put("aoss", new AossServiceMetadat… 350 ….put("api.detective", new ApiDetectiveServiceMetadata()).put("api.ecr", new ApiEcrServiceMetadata(… 351 .put("api.ecr-public", new ApiEcrPublicServiceMetadata()) 352 .put("api.elastic-inference", new ApiElasticInferenceServiceMetadata()) 353 .put("api.fleethub.iot", new ApiFleethubIotServiceMetadata()) [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/deqp/modules/gles3/functional/ |
D | es3fFunctionalTests.cpp | 182 addChild(new ShaderCommonFunctionTests(m_context)); in init() 183 addChild(new ShaderPackingFunctionTests(m_context)); in init() 197 addChild(new ShaderLibraryTest(m_context, "preprocessor", "Preprocessor Tests")); in init() 198 addChild(new ShaderLibraryTest(m_context, "constants", "Constant Literal Tests")); in init() 199 addChild(new ShaderLibraryTest(m_context, "linkage", "Linkage Tests")); in init() 200 addChild(new ShaderLibraryTest(m_context, "conversions", "Type Conversion Tests")); in init() 201 addChild(new ShaderLibraryTest(m_context, "conditionals", "Conditionals Tests")); in init() 202 addChild(new ShaderLibraryTest(m_context, "declarations", "Declarations Tests")); in init() 203 addChild(new ShaderLibraryTest(m_context, "swizzles", "Swizzle Tests")); in init() 204 …addChild(new ShaderLibraryTest(m_context, "swizzle_math_operations", "Swizzle Math Operations Test… 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/rust/android-crates-io/crates/glam/tests/ |
D | vec2.rs | 7 ($t:ident, $new:ident, $vec2:ident, $vec3:ident, $mask:ident, $masknew:ident) => { 10 const V1: $vec2 = $vec2::new(1 as $t, 2 as $t); 18 assert_eq!($vec2::ZERO, $new(0 as $t, 0 as $t)); 19 assert_eq!($vec2::ONE, $new(1 as $t, 1 as $t)); 20 assert_eq!($vec2::X, $new(1 as $t, 0 as $t)); 21 assert_eq!($vec2::Y, $new(0 as $t, 1 as $t)); 22 assert_eq!($vec2::MIN, $new($t::MIN, $t::MIN)); 23 assert_eq!($vec2::MAX, $new($t::MAX, $t::MAX)); 27 let v = $new(1 as $t, 2 as $t); 48 let v = $vec2::new(t.0, t.1); [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 …]
|