Home
last modified time | relevance | path

Searched refs:off (Results 1 – 17 of 17) sorted by relevance

/art/test/667-checker-simd-alignment/src/
DMain.java204 static void staticallyUnknownAligned(int[] a, int off) { in staticallyUnknownAligned() argument
208 a[off + i] += 1; in staticallyUnknownAligned()
249 static void staticallyUnknownAlignedN(int[] a, int off, int n) { in staticallyUnknownAlignedN() argument
253 a[off + i] += 1; in staticallyUnknownAlignedN()
300 for (int off = 0; off <= 8; off++) { in test5()
302 staticallyUnknownAligned(a, off); in test5()
304 int e = (off <= i && i < off + 9) ? 1 : 0; in test5()
311 for (int off = 0; off <= 8; off++) { in test6()
314 staticallyUnknownAlignedN(a, off, n); in test6()
316 int e = (off <= i && i < off + n) ? 1 : 0; in test6()
/art/test/580-crc32/src/
DMain.java157 private static long CRC32ByteArray(byte[] bytes, int off, int len) { in CRC32ByteArray() argument
159 crc32.update(bytes, off, len); in CRC32ByteArray()
185 private static boolean CRC32ByteArrayThrowsAIOOBE(byte[] bytes, int off, int len) { in CRC32ByteArrayThrowsAIOOBE() argument
188 crc32.update(bytes, off, len); in CRC32ByteArrayThrowsAIOOBE()
217 private static long CRC32BytesUsingUpdateInt(byte[] bytes, int off, int len) { in CRC32BytesUsingUpdateInt() argument
220 crc32.update(bytes[off++]); in CRC32BytesUsingUpdateInt()
319 int off = rnd.nextInt(bytes.length / 2); in TestCRC32UpdateBytes() local
321 assertEqual(CRC32BytesUsingUpdateInt(bytes, off, len), in TestCRC32UpdateBytes()
322 CRC32ByteArray(bytes, off, len)); in TestCRC32UpdateBytes()
342 off = rnd.nextInt(bytes.length - len); in TestCRC32UpdateBytes()
[all …]
/art/test/1924-frame-pop-toggle/
Dinfo.txt3 This tests toggling frame pop off and on.
/art/libartbase/base/unix_file/
Dfd_file.cc475 off_t off = static_cast<off_t>(offset); in Copy() local
477 if (offset < 0 || static_cast<int64_t>(off) != offset || in Copy()
479 sz > std::numeric_limits<off_t>::max() - off) { in Copy()
488 off_t end = off + sz; in Copy()
489 while (off != end) { in Copy()
491 sendfile(Fd(), input_file->Fd(), &off, end - off)); in Copy()
498 if (lseek(input_file->Fd(), off, SEEK_SET) != off) { in Copy()
/art/runtime/mirror/
Dclass_ext-inl.h40 inline bool ClassExt::EnsureJniIdsArrayPresent(MemberOffset off, size_t count) { in EnsureJniIdsArrayPresent() argument
42 GetFieldObject<Object, kVerifyFlags, kReadBarrierOption>(off)); in EnsureJniIdsArrayPresent()
64 off, nullptr, new_arr.Get(), CASMode::kStrong, std::memory_order_seq_cst); in EnsureJniIdsArrayPresent()
67 off, nullptr, new_arr.Get(), CASMode::kStrong, std::memory_order_seq_cst); in EnsureJniIdsArrayPresent()
72 : h_this->GetFieldObject<PointerArray, kVerifyFlags, kReadBarrierOption>(off)); in EnsureJniIdsArrayPresent()
Dclass_ext.h154 bool EnsureJniIdsArrayPresent(MemberOffset off, size_t count)
/art/runtime/jni/
Djni_id_manager.cc280 size_t off = GetIdOffset(t->GetDeclaringClass(), Canonicalize(t), kRuntimePointerSize); in EncodeGenericId() local
294 DCHECK_GT(ids->GetLength(), static_cast<int32_t>(off)) << " is " << PrettyGeneric(t); in EncodeGenericId()
295 DCHECK_LE(0, static_cast<int32_t>(off)) << " is " << PrettyGeneric(t); in EncodeGenericId()
296 cur_id = ids->GetElementPtrSize<uintptr_t>(off, kRuntimePointerSize); in EncodeGenericId()
314 off = GetIdOffset(klass, Canonicalize(t), kRuntimePointerSize); in EncodeGenericId()
316 cur_id = ids->GetElementPtrSize<uintptr_t>(off, kRuntimePointerSize); in EncodeGenericId()
362 ids->SetElementPtrSize(off, reinterpret_cast<void*>(cur_id), kRuntimePointerSize); in EncodeGenericId()
625 size_t off = GetIdOffset(klass, (*t), kRuntimePointerSize); in EndDefer() local
632 uintptr_t old_id = ids->GetElementPtrSize<uintptr_t, kRuntimePointerSize>(off); in EndDefer()
637 ids->SetElementPtrSize(off, reinterpret_cast<void*>(id), kRuntimePointerSize); in EndDefer()
/art/runtime/arch/x86/
Dasm_support_x86.S85 #define CFI_RESTORE_STATE_AND_DEF_CFA(reg,off) .cfi_restore_state .cfi_def_cfa reg,off argument
97 #define CFI_RESTORE_STATE_AND_DEF_CFA(reg,off) argument
/art/test/175-alloc-big-bignums/
Dinfo.txt10 to exhaust device memory, and kill off all processes on the device, including the
/art/test/044-proxy/src/
DBasicTest.java139 public int trapezoid(int x, double off, int y); in trapezoid() argument
185 public int trapezoid(int x, double off, int y) { in trapezoid() argument
186 System.out.println("--- trap " + x + "," + y + "," + off); in trapezoid()
/art/tools/luci/config/
Dluci-logdog.cfg4 # off of the chromium settings.
/art/test/1940-ddms-ext/
Dddm_ext.cc73 jint off = env->GetIntField(chunk, offset_field_id); in Java_art_Test1940_processChunk() local
87 &byte_data[off], in Java_art_Test1940_processChunk()
/art/runtime/arch/x86_64/
Dasm_support_x86_64.S84 #define CFI_RESTORE_STATE_AND_DEF_CFA(reg,off) .cfi_restore_state .cfi_def_cfa reg,off argument
96 #define CFI_RESTORE_STATE_AND_DEF_CFA(off) argument
/art/openjdkjvmti/
Dti_redefine.cc989 size_t off = std::distance(old_methods.cbegin(), old_iter); in CheckMethods() local
990 DCHECK(!seen_old_methods[off]) in CheckMethods()
991 << "field at " << off << "(" in CheckMethods()
993 seen_old_methods[off] = true; in CheckMethods()
1001 auto off = std::distance(seen_old_methods.cbegin(), first_fail); in CheckMethods() local
1003 std::advance(fail, off); in CheckMethods()
1050 size_t off = std::distance(old_fields.cbegin(), old_iter); in CheckFields() local
1051 DCHECK(!seen_old_fields[off]) in CheckFields()
1052 << "field at " << off << "(" << FieldNameAndSignature(&old_dex_file, old_iter->GetIndex()) in CheckFields()
1054 seen_old_fields[off] = true; in CheckFields()
[all …]
Dti_heap.cc1648 art::MemberOffset off, in ReplaceObjectReferences()
1651 auto it = map_.find(obj->GetFieldObject<art::mirror::Object>(off)); in ReplaceObjectReferences()
1654 if (UNLIKELY(!is_static && off == art::mirror::Object::ClassOffset())) { in ReplaceObjectReferences()
1658 } else if (UNLIKELY(!is_static && off == art::mirror::Class::SuperClassOffset() && in ReplaceObjectReferences()
1663 VLOG(plugin) << "Updating field at offset " << off.Uint32Value() << " of type " in ReplaceObjectReferences()
1665 obj->SetFieldObject</*transaction*/ false>(off, it->second); in ReplaceObjectReferences()
/art/runtime/interpreter/mterp/arm/
Darray.S200 add r1, rPC, r1, lsl #1 @ r1<- PC + BBBBbbbb*2 (array data off.)
/art/runtime/
Druntime_options.def163 RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off