Home
last modified time | relevance | path

Searched refs:value_ (Results 1 – 21 of 21) 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_;
Ddex_register_location.h42 DexRegisterLocation(Kind kind, int32_t value) : kind_(kind), value_(value) {} in DexRegisterLocation()
51 int32_t GetValue() const { return value_; } in GetValue()
54 return kind_ == other.kind_ && value_ == other.value_;
63 return value_; in GetStackOffsetInBytes()
68 return value_; in GetConstant()
76 return value_; in GetMachineRegister()
83 int32_t value_; variable
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.h186 if ((!kUseReadBarrier && UNLIKELY(value_ == 0)) || in GetState()
187 (kUseReadBarrier && UNLIKELY((value_ & kGCStateMaskShiftedToggled) == 0))) { in GetState()
190 uint32_t internal_state = (value_ >> kStateShift) & kStateMask; in GetState()
206 return (value_ >> kReadBarrierStateShift) & kReadBarrierStateMask; in ReadBarrierState()
210 return (value_ & kGCStateMaskShifted) >> kGCStateShift; in GCState()
219 value_ &= ~(kReadBarrierStateMask << kReadBarrierStateShift); in SetReadBarrierState()
220 value_ |= (rb_state & kReadBarrierStateMask) << kReadBarrierStateShift; in SetReadBarrierState()
225 return (value_ >> kMarkBitStateShift) & kMarkBitStateMask; in MarkBitState()
232 value_ &= kMarkBitStateMaskShiftedToggled; in SetMarkBitState()
233 value_ |= mark_bit << kMarkBitStateShift; in SetMarkBitState()
[all …]
/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/libartbase/base/
Ddumpable.h34 explicit Dumpable(const T& value) : value_(value) { in Dumpable()
38 value_.Dump(os); in Dump()
42 const T& value_;
Dstats.h29 double Value() const { return value_; } in Value()
49 value_ += value;
53 double value_ = 0.0; // Commutative sum of the collected statistic in basic units. variable
Dbit_struct_detail.h66 converter.value_.val_ = value; in ToUnderlyingStorage()
73 return converter.value_.val_; in FromUnderlyingStorage()
92 ValueWrapper value_; member
/art/runtime/base/
Dmutator_locked_dumpable.h28 explicit MutatorLockedDumpable(T& value) REQUIRES_SHARED(Locks::mutator_lock_) : value_(value) {} in MutatorLockedDumpable()
31 value_.Dump(os); in Dump()
35 const T& value_;
/art/tools/veridex/
Dflow_analysis.h49 value_(0), in RegisterValue()
53 : source_(source), value_(0), reference_(reference), type_(type) {} in RegisterValue()
59 : source_(source), value_(value), reference_(reference), type_(type) {} in RegisterValue()
66 return value_; in GetParameterIndex()
70 return value_; in GetConstant()
101 uint32_t value_; 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()
310 return IsConstant() ? kConstant : KindField::Decode(value_); in GetKind()
314 return value_ == other.value_; in Equals()
419 explicit Location(uintptr_t value) : value_(value) {} in Location()
422 : value_(KindField::Encode(kind) | PayloadField::Encode(payload)) {} in Location()
425 return PayloadField::Decode(value_); in GetPayload()
441 uintptr_t value_; variable
Dintrinsics.h161 : value_(invoke->GetIntrinsicOptimizations()) {} in IntrinsicOptimizations()
163 : value_(invoke.GetIntrinsicOptimizations()) {} in IntrinsicOptimizations()
172 return (*value_ & (1 << bit)) != 0u; in IsBitSet()
177 *(const_cast<uint32_t* const>(value_)) |= (1 << bit); in SetBit()
181 const uint32_t* const value_;
Dnodes.h3028 int32_t GetValue() const { return value_; } in GetValue()
3031 return static_cast<uint64_t>(static_cast<uint32_t>(value_)); in GetValueAsUint64()
3036 return other->AsIntConstant()->value_ == value_; in InstructionDataEquals()
3058 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), value_(value) { in HConstant()
3062 value_(value ? 1 : 0) { in HConstant()
3065 const int32_t value_; variable
3074 int64_t GetValue() const { return value_; } in GetValue()
3076 uint64_t GetValueAsUint64() const override { return value_; } in GetValueAsUint64()
3080 return other->AsLongConstant()->value_ == value_; in InstructionDataEquals()
3098 value_(value) { in HConstant()
[all …]
/art/runtime/dex/
Ddex_file_annotations.cc59 JValue value_; member
435 annotation_value->value_.SetB( in ProcessAnnotationValue()
440 annotation_value->value_.SetS( in ProcessAnnotationValue()
445 annotation_value->value_.SetC( in ProcessAnnotationValue()
450 annotation_value->value_.SetI(DexFile::ReadSignedInt(annotation, value_arg)); in ProcessAnnotationValue()
454 annotation_value->value_.SetJ(DexFile::ReadSignedLong(annotation, value_arg)); in ProcessAnnotationValue()
458 annotation_value->value_.SetI(DexFile::ReadUnsignedInt(annotation, value_arg, true)); in ProcessAnnotationValue()
462 annotation_value->value_.SetJ(DexFile::ReadUnsignedLong(annotation, value_arg, true)); in ProcessAnnotationValue()
466 annotation_value->value_.SetZ(value_arg != 0); in ProcessAnnotationValue()
473 annotation_value->value_.SetI(index); in ProcessAnnotationValue()
[all …]
/art/runtime/mirror/
Dstring.cc84 : ContainsElement(ArrayRef<uint16_t>(src->value_, length), old_c)); in DoReplace()
88 (src->IsCompressed() || (!IsASCII(old_c) && AllASCIIExcept(src->value_, length, old_c))); in DoReplace()
104 std::transform(src->value_, src->value_ + length, out, replace); in DoReplace()
111 uint16_t* out = string->value_; in DoReplace()
115 std::transform(src->value_, src->value_ + length, out, replace); in DoReplace()
Dstring.h62 return OFFSET_OF_OBJECT_MEMBER(String, value_); in ValueOffset()
66 return &value_[0]; in GetValue()
273 uint16_t value_[0]; member
Dvar_handle.cc565 AtomicGetAndAddWithByteSwapAccessor(T value, JValue* result) : value_(value), result_(result) {} in AtomicGetAndAddWithByteSwapAccessor()
572 sum = BSWAP(current_value) + value_; in Access()
583 T value_; member in art::mirror::__anon913e46da0111::AtomicGetAndAddWithByteSwapAccessor
594 AtomicGetAndBitwiseOrAccessor(T value, JValue* result) : value_(value), result_(result) {} in AtomicGetAndBitwiseOrAccessor()
598 T old_value = atom->fetch_or(value_, MO); in Access()
603 T value_; member in art::mirror::__anon913e46da0111::AtomicGetAndBitwiseOrAccessor
613 AtomicGetAndBitwiseAndAccessor(T value, JValue* result) : value_(value), result_(result) {} in AtomicGetAndBitwiseAndAccessor()
617 T old_value = atom->fetch_and(value_, MO); in Access()
622 T value_; member in art::mirror::__anon913e46da0111::AtomicGetAndBitwiseAndAccessor
633 AtomicGetAndBitwiseXorAccessor(T value, JValue* result) : value_(value), result_(result) {} in AtomicGetAndBitwiseXorAccessor()
[all …]
/art/tools/dexanalyze/
Ddexanalyze_strings.cc279 if (num_childs > 1u || elem->value_ != 0u) { in ExtractPrefixes()
331 uint32_t value_ = 0u; member in art::dexanalyze::MatchTrie
351 prefixe_trie->Add(strings[i].substr(0, len))->value_ = 1u; in Build()
370 if (node != nullptr && node->depth_ == str.length() && node->value_ != 0u) { in Build()
373 output_->dictionary_.GetOffset(node->value_, &prefix_offset, &existing_len); in Build()
375 prefixe_trie->Add(str)->value_ = prefix_idx; in Build()
379 node->value_ = prefix_idx; in Build()
381 node->value_ = prefix_idx; in Build()
409 output_->dictionary_.GetOffset(node->value_, &offset, &length); in Build()
411 prefix_idx = node->value_; in Build()
/art/compiler/utils/x86/
Dassembler_x86.h40 explicit Immediate(int32_t value_in) : value_(value_in) {} in Immediate()
42 int32_t value() const { return value_; } in value()
44 bool is_int8() const { return IsInt<8>(value_); } in is_int8()
45 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8()
46 bool is_int16() const { return IsInt<16>(value_); } in is_int16()
47 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
50 const int32_t value_;
/art/compiler/utils/x86_64/
Dassembler_x86_64.h47 explicit Immediate(int64_t value_in) : value_(value_in) {} in Immediate()
49 int64_t value() const { return value_; } in value()
51 bool is_int8() const { return IsInt<8>(value_); } in is_int8()
52 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8()
53 bool is_int16() const { return IsInt<16>(value_); } in is_int16()
54 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
55 bool is_int32() const { return IsInt<32>(value_); } in is_int32()
58 const int64_t value_;
/art/dexlayout/
Ddex_ir.h836 AnnotationElement(StringId* name, EncodedValue* value) : name_(name), value_(value) { } in AnnotationElement()
839 EncodedValue* GetValue() const { return value_.get(); } in GetValue()
843 std::unique_ptr<EncodedValue> value_; variable