Searched refs:base (Results 1 - 25 of 251) sorted by relevance

1234567891011

/art/test/065-mismatched-implements/src/
H A DIndirect.java25 Base base = new Base();
/art/test/066-mismatched-super/src/
H A DIndirect.java25 Base base = new Base();
/art/compiler/optimizing/
H A Ddex_cache_array_fixups_arm.cc19 #include "base/arena_containers.h"
40 * Finds instructions that need the dex cache arrays base as an input.
53 // Bring the base closer to the first use (previously, it was in the
55 // while avoiding recalculation of the base in a loop.
56 HArmDexCacheArraysBase* base = entry.second; local
57 base->MoveBeforeFirstUserAndOutOfLoops();
64 // we need to add the dex cache arrays base as the special input.
67 HArmDexCacheArraysBase* base = variable
69 // Update the element offset in base.
71 base
81 HArmDexCacheArraysBase* base = new (GetGraph()->GetArena()) HArmDexCacheArraysBase(dex_file); local
94 HArmDexCacheArraysBase* base = new (GetGraph()->GetArena()) HArmDexCacheArraysBase(dex_file); local
[all...]
H A Ddex_cache_array_fixups_mips.cc20 #include "base/arena_containers.h"
28 * Finds instructions that need the dex cache arrays base as an input.
41 // Bring the base closer to the first use (previously, it was in the
43 // while avoiding recalculation of the base in a loop.
44 HMipsDexCacheArraysBase* base = entry.second; local
45 base->MoveBeforeFirstUserAndOutOfLoops();
47 // Computing the dex cache base for PC-relative accesses will clobber RA with
58 // we need to add the dex cache arrays base as the special input.
61 // Initialize base for target method dex file if needed.
62 HMipsDexCacheArraysBase* base variable
[all...]
H A Dloop_optimization.h90 : base(b), offset(o), type(t), lhs(l) { }
93 (base < other.base) ||
94 (base == other.base &&
99 HInstruction* base; // base address member in struct:art::HLoopOptimization::ArrayReference
/art/test/564-checker-negbitwise/src/
H A DMain.java79 public static int $opt$noinline$notAnd(int base, int mask) { argument
81 return base & ~mask;
129 public static long $opt$noinline$notOr(long base, long mask) { argument
131 return base | ~mask;
176 public static int $opt$noinline$notXor(int base, int mask) { argument
178 return base ^ ~mask;
268 public static int $opt$noinline$notAndMultipleUses(int base, int mask) { argument
271 return (tmp & 0x1) + (base & tmp);
/art/runtime/base/
H A Dtransform_array_ref.h22 #include "base/array_ref.h"
23 #include "base/transform_iterator.h"
70 TransformArrayRef(const ArrayRef<OtherBT>& base, Function fn) argument
71 : data_(base, fn) { }
76 : TransformArrayRef(other.base(), other.GetFunction()) { }
85 return *this = TransformArrayRef(other.base(), other.GetFunction());
92 iterator begin() { return MakeIterator(base().begin()); }
93 const_iterator begin() const { return MakeIterator(base().cbegin()); }
94 const_iterator cbegin() const { return MakeIterator(base().cbegin()); }
95 iterator end() { return MakeIterator(base()
131 ArrayRef<BaseType> base() { function in class:art::TransformArrayRef
134 ArrayRef<const BaseType> base() const { function in class:art::TransformArrayRef
142 Data(ArrayRef<BaseType> base, Function fn) argument
[all...]
H A Dtransform_iterator.h23 #include "base/iteration_range.h"
27 // The transform iterator transforms values from the base iterator with a given
45 "Transform iterator base must be an input iterator.");
61 TransformIterator(BaseIterator base, Function fn) argument
62 : data_(base, fn) { }
66 : data_(other.base(), other.GetFunction()) {
96 return GetFunction()(*base());
104 return GetFunction()(base()[n]);
112 return TransformIterator(base() + n, GetFunction());
120 return TransformIterator(base()
132 BaseIterator base() const { function in class:art::TransformIterator
145 Data(BaseIterator base, Function fn) argument
166 MakeTransformIterator(BaseIterator base, Function f) argument
[all...]
H A Dlogging.h23 #include "android-base/logging.h"
24 #include "base/macros.h"
29 using ::android::base::LogSeverity;
30 using ::android::base::ScopedLogSeverity;
97 android::base::LogSeverity severity,
/art/compiler/utils/arm/
H A Dassembler_arm_vixl.cc128 vixl32::Register base,
133 ___ Add(temp, base, add_to_base);
137 ___ Add(temp, temp, base);
225 vixl32::Register base,
231 CHECK_NE(base.GetCode(), kIpCode);
238 // the case of a word-pair store) and `base`) to build the
241 // `base`), use it as secondary temporary register, and restore
243 tmp_reg = (base.GetCode() != 5) ? r5 : r6;
245 if (base.GetCode() == kSpCode) {
251 offset = AdjustLoadStoreOffset(GetAllowedStoreOffsetBits(type), tmp_reg, base, offse
126 AdjustLoadStoreOffset(int32_t allowed_offset_bits, vixl32::Register temp, vixl32::Register base, int32_t offset) argument
223 StoreToOffset(StoreOperandType type, vixl32::Register reg, vixl32::Register base, int32_t offset) argument
281 LoadFromOffset(LoadOperandType type, vixl32::Register dest, vixl32::Register base, int32_t offset) argument
335 StoreSToOffset(vixl32::SRegister source, vixl32::Register base, int32_t offset) argument
341 StoreDToOffset(vixl32::DRegister source, vixl32::Register base, int32_t offset) argument
347 LoadSFromOffset(vixl32::SRegister reg, vixl32::Register base, int32_t offset) argument
353 LoadDFromOffset(vixl32::DRegister reg, vixl32::Register base, int32_t offset) argument
368 vixl32::Register base = sp; local
389 vixl32::Register base = sp; local
[all...]
/art/runtime/arch/mips/
H A Dasm_support_mips.S72 from unaligned (mod-4-aligned) mem location disp(base) */
73 .macro LDu feven,fodd,disp,base,temp
74 l.s \feven, \disp(\base)
75 lw \temp, \disp+4(\base)
80 to unaligned (mod-4-aligned) mem location disp(base) */
81 .macro SDu feven,fodd,disp,base,temp
83 s.s \feven, \disp(\base)
84 sw \temp, \disp+4(\base)
99 .macro LDu feven,fodd,disp,base,temp
100 l.s \feven, \disp(\base)
[all...]
/art/test/936-search-onload/
H A Dsearch_onload.cc21 #include "android-base/stringprintf.h"
22 #include "base/logging.h"
23 #include "base/macros.h"
45 std::string dex1 = android::base::StringPrintf("%s/936-search-onload.jar", dex_loc);
46 std::string dex2 = android::base::StringPrintf("%s/936-search-onload-ex.jar", dex_loc);
/art/test/918-fields/src/art/
H A DTest918.java35 private static void testField(Class<?> base, String fieldName) argument
37 Field f = base.getDeclaredField(fieldName);
42 if (base != declClass) {
43 throw new RuntimeException("Declaring class not equal: " + base + " vs " + declClass);
/art/compiler/utils/
H A Dassembler_test.h162 std::string base = fmt; local
166 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) {
167 base.replace(reg1_index, ConstexprStrLen(REG1_TOKEN), reg1_string);
172 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) {
173 base.replace(reg2_index, ConstexprStrLen(REG2_TOKEN), reg2_string);
176 size_t imm_index = base.find(IMM_TOKEN);
181 base.replace(imm_index, ConstexprStrLen(IMM_TOKEN), imm_string);
187 str += base;
216 std::string base = fmt; local
220 while ((reg1_index = base
275 std::string base = fmt; local
323 std::string base = fmt; local
525 std::string base = fmt; local
838 std::string base = fmt; local
869 std::string base = fmt; local
908 std::string base = fmt; local
947 std::string base = fmt; local
996 std::string base = fmt; local
1097 std::string base = fmt; local
[all...]
/art/runtime/
H A Dhandle_scope_test.cc19 #include "base/enums.h"
104 BaseHandleScope* base = &hs; local
109 EXPECT_TRUE(base->Contains(handles.back().GetReference()));
110 EXPECT_EQ(hs.NumberOfReferences(), base->NumberOfReferences());
113 BaseHandleScope* base = &hs; local
114 base->VisitRoots(visitor);
115 EXPECT_LE(visitor.visited.size(), base->NumberOfReferences());
116 EXPECT_EQ(visitor.total_visited, base->NumberOfReferences());
118 EXPECT_TRUE(base->Contains(ref));
H A Dexec_utils.cc24 #include "android-base/stringprintf.h"
25 #include "android-base/strings.h"
31 using android::base::StringAppendF;
32 using android::base::StringPrintf;
35 const std::string command_line(android::base::Join(arg_vector, ' '));
94 const std::string command_line(android::base::Join(arg_vector, ' '));
H A Dimage-inl.h52 uint8_t* base,
56 ImTable* imt = reinterpret_cast<ImTable*>(base + section.Offset() + pos);
70 uint8_t* base,
74 auto* table = reinterpret_cast<ImtConflictTable*>(base + section.Offset() + pos);
51 VisitPackedImTables(const Visitor& visitor, uint8_t* base, PointerSize pointer_size) const argument
69 VisitPackedImtConflictTables(const Visitor& visitor, uint8_t* base, PointerSize pointer_size) const argument
/art/test/910-methods/src/art/
H A DTest910.java43 Class<?> base = Class.forName(className);
44 testMethod(base, methodName, types);
47 private static void testMethod(Class<?> base, String methodName, Class<?>... types) argument
49 Method m = base.getDeclaredMethod(methodName, types);
50 testMethod(m, base, true);
53 private static void testMethod(Method m, Class<?> base, boolean printName) { argument
63 if (base != declClass) {
64 throw new RuntimeException("Declaring class not equal: " + base + " vs " + declClass);
/art/test/971-iface-super/util-src/
H A Dgenerate_java.py21 import generate_smali as base namespace
82 if isinstance(f, base.TestInterface):
83 JavaConverter(f.get_specific_version(base.InterfaceType.default)).dump(self.temp_dir)
89 ifaces = set(i for i in self.sources if isinstance(i, base.TestInterface))
91 converters = (lambda a: JavaConverter(a.get_specific_version(base.InterfaceType.default)),
92 lambda a: JavaConverter(a.get_specific_version(base.InterfaceType.empty)))
129 mainclass, all_files = base.create_all_test_files()
/art/tools/ahat/src/
H A DObjectHandler.java62 AhatInstance base = inst.getBaseline();
76 sizeDescription.appendDelta(false, base.isPlaceHolder(),
77 inst.getSize(), base.getSize());
81 rsizeDescription.appendDelta(false, base.isPlaceHolder(),
82 inst.getTotalRetainedSize(), base.getTotalRetainedSize());
115 AhatInstance base = inst.getBaseline();
117 if (!base.isPlaceHolder()) {
118 Diff.fields(fields, base.asClassInstance().getInstanceFields());
121 printFields(doc, inst != base && !base
[all...]
/art/compiler/utils/arm64/
H A Djni_macro_assembler_arm64.cc19 #include "base/logging.h"
97 XRegister base,
101 ___ Strb(reg_w(source), MEM_OP(reg_x(base), offset));
104 ___ Strh(reg_w(source), MEM_OP(reg_x(base), offset));
107 ___ Str(reg_w(source), MEM_OP(reg_x(base), offset));
114 void Arm64JNIMacroAssembler::StoreToOffset(XRegister source, XRegister base, int32_t offset) { argument
116 ___ Str(reg_x(source), MEM_OP(reg_x(base), offset));
119 void Arm64JNIMacroAssembler::StoreSToOffset(SRegister source, XRegister base, int32_t offset) { argument
120 ___ Str(reg_s(source), MEM_OP(reg_x(base), offset));
123 void Arm64JNIMacroAssembler::StoreDToOffset(DRegister source, XRegister base, int32_ argument
95 StoreWToOffset(StoreOperandType type, WRegister source, XRegister base, int32_t offset) argument
214 LoadWFromOffset(LoadOperandType type, WRegister dest, XRegister base, int32_t offset) argument
241 LoadFromOffset(XRegister dest, XRegister base, int32_t offset) argument
246 LoadSFromOffset(SRegister dest, XRegister base, int32_t offset) argument
250 LoadDFromOffset(DRegister dest, XRegister base, int32_t offset) argument
254 Load(Arm64ManagedRegister dest, XRegister base, int32_t offset, size_t size) argument
303 Arm64ManagedRegister base = m_base.AsArm64(); local
317 Arm64ManagedRegister base = m_base.AsArm64(); local
412 Arm64ManagedRegister base = src_base.AsArm64(); local
434 Arm64ManagedRegister base = m_dest_base.AsArm64(); local
536 Arm64ManagedRegister base = m_base.AsArm64(); local
544 Call(FrameOffset base, Offset offs, ManagedRegister m_scratch) argument
[all...]
H A Djni_macro_assembler_arm64.h25 #include "base/arena_containers.h"
26 #include "base/enums.h"
27 #include "base/logging.h"
84 ManagedRegister base,
87 void LoadRawPtr(ManagedRegister dest, ManagedRegister base, Offset offs) OVERRIDE;
162 // Call to address held at [base+offset].
163 void Call(ManagedRegister base, Offset offset, ManagedRegister scratch) OVERRIDE;
164 void Call(FrameOffset base, Offset offset, ManagedRegister scratch) OVERRIDE;
205 XRegister base,
207 void StoreToOffset(XRegister source, XRegister base, int32_
[all...]
/art/test/106-exceptions2/src/
H A DMain.java134 Main base = new Main();
138 base.ifoo = x;
139 return base.noThrow(a,b,c);
143 Main base = new Main();
150 base.ifoo = x;
151 return base.checkThrow(a,b,c,d,e,f);
/art/test/968-default-partial-compile-gen/util-src/
H A Dgenerate_java.py21 import generate_smali as base namespace
82 if isinstance(f, base.TestInterface):
83 JavaConverter(f.get_specific_version(base.InterfaceType.default)).dump(self.temp_dir)
89 ifaces = set(i for i in self.sources if isinstance(i, base.TestInterface))
102 out = JavaConverter(overridden.get_specific_version(base.InterfaceType.empty))
125 mainclass, all_files = base.create_all_test_files()
/art/test/970-iface-super-resolution-gen/util-src/
H A Dgenerate_java.py21 import generate_smali as base namespace
63 mainclass, all_files = base.create_all_test_files()
72 if isinstance(f, base.TestInterface):

Completed in 997 milliseconds

1234567891011