Home
last modified time | relevance | path

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

123456

/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,
DNativeBridgeTestCase7.cpp67 extern "C" bool native_bridge7_isCompatibleWith(uint32_t version) { in native_bridge7_isCompatibleWith() argument
69 return version <= 7; in native_bridge7_isCompatibleWith()
122 .version = 7,
/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/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/900-hello-plugin/
Dload_unload.cc33 static jint GetEnvHandler([[maybe_unused]] JavaVMExt* vm, 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/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/test/909-attach-agent/
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/2246-trace-stream/src/
DNonStreamTraceParser.java33 int version = Integer.decode(readLine()); in CheckTraceFileFormat() local
34 if (version != expectedVersion) { in CheckTraceFileFormat()
35 throw new Exception("Unexpected version: " + version); in CheckTraceFileFormat()
DBaseTraceParser.java83 int version = readNumber(2); in validateTraceHeader() local
84 if (version != expectedVersion) { in validateTraceHeader()
86 "Unexpected version. Expected " + expectedVersion + " Got " + version); in validateTraceHeader()
88 traceFormatVersion = version & 0xF; in validateTraceHeader()
95 if (version >= DUAL_CLOCK_VERSION) { in validateTraceHeader()
/art/test/testrunner/
Drun_build_test_target.py40 print("Using", sys.executable, sys.version, flush=True)
41 version = tuple(map(int, re.match(r"(\d*)\.(\d*)", sys.version).groups())) variable
42 assert (version >= (3, 9)), "Python version is too old"
/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/libnativebridge/
Dnative_bridge.cc210 static bool isCompatibleWith(const uint32_t version) { in isCompatibleWith() argument
213 if (callbacks == nullptr || callbacks->version == 0 || version == 0) { in isCompatibleWith()
218 if (callbacks->version >= SIGNAL_VERSION) { in isCompatibleWith()
219 return callbacks->isCompatibleWith(version); in isCompatibleWith()
269 nb_library_filename, callbacks->version, NAMESPACE_VERSION); in LoadNativeBridge()
585 if (callbacks != nullptr && callbacks->version == DEFAULT_VERSION) { in NativeBridgeGetTrampoline2()
622 return callbacks->version; in NativeBridgeGetVersion()
/art/libdexfile/dex/
Dstandard_dex_file.cc63 const uint8_t* version = &magic[sizeof(kDexMagic)]; in IsVersionValid() local
65 if (memcmp(version, kDexMagicVersions[i], kDexVersionLen) == 0) { in IsVersionValid()
/art/dt_fd_forward/
DLICENSE13 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/openjdkjvmti/
DLICENSE12 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/openjdkjvm/
DLICENSE12 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/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.cc67 bool JavaVMExt::IsBadJniVersion(int version) { in IsBadJniVersion() argument
69 return version != JNI_VERSION_1_2 && version != JNI_VERSION_1_4 && version != JNI_VERSION_1_6; in IsBadJniVersion()
435 static jint GetEnv(JavaVM* vm, void** env, jint version) { in GetEnv() argument
445 return raw_vm->HandleGetEnv(env, version); in GetEnv()
473 if (JavaVMExt::IsBadJniVersion(args->version)) { in AttachCurrentThreadInternal()
476 << args->version; in AttachCurrentThreadInternal()
551 jint JavaVMExt::HandleGetEnv(/*out*/void** env, jint version) { in HandleGetEnv() argument
558 jint res = hook(this, env, version); in HandleGetEnv()
566 LOG(ERROR) << "Bad JNI version passed to GetEnv: " << version; in HandleGetEnv()
1117 int version = (*jni_on_load)(this, nullptr); in LoadNativeLibrary() local
[all …]
/art/test/107-int-math2/
Dinfo.txt1 A forked and extended version of IntMath from 003-omnibus-opcodes.

123456