/art/runtime/mirror/ |
D | string.cc | 44 const uint16_t* chars = GetValue(); in FastIndexOf() 67 const int32_t hash_code = ComputeUtf16Hash(GetValue(), GetLength()); in ComputeHashCode() 73 return CountUtf8Bytes(GetValue(), GetLength()); in GetUtfLength() 78 GetValue()[index] = c; in SetCharAt() 90 uint16_t* new_value = new_string->GetValue(); in AllocFromStrings() 91 memcpy(new_value, string->GetValue(), length * sizeof(uint16_t)); in AllocFromStrings() 92 memcpy(new_value + length, string2->GetValue(), length2 * sizeof(uint16_t)); in AllocFromStrings() 104 uint16_t* array = string->GetValue(); in AllocFromUtf16() 123 uint16_t* utf16_data_out = string->GetValue(); in AllocFromModifiedUtf8() 216 const uint16_t* chars = GetValue(); in ToModifiedUtf8() [all …]
|
D | string-inl.h | 68 uint16_t* value = string->GetValue(); in operator() 96 memcpy(string->GetValue(), src, count_ * sizeof(uint16_t)); in operator() 118 const uint16_t* const src = src_string_->GetValue() + offset_; in operator() 119 memcpy(string->GetValue(), src, count_ * sizeof(uint16_t)); in operator() 140 return GetValue()[index]; in CharAt() 200 DCHECK(result != 0 || ComputeUtf16Hash(GetValue(), GetLength()) == 0) in GetHashCode()
|
D | object-inl.h | 73 SetField32Volatile<false, false>(OFFSET_OF_OBJECT_MEMBER(Object, monitor_), new_val.GetValue()); in SetLockWord() 75 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(Object, monitor_), new_val.GetValue()); in SetLockWord() 82 OFFSET_OF_OBJECT_MEMBER(Object, monitor_), old_val.GetValue(), new_val.GetValue()); in CasLockWordWeakSequentiallyConsistent() 88 OFFSET_OF_OBJECT_MEMBER(Object, monitor_), old_val.GetValue(), new_val.GetValue()); in CasLockWordWeakRelaxed()
|
D | string.h | 52 uint16_t* GetValue() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetValue() function
|
/art/compiler/optimizing/ |
D | constant_folding_test.cc | 118 ASSERT_EQ(inst->AsIntConstant()->GetValue(), -1); in TEST() 179 ASSERT_EQ(inst->AsIntConstant()->GetValue(), 3); in TEST() 259 ASSERT_EQ(inst1->AsIntConstant()->GetValue(), 12); in TEST() 262 ASSERT_EQ(inst2->AsIntConstant()->GetValue(), 9); in TEST() 265 ASSERT_EQ(inst3->AsIntConstant()->GetValue(), 3); in TEST() 331 ASSERT_EQ(inst->AsIntConstant()->GetValue(), 1); in TEST() 395 ASSERT_EQ(inst->AsLongConstant()->GetValue(), 3); in TEST() 460 ASSERT_EQ(inst->AsLongConstant()->GetValue(), 1); in TEST() 562 ASSERT_EQ(inst1->AsIntConstant()->GetValue(), 20); in TEST() 565 ASSERT_EQ(inst2->AsIntConstant()->GetValue(), 12); in TEST() [all …]
|
D | graph_visualizer.cc | 137 output_ << " " << constant->AsIntConstant()->GetValue(); in DumpLocation() 139 output_ << " " << constant->AsLongConstant()->GetValue(); in DumpLocation() 177 output_ << " " << instruction->GetValue(); in VisitIntConstant() 181 output_ << " " << instruction->GetValue(); in VisitLongConstant() 185 output_ << " " << instruction->GetValue(); in VisitFloatConstant() 189 output_ << " " << instruction->GetValue(); in VisitDoubleConstant()
|
D | ssa_builder.cc | 203 DCHECK_EQ(0, int_operand->AsIntConstant()->GetValue()); in FixNullConstantType() 430 result = new (allocator) HFloatConstant(bit_cast<float, int32_t>(constant->GetValue())); in GetFloatEquivalent() 436 DCHECK_EQ((bit_cast<int32_t, float>(result->GetValue())), constant->GetValue()); in GetFloatEquivalent() 453 result = new (allocator) HDoubleConstant(bit_cast<double, int64_t>(constant->GetValue())); in GetDoubleEquivalent() 459 DCHECK_EQ((bit_cast<int64_t, double>(result->GetValue())), constant->GetValue()); in GetDoubleEquivalent() 525 if (value->IsIntConstant() && value->AsIntConstant()->GetValue() == 0) { in GetReferenceTypeEquivalent()
|
D | bounds_check_elimination.cc | 34 int32_t instr_const = instruction->AsIntConstant()->GetValue(); in ValueBound() 70 int32_t c = right->AsIntConstant()->GetValue(); in IsAddOrSubAConstant() 86 return ValueBound(nullptr, instruction->AsIntConstant()->GetValue()); in DetectValueBoundFromValue() 590 int32_t initial_constant = initial_->AsIntConstant()->GetValue(); in Narrow() 740 if (value->AsIntConstant()->GetValue() >= constant) { in CanAddDeoptimizationConstant() 757 int32_t initial_val = initial_->AsIntConstant()->GetValue(); in LoopEntryTestUseful() 758 int32_t end_val = end_->AsIntConstant()->GetValue(); in LoopEntryTestUseful() 1406 int32_t constant = index->AsIntConstant()->GetValue(); in VisitBoundsCheck() 1412 if (constant < array_length->AsIntConstant()->GetValue()) { in VisitBoundsCheck() 1580 ValueRange* range = left_range->Add(right->AsIntConstant()->GetValue()); in VisitAdd() [all …]
|
D | code_generator.h | 300 return constant->AsIntConstant()->GetValue(); in GetInt32ValueOf() 305 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt32ValueOf() 311 return constant->AsIntConstant()->GetValue(); in GetInt64ValueOf() 315 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt64ValueOf() 317 return constant->AsLongConstant()->GetValue(); in GetInt64ValueOf() 320 return bit_cast<int64_t, double>(constant->AsDoubleConstant()->GetValue()); in GetInt64ValueOf()
|
D | code_generator_x86_64.cc | 674 value = bit_cast<int64_t, double>(constant->AsDoubleConstant()->GetValue()); in Move() 677 value = constant->AsLongConstant()->GetValue(); in Move() 710 int64_t value = const_to_move->AsLongConstant()->GetValue(); in Move() 806 int32_t cond_value = cond->AsIntConstant()->GetValue(); in GenerateTestAndBranch() 1064 int64_t value = right.GetConstant()->AsLongConstant()->GetValue(); in VisitCompare() 1085 float value = right.GetConstant()->AsFloatConstant()->GetValue(); in VisitCompare() 1098 double value = right.GetConstant()->AsDoubleConstant()->GetValue(); in VisitCompare() 1733 Immediate(static_cast<int8_t>(in.GetConstant()->AsIntConstant()->GetValue()))); in VisitTypeConversion() 1759 Immediate(static_cast<int16_t>(in.GetConstant()->AsIntConstant()->GetValue()))); in VisitTypeConversion() 1781 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion() [all …]
|
D | stack_map_test.cc | 112 ASSERT_EQ(0, location0.GetValue()); in TEST() 113 ASSERT_EQ(-2, location1.GetValue()); in TEST() 208 ASSERT_EQ(0, location0.GetValue()); in TEST() 209 ASSERT_EQ(-2, location1.GetValue()); in TEST() 265 ASSERT_EQ(18, location0.GetValue()); in TEST() 266 ASSERT_EQ(3, location1.GetValue()); in TEST() 343 ASSERT_EQ(0, location0.GetValue()); in TEST() 344 ASSERT_EQ(-2, location1.GetValue()); in TEST()
|
D | code_generator_x86.cc | 698 value = constant->AsLongConstant()->GetValue(); in Move64() 701 value = bit_cast<int64_t, double>(constant->AsDoubleConstant()->GetValue()); in Move64() 737 int64_t value = const_to_move->AsLongConstant()->GetValue(); in Move() 843 int32_t cond_value = cond->AsIntConstant()->GetValue(); in GenerateTestAndBranch() 1641 int32_t value = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion() 1666 int32_t value = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion() 1688 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion() 1796 int32_t value = in.GetConstant()->AsIntConstant()->GetValue(); in VisitTypeConversion() 1967 int32_t value = second.GetConstant()->AsIntConstant()->GetValue(); in VisitAdd() 1990 int64_t value = second.GetConstant()->AsLongConstant()->GetValue(); in VisitAdd() [all …]
|
D | nodes.h | 2221 float GetValue() const { return value_; } in GetValue() function 2228 size_t ComputeHashCode() const OVERRIDE { return static_cast<size_t>(GetValue()); } in ComputeHashCode() 2231 return bit_cast<uint32_t, float>(AsFloatConstant()->GetValue()) == in IsMinusOne() 2235 return AsFloatConstant()->GetValue() == 0.0f; in IsZero() 2238 return bit_cast<uint32_t, float>(AsFloatConstant()->GetValue()) == in IsOne() 2259 double GetValue() const { return value_; } in GetValue() function 2266 size_t ComputeHashCode() const OVERRIDE { return static_cast<size_t>(GetValue()); } in ComputeHashCode() 2269 return bit_cast<uint64_t, double>(AsDoubleConstant()->GetValue()) == in IsMinusOne() 2273 return AsDoubleConstant()->GetValue() == 0.0; in IsZero() 2276 return bit_cast<uint64_t, double>(AsDoubleConstant()->GetValue()) == in IsOne() [all …]
|
D | instruction_simplifier.cc | 290 HInstruction* value = instruction->GetValue(); in VisitArraySet() 417 double value = input_cst->AsDoubleConstant()->GetValue(); in VisitDiv() 423 float value = input_cst->AsFloatConstant()->GetValue(); in VisitDiv() 472 ((input_cst->IsFloatConstant() && input_cst->AsFloatConstant()->GetValue() == 2.0f) || in VisitMul() 473 (input_cst->IsDoubleConstant() && input_cst->AsDoubleConstant()->GetValue() == 2.0))) { in VisitMul()
|
D | nodes.cc | 338 int32_t value = bit_cast<int32_t, float>(constant->GetValue()); in CacheFloatConstant() 344 int64_t value = bit_cast<int64_t, double>(constant->GetValue()); in CacheDoubleConstant() 819 int32_t value = Evaluate(GetInput()->AsIntConstant()->GetValue()); in TryStaticEvaluation() 834 int32_t value = Evaluate(GetLeft()->AsIntConstant()->GetValue(), in TryStaticEvaluation() 835 GetRight()->AsIntConstant()->GetValue()); in TryStaticEvaluation() 838 int64_t value = Evaluate(GetLeft()->AsLongConstant()->GetValue(), in TryStaticEvaluation() 839 GetRight()->AsLongConstant()->GetValue()); in TryStaticEvaluation() 1368 current->ReplaceWith(outer_graph->GetIntConstant(current->AsIntConstant()->GetValue())); in InlineInto() 1370 current->ReplaceWith(outer_graph->GetLongConstant(current->AsLongConstant()->GetValue())); in InlineInto() 1372 current->ReplaceWith(outer_graph->GetFloatConstant(current->AsFloatConstant()->GetValue())); in InlineInto() [all …]
|
D | locations.cc | 59 int64_t value = instruction->AsConstant()->AsLongConstant()->GetValue(); in RegisterOrInt32LongConstant()
|
D | common_arm64.h | 122 return instr->AsIntConstant()->GetValue(); in Int64ConstantFrom() 127 return instr->AsLongConstant()->GetValue(); in Int64ConstantFrom()
|
D | code_generator_arm.cc | 822 int64_t value = const_to_move->AsLongConstant()->GetValue(); in Move() 943 int32_t cond_value = cond->AsIntConstant()->GetValue(); in GenerateTestAndBranch() 1720 int64_t value = in.GetConstant()->AsLongConstant()->GetValue(); in VisitTypeConversion() 1985 second.GetConstant()->AsIntConstant()->GetValue()); in VisitAdd() 2060 -second.GetConstant()->AsIntConstant()->GetValue()); in VisitSub() 2426 if (value.GetConstant()->AsIntConstant()->GetValue() == 0) { in VisitDivZeroCheck() 2440 if (value.GetConstant()->AsLongConstant()->GetValue() == 0) { in VisitDivZeroCheck() 2503 int32_t cst = second.GetConstant()->AsIntConstant()->GetValue(); in HandleShift() 3184 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset; in VisitArrayGet() 3198 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset; in VisitArrayGet() [all …]
|
D | code_generator_mips64.cc | 804 __ LoadConst64(dst, instruction->AsLongConstant()->GetValue()); in Move() 813 __ LoadConst64(TMP, instruction->AsLongConstant()->GetValue()); in Move() 1276 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset; in VisitArrayGet() 1290 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_1) + data_offset; in VisitArrayGet() 1304 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_2) + data_offset; in VisitArrayGet() 1319 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_2) + data_offset; in VisitArrayGet() 1337 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4) + data_offset; in VisitArrayGet() 1352 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_8) + data_offset; in VisitArrayGet() 1367 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4) + data_offset; in VisitArrayGet() 1382 (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_8) + data_offset; in VisitArrayGet() [all …]
|
/art/runtime/ |
D | check_reference_map_visitor.h | 85 DCHECK_EQ(location.GetValue() % kFrameSlotSize, 0); in CheckOptimizedMethod() 86 CHECK(stack_mask.LoadBit(location.GetValue() / kFrameSlotSize)); in CheckOptimizedMethod() 89 CHECK_NE(register_mask & (1 << location.GetValue()), 0u); in CheckOptimizedMethod() 96 CHECK_EQ(location.GetValue(), 0); in CheckOptimizedMethod()
|
D | lock_word.h | 139 return LockWord().GetValue() == lw.GetValue(); in IsDefault() 208 return lw1.GetValue() == lw2.GetValue(); in Equal() 242 uint32_t GetValue() const { in GetValue() function
|
D | stack_map.h | 208 int32_t GetValue() const { return value_; } in GetValue() function 243 int32_t value = dex_register_location.GetValue(); in SetRegisterInfo() 335 DCHECK_EQ(location.GetValue(), 0); in ComputeCompressedKind() 339 DCHECK_GE(location.GetValue(), 0); in ComputeCompressedKind() 340 DCHECK_LT(location.GetValue(), 1 << kValueBits); in ComputeCompressedKind() 344 DCHECK_GE(location.GetValue(), 0); in ComputeCompressedKind() 345 DCHECK_LT(location.GetValue(), 1 << kValueBits); in ComputeCompressedKind() 349 return IsShortStackOffsetValue(location.GetValue()) in ComputeCompressedKind() 354 return IsShortConstantValue(location.GetValue()) in ComputeCompressedKind() 374 return IsShortStackOffsetValue(location.GetValue()); in CanBeEncodedAsShortLocation() [all …]
|
/art/cmdline/ |
D | cmdline_parse_result.h | 83 const T& GetValue() const { in GetValue() function 91 T& GetValue() { in GetValue() function
|
/art/runtime/interpreter/ |
D | unstarted_runtime_test.cc | 274 EXPECT_EQ(memcmp(string_arg->GetValue(), string_result->GetValue(), in TEST_F()
|
/art/runtime/native/ |
D | libcore_util_CharsetUtils.cc | 168 const jchar* src = &(string->GetValue()[offset]); in charsToBytes()
|