/external/python/cpython3/Lib/test/ |
D | test_unparse.py | 125 code2 = ast.unparse(ast1) 126 ast2 = ast.parse(code2, **kwargs) 133 def get_source(self, code1, code2=None): argument 134 code2 = code2 or code1 136 return code1, code2 138 def check_src_roundtrip(self, code1, code2=None): argument 139 code1, code2 = self.get_source(code1, code2) 140 with self.subTest(code1=code1, code2=code2): 141 self.assertEqual(code2, code1) 143 def check_src_dont_roundtrip(self, code1, code2=None): argument [all …]
|
D | test_code.py | 243 code2 = func2.__code__ 253 ("co_code", code2.co_code), 254 ("co_consts", code2.co_consts), 256 ("co_varnames", code2.co_varnames), 261 ("co_lnotab", code2.co_lnotab),
|
D | test_parser.py | 863 code2 = parser.compilest(st) 864 self.assertEqual(eval(code2), -3)
|
/external/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITMemoryManagerTest.cpp | 21 uint8_t *code2 = MemMgr->allocateCodeSection(256, 0, 3, ""); in TEST() local 25 EXPECT_NE((uint8_t*)nullptr, code2); in TEST() 32 code2[i] = 2; in TEST() 40 EXPECT_EQ(2, code2[i]); in TEST() 54 uint8_t *code2 = MemMgr->allocateCodeSection(0x100000, 0, 3, ""); in TEST() local 58 EXPECT_NE((uint8_t*)nullptr, code2); in TEST() 65 code2[i] = 2; in TEST() 73 EXPECT_EQ(2, code2[i]); in TEST()
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITMemoryManagerTest.cpp | 22 uint8_t *code2 = MemMgr->allocateCodeSection(256, 0, 3, ""); in TEST() local 26 EXPECT_NE((uint8_t*)nullptr, code2); in TEST() 33 code2[i] = 2; in TEST() 41 EXPECT_EQ(2, code2[i]); in TEST() 55 uint8_t *code2 = MemMgr->allocateCodeSection(0x100000, 0, 3, ""); in TEST() local 59 EXPECT_NE((uint8_t*)nullptr, code2); in TEST() 66 code2[i] = 2; in TEST() 74 EXPECT_EQ(2, code2[i]); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | perl_groups.cc | 11 static const URange16 code2[] = { /* \s */ variable 25 { "\\s", +1, code2, 3 }, 26 { "\\S", -1, code2, 3 },
|
/external/strace/ |
D | ioctlsort.c | 99 unsigned int code2 = code((struct ioctlent *) b); in compare_code_name() local 102 return (code1 > code2) ? in compare_code_name() 103 1 : (code1 < code2) ? -1 : strcmp(name1, name2); in compare_code_name()
|
D | ioctl.c | 40 const unsigned int code2 = ((struct_ioctlent *) b)->code; in compare() local 41 return (code1 > code2) ? 1 : (code1 < code2) ? -1 : 0; in compare()
|
/external/python/cpython2/Lib/ |
D | codeop.py | 79 code = code1 = code2 = None 92 code2 = compiler(source + "\n\n", filename, symbol)
|
D | sre_parse.py | 481 code2 = _class_escape(source, this, nested + 1) 483 code2 = LITERAL, ord(this) 484 if code1[0] != LITERAL or code2[0] != LITERAL: 487 hi = code2[1]
|
/external/python/cpython3/Lib/ |
D | codeop.py | 80 code = code1 = code2 = None 98 code2 = compiler(source + "\n\n", filename, symbol)
|
D | sre_parse.py | 581 code2 = _class_escape(source, that) 590 code2 = LITERAL, _ord(that) 591 if code1[0] != LITERAL or code2[0] != LITERAL: 595 hi = code2[1]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TestLocaleValidity.java | 326 …atasubtype expected, Datatype datatype, Set<Datasubtype> datasubtypes, String code, String code2) { 327 Datasubtype value = ValidIdentifiers.isValid(datatype, datasubtypes, code, code2); 328 assertEquals(datatype + ", " + datasubtypes + ", " + code + ", " + code2, expected, value);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | TestLocaleValidity.java | 329 …atasubtype expected, Datatype datatype, Set<Datasubtype> datasubtypes, String code, String code2) { 330 Datasubtype value = ValidIdentifiers.isValid(datatype, datasubtypes, code, code2); 331 assertEquals(datatype + ", " + datasubtypes + ", " + code + ", " + code2, expected, value);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/ |
D | ShapeImmutableTest.java | 59 Code2 code2 = (Code2) yaml.load("!!org.yaml.snakeyaml.immutable.Code2 555"); in testCode2() local 60 assertEquals(new Integer(555), code2.getCode()); in testCode2()
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | adb_wrapper_devicetest.py | 58 (res2, code2) = pshell.RunCommand('echo TEST2') 63 self.assertEqual(code2, 0)
|
/external/python/cpython2/Demo/parser/ |
D | test_unparse.py | 86 code2 = unparse_buffer.getvalue() 87 ast2 = compile(code2, filename, "exec", ast.PyCF_ONLY_AST)
|
/external/freetype/src/pfr/ |
D | pfrobjs.c | 479 FT_UInt32 code1, code2, pair; in pfr_face_get_kerning() local 497 code2 = phy_font->chars[glyph2].char_code; in pfr_face_get_kerning() 498 pair = PFR_KERN_INDEX( code1, code2 ); in pfr_face_get_kerning()
|
/external/pdfium/fxbarcode/qrcode/ |
D | BC_QRCoderEncoder.cpp | 102 int32_t code2 = GetAlphaNumericCode(content[i + 1]); in AppendAlphaNumericBytes() local 103 if (code2 == -1) in AppendAlphaNumericBytes() 106 bits->AppendBits(code1 * 45 + code2, 11); in AppendAlphaNumericBytes()
|
/external/javassist/src/test/ |
D | Jassist150.java | 39 String code2 = "{ int n1 = java.lang.Integer.valueOf(1); " in implTestClassTailCache() local
|
/external/libchrome/base/ |
D | logging_unittest.cc | 255 DWORD code2 = 0; in TEST_F() local 271 GetCheckExceptionData(GetExceptionInformation(), &code2, &addr2)) { in TEST_F() 283 EXPECT_EQ(STATUS_BREAKPOINT, code2); in TEST_F()
|
/external/python/cpython2/Lib/test/ |
D | test_parser.py | 653 code2 = parser.compilest(st) 654 self.assertEqual(eval(code2), -3)
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResTable_config.java | 2208 private boolean areIdentical(final byte[] code1, final byte[] code2) { in areIdentical() argument 2209 return code1[0] == code2[0] && code1[1] == code2[1]; in areIdentical()
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | sg_err.c | 260 unsigned char code1, code2; member 998 if (additional[k].code1 == asc && additional[k].code2 == ascq) { in sg_print_asc_ascq()
|