Searched refs:value (Results 1 - 25 of 97) sorted by relevance

1234

/art/test/078-polymorphic-virtual/src/
H A DDerived1.java19 value += 1;
H A DDerived2.java19 value += 2;
H A DDerived3.java19 value += 3;
H A DBase.java18 int value; field in class:Base
30 return value;
/art/runtime/jdwp/
H A Djdwp_bits.h35 static inline void Append1BE(std::vector<uint8_t>& bytes, uint8_t value) { argument
36 bytes.push_back(value);
39 static inline void Append2BE(std::vector<uint8_t>& bytes, uint16_t value) { argument
40 bytes.push_back(static_cast<uint8_t>(value >> 8));
41 bytes.push_back(static_cast<uint8_t>(value));
44 static inline void Append4BE(std::vector<uint8_t>& bytes, uint32_t value) { argument
45 bytes.push_back(static_cast<uint8_t>(value >> 24));
46 bytes.push_back(static_cast<uint8_t>(value >> 16));
47 bytes.push_back(static_cast<uint8_t>(value >> 8));
48 bytes.push_back(static_cast<uint8_t>(value));
51 Append8BE(std::vector<uint8_t>& bytes, uint64_t value) argument
100 Write1BE(uint8_t** dst, uint8_t value) argument
105 Write2BE(uint8_t** dst, uint16_t value) argument
110 Write4BE(uint8_t** dst, uint32_t value) argument
115 Write8BE(uint8_t** dst, uint64_t value) argument
[all...]
H A Djdwp_constants.h90 std::ostream& operator<<(std::ostream& os, const JdwpError& value);
102 std::ostream& operator<<(std::ostream& os, const JdwpClassStatus& value);
132 std::ostream& operator<<(std::ostream& os, const JdwpEventKind& value);
151 std::ostream& operator<<(std::ostream& os, const JdwpModKind& value);
160 std::ostream& operator<<(std::ostream& os, const JdwpInvokeOptions& value);
170 std::ostream& operator<<(std::ostream& os, const JdwpStepDepth& value);
179 std::ostream& operator<<(std::ostream& os, const JdwpStepSize& value);
189 std::ostream& operator<<(std::ostream& os, const JdwpSuspendPolicy& value);
198 std::ostream& operator<<(std::ostream& os, const JdwpSuspendStatus& value);
210 std::ostream& operator<<(std::ostream& os, const JdwpThreadStatus& value);
[all...]
H A Djdwp_request.cc62 // Helper function: read a variable-width value from the input buffer.
64 uint64_t value = -1; local
66 case 1: value = Read1(); break;
67 case 2: value = Read2BE(); break;
68 case 4: value = Read4BE(); break;
69 case 8: value = Read8BE(); break;
72 return value;
76 int32_t value = static_cast<int32_t>(Read4BE()); local
77 VLOG(jdwp) << " " << what << " " << value; local
78 return value;
82 uint32_t value = Read4BE(); local
83 VLOG(jdwp) << " " << what << " " << value; local
[all...]
/art/runtime/
H A Datomic_integer.h29 explicit AtomicInteger(int32_t value) : value_(value) { } argument
49 int32_t fetch_add(const int32_t value) { argument
50 return android_atomic_add(value, &value_);
53 int32_t fetch_sub(const int32_t value) { argument
54 return android_atomic_add(-value, &value_);
H A Datomic.cc58 int64_t value; local
61 value = *addr;
67 : "=&r" (value)
72 : "=x" (value)
77 return value;
80 void QuasiAtomic::Write64(volatile int64_t* addr, int64_t value) { argument
83 *addr = value;
95 : "r" (addr), "r" (value)
102 : "x" (value));
H A Dutils.h66 #define CHECK_ALIGNED(value, alignment) \
67 CHECK(::art::IsAligned<alignment>(value)) << reinterpret_cast<const void*>(value)
69 #define DCHECK_ALIGNED(value, alignment) \
70 DCHECK(::art::IsAligned<alignment>(value)) << reinterpret_cast<const void*>(value)
72 // Check whether an N-bit two's-complement representation can hold value.
73 static inline bool IsInt(int N, word value) { argument
77 return (-limit <= value) && (value < limi
80 IsUint(int N, word value) argument
87 IsAbsoluteUint(int N, word value) argument
94 Low16Bits(uint32_t value) argument
98 High16Bits(uint32_t value) argument
102 Low32Bits(uint64_t value) argument
106 High32Bits(uint64_t value) argument
113 typedef A value; typedef in struct:art::TypeStaticIf
119 typedef B value; typedef in struct:art::TypeStaticIf
[all...]
H A Dinvoke_arg_array_builder.h76 void Append(uint32_t value) { argument
77 arg_array_[num_bytes_ / 4] = value;
81 void AppendWide(uint64_t value) { argument
88 arg_array_[num_bytes_ / 4] = value;
89 arg_array_[(num_bytes_ / 4) + 1] = value >> 32;
109 JValue value; local
110 value.SetF(va_arg(ap, jdouble));
111 Append(value.GetI());
118 JValue value; local
119 value
[all...]
/art/compiler/
H A Dleb128_encoder.h30 void PushBack(uint32_t value) { argument
33 uint8_t out = value & 0x7f;
34 if (out != value) {
36 value >>= 7;
H A Delf_writer_test.cc32 #define EXPECT_ELF_FILE_ADDRESS(ef, value, name, build_map) \
33 EXPECT_EQ(value, reinterpret_cast<void*>(ef->FindSymbolAddress(::llvm::ELF::SHT_DYNSYM, name, build_map))); \
34 EXPECT_EQ(value, ef->FindDynamicSymbolAddress(name)); \
/art/compiler/dex/quick/arm/
H A Dutility_arm.cc25 static int EncodeImmSingle(int value) { argument
27 int bit_a = (value & 0x80000000) >> 31;
28 int not_bit_b = (value & 0x40000000) >> 30;
29 int bit_b = (value & 0x20000000) >> 29;
30 int b_smear = (value & 0x3e000000) >> 25;
31 int slice = (value & 0x01f80000) >> 19;
32 int zeroes = (value & 0x0007ffff);
47 * Determine whether value can be encoded as a Thumb2 floating point
48 * immediate. If not, return -1. If so return encoded 8-bit value.
50 static int EncodeImmDouble(int64_t value) { argument
71 LoadFPConstantValue(int r_dest, int value) argument
120 ModifiedImmediate(uint32_t value) argument
149 InexpensiveConstantInt(int32_t value) argument
153 InexpensiveConstantFloat(int32_t value) argument
157 InexpensiveConstantLong(int64_t value) argument
161 InexpensiveConstantDouble(int64_t value) argument
173 LoadConstantNoClobber(int r_dest, int value) argument
422 OpRegRegImm(OpKind op, int r_dest, int r_src1, int value) argument
546 OpRegImm(OpKind op, int r_dest_src1, int value) argument
590 LoadConstantWide(int r_dest_lo, int r_dest_hi, int64_t value) argument
[all...]
/art/runtime/native/
H A Djava_lang_reflect_Field.cc31 JValue& value, bool allow_references)
33 DCHECK_EQ(value.GetJ(), 0LL);
40 value.SetZ(f->GetBoolean(o));
43 value.SetB(f->GetByte(o));
46 value.SetC(f->GetChar(o));
49 value.SetD(f->GetDouble(o));
52 value.SetF(f->GetFloat(o));
55 value.SetI(f->GetInt(o));
58 value.SetJ(f->GetLong(o));
61 value
105 JValue value; local
271 JValue value; local
277 JValue value; local
283 JValue value; local
289 JValue value; local
295 JValue value; local
301 JValue value; local
307 JValue value; local
313 JValue value; local
[all...]
/art/runtime/arch/x86/
H A Dasm_support_x86.S37 #define LITERAL(value) $value
38 #define MACRO_LITERAL(value) $$value
57 #define LITERAL(value) $value
58 #define MACRO_LITERAL(value) $value
/art/compiler/dex/quick/mips/
H A Dutility_mips.cc53 bool MipsMir2Lir::InexpensiveConstantInt(int32_t value) { argument
54 return ((value == 0) || IsUint(16, value) || ((value < 0) && (value >= -32768)));
57 bool MipsMir2Lir::InexpensiveConstantFloat(int32_t value) { argument
61 bool MipsMir2Lir::InexpensiveConstantLong(int64_t value) { argument
65 bool MipsMir2Lir::InexpensiveConstantDouble(int64_t value) { argument
78 LIR* MipsMir2Lir::LoadConstantNoClobber(int r_dest, int value) { argument
88 /* See if the value ca
130 OpRegImm(OpKind op, int r_dest_src1, int value) argument
202 OpRegRegImm(OpKind op, int r_dest, int r_src1, int value) argument
328 LoadConstantWide(int r_dest_lo, int r_dest_hi, int64_t value) argument
[all...]
/art/runtime/base/
H A Dbounded_fifo.h49 void push_back(const T& value) { argument
53 data_[back_index_++ & mask_] = value;
H A Dhistogram-inl.h31 template <class Value> inline void Histogram<Value>::AddValue(Value value) { argument
32 CHECK_GE(value, static_cast<Value>(0));
33 if (value >= max_) {
34 Value new_max = ((value + 1) / bucket_width_ + 1) * bucket_width_;
39 BucketiseValue(value);
78 // dividing the value by the bucket width.
217 double value = lower_value + (upper_value - lower_value) * local
220 if (value < min_value_added_) {
221 value = min_value_added_;
222 } else if (value > max_value_added
[all...]
/art/runtime/gc/accounting/
H A Datomic_stack.h60 bool AtomicPushBack(const T& value) { argument
72 begin_[index] = value;
76 void PushBack(const T& value) { argument
83 begin_[index] = value;
145 bool ContainsSorted(const T& value) const {
147 return std::binary_search(Begin(), End(), value);
150 bool Contains(const T& value) const {
151 return std::find(Begin(), End(), value) != End();
/art/compiler/dex/quick/x86/
H A Dutility_x86.cc51 bool X86Mir2Lir::InexpensiveConstantInt(int32_t value) { argument
55 bool X86Mir2Lir::InexpensiveConstantFloat(int32_t value) { argument
59 bool X86Mir2Lir::InexpensiveConstantLong(int64_t value) { argument
63 bool X86Mir2Lir::InexpensiveConstantDouble(int64_t value) { argument
76 LIR* X86Mir2Lir::LoadConstantNoClobber(int r_dest, int value) { argument
79 if (value == 0) {
87 if (value == 0) {
91 res = NewLIR2(kX86Mov32RI, r_dest, value);
127 LIR* X86Mir2Lir::OpRegImm(OpKind op, int r_dest_src1, int value) { argument
129 bool byte_imm = IS_SIMM8(value);
269 OpRegRegImm(OpKind op, int r_dest, int r_src, int value) argument
317 LoadConstantWide(int r_dest_lo, int r_dest_hi, int64_t value) argument
[all...]
/art/compiler/dex/
H A Dlocal_value_numbering.h27 // Key is s_reg, value is value name.
29 // Key is concatenation of quad, value is value name.
31 // Key represents a memory address, value is generation.
85 void SetOperandValue(uint16_t s_reg, uint16_t value) { argument
88 DCHECK_EQ(it->second, value);
90 sreg_value_map_.Put(s_reg, value);
107 void SetOperandValueWide(uint16_t s_reg, uint16_t value) { argument
110 DCHECK_EQ(it->second, value);
[all...]
/art/compiler/llvm/
H A Druntime_support_builder_x86.cc66 void RuntimeSupportBuilderX86::EmitStoreToThreadOffset(int64_t offset, Value* value, argument
69 /*Params=*/value->getType(),
73 CallInst* call_inst = irb_.CreateCall(func, value);
H A Druntime_support_builder_x86.h34 virtual void EmitStoreToThreadOffset(int64_t offset, ::llvm::Value* value,
/art/runtime/arch/
H A Dcontext.h43 // Set the stack pointer value
46 // Set the program counter value
53 virtual void SetGPR(uint32_t reg, uintptr_t value) = 0;

Completed in 5367 milliseconds

1234