Home
last modified time | relevance | path

Searched refs:code1 (Results 1 – 25 of 29) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_unparse.py122 def check_ast_roundtrip(self, code1, **kwargs): argument
123 with self.subTest(code1=code1, ast_parse_kwargs=kwargs):
124 ast1 = ast.parse(code1, **kwargs)
133 def get_source(self, code1, code2=None): argument
134 code2 = code2 or code1
135 code1 = ast.unparse(ast.parse(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):
[all …]
Dtest_parser.py861 code1 = parser.compilest(st)
862 self.assertEqual(eval(code1), -3)
/external/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITMemoryManagerTest.cpp19 uint8_t *code1 = MemMgr->allocateCodeSection(256, 0, 1, ""); in TEST() local
24 EXPECT_NE((uint8_t*)nullptr, code1); in TEST()
31 code1[i] = 1; in TEST()
39 EXPECT_EQ(1, code1[i]); in TEST()
52 uint8_t *code1 = MemMgr->allocateCodeSection(0x100000, 0, 1, ""); in TEST() local
57 EXPECT_NE((uint8_t*)nullptr, code1); in TEST()
64 code1[i] = 1; in TEST()
72 EXPECT_EQ(1, code1[i]); in TEST()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITMemoryManagerTest.cpp20 uint8_t *code1 = MemMgr->allocateCodeSection(256, 0, 1, ""); in TEST() local
25 EXPECT_NE((uint8_t*)nullptr, code1); in TEST()
32 code1[i] = 1; in TEST()
40 EXPECT_EQ(1, code1[i]); in TEST()
53 uint8_t *code1 = MemMgr->allocateCodeSection(0x100000, 0, 1, ""); in TEST() local
58 EXPECT_NE((uint8_t*)nullptr, code1); in TEST()
65 code1[i] = 1; in TEST()
73 EXPECT_EQ(1, code1[i]); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dperl_groups.cc8 static const URange16 code1[] = { /* \d */ variable
23 { "\\d", +1, code1, 1 },
24 { "\\D", -1, code1, 1 },
/external/python/cpython2/Lib/
Dcodeop.py79 code = code1 = code2 = None
87 code1 = compiler(source + "\n", filename, symbol)
98 if not code1 and repr(err1) == repr(err2):
Dsre_parse.py465 code1 = _class_escape(source, this, nested + 1)
467 code1 = LITERAL, ord(this)
474 if code1[0] is IN:
475 code1 = code1[1][0]
476 setappend(code1)
484 if code1[0] != LITERAL or code2[0] != LITERAL:
486 lo = code1[1]
494 if code1[0] is IN:
495 code1 = code1[1][0]
496 setappend(code1)
/external/python/cpython3/Lib/
Dcodeop.py80 code = code1 = code2 = None
93 code1 = compiler(source + "\n", filename, symbol)
105 if not code1 and repr(err1) == repr(err2):
Dsre_parse.py554 code1 = _class_escape(source, this)
567 code1 = LITERAL, _ord(this)
575 if code1[0] is IN:
576 code1 = code1[1][0]
577 setappend(code1)
591 if code1[0] != LITERAL or code2[0] != LITERAL:
594 lo = code1[1]
601 if code1[0] is IN:
602 code1 = code1[1][0]
603 setappend(code1)
/external/strace/
Dioctlsort.c98 unsigned int code1 = code((struct ioctlent *) a); 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()
Dioctl.c39 const unsigned int code1 = (const uintptr_t) a; in compare() local
41 return (code1 > code2) ? 1 : (code1 < code2) ? -1 : 0; in compare()
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dldst-zero.ll18 %code1 = getelementptr inbounds %struct.tree_common, %struct.tree_common* %t, i64 0, i32 2
19 store i32 %code, i32* %code1, align 8
51 %code1 = getelementptr inbounds %struct.tree_common, %struct.tree_common* %t, i64 0, i32 2
52 store i32 %code, i32* %code1, align 8
Dmisched-stp.ll45 %code1 = getelementptr inbounds %struct.tree_common, %struct.tree_common* %t, i64 0, i32 2
46 store i32 %code, i32* %code1, align 8
/external/javassist/src/test/
DJassist150.java33 String code1 = "{ int n1 = Integer.valueOf(1); " in implTestClassTailCache() local
51 loop(cc, ccGet, code1); in implTestClassTailCache()
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_wrapper_devicetest.py57 (res1, code1) = pshell.RunCommand('echo TEST')
62 self.assertEqual(code1, 0)
/external/python/cpython2/Demo/parser/
Dtest_unparse.py82 def check_roundtrip(self, code1, filename="internal"): argument
83 ast1 = compile(code1, filename, "exec", ast.PyCF_ONLY_AST)
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderEncoder.cpp97 int32_t code1 = GetAlphaNumericCode(content[i]); in AppendAlphaNumericBytes() local
98 if (code1 == -1) in AppendAlphaNumericBytes()
106 bits->AppendBits(code1 * 45 + code2, 11); in AppendAlphaNumericBytes()
109 bits->AppendBits(code1, 6); in AppendAlphaNumericBytes()
/external/llvm-project/llvm/test/Transforms/NewGVN/
Dpr25440.ll20 %code1 = getelementptr inbounds %struct.a, %struct.a* %x.tr, i32 0, i32 0
21 %0 = load i16, i16* %code1, align 4
/external/llvm/test/Transforms/GVN/
Dpr25440.ll20 %code1 = getelementptr inbounds %struct.a, %struct.a* %x.tr, i32 0, i32 0
21 %0 = load i16, i16* %code1, align 4
/external/llvm-project/llvm/test/Transforms/GVN/
Dpr25440.ll20 %code1 = getelementptr inbounds %struct.a, %struct.a* %x.tr, i32 0, i32 0
21 %0 = load i16, i16* %code1, align 4
/external/freetype/src/pfr/
Dpfrobjs.c479 FT_UInt32 code1, code2, pair; in pfr_face_get_kerning() local
496 code1 = phy_font->chars[glyph1].char_code; in pfr_face_get_kerning()
498 pair = PFR_KERN_INDEX( code1, code2 ); in pfr_face_get_kerning()
/external/libchrome/base/
Dlogging_unittest.cc254 DWORD code1 = 0; in TEST_F() local
265 GetCheckExceptionData(GetExceptionInformation(), &code1, &addr1)) { in TEST_F()
282 EXPECT_EQ(STATUS_BREAKPOINT, code1); in TEST_F()
/external/python/cpython2/Lib/test/
Dtest_parser.py651 code1 = parser.compilest(st)
652 self.assertEqual(eval(code1), -3)
/external/python/cpython3/Modules/
Dunicodedata.c724 Py_UCS4 code1 = PyUnicode_READ(kind, data, i1); in nfc_nfkc() local
725 int comb1 = _getrecord_ex(code1)->combining; in nfc_nfkc()
735 l = find_nfc_index(nfc_last, code1); in nfc_nfkc()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dsg_err.c260 unsigned char code1, code2; member
266 unsigned char code1, code2_min, code2_max; member
998 if (additional[k].code1 == asc && additional[k].code2 == ascq) { in sg_print_asc_ascq()
1026 if ((additional2[k].code1 == asc) && in sg_print_asc_ascq()

12