/art/runtime/base/ |
D | stl_util.h | 27 void STLSortAndRemoveDuplicates(T* v) { in STLSortAndRemoveDuplicates() argument 28 std::sort(v->begin(), v->end()); in STLSortAndRemoveDuplicates() 29 v->erase(std::unique(v->begin(), v->end()), v->end()); in STLSortAndRemoveDuplicates() 73 void STLDeleteValues(T *v) { in STLDeleteValues() argument 74 if (!v) return; in STLDeleteValues() 75 for (typename T::iterator i = v->begin(); i != v->end(); ++i) { in STLDeleteValues() 78 v->clear(); in STLDeleteValues() 82 std::string ToString(const T& v) { in ToString() argument 85 for (size_t i = 0; i < v.size(); ++i) { in ToString() 86 os << v[i]; in ToString() [all …]
|
/art/compiler/sea_ir/ir/ |
D | instruction_nodes.h | 82 void Accept(IRVisitor* v) { in Accept() argument 83 v->Visit(this); in Accept() 84 v->Traverse(this); in Accept() 114 void Accept(IRVisitor* v) { in Accept() argument 115 v->Visit(this); in Accept() 116 v->Traverse(this); in Accept() 129 void Accept(IRVisitor* v) { in Accept() argument 130 v->Visit(this); in Accept() 131 v->Traverse(this); in Accept() 149 void Accept(IRVisitor* v) { in Accept() argument [all …]
|
D | sea.h | 69 void Accept(IRVisitor* v) { in Accept() argument 70 v->Visit(this); in Accept() 71 v->Traverse(this); in Accept() 126 void Accept(IRVisitor* v) { in Accept() argument 127 v->Visit(this); in Accept() 128 v->Traverse(this); in Accept() 216 void Accept(IRVisitor* v) { in Accept() argument 217 v->Visit(this); in Accept() 218 v->Traverse(this); in Accept()
|
/art/compiler/utils/ |
D | swap_space_test.cc | 42 SwapVector<int32_t> v(alloc); in SwapTest() local 43 v.reserve(1000000); in SwapTest() 45 v.push_back(i); in SwapTest() 46 EXPECT_EQ(i, v[i]); in SwapTest() 65 EXPECT_EQ(i, v[i]); in SwapTest()
|
D | array_ref.h | 85 explicit ArrayRef(std::vector<T>& v) in ArrayRef() argument 86 : array_(v.data()), size_(v.size()) { in ArrayRef() 90 ArrayRef(const std::vector<U>& v, 92 : array_(v.data()), size_(v.size()) {
|
D | scoped_hashtable_test.cc | 27 explicit Value(int v):value_(v) {} in Value() argument
|
D | scoped_hashtable.h | 50 void Add(K k, V v) { in Add() argument 52 scopes.front().insert(std::pair< K, V >(k, v)); in Add()
|
/art/runtime/ |
D | safe_map.h | 89 iterator Put(const K& k, const V& v) { in Put() argument 90 std::pair<iterator, bool> result = map_.emplace(k, v); in Put() 96 iterator PutBefore(iterator pos, const K& k, const V& v) { in PutBefore() argument 100 return map_.emplace_hint(pos, k, v); in PutBefore() 106 void Overwrite(const K& k, const V& v) { in Overwrite() argument 107 std::pair<iterator, bool> result = map_.insert(std::make_pair(k, v)); in Overwrite() 110 result.first->second = v; in Overwrite()
|
D | instruction_set.h | 197 void SetHasDivideInstruction(bool v) { in SetHasDivideInstruction() argument 198 mask_ = (mask_ & ~kHwDiv) | (v ? kHwDiv : 0); in SetHasDivideInstruction() 205 void SetHasLpae(bool v) { in SetHasLpae() argument 206 mask_ = (mask_ & ~kHwLpae) | (v ? kHwLpae : 0); in SetHasLpae()
|
D | dex_instruction_visitor.h | 35 #define INSTRUCTION_CASE(o, cname, p, f, r, i, a, v) \ in Visit() argument 53 #define INSTRUCTION_VISITOR(o, cname, p, f, r, i, a, v) \ argument
|
D | dex_instruction.cc | 30 #define INSTRUCTION_NAME(o, c, pname, f, r, i, a, v) pname, argument 38 #define INSTRUCTION_FORMAT(o, c, p, format, r, i, a, v) format, argument 46 #define INSTRUCTION_FLAGS(o, c, p, f, r, i, flags, v) flags, argument 62 #define INSTRUCTION_SIZE(opcode, c, p, format, r, i, a, v) \ argument
|
D | jni_internal.cc | 1523 mirror::Object* v = soa.Decode<mirror::Object*>(java_value); in SetObjectField() local 1525 f->SetObject<false>(o, v); in SetObjectField() 1531 mirror::Object* v = soa.Decode<mirror::Object*>(java_value); in SetStaticObjectField() local 1533 f->SetObject<false>(f->GetDeclaringClass(), v); in SetStaticObjectField() 1628 static void SetBooleanField(JNIEnv* env, jobject obj, jfieldID fid, jboolean v) { in SetBooleanField() argument 1629 SET_PRIMITIVE_FIELD(Boolean, obj, v); in SetBooleanField() 1632 static void SetByteField(JNIEnv* env, jobject obj, jfieldID fid, jbyte v) { in SetByteField() argument 1633 SET_PRIMITIVE_FIELD(Byte, obj, v); in SetByteField() 1636 static void SetCharField(JNIEnv* env, jobject obj, jfieldID fid, jchar v) { in SetCharField() argument 1637 SET_PRIMITIVE_FIELD(Char, obj, v); in SetCharField() [all …]
|
D | utils.h | 297 V v; 300 return tmp.v;
|
D | dex_instruction.h | 86 #define INSTRUCTION_ENUM(opcode, cname, p, f, r, i, a, v) cname = opcode, argument
|
D | debugger.cc | 1900 mirror::Object* v = Dbg::GetObjectRegistry()->Get<mirror::Object*>(value); in SetFieldValueImpl() local 1901 if (v == ObjectRegistry::kInvalidObject) { in SetFieldValueImpl() 1904 if (v != NULL) { in SetFieldValueImpl() 1908 HandleWrapper<mirror::Object> h_v(hs.NewHandleWrapper(&v)); in SetFieldValueImpl() 1913 if (!field_type->IsAssignableFrom(v->GetClass())) { in SetFieldValueImpl() 1918 f->SetObject<false>(o, v); in SetFieldValueImpl() 3691 jvalue& v = reinterpret_cast<jvalue&>(arg_values[i]); in InvokeMethod() local 3692 v.l = gRegistry->GetJObject(arg_values[i]); in InvokeMethod()
|
D | jni_internal_test.cc | 639 void* v = env_->GetPrimitiveArrayCritical(a, nullptr); \ 640 EXPECT_EQ(memcmp(&src_buf[0], v, size * sizeof(scalar_type)), 0) \ 642 env_->ReleasePrimitiveArrayCritical(a, v, 0); \
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 824 for (size_t v = 0; v < num_vec; v++) { in BitMapToStr() local 825 uint32_t vec = bit_map_base[v]; in BitMapToStr() 826 if (v != num_vec - 1) { in BitMapToStr() 931 for (size_t v = 0; v < num_vec; v++, vecp++, tl_free_vecp++) { in MergeThreadLocalFreeBitMapToAllocBitMap() local 936 first_search_vec_idx_ = std::min(first_search_vec_idx_, static_cast<uint32_t>(v)); in MergeThreadLocalFreeBitMapToAllocBitMap() 945 if (v == num_vec - 1) { in MergeThreadLocalFreeBitMapToAllocBitMap() 967 for (size_t v = 0; v < num_vec; v++, vecp++, free_vecp++) { in MergeBulkFreeBitMapIntoAllocBitMap() local 970 first_search_vec_idx_ = std::min(first_search_vec_idx_, static_cast<uint32_t>(v)); in MergeBulkFreeBitMapIntoAllocBitMap() 984 for (size_t v = 0; v < num_vec; v++, to_vecp++, from_vecp++) { in UnionBulkFreeBitMapToThreadLocalFreeBitMap() local 1046 for (size_t v = 0; v < num_vec - 1; v++) { in IsAllFree() local [all …]
|
/art/compiler/dex/quick/mips/ |
D | mips_lir.h | 511 #define IS_UIMM16(v) ((0 <= (v)) && ((v) <= 65535)) argument 512 #define IS_SIMM16(v) ((-32768 <= (v)) && ((v) <= 32766)) argument 513 #define IS_SIMM16_2WORD(v) ((-32764 <= (v)) && ((v) <= 32763)) // 2 offsets must fit. argument
|
/art/compiler/dex/quick/x86/ |
D | x86_lir.h | 743 #define IS_SIMM8(v) ((-128 <= (v)) && ((v) <= 127)) argument 744 #define IS_SIMM16(v) ((-32768 <= (v)) && ((v) <= 32767)) argument 745 #define IS_SIMM32(v) ((INT64_C(-2147483648) <= (v)) && ((v) <= INT64_C(2147483647))) argument
|
/art/runtime/mirror/ |
D | object.h | 366 int64_t v = GetField64<kVerifyFlags, kIsVolatile>(field_offset); in GetFieldPtrWithSize() local 368 DCHECK_EQ(reinterpret_cast<int64_t>(reinterpret_cast<T>(v)), v); in GetFieldPtrWithSize() 369 return reinterpret_cast<T>(v); in GetFieldPtrWithSize()
|
/art/compiler/utils/arm/ |
D | assembler_arm.cc | 887 uint32_t v = 8 + z_leading; in ModifiedImmediate() local 889 uint32_t i = (v & 0b10000) >> 4; in ModifiedImmediate() 890 uint32_t imm3 = (v >> 1) & 0b111; in ModifiedImmediate() 891 uint32_t a = v & 1; in ModifiedImmediate()
|
/art/runtime/interpreter/ |
D | interpreter_goto_table_impl.cc | 122 #define INSTRUCTION_HANDLER(o, code, n, f, r, i, a, v) &&op_##code, in ExecuteGotoImpl() argument 129 #define INSTRUCTION_HANDLER(o, code, n, f, r, i, a, v) &&alt_op_##code, in ExecuteGotoImpl() argument 2418 #define INSTRUMENTATION_INSTRUCTION_HANDLER(o, code, n, f, r, i, a, v) \ in ExecuteGotoImpl() argument
|
/art/runtime/verifier/ |
D | method_verifier.cc | 1139 extern "C" void MethodVerifierGdbDump(MethodVerifier* v) in MethodVerifierGdbDump() argument 1141 v->Dump(std::cerr); in MethodVerifierGdbDump()
|