/art/test/138-duplicate-classes-check2/src/ |
H A D | FancyLoader.java | 154 fileData = new byte[(int) raf.length()]; 169 return defineClass(name, fileData, 0, fileData.length);
|
/art/test/561-shared-slowpaths/src/ |
H A D | Main.java | 145 for (int i = 0; i < x.length; i++) x[i] = 0; 146 for (int i = 0; i < y.length; i++) y[i] = 0;
|
/art/test/575-checker-isnan/src/ |
H A D | Main.java | 76 for (int i = 0; i < fvals.length; i++) { 108 for (int i = 0; i < dvals.length; i++) {
|
/art/test/577-checker-fp2int/src/ |
H A D | Main.java | 72 for (int i = 0; i < fvals.length; i++) { 100 for (int i = 0; i < dvals.length; i++) {
|
/art/tools/ahat/src/ |
H A D | Main.java | 50 for (int i = 0; i < args.length; i++) { 51 if ("-p".equals(args[i]) && i + 1 < args.length) {
|
H A D | InstanceUtils.java | 55 byte[] bytes = new byte[objs.length]; 56 for (int i = 0; i < objs.length; i++) { 97 // TODO: When perflib provides a better way to get the length of the 99 int numChars = chars.getValues().length; 144 for (int i = 0; i < abgr.length; i++) { 281 * maxChars in length.
|
/art/runtime/mirror/ |
H A D | array.h | 56 void SetLength(int32_t length) SHARED_REQUIRES(Locks::mutator_lock_) { 57 DCHECK_GE(length, 0); 60 SetField32<false, false, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); local 111 static PrimitiveArray<T>* Alloc(Thread* self, size_t length) 125 DCHECK(CheckIsValidIndex(i)) << "i=" << i << " length=" << GetLength();
|
H A D | array-inl.h | 87 // The array length limit (exclusive). 96 // Used for setting the array length in the allocation code path to ensure it is guarded by a 100 explicit SetLengthVisitor(int32_t length) : length_(length) { argument 117 // Similar to SetLengthVisitor, used for setting the array length to fill the usable size of an 132 int32_t length = (usable_size - header_size_) >> component_size_shift_; local 133 DCHECK_GE(length, minimum_length_); 137 length)); 140 array->SetLength(length); 166 self->ThrowOutOfMemoryError(StringPrintf("%s of length 205 Alloc(Thread* self, size_t length) argument [all...] |
/art/test/028-array-write/src/ |
H A D | Main.java | 80 if ((args.length >= 1) && args[0].equals("--timing")) {
|
/art/test/053-wait-some/src/ |
H A D | Main.java | 27 boolean timing = (args.length >= 1) && args[0].equals("--timing");
|
/art/test/133-static-invoke-super/src/ |
H A D | Main.java | 25 boolean timing = (args.length >= 1) && args[0].equals("--timing");
|
/art/test/142-classloader2/src/ |
H A D | Main.java | 44 if (cp.split(System.getProperty("path.separator")).length != 1) {
|
/art/test/145-alloc-tracking-stress/src/ |
H A D | Main.java | 45 for (int t = 0; t < threads.length; t++) {
|
/art/tools/ahat/test-dump/ |
H A D | Main.java | 60 if (args.length < 1) {
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
H A D | StringDataItem.java | 37 if (size != data.length()) {
|
/art/runtime/ |
H A D | oat.cc | 39 estimate += it->first.length() + 1; 40 estimate += it->second.length() + 1; 119 static_assert(sizeof(kOatMagic) == 4, "kOatMagic has unexpected length"); 125 static_assert(sizeof(kOatVersion) == 4, "kOatVersion has unexpected length"); 183 void OatHeader::UpdateChecksum(const void* data, size_t length) { argument 187 adler32_checksum_ = adler32(adler32_checksum_, bytes, length); 189 DCHECK_EQ(0U, length); 506 data_ptr += it->first.length() + 1; 508 data_ptr += it->second.length() + 1;
|
H A D | mem_map.cc | 768 size_t length, 781 ((reinterpret_cast<uintptr_t>(addr) + length) >> 32) != 0)) { 783 << reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(addr) + length) 790 DCHECK_ALIGNED(length, kPageSize); 819 if (delta >= length) { 829 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), length, prot, flags, fd, offset); 831 next_mem_pos_ = reinterpret_cast<uintptr_t>(actual) + length; 835 if (4U * GB - ptr < length) { 852 for (tail_ptr = ptr; tail_ptr < ptr + length; tail_ptr += kPageSize) { 864 actual = TryMemMapLow4GB(reinterpret_cast<void*>(ptr), length, pro 767 MapInternal(void* addr, size_t length, int prot, int flags, int fd, off_t offset, bool low_4gb) argument [all...] |
/art/runtime/base/ |
H A D | scoped_arena_allocator.h | 160 T* AllocArray(size_t length, ArenaAllocKind kind = kArenaAllocMisc) { argument 161 return static_cast<T*>(Alloc(length * sizeof(T), kind));
|
/art/runtime/interpreter/ |
H A D | unstarted_runtime.cc | 554 int32_t length) 564 const bool copy_forward = (dst_pos < src_pos) || (dst_pos - src_pos >= length); 566 for (int32_t i = 0; i < length; ++i) { 570 for (int32_t i = 1; i <= length; ++i) { 571 dst->Set(dst_pos + length - i, src->Get(src_pos + length - i)); 581 jint length = shadow_frame->GetVReg(arg_offset + 4); local 604 if (UNLIKELY(src_pos < 0) || UNLIKELY(dst_pos < 0) || UNLIKELY(length < 0) || 605 UNLIKELY(src_pos > src_array->GetLength() - length) || 606 UNLIKELY(dst_pos > dst_array->GetLength() - length)) { 1108 jint length = shadow_frame->GetVReg(arg_offset + 2); local 1420 int32_t length = args[1]; local 1546 int32_t length = static_cast<int32_t>(args[1]); local [all...] |
/art/test/064-field-access/src/ |
H A D | Main.java | 541 check(fields.length == 72); 543 check(methods.length == 4); 549 check(fields.length == 72); 551 check(methods.length == 4); 556 check(fields.length == 72); 558 check(methods.length == 4); 564 for (int i = 0; i < fieldNameForTypeChar.length; i++) { 603 for (int i = 0; i < typeChars.length(); i++) {
|
/art/runtime/jdwp/ |
H A D | jdwp_priv.h | 91 ssize_t WritePacket(ExpandBuf* pReply, size_t length) REQUIRES(!socket_lock_);
|
/art/test/072-precise-gc/src/ |
H A D | Main.java | 93 for (int i = 0; i < wrefs.length; i++) {
|
/art/test/121-modifiers/src/ |
H A D | Asm.java | 99 out.write(b, 0, b.length);
|
/art/test/562-bce-preheader/src/ |
H A D | Main.java | 99 int n = c.length;
|
/art/compiler/utils/ |
H A D | array_ref.h | 171 ArrayRef SubArray(size_type pos, size_type length) const { 173 DCHECK_LE(length, size() - pos); 174 return ArrayRef(array_ + pos, length);
|