Home
last modified time | relevance | path

Searched refs:code2 (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITMemoryManagerTest.cpp22 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/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITMemoryManagerTest.cpp22 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/u-boot/lib/
Dcharset.c198 s32 code, code2; in utf16_get() local
214 code2 = **src; in utf16_get()
216 if (code2 <= 0xDC00 || code2 >= 0xDFFF) in utf16_get()
218 code2 &= 0x3ff; in utf16_get()
219 code += code2; in utf16_get()
/external/strace/
Dioctlsort.c99 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()
Dioctl.c40 const unsigned int code2 = ((struct_ioctlent *) b)->code; in compare() local
41 return (code1 > code2) ? 1 : (code1 < code2) ? -1 : 0; in compare()
/external/python/cpython3/Lib/test/
Dtest_code.py244 code2 = func.__code__
254 ("co_code", code2.co_code),
255 ("co_consts", code2.co_consts),
257 ("co_varnames", code2.co_varnames),
262 ("co_lnotab", code2.co_lnotab),
Dtest_parser.py816 code2 = parser.compilest(st)
817 self.assertEqual(eval(code2), -3)
/external/python/cpython2/Lib/
Dcodeop.py79 code = code1 = code2 = None
92 code2 = compiler(source + "\n\n", filename, symbol)
Dsre_parse.py481 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/
Dcodeop.py79 code = code1 = code2 = None
92 code2 = compiler(source + "\n\n", filename, symbol)
Dsre_parse.py581 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/
DTestLocaleValidity.java325 …atasubtype expected, Datatype datatype, Set<Datasubtype> datasubtypes, String code, String code2) {
326 Datasubtype value = ValidIdentifiers.isValid(datatype, datasubtypes, code, code2);
327 assertEquals(datatype + ", " + datasubtypes + ", " + code + ", " + code2, expected, value);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTestLocaleValidity.java328 …atasubtype expected, Datatype datatype, Set<Datasubtype> datasubtypes, String code, String code2) {
329 Datasubtype value = ValidIdentifiers.isValid(datatype, datasubtypes, code, code2);
330 assertEquals(datatype + ", " + datasubtypes + ", " + code + ", " + code2, expected, value);
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DShapeImmutableTest.java59 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/
Dadb_wrapper_devicetest.py60 (res2, code2) = pshell.RunCommand('echo TEST2')
65 self.assertEqual(code2, 0)
/external/python/cpython2/Demo/parser/
Dtest_unparse.py86 code2 = unparse_buffer.getvalue()
87 ast2 = compile(code2, filename, "exec", ast.PyCF_ONLY_AST)
/external/python/cpython3/Lib/test/test_tools/
Dtest_unparse.py130 code2 = unparse_buffer.getvalue()
131 ast2 = compile(code2, filename, "exec", ast.PyCF_ONLY_AST)
/external/openssh/
Dauthfd.c269 u_char type, code1 = 0, code2 = 0; in ssh_fetch_identitylist() local
279 code2 = SSH_AGENT_RSA_IDENTITIES_ANSWER; in ssh_fetch_identitylist()
283 code2 = SSH2_AGENT_IDENTITIES_ANSWER; in ssh_fetch_identitylist()
307 } else if (type != code2) { in ssh_fetch_identitylist()
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderEncoder.cpp102 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/freetype/src/pfr/
Dpfrobjs.c479 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/libchrome/base/
Dlogging_unittest.cc255 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/v8/src/diagnostics/
Dunwinding-info-win64.cc197 uint8_t code2 = OpNop, in Combine8BitUnwindCodes() argument
200 (static_cast<uint32_t>(code2) << 16) | in Combine8BitUnwindCodes()
/external/python/cpython2/Lib/test/
Dtest_parser.py653 code2 = parser.compilest(st)
654 self.assertEqual(eval(code2), -3)
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResTable_config.java2208 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/
Dsg_err.c260 unsigned char code1, code2; member
998 if (additional[k].code1 == asc && additional[k].code2 == ascq) { in sg_print_asc_ascq()

12