Home
last modified time | relevance | path

Searched refs:v (Results 1 – 23 of 23) sorted by relevance

/art/runtime/base/
Dstl_util.h27 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/
Dinstruction_nodes.h82 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 …]
Dsea.h69 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/
Dswap_space_test.cc42 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()
Darray_ref.h85 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()) {
Dscoped_hashtable_test.cc27 explicit Value(int v):value_(v) {} in Value() argument
Dscoped_hashtable.h50 void Add(K k, V v) { in Add() argument
52 scopes.front().insert(std::pair< K, V >(k, v)); in Add()
/art/runtime/
Dsafe_map.h89 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()
Dinstruction_set.h197 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()
Ddex_instruction_visitor.h35 #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
Ddex_instruction.cc30 #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
Djni_internal.cc1523 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 …]
Dutils.h297 V v;
300 return tmp.v;
Ddex_instruction.h86 #define INSTRUCTION_ENUM(opcode, cname, p, f, r, i, a, v) cname = opcode, argument
Ddebugger.cc1900 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()
Djni_internal_test.cc639 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/
Drosalloc.cc824 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/
Dmips_lir.h511 #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/
Dx86_lir.h743 #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/
Dobject.h366 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/
Dassembler_arm.cc887 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/
Dinterpreter_goto_table_impl.cc122 #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/
Dmethod_verifier.cc1139 extern "C" void MethodVerifierGdbDump(MethodVerifier* v) in MethodVerifierGdbDump() argument
1141 v->Dump(std::cerr); in MethodVerifierGdbDump()