Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 118) sorted by relevance

12345

/art/tools/
Dstream-trace-converter.py85 version = ReadShortLE(input)
86 if (version & 0xf0) != 0xf0:
87 raise MyException("Does not seem to be a streaming trace: %d." % version)
88 version = version ^ 0xf0
90 if version != 3:
93 WriteShortLE(body, version)
102 if version == 1:
104 elif version == 2:
/art/libnativebridge/tests/
DNativeBridgeTestCase2.cpp48 extern "C" bool native_bridge2_is_compatible_compatible_with(uint32_t version) { in native_bridge2_is_compatible_compatible_with() argument
50 return version <= 3; in native_bridge2_is_compatible_compatible_with()
67 .version = 2,
DNativeBridgeTestCase3.cpp49 extern "C" bool native_bridge3_isCompatibleWith(uint32_t version) { in native_bridge3_isCompatibleWith() argument
51 return version <= 3; in native_bridge3_isCompatibleWith()
108 .version = 3,
DNativeBridgeTestCase6.cpp49 extern "C" bool native_bridge6_isCompatibleWith(uint32_t version) { in native_bridge6_isCompatibleWith() argument
51 return version <= 6; in native_bridge6_isCompatibleWith()
111 .version = 6,
/art/tools/ahat/etc/
DREADME.txt2 A version of the test-dump hprof generated on Android L, with one of the
6 A version of the test-dump hprof generated on Android O.
9 A version of the test-dump hprof generated on the reference implementation.
/art/test/1963-add-to-dex-classloader-in-memory/
Dcheck_memfd_create.cc43 std::istringstream version(name.release); in Java_Main_hasWorkingMemfdCreate() local
46 std::getline(version, major_str, '.'); in Java_Main_hasWorkingMemfdCreate()
47 std::getline(version, minor_str, '.'); in Java_Main_hasWorkingMemfdCreate()
/art/test/900-hello-plugin/
Dload_unload.cc33 static jint GetEnvHandler(JavaVMExt* vm ATTRIBUTE_UNUSED, void** new_env, jint version) { in GetEnvHandler() argument
35 if (version != TEST_900_ENV_VERSION_NUMBER) { in GetEnvHandler()
38 printf("GetEnvHandler called with version 0x%x\n", version); in GetEnvHandler()
/art/test/909-attach-agent/
Dinterpreter-expected.patch2 < version 0x30010000 is not valid!Unable to create env for JVMTI_VERSION_1_0
4 < version 0x30010000 is not valid!Unable to create env for JVMTI_VERSION_1_0
Dattach.cc85 jint version = 0; in OnAttach() local
86 CHECK_CALL_SUCCESS(env->GetVersionNumber(&version)); in OnAttach()
87 if ((version & JVMTI_VERSION_1) != JVMTI_VERSION_1) { in OnAttach()
Dexpected-stdout.txt19 version 0x30010000 is not valid!Unable to create env for JVMTI_VERSION_1_0
22 version 0x30010000 is not valid!Unable to create env for JVMTI_VERSION_1_0
/art/test/922-properties/
Dexpected-stdout.txt12 "java.vm.version": OK
20 "java.class.version": OK
32 "java.specification.version": OK
38 "java.version": OK
44 "java.vm.specification.version": OK
/art/tools/jvmti-agents/wrapagentproperties/
Dwrapagentproperties.cc51 static jint CreateJvmtiEnv(ProxyJavaVM* vm, void** out_env, jint version);
93 static jint WrapGetEnv(ProxyJavaVM* vm, void** out_env, jint version) { in WrapGetEnv()
94 switch (version) { in WrapGetEnv()
99 return CreateJvmtiEnv(vm, out_env, version); in WrapGetEnv()
101 if ((version & 0x30000000) == 0x30000000) { in WrapGetEnv()
102 LOG(ERROR) << "Version number 0x" << std::hex << version << " looks like a JVMTI " in WrapGetEnv()
106 return vm->real_vm->GetEnv(out_env, version); in WrapGetEnv()
235 static jint CreateJvmtiEnv(ProxyJavaVM* vm, void** out_env, jint version) { in CreateJvmtiEnv() argument
236 jint res = vm->real_vm->GetEnv(out_env, version); in CreateJvmtiEnv()
DREADME.md11 assume you want to use the 64-bit version.
18 * If using `libartd.so`, make sure to use the debug version of jvmti.
/art/libdexfile/dex/
Dstandard_dex_file.cc61 const uint8_t* version = &magic[sizeof(kDexMagic)]; in IsVersionValid() local
63 if (memcmp(version, kDexMagicVersions[i], kDexVersionLen) == 0) { in IsVersionValid()
Dcompact_dex_file.cc41 const uint8_t* version = &magic[sizeof(kDexMagic)]; in IsVersionValid() local
42 return memcmp(version, kDexMagicVersion, kDexVersionLen) == 0; in IsVersionValid()
/art/libnativebridge/
Dnative_bridge.cc208 static bool isCompatibleWith(const uint32_t version) { in isCompatibleWith() argument
211 if (callbacks == nullptr || callbacks->version == 0 || version == 0) { in isCompatibleWith()
216 if (callbacks->version >= SIGNAL_VERSION) { in isCompatibleWith()
217 return callbacks->isCompatibleWith(version); in isCompatibleWith()
267 nb_library_filename, callbacks->version, NAMESPACE_VERSION); in LoadNativeBridge()
587 return callbacks->version; in NativeBridgeGetVersion()
/art/openjdkjvm/
DNOTICE12 under the terms of the GNU General Public License version 2 only, as
20 version 2 for more details (a copy is included in the LICENSE file that
23 You should have received a copy of the GNU General Public License version
/art/openjdkjvmti/
DNOTICE12 under the terms of the GNU General Public License version 2 only, as
20 version 2 for more details (a copy is included in the LICENSE file that
23 You should have received a copy of the GNU General Public License version
/art/dt_fd_forward/
DNOTICE13 under the terms of the GNU General Public License version 2 only, as
21 version 2 for more details (a copy is included in the LICENSE file that
24 You should have received a copy of the GNU General Public License version
/art/tools/jvmti-agents/enable-vlog/
DREADME.md11 examples assume you want to use the 64-bit version.
13 Use `libenablevlogs` if you wish to build a version without non-NDK dynamic
87 * If using `libartd.so`, make sure to use the debug version of jvmti.
/art/test/370-dex-v37/
Dinfo.txt1 Print "Hello, World!" with a version 37 dex file.
/art/runtime/jni/
Djava_vm_ext.cc68 bool JavaVMExt::IsBadJniVersion(int version) { in IsBadJniVersion() argument
70 return version != JNI_VERSION_1_2 && version != JNI_VERSION_1_4 && version != JNI_VERSION_1_6; in IsBadJniVersion()
420 static jint GetEnv(JavaVM* vm, void** env, jint version) { in GetEnv() argument
430 return raw_vm->HandleGetEnv(env, version); in GetEnv()
458 if (JavaVMExt::IsBadJniVersion(args->version)) { in AttachCurrentThreadInternal()
461 << args->version; in AttachCurrentThreadInternal()
538 jint JavaVMExt::HandleGetEnv(/*out*/void** env, jint version) { in HandleGetEnv() argument
540 jint res = hook(this, env, version); in HandleGetEnv()
548 LOG(ERROR) << "Bad JNI version passed to GetEnv: " << version; in HandleGetEnv()
1082 int version = (*jni_on_load)(this, nullptr); in LoadNativeLibrary() local
[all …]
/art/runtime/
Doat.cc138 void OatHeader::CheckOatVersion(std::array<uint8_t, 4> version) { in CheckOatVersion() argument
140 if (version != kOatVersion) { in CheckOatVersion()
144 version[0], version[1], version[2], version[3]); in CheckOatVersion()
/art/test/107-int-math2/
Dinfo.txt1 A forked and extended version of IntMath from 003-omnibus-opcodes.
/art/tools/jvmti-agents/dump-jvmti-state/
DREADME.md12 assume you want to use the 64-bit version.
19 * If using `libartd.so`, make sure to use the debug version of jvmti.

12345