/art/libdexfile/dex/ |
D | base64_test_util.h | 57 std::vector<uint8_t> tmp; in DecodeBase64() local 78 tmp.push_back((t >> 16) & 255); in DecodeBase64() 80 tmp.push_back((t >> 8) & 255); in DecodeBase64() 83 tmp.push_back(t & 255); in DecodeBase64() 92 std::unique_ptr<uint8_t[]> dst(new uint8_t[tmp.size()]); in DecodeBase64() 93 *dst_size = tmp.size(); in DecodeBase64() 94 std::copy(tmp.begin(), tmp.end(), dst.get()); in DecodeBase64()
|
/art/test/003-omnibus-opcodes/src/ |
D | FloatMath.java | 139 float tmp; in floatOperTest() local 149 tmp = x; in floatOperTest() 150 tmp += y; in floatOperTest() 151 results[5] = tmp; in floatOperTest() 152 tmp = x; in floatOperTest() 153 tmp -= y; in floatOperTest() 154 results[6] = tmp; in floatOperTest() 155 tmp = x; in floatOperTest() 156 tmp *= y; in floatOperTest() 157 results[7] = tmp; in floatOperTest() [all …]
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | README.md | 18 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/libforceredefine.so /data/local/tmp/` 20 > `echo java/util/ArrayList > /tmp/classlist` 21 > `echo java/util/Arrays >> /tmp/classlist` 22 > `adb push /tmp/classlist /data/local/tmp/` 24 …agent $(adb shell pidof some.deubggable.app) /data/local/tmp/libforceredefine.so=/data/local/tmp/c… 28 …agent $(adb shell pidof some.deubggable.app) /data/local/tmp/libforceredefine.so=/data/local/tmp/c… 29 …agent $(adb shell pidof some.deubggable.app) /data/local/tmp/libforceredefine.so=/data/local/tmp/c… 30 …agent $(adb shell pidof some.deubggable.app) /data/local/tmp/libforceredefine.so=/data/local/tmp/c…
|
/art/libartbase/base/unix_file/ |
D | fd_file_test.cc | 28 FILE* tmp = tmpfile(); in MakeTestFile() local 29 int fd = art::DupCloexec(fileno(tmp)); in MakeTestFile() 30 fclose(tmp); in MakeTestFile() 76 art::ScratchFile tmp; in TEST_F() local 77 FdFile file(tmp.GetFilename(), O_RDONLY, false); in TEST_F() 92 art::ScratchFile tmp; in TEST_F() local 93 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F() 121 art::ScratchFile tmp; in TEST_F() local 122 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F() 177 art::ScratchFile tmp; in TEST_F() local [all …]
|
/art/test/704-multiply-accumulate/src/ |
D | Main.java | 43 int tmp = 0; in test_int() local 46 tmp = i*c; in test_int() 48 result = i - tmp; in test_int() 70 tmp++; in test_int() 91 tmp = obj.ia; in test_int() 92 result = result + tmp; in test_int() 104 long tmp = 0; in test_long() local 107 tmp = i*c; in test_long() 109 result = i - tmp; in test_long() 131 tmp++; in test_long() [all …]
|
/art/test/569-checker-pattern-replacement/src/ |
D | Main.java | 489 double tmp = b.intField + b.doubleField; in constructBase() local 490 return (b.objectField != null) ? tmp : -tmp; in constructBase() 517 double tmp = b.intField + b.doubleField; in constructBaseWith0DoubleNull() local 518 return (b.objectField != null) ? tmp : -tmp; in constructBaseWith0DoubleNull() 541 double tmp = b.intField + b.doubleField; in constructBase() local 542 tmp = (b.objectField != null) ? tmp : -tmp; in constructBase() 543 return (b.stringField != null) ? 2.0 * tmp : 0.5 * tmp; in constructBase() 605 double tmp = b.intField + b.doubleField; in constructBase() local 606 return (b.objectField != null) ? tmp + 1.0 : tmp - 1.0; in constructBase() 778 double tmp = d.intField + d.doubleField; in constructDerived() local [all …]
|
/art/test/909-attach-agent/src-art/ |
D | Main.java | 60 File tmp = null; in attachWithClassLoader() local 62 tmp = File.createTempFile("lib", ".so"); in attachWithClassLoader() 63 prepare(agentName, tmp); in attachWithClassLoader() 65 String newAgentName = tmp.getName(); in attachWithClassLoader() 68 ClassLoader cl = new PathClassLoader("", tmp.getParentFile().getAbsolutePath(), in attachWithClassLoader() 78 if (tmp != null) { in attachWithClassLoader() 79 tmp.delete(); in attachWithClassLoader() 86 private static void prepare(String in, File tmp) throws Exception { in prepare() argument 95 BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(tmp)); in prepare()
|
/art/runtime/ |
D | vdex_file_test.cc | 32 ScratchFile tmp; in TEST_F() local 34 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F() 36 tmp.GetFilename(), in TEST_F() 44 tmp.GetFilename(), /*writable=*/false, /*low_4gb=*/false, /*unquicken=*/ false, &error_msg); in TEST_F()
|
D | imtable-inl.h | 60 uint32_t tmp = ComputeModifiedUtf8Hash( in GetImtHashComponents() local 70 tmp = 31 * tmp + ComputeModifiedUtf8Hash( in GetImtHashComponents() 75 *signature_hash = tmp; in GetImtHashComponents()
|
/art/runtime/interpreter/ |
D | unstarted_runtime_test.cc | 140 ShadowFrame* tmp, in RunArrayCopy() argument 149 tmp->SetVRegReference(0, src); in RunArrayCopy() 150 tmp->SetVReg(1, src_pos); in RunArrayCopy() 151 tmp->SetVRegReference(2, dst); in RunArrayCopy() 152 tmp->SetVReg(3, dst_pos); in RunArrayCopy() 153 tmp->SetVReg(4, length); in RunArrayCopy() 154 UnstartedSystemArraycopy(self, tmp, &result, 0); in RunArrayCopy() 163 ShadowFrame* tmp, in RunArrayCopy() argument 184 tmp, in RunArrayCopy() 196 ShadowFrame* tmp, in TestCeilFloor() argument [all …]
|
/art/libartbase/base/ |
D | zip_archive_test.cc | 43 ScratchFile tmp; in TEST_F() local 44 ASSERT_NE(-1, tmp.GetFd()); in TEST_F() 45 std::unique_ptr<File> file(new File(DupCloexec(tmp.GetFd()), tmp.GetFilename(), false)); in TEST_F() 53 int fd = open(tmp.GetFilename().c_str(), O_RDONLY | O_CLOEXEC); in TEST_F()
|
D | zip_archive.cc | 164 std::string tmp; in MapDirectlyFromFile() local 170 tmp += StringPrintf("%3d ", (unsigned int)buf); in MapDirectlyFromFile() 175 LOG(INFO) << "" << tmp; in MapDirectlyFromFile() 180 tmp = ""; in MapDirectlyFromFile() 186 tmp += StringPrintf("%3d ", (unsigned int)begin[i]); in MapDirectlyFromFile() 191 LOG(INFO) << tmp; in MapDirectlyFromFile()
|
/art/openjdkjvmti/ |
D | object_tagging.h | 74 jlong tmp = 0; in GetTagOrZero() local 75 GetTag(obj, &tmp); in GetTagOrZero() 76 return tmp; in GetTagOrZero() 81 jlong tmp = 0; in GetTagOrZeroLocked() local 82 GetTagLocked(obj, &tmp); in GetTagOrZeroLocked() 83 return tmp; in GetTagOrZeroLocked()
|
D | object_tagging.cc | 76 jlong tmp; in Set() local 77 return Remove(obj, &tmp); in Set() 84 jlong tmp; in SetLocked() local 85 return RemoveLocked(obj, &tmp); in SetLocked()
|
/art/runtime/interpreter/mterp/x86_64/ |
D | arithmetic.S | 1 %def bindiv(result="", second="", tmp="", wide="", suffix="", rem="0", ext="cdq"): 39 mov${suffix} $tmp, $result 45 add${suffix} $tmp, $result 47 sub${suffix} $result, $tmp 48 mov${suffix} $tmp, $result 50 mov${suffix} $result, $tmp 52 shr${suffix} $$63, $tmp 54 shr${suffix} $$31, $tmp 56 add${suffix} $tmp, $result 61 %def bindiv2addr(result="", second="", tmp="", wide="", suffix="", rem="0", ext="cdq"): [all …]
|
/art/tools/ |
D | symbolize.sh | 41 adb pull $1/$2 /tmp || exit 1 44 adb pull $1/$vdex /tmp/ 2>/dev/null 46 oatdump --symbolize=/tmp/$2 --output=$OUT/symbols/$1/$2
|
/art/compiler/linker/ |
D | output_stream_test.cc | 68 ScratchFile tmp; in TEST_F() local 69 FileOutputStream output_stream(tmp.GetFile()); in TEST_F() 72 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F() 81 ScratchFile tmp; in TEST_F() local 83 BufferedOutputStream buffered_output_stream(std::make_unique<FileOutputStream>(tmp.GetFile())); in TEST_F() 87 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()
|
/art/test/564-checker-negbitwise/src/ |
D | Main.java | 262 int tmp = ~mask; in $opt$noinline$notAndMultipleUses() local 263 return (tmp & 0x1) + (base & tmp); in $opt$noinline$notAndMultipleUses()
|
/art/benchmark/micro-native/ |
D | micro_native.cc | 105 char* tmp; in jniRegisterNativeMethods() local 107 if (asprintf(&tmp, in jniRegisterNativeMethods() 113 msg = tmp; in jniRegisterNativeMethods() 119 char* tmp; in jniRegisterNativeMethods() local 121 if (asprintf(&tmp, "RegisterNatives failed for '%s'; aborting...", className) == -1) { in jniRegisterNativeMethods() 125 msg = tmp; in jniRegisterNativeMethods()
|
/art/compiler/optimizing/ |
D | code_generator_utils.cc | 61 uint64_t tmp = exp + sign_bit; in CalculateMagicAndShiftForDivRem() local 62 uint64_t abs_nc = tmp - 1 - (tmp % abs_d); in CalculateMagicAndShiftForDivRem()
|
/art/test/706-checker-scheduler/src/ |
D | Main.java | 515 int tmp = arg; in intDiv() local 517 tmp -= i; in intDiv() 521 res += tmp; in intDiv() 691 int tmp = a[i]; in testNonPreventingSchedulingCrossItersDeps() local 693 a[i + 1] = tmp; in testNonPreventingSchedulingCrossItersDeps()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 211 struct sigaction tmp; in trampoline_Java_Main_testSignal() local 212 sigemptyset(&tmp.sa_mask); in trampoline_Java_Main_testSignal() 213 tmp.sa_sigaction = test_sigaction_handler; in trampoline_Java_Main_testSignal() 215 tmp.sa_restorer = nullptr; in trampoline_Java_Main_testSignal() 219 sigaction(SIGSEGV, &tmp, nullptr); in trampoline_Java_Main_testSignal() 223 sigaction(SIGILL, &tmp, nullptr); in trampoline_Java_Main_testSignal() 447 char* tmp = new char[len + 10]; in native_bridge_loadLibrary() local 448 strncpy(tmp, libpath, len); in native_bridge_loadLibrary() 449 tmp[len - 3] = '2'; in native_bridge_loadLibrary() 450 tmp[len - 2] = '.'; in native_bridge_loadLibrary() [all …]
|
/art/tools/jvmti-agents/dump-jvmti-state/ |
D | README.md | 15 > `art -Xplugin:$ANDROID_HOST_OUT/lib64/libopenjdkjvmti.so '-agentpath:libdumpjvmti.so' -cp tmp/… 23 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/libdumpjvmti.so /data/local/tmp/` 25 > `adb shell am start-activity --attach-agent /data/local/tmp/libdumpjvmti.so some.debuggable.ap…
|
/art/tools/jvmti-agents/field-null-percent/ |
D | README.md | 22 …agentpath:libfieldnull.so=Lname/of/class;.nameOfField:Ltype/of/field;' -cp tmp/java/helloworld.dex… 29 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/libfieldnulls.so /data/local/tmp/` 31 > `adb shell am start-activity --attach-agent '/data/local/tmp/libfieldnulls.so=Ljava/lang/Class… 34 > `java '-agentpath:libfieldnull.so=Lname/of/class;.nameOfField:Ltype/of/field;' -cp tmp/hellowo…
|
/art/test/903-hello-tagging/src/art/ |
D | Test903.java | 123 Pair[] tmp = new Pair[l]; in printArraysSorted() local 125 tmp[i] = new Pair(objects == null ? null : objects[i], tags == null ? 0 : tags[i]); in printArraysSorted() 128 Arrays.sort(tmp); in printArraysSorted() 130 System.out.println(Arrays.toString(tmp)); in printArraysSorted()
|