Home
last modified time | relevance | path

Searched refs:value_ (Results 1 – 18 of 18) sorted by relevance

/art/runtime/
Dexperimental_flags.h32 constexpr ExperimentalFlags() : value_(0x0000) {} in ExperimentalFlags()
34 : value_(static_cast<uint32_t>(t)) {} in ExperimentalFlags()
37 return static_cast<decltype(kNone)>(value_); in decltype()
41 return value_ != kNone;
45 return static_cast<decltype(kNone)>(value_ | static_cast<uint32_t>(b));
48 return static_cast<decltype(kNone)>(value_ | b.value_);
52 return static_cast<decltype(kNone)>(value_ & b.value_);
55 return static_cast<decltype(kNone)>(value_ & static_cast<uint32_t>(b)); in decltype()
59 return value_ == b.value_;
63 uint32_t value_;
Dlock_word-inl.h28 return (value_ >> kThinLockOwnerShift) & kThinLockOwnerMask; in ThinLockOwner()
34 return (value_ >> kThinLockCountShift) & kThinLockCountMask; in ThinLockCount()
40 MonitorId mon_id = (value_ >> kMonitorIdShift) & kMonitorIdMask; in FatLockMonitor()
46 return value_ << kForwardingAddressShift; in ForwardingAddress()
49 inline LockWord::LockWord() : value_(0) { in LockWord()
54 : value_(mon->GetMonitorId() | (gc_state << kGCStateShift) | (kStateFat << kStateShift)) { in LockWord()
66 return (value_ >> kHashShift) & kHashMask; in GetHashCode()
Dlock_word.h179 if ((!kUseReadBarrier && UNLIKELY(value_ == 0)) || in GetState()
180 (kUseReadBarrier && UNLIKELY((value_ & kGCStateMaskShiftedToggled) == 0))) { in GetState()
183 uint32_t internal_state = (value_ >> kStateShift) & kStateMask; in GetState()
199 return (value_ >> kReadBarrierStateShift) & kReadBarrierStateMask; in ReadBarrierState()
203 return (value_ & kGCStateMaskShifted) >> kGCStateShift; in GCState()
212 value_ &= ~(kReadBarrierStateMask << kReadBarrierStateShift); in SetReadBarrierState()
213 value_ |= (rb_state & kReadBarrierStateMask) << kReadBarrierStateShift; in SetReadBarrierState()
218 return (value_ >> kMarkBitStateShift) & kMarkBitStateMask; in MarkBitState()
225 value_ &= kMarkBitStateMaskShiftedToggled; in SetMarkBitState()
226 value_ |= mark_bit << kMarkBitStateShift; in SetMarkBitState()
[all …]
Ddex_file_annotations.cc39 JValue value_; member
398 annotation_value->value_.SetB( in ProcessAnnotationValue()
403 annotation_value->value_.SetS( in ProcessAnnotationValue()
408 annotation_value->value_.SetC( in ProcessAnnotationValue()
413 annotation_value->value_.SetI(DexFile::ReadSignedInt(annotation, value_arg)); in ProcessAnnotationValue()
417 annotation_value->value_.SetJ(DexFile::ReadSignedLong(annotation, value_arg)); in ProcessAnnotationValue()
421 annotation_value->value_.SetI(DexFile::ReadUnsignedInt(annotation, value_arg, true)); in ProcessAnnotationValue()
425 annotation_value->value_.SetJ(DexFile::ReadUnsignedLong(annotation, value_arg, true)); in ProcessAnnotationValue()
429 annotation_value->value_.SetZ(value_arg != 0); in ProcessAnnotationValue()
436 annotation_value->value_.SetI(index); in ProcessAnnotationValue()
[all …]
Dstack_map.h155 DexRegisterLocation() : kind_(Kind::kNone), value_(0) {} in DexRegisterLocation()
157 DexRegisterLocation(Kind kind, int32_t value) : kind_(kind), value_(value) {} in DexRegisterLocation()
170 int32_t GetValue() const { return value_; } in GetValue()
176 return kind_ == other.kind_ && value_ == other.value_;
185 int32_t value_; variable
Ddex_file.cc79 JValue value_; member
/art/runtime/base/
Ddumpable.h35 explicit Dumpable(const T& value) : value_(value) { in Dumpable()
39 value_.Dump(os); in Dump()
43 const T& value_;
57 explicit MutatorLockedDumpable(T& value) REQUIRES_SHARED(Locks::mutator_lock_) : value_(value) {} in MutatorLockedDumpable()
60 value_.Dump(os); in Dump()
64 const T& value_;
/art/cmdline/
Dcmdline_parse_result.h86 return value_; in GetValue()
94 return value_; in GetValue()
102 return std::move(value_); in ReleaseValue()
126 : CmdlineResult(kSuccess), value_(value), has_value_(true) {} in CmdlineParseResult()
128 : CmdlineResult(kSuccess), value_(std::forward<T>(value)), has_value_(true) {} in CmdlineParseResult()
130 : CmdlineResult(kSuccess), value_(), has_value_(false) {} in CmdlineParseResult()
132 T value_; member
/art/runtime/arch/
Dcode_offset.h41 uint32_t decoded = value_ * GetInstructionSetInstructionAlignment(isa);
42 DCHECK_GE(decoded, value_) << "Integer overflow";
48 return value_; in CompressedValue()
57 ALWAYS_INLINE explicit CodeOffset(uint32_t value) : value_(value) {} in CodeOffset()
59 uint32_t value_ = 0u; variable
/art/compiler/optimizing/
Dlocations.h81 Location() : ValueObject(), value_(kInvalid) { in Location()
102 return (value_ & kLocationConstantMask) == kConstant; in IsConstant()
112 return reinterpret_cast<HConstant*>(value_ & ~kLocationConstantMask); in GetConstant()
116 return value_ != kInvalid; in IsValid()
297 return IsConstant() ? kConstant : KindField::Decode(value_); in GetKind()
301 return value_ == other.value_; in Equals()
406 explicit Location(uintptr_t value) : value_(value) {} in Location()
409 : value_(KindField::Encode(kind) | PayloadField::Encode(payload)) {} in Location()
412 return PayloadField::Decode(value_); in GetPayload()
428 uintptr_t value_; variable
Dintrinsics.h166 : value_(invoke->GetIntrinsicOptimizations()) {} in IntrinsicOptimizations()
168 : value_(invoke.GetIntrinsicOptimizations()) {} in IntrinsicOptimizations()
177 return (*value_ & (1 << bit)) != 0u; in IsBitSet()
182 *(const_cast<uint32_t* const>(value_)) |= (1 << bit); in SetBit()
186 const uint32_t* const value_;
Dnodes.h2713 int32_t GetValue() const { return value_; } in GetValue()
2716 return static_cast<uint64_t>(static_cast<uint32_t>(value_)); in GetValueAsUint64()
2721 return other->AsIntConstant()->value_ == value_; in InstructionDataEquals()
2740 : HConstant(Primitive::kPrimInt, dex_pc), value_(value) {} in HConstant()
2742 : HConstant(Primitive::kPrimInt, dex_pc), value_(value ? 1 : 0) {} in HConstant()
2744 const int32_t value_; variable
2754 int64_t GetValue() const { return value_; } in GetValue()
2756 uint64_t GetValueAsUint64() const OVERRIDE { return value_; } in GetValueAsUint64()
2760 return other->AsLongConstant()->value_ == value_; in InstructionDataEquals()
2774 : HConstant(Primitive::kPrimLong, dex_pc), value_(value) {} in HConstant()
[all …]
Dstack_map_stream.h49 (static_cast<int64_t>(key.kind_) << 32) | static_cast<int64_t>(key.value_); in operator()
/art/runtime/mirror/
Dstring.cc96 : ContainsElement(ArrayRef<uint16_t>(src->value_, length), old_c)); in DoReplace()
100 (src->IsCompressed() || (!IsASCII(old_c) && AllASCIIExcept(src->value_, length, old_c))); in DoReplace()
116 std::transform(src->value_, src->value_ + length, out, replace); in DoReplace()
123 uint16_t* out = string->value_; in DoReplace()
127 std::transform(src->value_, src->value_ + length, out, replace); in DoReplace()
Dstring.h57 return OFFSET_OF_OBJECT_MEMBER(String, value_); in ValueOffset()
61 return &value_[0]; in GetValue()
266 uint16_t value_[0]; member
/art/compiler/utils/x86_64/
Dassembler_x86_64.h45 explicit Immediate(int64_t value_in) : value_(value_in) {} in Immediate()
47 int64_t value() const { return value_; } in value()
49 bool is_int8() const { return IsInt<8>(value_); } in is_int8()
50 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8()
51 bool is_int16() const { return IsInt<16>(value_); } in is_int16()
52 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
53 bool is_int32() const { return IsInt<32>(value_); } in is_int32()
56 const int64_t value_;
/art/compiler/utils/x86/
Dassembler_x86.h38 explicit Immediate(int32_t value_in) : value_(value_in) {} in Immediate()
40 int32_t value() const { return value_; } in value()
42 bool is_int8() const { return IsInt<8>(value_); } in is_int8()
43 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8()
44 bool is_int16() const { return IsInt<16>(value_); } in is_int16()
45 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
48 const int32_t value_;
/art/dexlayout/
Ddex_ir.h709 AnnotationElement(StringId* name, EncodedValue* value) : name_(name), value_(value) { } in AnnotationElement()
712 EncodedValue* GetValue() const { return value_.get(); } in GetValue()
716 std::unique_ptr<EncodedValue> value_; variable