Home
last modified time | relevance | path

Searched refs:GetValue (Results 1 – 25 of 79) sorted by relevance

1234

/art/runtime/
Ddex_register_location.cc33 return stream << "sp+" << reg.GetValue(); in operator <<()
35 return stream << "r" << reg.GetValue(); in operator <<()
37 return stream << "r" << reg.GetValue() << "/hi"; in operator <<()
39 return stream << "f" << reg.GetValue(); in operator <<()
41 return stream << "f" << reg.GetValue() << "/hi"; in operator <<()
43 return stream << "#" << reg.GetValue(); in operator <<()
46 << "," << reg.GetValue() << ")"; in operator <<()
Dcheck_reference_map_visitor.h114 DCHECK_EQ(location.GetValue() % kFrameSlotSize, 0); in CheckOptimizedMethod()
115 CHECK(stack_mask.LoadBit(location.GetValue() / kFrameSlotSize)); in CheckOptimizedMethod()
119 CHECK_NE(register_mask & (1 << location.GetValue()), 0u); in CheckOptimizedMethod()
127 CHECK_EQ(location.GetValue(), 0); in CheckOptimizedMethod()
Dlock_word.h169 return LockWord().GetValue() == lw.GetValue(); in IsDefault()
258 return lw1.GetValue() == lw2.GetValue(); in Equal()
303 uint32_t GetValue() const { in GetValue() function
Dstring_builder_append.cc59 DCHECK_GE(new_string->GetLength(), data - new_string->GetValue()); in RemainingSpace()
60 return new_string->GetLength() - (data - new_string->GetValue()); in RemainingSpace()
175 const uint16_t* value = str->GetValue(); in AppendString()
344 StoreData(new_string, new_string->GetValue()); in operator ()()
Ddex_register_location.h51 int32_t GetValue() const { return value_; } in GetValue() function
/art/runtime/mirror/
Dstring.cc47 return FastIndexOf<uint16_t>(GetValue(), ch, start); in FastIndexOf()
56 hash_code = ComputeUtf16Hash(GetValue(), GetLength()); in ComputeHashCode()
132 uint16_t* new_value = new_string->GetValue(); in DoConcat()
139 memcpy(new_value, h_this->GetValue(), length_this * sizeof(uint16_t)); in DoConcat()
147 memcpy(new_value + length_this, h_arg->GetValue(), length_arg * sizeof(uint16_t)); in DoConcat()
173 memcpy(new_string->GetValue(), utf16_data_in, utf16_length * sizeof(uint16_t)); in AllocFromUtf16()
207 uint16_t* utf16_data_out = new_string->GetValue(); in AllocFromModifiedUtf8()
230 return memcmp(this->GetValue(), that->GetValue(), sizeof(uint16_t) * this->GetLength()) == 0; in Equals()
241 const uint16_t* value = GetValue(); in Equals()
274 ConvertUtf16ToModifiedUtf8(&result[0], byte_count, GetValue(), GetLength()); in ToModifiedUtf8()
[all …]
Dstring-inl.h54 return GetValue()[index]; in CharAt()
80 DCHECK(result != 0 || ComputeUtf16Hash(GetValue(), GetLength()) == 0) in GetHashCode()
91 return CountUtf8Bytes(GetValue(), GetLength()); in GetUtfLength()
Dstring-alloc-inl.h77 uint16_t* value = string->GetValue(); in operator()
111 memcpy(string->GetValue(), src, length * sizeof(uint16_t)); in operator()
141 const uint16_t* const src = src_string_->GetValue() + offset_; in operator()
147 memcpy(string->GetValue(), src, length * sizeof(uint16_t)); in operator()
247 ((string->IsCompressed()) ? true : String::AllASCII<uint16_t>(string->GetValue() + offset, in AllocFromString()
Dobject-readbarrier-inl.h67 old_val.GetValue(), in CasLockWord()
68 new_val.GetValue(), in CasLockWord()
/art/libartbase/base/
Dhiddenapi_flags.h167 DCHECK(GetValue() == val);
173 Value GetValue() const { in GetValue() function
211 uint32_t GetIntValue() const { return helper::ToUint(GetValue()) - helper::ToUint(Value::kMin); } in GetIntValue()
280 const Value val1 = GetValue(); in CanCombineWith()
281 const Value val2 = other.GetValue(); in CanCombineWith()
292 const Value val1 = GetValue();
293 const Value val2 = other.GetValue();
314 return ((other.GetValue() == Value::kInvalid) || (GetValue() == other.GetValue())) && in Contains()
319 bool IsValid() const { return GetValue() != Value::kInvalid; } in IsValid()
322 bool IsEmpty() const { return (GetValue() == Value::kInvalid) && (GetDomainApis() == 0); } in IsEmpty()
[all …]
Dflags.h173 ALWAYS_INLINE Value GetValue() const { in GetValue() function
178 return GetValue(); in operator()
/art/compiler/optimizing/
Dload_store_analysis.cc55 idx1->GetConstantRight()->AsIntConstant()->GetValue() : in CanBinaryOpAndIndexAlias()
56 -idx1->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpAndIndexAlias()
84 idx1->GetConstantRight()->AsIntConstant()->GetValue() : in CanBinaryOpsAlias()
85 -idx1->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpsAlias()
87 idx2->GetConstantRight()->AsIntConstant()->GetValue() : in CanBinaryOpsAlias()
88 -idx2->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpsAlias()
137 array_length->IsIntConstant() && array_length->AsIntConstant()->GetValue() >= 0; in InstructionEligibleForLSERemoval()
227 int64_t l1 = idx1->AsIntConstant()->GetValue(); in CanArrayElementsAlias()
228 int64_t l2 = idx2->AsIntConstant()->GetValue(); in CanArrayElementsAlias()
Dconstant_folding_test.cc127 ASSERT_EQ(inst->AsIntConstant()->GetValue(), -1); in TEST_F()
188 ASSERT_EQ(inst->AsLongConstant()->GetValue(), INT64_C(-4294967296)); in TEST_F()
249 ASSERT_EQ(inst->AsIntConstant()->GetValue(), 3); in TEST_F()
328 ASSERT_EQ(inst1->AsIntConstant()->GetValue(), 12); in TEST_F()
331 ASSERT_EQ(inst2->AsIntConstant()->GetValue(), 9); in TEST_F()
334 ASSERT_EQ(inst3->AsIntConstant()->GetValue(), 3); in TEST_F()
399 ASSERT_EQ(inst->AsIntConstant()->GetValue(), 1); in TEST_F()
462 ASSERT_EQ(inst->AsLongConstant()->GetValue(), 3); in TEST_F()
526 ASSERT_EQ(inst->AsLongConstant()->GetValue(), 1); in TEST_F()
626 ASSERT_EQ(inst1->AsIntConstant()->GetValue(), 20); in TEST_F()
[all …]
Dnodes.h3218 int32_t GetValue() const { return value_; }
3229 size_t ComputeHashCode() const override { return GetValue(); }
3231 bool IsMinusOne() const override { return GetValue() == -1; }
3232 bool IsArithmeticZero() const override { return GetValue() == 0; }
3233 bool IsZeroBitPattern() const override { return GetValue() == 0; }
3234 bool IsOne() const override { return GetValue() == 1; }
3238 bool IsTrue() const { return GetValue() == 1; }
3239 bool IsFalse() const { return GetValue() == 0; }
3264 int64_t GetValue() const { return value_; }
3273 size_t ComputeHashCode() const override { return static_cast<size_t>(GetValue()); }
[all …]
Dnodes_x86.h146 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
150 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
194 return GetBlock()->GetGraph()->GetIntConstant(Compute(x->GetValue()), GetDexPc()); in Evaluate()
197 return GetBlock()->GetGraph()->GetLongConstant(Compute(x->GetValue()), GetDexPc()); in Evaluate()
Dnodes_shared.cc36 *shift_amount = instruction->AsShl()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
39 *shift_amount = instruction->AsShr()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
42 *shift_amount = instruction->AsUShr()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
Dssa_builder.cc59 DCHECK_EQ(0, int_operand->AsIntConstant()->GetValue()); in FixNullConstantType()
381 HInstruction* value = aset->GetValue(); in FixAmbiguousArrayOps()
610 float value = bit_cast<float, int32_t>(constant->GetValue()); in GetFloatEquivalent()
617 DCHECK_EQ((bit_cast<int32_t, float>(result->GetValue())), constant->GetValue()); in GetFloatEquivalent()
632 double value = bit_cast<double, int64_t>(constant->GetValue()); in GetDoubleEquivalent()
639 DCHECK_EQ((bit_cast<int64_t, double>(result->GetValue())), constant->GetValue()); in GetDoubleEquivalent()
727 if (value->IsIntConstant() && value->AsIntConstant()->GetValue() == 0) { in GetReferenceTypeEquivalent()
Dnodes_shared.h102 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
106 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
Dstack_map_test.cc98 ASSERT_EQ(0, location0.GetValue()); in TEST()
99 ASSERT_EQ(-2, location1.GetValue()); in TEST()
186 ASSERT_EQ(0, location0.GetValue()); in TEST()
187 ASSERT_EQ(-2, location1.GetValue()); in TEST()
225 ASSERT_EQ(18, location0.GetValue()); in TEST()
226 ASSERT_EQ(3, location1.GetValue()); in TEST()
258 ASSERT_EQ(6, location0.GetValue()); in TEST()
259 ASSERT_EQ(8, location1.GetValue()); in TEST()
291 ASSERT_EQ(3, location0.GetValue()); in TEST()
292 ASSERT_EQ(1, location1.GetValue()); in TEST()
[all …]
Dcommon_arm.h157 return instr->AsIntConstant()->GetValue(); in Int32ConstantFrom()
162 const int64_t ret = instr->AsLongConstant()->GetValue(); in Int32ConstantFrom()
176 return instr->AsIntConstant()->GetValue(); in Int64ConstantFrom()
181 return instr->AsLongConstant()->GetValue(); in Int64ConstantFrom()
Dinstruction_simplifier_shared.cc243 access->AsArraySet()->GetValue()->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress()
314 uint32_t another_data_offset = another_access->GetOffset()->AsIntConstant()->GetValue(); in TryExtractVecArrayAccessAddress()
315 size_t another_component_shift = another_access->GetShift()->AsIntConstant()->GetValue(); in TryExtractVecArrayAccessAddress()
Dcode_generator.h527 return constant->AsIntConstant()->GetValue(); in GetInt8ValueOf()
532 return constant->AsIntConstant()->GetValue(); in GetInt16ValueOf()
537 return constant->AsIntConstant()->GetValue(); in GetInt32ValueOf()
542 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt32ValueOf()
548 return constant->AsIntConstant()->GetValue(); in GetInt64ValueOf()
552 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt64ValueOf()
554 return constant->AsLongConstant()->GetValue(); in GetInt64ValueOf()
557 return bit_cast<int64_t, double>(constant->AsDoubleConstant()->GetValue()); in GetInt64ValueOf()
Dgraph_visualizer.cc326 stream << constant->AsIntConstant()->GetValue(); in DumpLocation()
328 stream << constant->AsLongConstant()->GetValue(); in DumpLocation()
330 stream << constant->AsFloatConstant()->GetValue(); in DumpLocation()
332 stream << constant->AsDoubleConstant()->GetValue(); in DumpLocation()
382 StartAttributeStream() << instruction->GetValue(); in VisitIntConstant()
386 StartAttributeStream() << instruction->GetValue(); in VisitLongConstant()
390 StartAttributeStream() << instruction->GetValue(); in VisitFloatConstant()
394 StartAttributeStream() << instruction->GetValue(); in VisitDoubleConstant()
/art/compiler/debug/
Delf_debug_loc_writer.h208 const int32_t value = reg_loc.GetValue(); in WriteDebugLocEntry()
213 reg_hi.GetValue() == value + 4) { in WriteDebugLocEntry()
219 reg_hi.GetValue() == value) { in WriteDebugLocEntry()
225 reg_hi.GetValue() == value + 1 && value % 2 == 0) { in WriteDebugLocEntry()
232 reg_hi.GetValue() == reg_lo.GetValue()) { in WriteDebugLocEntry()
/art/cmdline/
Dcmdline_parse_result.h83 const T& GetValue() const { in GetValue() function
91 T& GetValue() { in GetValue() function

1234