/art/runtime/gc/accounting/ |
H A D | space_bitmap.cc | 200 mirror::Object* value = field.GetObj(obj); local 201 if (value != nullptr) { 202 WalkFieldsInOrder(visited, callback, value, arg); 225 mirror::Object* value = field.GetObj(nullptr); local 226 if (value != nullptr) { 227 WalkFieldsInOrder(visited, callback, value, arg); 236 mirror::Object* value = obj_array->Get(i); local 237 if (value != nullptr) { 238 WalkFieldsInOrder(visited, callback, value, arg);
|
/art/runtime/gc/ |
H A D | allocation_record.cc | 47 size_t value = strtoul(allocMaxString, &end, 10); local 52 alloc_record_max_ = value; 53 if (recent_record_max_ > value) { 54 recent_record_max_ = value; 63 size_t value = strtoul(recentAllocMaxString, &end, 10); local 67 } else if (value > alloc_record_max_) { 71 recent_record_max_ = value; 79 size_t value = strtoul(stackDepthString, &end, 10); local 83 } else if (value > kMaxSupportedStackDepth) { 88 max_stack_depth_ = value; [all...] |
/art/runtime/ |
H A D | instrumentation_test.cc | 328 JValue value; local 329 instr->MethodExitEvent(self, obj, method, dex_pc, value); 342 JValue value; local 343 instr->FieldWriteEvent(self, obj, method, dex_pc, nullptr, value);
|
H A D | memory_region.h | 34 // debug mode. They can be safely passed by value and do not assume ownership 52 // Load value of type `T` at `offset`. The memory address corresponding 61 // Store `value` (of type `T`) at `offset`. The memory address 65 ALWAYS_INLINE void Store(uintptr_t offset, T value) const { 68 *address = value; 71 // Load value of type `T` at `offset`. The memory address corresponding 78 // Read the value byte by byte in a little-endian fashion. 86 // Store `value` (of type `T`) at `offset`. The memory address 89 ALWAYS_INLINE void StoreUnaligned(uintptr_t offset, T value) const { 92 U equivalent_unsigned_integer_value = bit_cast<U, T>(value); 129 uint32_t value = 0u; local 140 StoreBits(uintptr_t bit_offset, uint32_t value, size_t length) argument [all...] |
H A D | utils.h | 102 template <typename T> T SafeAbs(T value) { argument 104 DCHECK_NE(value, std::numeric_limits<T>::min()); 105 return std::abs(value); 108 template <typename T> T AbsOrMin(T value) { argument 109 return (value == std::numeric_limits<T>::min()) 110 ? value 111 : std::abs(value); 144 // "int a.b.C.f" (depending on the value of 'with_type'). 150 // "a.b.C.m(II)V" (depending on the value of 'with_signature'). 318 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invali [all...] |
H A D | transaction.cc | 102 uint8_t value, bool is_volatile) { 106 object_log.LogBooleanValue(field_offset, value, is_volatile); 110 int8_t value, bool is_volatile) { 114 object_log.LogByteValue(field_offset, value, is_volatile); 118 uint16_t value, bool is_volatile) { 122 object_log.LogCharValue(field_offset, value, is_volatile); 127 int16_t value, bool is_volatile) { 131 object_log.LogShortValue(field_offset, value, is_volatile); 135 void Transaction::RecordWriteField32(mirror::Object* obj, MemberOffset field_offset, uint32_t value, argument 140 object_log.Log32BitsValue(field_offset, value, is_volatil 101 RecordWriteFieldBoolean(mirror::Object* obj, MemberOffset field_offset, uint8_t value, bool is_volatile) argument 109 RecordWriteFieldByte(mirror::Object* obj, MemberOffset field_offset, int8_t value, bool is_volatile) argument 117 RecordWriteFieldChar(mirror::Object* obj, MemberOffset field_offset, uint16_t value, bool is_volatile) argument 126 RecordWriteFieldShort(mirror::Object* obj, MemberOffset field_offset, int16_t value, bool is_volatile) argument 143 RecordWriteField64(mirror::Object* obj, MemberOffset field_offset, uint64_t value, bool is_volatile) argument 151 RecordWriteFieldReference(mirror::Object* obj, MemberOffset field_offset, mirror::Object* value, bool is_volatile) argument 159 RecordWriteArray(mirror::Array* array, size_t index, uint64_t value) argument 301 LogBooleanValue(MemberOffset offset, uint8_t value, bool is_volatile) argument 305 LogByteValue(MemberOffset offset, int8_t value, bool is_volatile) argument 309 LogCharValue(MemberOffset offset, uint16_t value, bool is_volatile) argument 313 LogShortValue(MemberOffset offset, int16_t value, bool is_volatile) argument 317 Log32BitsValue(MemberOffset offset, uint32_t value, bool is_volatile) argument 321 Log64BitsValue(MemberOffset offset, uint64_t value, bool is_volatile) argument 329 LogValue(ObjectLog::FieldValueKind kind, MemberOffset offset, uint64_t value, bool is_volatile) argument 484 LogValue(size_t index, uint64_t value) argument 500 UndoArrayWrite(mirror::Array* array, Primitive::Type array_type, size_t index, uint64_t value) argument [all...] |
/art/runtime/interpreter/ |
H A D | interpreter.cc | 522 JValue value; local 523 // Set value to last known result in case the shadow frame chain is empty. 524 value.SetJ(ret_val->GetJ()); 557 DCHECK(value.GetL()->IsString()); 558 SetStringInitValueToAllAliases(shadow_frame, this_obj_vreg, value); 559 // Calling string constructor in the original dex code doesn't generate a result value. 560 value.SetJ(0); 567 DCHECK(value.GetL()->IsString()); 568 shadow_frame->SetVRegReference(instr->VRegA_21c(), value.GetL()); 569 // new-instance doesn't generate a result value [all...] |
/art/runtime/lambda/ |
H A D | box_table.cc | 95 ValueType value = FindBoxedLambda(closure); local 96 if (!value.IsNull()) { 97 return value.Read(); 135 ValueType value = FindBoxedLambda(closure); local 136 if (UNLIKELY(!value.IsNull())) { 138 return value.Read(); 200 const ValueType& value = key_value_pair.second; local 202 DCHECK(!value.IsNull()); // Never store null boxes. 203 return value;
|
H A D | closure_test.cc | 89 // Create a closure that captures the static variables from 'args' by-value. 123 // Create a closure that captures the static variables from 'args' by-value. 169 static CaptureVariableFromArgs(/*out*/ClosureBuilder& closure_builder, T value) { argument 171 closure_builder.CaptureVariablePrimitive<T, ShortyFieldTypeSelectEnum<T>::value>(value); 205 ExpectCapturedVariable(const Closure* closure, size_t index, T value) { argument 206 EXPECT_EQ(ExpandingBitCast<uint32_t>(value), closure->GetCapturedPrimitiveNarrow(index)) 212 ExpectCapturedVariable(const Closure* closure, size_t index, T value) { argument 213 EXPECT_EQ(ExpandingBitCast<uint64_t>(value), closure->GetCapturedPrimitiveWide(index))
|
/art/runtime/mirror/ |
H A D | string-inl.h | 57 // Sets string count and value in the allocation code path to ensure it is guarded by a CAS. 70 uint16_t* value = string->GetValue(); local 73 value[i] = high_byte_ + (src[i] & 0xFF); 84 // Sets string count and value in the allocation code path to ensure it is guarded by a CAS. 107 // Sets string count and value in the allocation code path to ensure it is guarded by a CAS.
|
H A D | array-inl.h | 222 inline void PrimitiveArray<T>::Set(int32_t i, T value) { argument 224 Set<true>(i, value); 226 Set<false>(i, value); 232 inline void PrimitiveArray<T>::Set(int32_t i, T value) { argument 234 SetWithoutChecks<kTransactionActive, kCheckTransaction>(i, value); 242 inline void PrimitiveArray<T>::SetWithoutChecks(int32_t i, T value) { argument 250 GetData()[i] = value;
|
H A D | string.cc | 272 uint16_t* value = GetValue() + start; local 273 memcpy(data, value, (end - start) * sizeof(uint16_t));
|
/art/runtime/native/ |
H A D | java_lang_reflect_Field.cc | 62 Primitive::Type field_type, JValue* value) 64 DCHECK_EQ(value->GetJ(), INT64_C(0)); 69 value->SetZ(is_volatile ? o->GetFieldBooleanVolatile(offset) : o->GetFieldBoolean(offset)); 72 value->SetB(is_volatile ? o->GetFieldByteVolatile(offset) : o->GetFieldByte(offset)); 75 value->SetC(is_volatile ? o->GetFieldCharVolatile(offset) : o->GetFieldChar(offset)); 79 value->SetI(is_volatile ? o->GetField32Volatile(offset) : o->GetField32(offset)); 83 value->SetJ(is_volatile ? o->GetField64Volatile(offset) : o->GetField64(offset)); 86 value->SetS(is_volatile ? o->GetFieldShortVolatile(offset) : o->GetFieldShort(offset)); 90 value->SetL(is_volatile ? o->GetFieldObjectVolatile<mirror::Object>(offset) : 147 // Get the field's value, boxin 149 JValue value; local 371 JValue value; local 377 JValue value; local 383 JValue value; local 389 JValue value; local 395 JValue value; local 401 JValue value; local 407 JValue value; local 413 JValue value; local [all...] |
/art/test/003-omnibus-opcodes/src/ |
H A D | IntMath.java | 351 * Shift some data. (value=0xff00aa01, dist=8) 353 static int[] intShiftTest(int value, int dist) { argument 358 results[0] = value << dist; 359 results[1] = value >> dist; 360 results[2] = value >>> dist; 362 results[3] = (((value << dist) >> dist) >>> dist) << dist; 424 * Shift some data. (value=0xd5aa96deff00aa01, dist=8) 426 static long[] longShiftTest(long value, int dist) { argument 431 results[0] = value << dist; 432 results[1] = value >> dis [all...] |
/art/test/404-optimizing-allocator/src/ |
H A D | Main.java | 161 public static void expectEquals(int expected, int value) { argument 162 if (expected != value) { 163 throw new Error("Expected: " + expected + ", got: " + value);
|
/art/test/478-checker-clinit-check-pruning/src/ |
H A D | Main.java | 347 $opt$inline$ignoreInt(ClassWithClinit8.value); 355 public static int value = 0; field in class:Main.ClassWithClinit8 379 $opt$inline$ignoreInt(ClassWithClinit9.value); 384 public static int value = 0; field in class:Main.ClassWithClinit9 418 public static int value = 0; field in class:Main.ClassWithClinit10 453 public static int value = 0; field in class:Main.ClassWithClinit11 486 public static int value = 0; field in class:Main.ClassWithClinit12
|
/art/test/569-checker-pattern-replacement/src/ |
H A D | Main.java | 53 public static Object staticReturnArg2(String value) { argument 54 return Second.staticReturnArg2(77, value); 71 public static long returnArg1(Second s, long value) { argument 72 return s.returnArg1(value); 244 public static long setLong(Second s, long value) { argument 245 s.setInstanceLongField(-1, value); 267 public static long setLongReturnArg2(Second s, long value, int arg2) { argument 268 int result = s.setInstanceLongFieldReturnArg2(value, arg2); 281 public static long staticSetLong(Second s, long value) { argument 282 Second.staticSetInstanceLongField(s, value); 295 setLongThroughParam(Second s, long value) argument 310 setStaticFloat(Second s, float value) argument [all...] |
/art/tools/dexfuzz/src/dexfuzz/ |
H A D | Options.java | 209 * Given a key-value option (one that features an =), handle it 213 private static void handleKeyValueOption(String key, String value) { argument 215 inputFileList.add(value); 217 File folder = new File(value); 222 String inputName = value + "/" + file.getName(); 227 outputFile = value; 229 rngSeed = Long.parseLong(value); 232 methodMutations = Integer.parseInt(value); 234 minMethods = Integer.parseInt(value); 236 maxMethods = Integer.parseInt(value); [all...] |
/art/cmdline/detail/ |
H A D | cmdline_parse_argument_detail.h | 44 // If the parsing succeeds, the parsed value will be saved as a side-effect. 50 // (for example an out of range value, or passing in a string where an int was expected). 62 // value tokens. (e.g. {"-h", "-h " } would return [1,2]). 81 using EnableIfNumeric = std::enable_if<std::is_arithmetic<T>::value>; 84 using DisableIfNumeric = std::enable_if<!std::is_arithmetic<T>::value>; 91 bool CheckRange(const TArg& value, typename EnableIfNumeric<T>::type* = 0) { argument 93 return min_ <= value && value <= max_; 236 "value without parsing; sizes must match"); 244 "Arguments without a blank (_) must provide either a value ma 450 TArg& value = result.GetValue(); local 487 SaveArgument(const TArg& value) argument [all...] |
/art/compiler/optimizing/ |
H A D | induction_var_range_test.cc | 221 bool IsExact(HInductionVarAnalysis::InductionInfo* info, int64_t* value) { argument 222 return range_.IsConstant(info, InductionVarRange::kExact, value); 225 bool IsAtMost(HInductionVarAnalysis::InductionInfo* info, int64_t* value) { argument 226 return range_.IsConstant(info, InductionVarRange::kAtMost, value); 229 bool IsAtLeast(HInductionVarAnalysis::InductionInfo* info, int64_t* value) { argument 230 return range_.IsConstant(info, InductionVarRange::kAtLeast, value); 262 int64_t value; local 264 EXPECT_TRUE(IsExact(CreateConst(12345), &value)); 265 EXPECT_EQ(12345, value); 266 EXPECT_TRUE(IsAtMost(CreateConst(12345), &value)); [all...] |
H A D | stack_map_stream.cc | 63 void StackMapStream::AddDexRegisterEntry(DexRegisterLocation::Kind kind, int32_t value) { argument 67 DexRegisterLocation location(kind, value); 94 current_entry_.dex_register_map_hash += static_cast<uint32_t>(value);
|
/art/compiler/utils/ |
H A D | intrusive_forward_list.h | 35 // Allow copyable values but do not copy the hook, it is not part of the value. 61 typename = typename std::enable_if<std::is_same<T, const OtherT>::value>::type> 98 friend typename std::enable_if<std::is_same<const OtherT1, const OtherT2>::value, bool>::type 104 typename std::enable_if<std::is_same<const T, const OtherT>::value, bool>::type operator==( 111 typename std::enable_if<std::is_same<const T, const OtherT>::value, bool>::type operator!=( 177 void push_front(value_type& value) { argument 178 insert_after(before_begin(), value); local 184 iterator insert_after(const_iterator position, value_type& value) { argument 185 const IntrusiveForwardListHook* new_hook = hook_traits::GetHook(&value); 220 splice_after(position, src); // Use l-value overloa 275 remove(const value_type& value) argument 358 value_type& value = front(); local 440 GetHook(const T* value) argument [all...] |
H A D | test_dex_file_builder.h | 356 void Write32(size_t offset, uint32_t value) { argument 362 dex_file_data_[offset + 0] = static_cast<uint8_t>(value >> 0); 363 dex_file_data_[offset + 1] = static_cast<uint8_t>(value >> 8); 364 dex_file_data_[offset + 2] = static_cast<uint8_t>(value >> 16); 365 dex_file_data_[offset + 3] = static_cast<uint8_t>(value >> 24); 368 void Write16(size_t offset, uint32_t value) { argument 369 CHECK_LE(value, 0xffffu); 373 dex_file_data_[offset + 0] = static_cast<uint8_t>(value >> 0); 374 dex_file_data_[offset + 1] = static_cast<uint8_t>(value >> 8);
|
/art/runtime/base/ |
H A D | variant_map.h | 30 // A variant map is a heterogenous, type safe key->value map. It allows 31 // for multiple different value types to be stored dynamically in the same map. 37 // TValue* Get(Key<T> key); // null if the value was never set, otherwise the value. 40 // void Set(Key<T> key, TValue value); 44 // read/write a value with a different type than the key at either compile-time or run-time. 76 // Allocate a unique counter value each time it's called. 98 // Delete a value whose runtime type is that of the non-erased key's TValue. 99 virtual void ValueDelete(void* value) const = 0; 101 // Clone a value whos 276 Set(const TKey<TValue>& key, const typename Identity<TValue>::type& value) argument 288 SetIfMissing(const TKey<TValue>& key, const typename Identity<TValue>::type& value) argument 345 void* value = kv_pair.second; local 379 InitializeParameters(const TK& key, const TValue& value, const Rest& ... rest) argument [all...] |
/art/runtime/jdwp/ |
H A D | jdwp.h | 424 // Helper function: read a variable-width value from the input buffer. 450 T value = static_cast<T>(Read1()); local 451 VLOG(jdwp) << " " << specific_kind << " " << value; local 452 return value;
|