/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_unparse.py | 174 code2 = ast.unparse(ast1) 175 ast2 = ast.parse(code2, **kwargs) 182 def get_source(self, code1, code2=None): argument 183 code2 = code2 or code1 185 return code1, code2 187 def check_src_roundtrip(self, code1, code2=None): argument 188 code1, code2 = self.get_source(code1, code2) 189 with self.subTest(code1=code1, code2=code2): 190 self.assertEqual(code2, code1) 192 def check_src_dont_roundtrip(self, code1, code2=None): argument [all …]
|
D | test_code.py | 260 code2 = func2.__code__ 270 ("co_code", code2.co_code), 271 ("co_consts", code2.co_consts), 278 ("co_linetable", code2.co_linetable), 284 new_code = code.replace(co_varnames=code2.co_varnames, 285 co_nlocals=code2.co_nlocals) 286 self.assertEqual(new_code.co_varnames, code2.co_varnames) 287 self.assertEqual(new_code.co_nlocals, code2.co_nlocals)
|
/aosp_15_r20/frameworks/av/media/module/codecs/amrwb/dec/src/ |
H A D | phase_dispersion.cpp | 162 int16 *code2 = ScratchMem; in phase_dispersion() local 168 pv_memset((void *)code2, 0, (2*L_SUBFR)*sizeof(*code2)); in phase_dispersion() 234 code2[i + j] = add_int16(code2[i + j], mult_int16_r(code[i], ph_imp_low[j])); in phase_dispersion() 247 code2[i + j] = add_int16(code2[i + j], mult_int16_r(code[i], ph_imp_mid[j])); in phase_dispersion() 256 code[i] = add_int16(code2[i], code2[i + L_SUBFR]); in phase_dispersion()
|
/aosp_15_r20/external/llvm/unittests/ExecutionEngine/MCJIT/ |
H A 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()
|
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
H A D | BigIntegerHashCodeTest.java | 46 int code2 = aNumber1.hashCode(); in testSameObject() local 47 assertTrue("hash codes for the same object differ", code1 == code2); in testSameObject() 59 int code2 = aNumber2.hashCode(); in testEqualObjects() local 61 assertTrue("hash codes for equal objects are unequal", code1 == code2); in testEqualObjects() 75 int code2 = aNumber2.hashCode(); in testUnequalObjectsUnequal() local 77 assertTrue("hash codes for unequal objects are equal", code1 != code2); in testUnequalObjectsUnequal()
|
/aosp_15_r20/external/pytorch/test/inductor/ |
H A D | test_benchmark_fusion.py | 234 res2, code2 = run_and_get_code(foo_c, m, inp) 237 return code, code2 242 code, code2 = self._equivalent_output_code_impl(256) 243 for out_code in [code, code2]: 259 code, code2 = self._equivalent_output_code_impl(512, 1, False) 261 for out_code in [code, code2]:
|
/aosp_15_r20/external/regex-re2/re2/ |
H A D | perl_groups.cc | 11 static const URange16 code2[] = { /* \s */ variable 25 { "\\s", +1, code2, 3 }, 26 { "\\S", -1, code2, 3 },
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | perl_groups.cc | 11 static const URange16 code2[] = { /* \s */ variable 25 { "\\s", +1, code2, 3, 0, 0 }, 26 { "\\S", -1, code2, 3, 0, 0 },
|
/aosp_15_r20/external/cronet/third_party/re2/src/re2/ |
H A D | perl_groups.cc | 11 static const URange16 code2[] = { /* \s */ variable 25 { "\\s", +1, code2, 3, 0, 0 }, 26 { "\\S", -1, code2, 3, 0, 0 },
|
/aosp_15_r20/prebuilts/go/linux-x86/src/regexp/syntax/ |
D | perl_groups.go | 13 var code2 = []rune{ /* \s */ var 29 `\s`: {+1, code2}, 30 `\S`: {-1, code2},
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/regex/test/regress/ |
D | test_deprecated.cpp | 230 int code2 = std::atoi(buf); in test_deprecated() local 231 if(code2 != code) in test_deprecated() 272 long code2 = std::wcstol(buf, 0, 10); in test_deprecated() local 273 if(code2 != code) in test_deprecated()
|
/aosp_15_r20/external/strace/ |
H A 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()
|
H A 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()
|
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
H A D | TestLocaleValidity.java | 332 …atasubtype expected, Datatype datatype, Set<Datasubtype> datasubtypes, String code, String code2) { 333 Datasubtype value = ValidIdentifiers.isValid(datatype, datasubtypes, code, code2); 334 assertEquals(datatype + ", " + datasubtypes + ", " + code + ", " + code2, expected, value);
|
/aosp_15_r20/external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/util/ |
H A 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);
|
/aosp_15_r20/external/python/cpython2/Lib/ |
D | codeop.py | 79 code = code1 = code2 = None 92 code2 = compiler(source + "\n\n", filename, symbol)
|
/aosp_15_r20/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/ |
H A D | ShapeImmutableTest.java | 54 Code2 code2 = yaml.load("!!org.yaml.snakeyaml.immutable.Code2 555"); in testCode2() local 55 assertEquals(Integer.valueOf(555), code2.getCode()); in testCode2()
|
/aosp_15_r20/external/chromium-trace/catapult/devil/devil/android/sdk/ |
H A D | adb_wrapper_devicetest.py | 58 (res2, code2) = pshell.RunCommand('echo TEST2') 63 self.assertEqual(code2, 0)
|
/aosp_15_r20/prebuilts/go/linux-x86/src/net/textproto/ |
D | reader.go | 295 var code2 int 297 code2, continued, moreMessage, err = parseCodeLine(line, 0) 298 if err != nil || code2 != code {
|
/aosp_15_r20/external/pdfium/fxbarcode/qrcode/ |
H A D | BC_QRCoderEncoder.cpp | 108 int32_t code2 = GetAlphaNumericCode(content[i + 1]); in AppendAlphaNumericBytes() local 109 if (code2 == -1) in AppendAlphaNumericBytes() 112 bits->AppendBits(code1 * 45 + code2, 11); in AppendAlphaNumericBytes()
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/ |
H A D | flatbuffer_to_proto_test.cc | 636 std::unique_ptr<ErrorCodeT> code2(new ErrorCodeT()); in TEST_F() local 637 code2->source = Delegate_NNAPI; in TEST_F() 638 code2->tflite_error = 4; in TEST_F() 639 code2->underlying_api_error = 404; in TEST_F() 640 error->error_code.emplace_back(std::move(code2)); in TEST_F()
|
/aosp_15_r20/external/python/cpython2/Demo/parser/ |
D | test_unparse.py | 86 code2 = unparse_buffer.getvalue() 87 ast2 = compile(code2, filename, "exec", ast.PyCF_ONLY_AST)
|
/aosp_15_r20/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
H A D | TimedStatement.java | 93 HashCode code2 = hashFunction.hashBytes(buffer); in calibrateMethod() local 98 hashStream.write(code2.asBytes()); in calibrateMethod()
|
/aosp_15_r20/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/perf/ |
H A D | TimedStatement.java | 93 HashCode code2 = hashFunction.hashBytes(buffer); in calibrateMethod() local 98 hashStream.write(code2.asBytes()); in calibrateMethod()
|
/aosp_15_r20/external/freetype/src/pfr/ |
H A D | pfrobjs.c | 483 FT_UInt32 code1, code2, pair; in pfr_face_get_kerning() local 500 code2 = phy_font->chars[glyph2].char_code; in pfr_face_get_kerning() 501 pair = PFR_KERN_INDEX( code1, code2 ); in pfr_face_get_kerning()
|