Searched refs:offset (Results 76 - 100 of 262) sorted by relevance

1234567891011

/art/runtime/interpreter/mterp/mips/
H A Dop_iput_wide_quick.S1 # iput-wide-quick vA, vB, offset /* CCCC */
9 FETCH(a3, 1) # a3 <- field byte offset
/art/test/021-string2/src/
H A DMain.java28 String offset = new String("xxx0123456789yyy");
29 String sub = offset.substring(3, 13);
44 /* compare string with a nonzero offset, in left/right side */
50 Assert.assertFalse(offset.equals(sub));
51 Assert.assertFalse(sub.equals(offset));
/art/compiler/utils/arm/
H A Dassembler_arm.cc205 int32_t offset = offset_;
206 if (offset < 0) {
208 offset = -offset;
210 if (offset_ < 0 || (offset >= 0 && offset < 256 &&
219 encoding |= B11 | PUW << 8 | offset;
225 // Register offset, possibly shifted.
248 // This is very like the ARM encoding except the offset is 10 bits.
276 uint32_t offset
[all...]
H A Dassembler_thumb2.cc286 int32_t offset = target->Position() - anchor_position; local
287 buffer_.Emit<int32_t>(offset);
317 // Insert the advance command with its final offset.
325 inline int16_t Thumb2Assembler::BEncoding16(int32_t offset, Condition cond) { argument
326 DCHECK_ALIGNED(offset, 2);
329 DCHECK(IsInt<9>(offset));
330 encoding |= B12 | (static_cast<int32_t>(cond) << 8) | ((offset >> 1) & 0xff);
332 DCHECK(IsInt<12>(offset));
333 encoding |= B13 | ((offset >> 1) & 0x7ff);
338 inline int32_t Thumb2Assembler::BEncoding32(int32_t offset, Conditio argument
361 CbxzEncoding16(Register rn, int32_t offset, Condition cond) argument
406 LdrLitEncoding16(Register rt, int32_t offset) argument
413 LdrLitEncoding32(Register rt, int32_t offset) argument
418 LdrdEncoding32(Register rt, Register rt2, Register rn, int32_t offset) argument
427 VldrsEncoding32(SRegister sd, Register rn, int32_t offset) argument
438 VldrdEncoding32(DRegister dd, Register rn, int32_t offset) argument
449 LdrRtRnImm5Encoding16(Register rt, Register rn, int32_t offset) argument
473 LdrRtRnImm12Encoding(Register rt, Register rn, int32_t offset) argument
478 AdrEncoding16(Register rd, int32_t offset) argument
485 AdrEncoding32(Register rd, int32_t offset) argument
2202 int32_t offset = GetOffset(code_size); local
2215 int32_t offset = GetOffset(code_size); local
2254 int32_t offset = GetOffset(code_size); local
2273 int32_t offset = GetOffset(code_size); local
2285 int32_t offset = GetOffset(code_size); local
2339 int32_t offset = ad.GetOffset(); local
2425 int32_t offset = ad.GetOffset(); local
3345 EncodeBranchOffset(int32_t offset, int32_t inst) argument
3615 CanSplitLoadStoreOffset(int32_t allowed_offset_bits, int32_t offset, int32_t* add_to_base, int32_t* offset_for_load_store) argument
3628 AdjustLoadStoreOffset(int32_t allowed_offset_bits, Register temp, Register base, int32_t offset, Condition cond) argument
3647 LoadFromOffset(LoadOperandType type, Register reg, Register base, int32_t offset, Condition cond) argument
3701 LoadSFromOffset(SRegister reg, Register base, int32_t offset, Condition cond) argument
3717 LoadDFromOffset(DRegister reg, Register base, int32_t offset, Condition cond) argument
3733 StoreToOffset(StoreOperandType type, Register reg, Register base, int32_t offset, Condition cond) argument
3789 StoreSToOffset(SRegister reg, Register base, int32_t offset, Condition cond) argument
3805 StoreDToOffset(DRegister reg, Register base, int32_t offset, Condition cond) argument
[all...]
/art/compiler/
H A Doat_writer.cc76 off_t Seek(off_t offset, Whence whence) OVERRIDE {
77 return out_->Seek(offset, whence);
150 OatClass(size_t offset,
427 size_t offset = InitOatHeader(instruction_set,
431 offset = InitOatDexFiles(offset);
432 size_ = offset;
487 uint32_t offset = size_;
490 offset = InitOatClasses(offset);
[all...]
H A Dcompiled_method.cc49 size_t CompiledCode::AlignCode(size_t offset) const {
50 return AlignCode(offset, instruction_set_);
53 size_t CompiledCode::AlignCode(size_t offset, InstructionSet instruction_set) { argument
54 return RoundUp(offset, GetInstructionSetAlignment(instruction_set));
/art/compiler/debug/dwarf/
H A Dexpression.h93 void WriteOpPlusUconst(uint32_t offset) { argument
95 PushUleb128(offset);
/art/runtime/base/unix_file/
H A Dfd_file_test.cc97 off_t offset = 0; local
99 EXPECT_TRUE(file.Write(ignore_prefix, sizeof(ignore_prefix), offset));
100 offset += sizeof(ignore_prefix);
101 EXPECT_TRUE(file.Write(read_suffix, sizeof(read_suffix), offset));
105 // Reading at an offset should only produce 'bbbb...', since we ignore the 'aaa...' prefix.
107 EXPECT_TRUE(file.PreadFully(buffer, sizeof(read_suffix), offset));
123 const size_t offset = 12; local
128 EXPECT_TRUE(file.PwriteFully(test_string, length, offset));
132 EXPECT_TRUE(file.PreadFully(&offset_read_string[0], length, offset));
/art/runtime/interpreter/mterp/arm/
H A Dbincmp.S12 FETCH_S rINST, 1 @ rINST<- branch offset, in code units
H A Dop_packed_switch.S18 bl $func @ r0<- code-unit branch offset
H A Dzcmp.S10 FETCH_S rINST, 1 @ rINST<- branch offset, in code units
/art/runtime/interpreter/mterp/x86/
H A Dbincmp.S15 movswl 2(rPC), rINST # Get signed branch offset
/art/runtime/interpreter/mterp/x86_64/
H A Dbincmp.S15 movswq 2(rPC), rINSTq # Get signed branch offset
/art/runtime/
H A Dtransaction.h110 void LogBooleanValue(MemberOffset offset, uint8_t value, bool is_volatile);
111 void LogByteValue(MemberOffset offset, int8_t value, bool is_volatile);
112 void LogCharValue(MemberOffset offset, uint16_t value, bool is_volatile);
113 void LogShortValue(MemberOffset offset, int16_t value, bool is_volatile);
114 void Log32BitsValue(MemberOffset offset, uint32_t value, bool is_volatile);
115 void Log64BitsValue(MemberOffset offset, uint64_t value, bool is_volatile);
116 void LogReferenceValue(MemberOffset offset, mirror::Object* obj, bool is_volatile);
142 void LogValue(FieldValueKind kind, MemberOffset offset, uint64_t value, bool is_volatile);
146 // Maps field's offset to its value.
H A Ddex_file_verifier.h49 // Checks whether the offset is zero (when size is zero) or that the offset falls within the area
51 bool CheckValidOffsetAndSize(uint32_t offset, uint32_t size, size_t alignment, const char* label);
82 bool CheckPadding(size_t offset, uint32_t aligned_offset);
110 bool CheckIntraSectionIterate(size_t offset, uint32_t count, uint16_t type);
111 bool CheckIntraIdSection(size_t offset, uint32_t count, uint16_t type);
112 bool CheckIntraDataSection(size_t offset, uint32_t count, uint16_t type);
115 bool CheckOffsetToTypeMap(size_t offset, uint16_t type);
133 bool CheckInterSectionIterate(size_t offset, uint32_t count, uint16_t type);
182 // Make a hash map slot empty by making the offset
[all...]
H A Dread_barrier-inl.h33 mirror::Object* obj, MemberOffset offset, mirror::HeapReference<MirrorType>* ref_addr) {
60 offset, old_ref, ref);
66 AssertToSpaceInvariant(obj, offset, ref);
81 offset, old_ref, ref);
84 AssertToSpaceInvariant(obj, offset, ref);
200 inline void ReadBarrier::AssertToSpaceInvariant(mirror::Object* obj, MemberOffset offset, argument
207 AssertToSpaceInvariant(obj, offset, ref);
32 Barrier( mirror::Object* obj, MemberOffset offset, mirror::HeapReference<MirrorType>* ref_addr) argument
H A Doat_file-inl.h92 uint32_t offset = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].vmap_table_offset_; local
93 if (UNLIKELY(offset == 0u)) {
96 return reinterpret_cast<const uint8_t*>(code) - offset;
H A Dtransaction.cc301 void Transaction::ObjectLog::LogBooleanValue(MemberOffset offset, uint8_t value, bool is_volatile) { argument
302 LogValue(ObjectLog::kBoolean, offset, value, is_volatile);
305 void Transaction::ObjectLog::LogByteValue(MemberOffset offset, int8_t value, bool is_volatile) { argument
306 LogValue(ObjectLog::kByte, offset, value, is_volatile);
309 void Transaction::ObjectLog::LogCharValue(MemberOffset offset, uint16_t value, bool is_volatile) { argument
310 LogValue(ObjectLog::kChar, offset, value, is_volatile);
313 void Transaction::ObjectLog::LogShortValue(MemberOffset offset, int16_t value, bool is_volatile) { argument
314 LogValue(ObjectLog::kShort, offset, value, is_volatile);
317 void Transaction::ObjectLog::Log32BitsValue(MemberOffset offset, uint32_t value, bool is_volatile) { argument
318 LogValue(ObjectLog::k32Bits, offset, valu
321 Log64BitsValue(MemberOffset offset, uint64_t value, bool is_volatile) argument
325 LogReferenceValue(MemberOffset offset, mirror::Object* obj, bool is_volatile) argument
329 LogValue(ObjectLog::FieldValueKind kind, MemberOffset offset, uint64_t value, bool is_volatile) argument
[all...]
H A Dstack_map.h53 * - kStack: vreg stored on the stack, value holds the stack offset;
65 * - kInStackLargeOffset: value holds a "large" stack offset (greater than
84 // Stack location at a large offset, meaning that the offset value
86 // 5-bit unsigned integer (i.e., this offset value is greater than
202 void SetRegisterInfo(size_t offset, const DexRegisterLocation& dex_register_location) { argument
209 // short stack locations, store slot offsets. A stack offset
218 region_.StoreUnaligned<ShortLocation>(offset, MakeShortLocation(kind, value));
232 region_.StoreUnaligned<DexRegisterLocation::Kind>(offset, kind);
233 region_.StoreUnaligned<int32_t>(offset
239 size_t offset = kFixedSize; local
269 size_t offset = FindLocationOffset(location_catalog_entry_index); local
818 SetDexRegisterMapOffset(const StackMapEncoding& encoding, uint32_t offset) argument
826 SetInlineDescriptorOffset(const StackMapEncoding& encoding, uint32_t offset) argument
994 SetDexRegisterMapOffsetAtDepth(const InlineInfoEncoding& encoding, uint32_t depth, uint32_t offset) argument
997 encoding.GetDexRegisterMapEncoding().Store(GetRegionAtDepth(encoding, depth), offset); local
1146 uint32_t offset = GetDexRegisterMapsOffset(encoding) local
1161 uint32_t offset = GetDexRegisterMapsOffset(encoding) + local
1170 uint32_t offset = stack_map.GetInlineDescriptorOffset(encoding.stack_map_encoding) local
1291 size_t offset = origin + DexRegisterLocationCatalog::kFixedSize; local
[all...]
/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DOffset.java23 * The absolute value of this offset as it was originally read.
169 * Get the location in the output DEX file where this offset has been written.
180 public void setOriginalOffset(int offset) { argument
181 originalOffset = offset;
/art/compiler/linker/
H A Dmulti_oat_relative_patcher_test.cc37 uint32_t ReserveSpace(uint32_t offset,
40 last_reserve_offset_ = offset;
42 offset += next_reserve_adjustment_;
44 return offset;
47 uint32_t ReserveSpaceEnd(uint32_t offset) OVERRIDE {
48 last_reserve_offset_ = offset;
50 offset += next_reserve_adjustment_;
52 return offset;
55 uint32_t WriteThunks(OutputStream* out, uint32_t offset) OVERRIDE {
56 last_write_offset_ = offset;
[all...]
/art/compiler/utils/mips/
H A Dassembler_mips.cc1386 int32_t offset,
1388 if (!IsInt<16>(offset)) {
1390 LoadConst32(AT, offset);
1393 offset = 0;
1400 Sw(temp, base, offset);
1405 int32_t offset,
1408 if (!IsInt<16>(offset) || !IsInt<16>(static_cast<int32_t>(offset + kMipsWordSize))) {
1410 LoadConst32(AT, offset);
1413 offset
1384 StoreConst32ToOffset(int32_t value, Register base, int32_t offset, Register temp) argument
1403 StoreConst64ToOffset(int64_t value, Register base, int32_t offset, Register temp) argument
1844 uint32_t offset = target_ - GetOffsetLocation() - branch_info_[type_].pc_org * sizeof(uint32_t); local
2032 uint32_t offset = branch->GetOffset(); local
2265 LoadFromOffset(LoadOperandType type, Register reg, Register base, int32_t offset) argument
2308 LoadSFromOffset(FRegister reg, Register base, int32_t offset) argument
2319 LoadDFromOffset(FRegister reg, Register base, int32_t offset) argument
2366 StoreToOffset(StoreOperandType type, Register reg, Register base, int32_t offset) argument
2398 StoreSToOffset(FRegister reg, Register base, int32_t offset) argument
2409 StoreDToOffset(FRegister reg, Register base, int32_t offset) argument
2465 int32_t offset = frame_size + kFramePointerSize; local
2854 Call(ManagedRegister mbase, Offset offset, ManagedRegister mscratch) argument
2866 Call(FrameOffset base, Offset offset, ManagedRegister mscratch) argument
2887 GetCurrentThread(FrameOffset offset, ManagedRegister mscratch ATTRIBUTE_UNUSED) argument
[all...]
/art/cmdline/
H A Dtoken_range.h98 // Non-copying constructor. Retains reference to an existing list of tokens, with offset.
163 // Look up a token by it's offset.
164 const std::string& GetToken(size_t offset) const {
165 assert(offset < Size());
166 return *(begin_ + offset);
241 TokenRange Slice(size_t offset, size_t length = std::string::npos) const {
242 assert(offset < Size());
244 if (length != std::string::npos && offset + length > Size()) {
245 length = Size() - offset;
252 it_end = begin() + offset
[all...]
/art/runtime/lambda/
H A Dclosure.h126 // Convenience function to call ParseTypeDescriptor with just the type and offset.
133 // Get the size in bytes of the variable_type which is potentially stored at offset.
134 size_t GetCapturedVariableSize(ShortyFieldType variable_type, size_t offset) const;
135 // Get the starting offset (in bytes) for the 0th captured variable.
138 // Get the offset for this index.
142 // Cast the data at '(char*)captured_[offset]' into T, returning its address.
145 inline const uint8_t* GetUnsafeAtOffset(size_t offset) const;
147 // Copy the data at the offset into the destination. DCHECKs that
150 inline void CopyUnsafeAtOffset(size_t offset,
/art/compiler/optimizing/
H A Dload_store_elimination.cc114 // A heap location is a reference-offset/index pair that a value can be loaded from
124 size_t offset,
128 offset_(offset),
133 DCHECK((offset == kInvalidFieldOffset && index != nullptr) ||
134 (offset != kInvalidFieldOffset && index == nullptr));
166 const size_t offset_; // offset of static/instance field.
246 size_t offset,
252 loc->GetOffset() == offset &&
385 size_t offset,
391 ref_info, offset, inde
123 HeapLocation(ReferenceInfo* ref_info, size_t offset, HInstruction* index, int16_t declaring_class_def_index) argument
245 FindHeapLocationIndex(ReferenceInfo* ref_info, size_t offset, HInstruction* index, int16_t declaring_class_def_index) const argument
384 GetOrCreateHeapLocation(HInstruction* ref, size_t offset, HInstruction* index, int16_t declaring_class_def_index) argument
406 const size_t offset = field_info.GetFieldOffset().SizeValue(); local
709 VisitGetLocation(HInstruction* instruction, HInstruction* ref, size_t offset, HInstruction* index, int16_t declaring_class_def_index) argument
772 VisitSetLocation(HInstruction* instruction, HInstruction* ref, size_t offset, HInstruction* index, int16_t declaring_class_def_index, HInstruction* value) argument
863 size_t offset = instruction->GetFieldInfo().GetFieldOffset().SizeValue(); variable
870 size_t offset = instruction->GetFieldInfo().GetFieldOffset().SizeValue(); variable
878 size_t offset = instruction->GetFieldInfo().GetFieldOffset().SizeValue(); variable
885 size_t offset = instruction->GetFieldInfo().GetFieldOffset().SizeValue(); variable
983 size_t offset = heap_location_collector_.GetHeapLocation(i)->GetOffset(); variable
[all...]

Completed in 467 milliseconds

1234567891011