Home
last modified time | relevance | path

Searched refs:push_back (Results 1 – 25 of 160) sorted by relevance

1234567

/art/compiler/utils/arm/
Dassembler_arm32_test.cc103 conditions_.push_back(arm::Condition::EQ); in SetUpHelpers()
104 conditions_.push_back(arm::Condition::NE); in SetUpHelpers()
105 conditions_.push_back(arm::Condition::CS); in SetUpHelpers()
106 conditions_.push_back(arm::Condition::CC); in SetUpHelpers()
107 conditions_.push_back(arm::Condition::MI); in SetUpHelpers()
108 conditions_.push_back(arm::Condition::PL); in SetUpHelpers()
109 conditions_.push_back(arm::Condition::VS); in SetUpHelpers()
110 conditions_.push_back(arm::Condition::VC); in SetUpHelpers()
111 conditions_.push_back(arm::Condition::HI); in SetUpHelpers()
112 conditions_.push_back(arm::Condition::LS); in SetUpHelpers()
[all …]
/art/compiler/utils/
Ddedupe_set_test.cc47 test1.push_back(10); in TEST()
48 test1.push_back(20); in TEST()
49 test1.push_back(30); in TEST()
50 test1.push_back(45); in TEST()
60 test1.push_back(10); in TEST()
61 test1.push_back(20); in TEST()
62 test1.push_back(30); in TEST()
63 test1.push_back(45); in TEST()
72 test1.push_back(10); in TEST()
73 test1.push_back(22); in TEST()
[all …]
Dassembler_test_base.h206 args.push_back(GetAssemblerCommand()); in Assemble()
207 args.push_back("-o"); in Assemble()
208 args.push_back(to_file); in Assemble()
209 args.push_back(from_file); in Assemble()
213 args.push_back("/bin/sh"); in Assemble()
214 args.push_back("-c"); in Assemble()
215 args.push_back(cmd); in Assemble()
242 args.push_back(GetObjdumpCommand()); in Objdump()
243 args.push_back(file); in Objdump()
244 args.push_back(">"); in Objdump()
[all …]
Dmanaged_register.h118 void push_back(ManagedRegister __x) { in push_back() function
120 std::vector<ManagedRegisterSpill>::push_back(spill); in push_back()
123 void push_back(ManagedRegister __x, int32_t __size) { in push_back() function
125 std::vector<ManagedRegisterSpill>::push_back(spill); in push_back()
128 void push_back(ManagedRegisterSpill __x) { in push_back() function
129 std::vector<ManagedRegisterSpill>::push_back(__x); in push_back()
Dswap_space_test.cc45 v.push_back(i); in SwapTest()
52 v2.push_back(i); in SwapTest()
59 v3.push_back(i); in SwapTest()
Dassembler_test.h302 res.push_back(0);
304 res.push_back(-1);
306 res.push_back(0xFF);
308 res.push_back(0x12);
310 res.push_back(0x1234);
312 res.push_back(-0x1234);
314 res.push_back(0xFFFF);
317 res.push_back(0x12345678);
319 res.push_back(-0x12345678);
321 res.push_back(0xFFFFFFFF);
[all …]
/art/runtime/
Dparsed_options_test.cc44 options.push_back(std::make_pair(boot_class_path.c_str(), nullptr)); in TEST_F()
45 options.push_back(std::make_pair("-classpath", nullptr)); in TEST_F()
46 options.push_back(std::make_pair(lib_core.c_str(), nullptr)); in TEST_F()
47 options.push_back(std::make_pair("-cp", nullptr)); in TEST_F()
48 options.push_back(std::make_pair(lib_core.c_str(), nullptr)); in TEST_F()
49 options.push_back(std::make_pair("-Ximage:boot_image", nullptr)); in TEST_F()
50 options.push_back(std::make_pair("-Xcheck:jni", nullptr)); in TEST_F()
51 options.push_back(std::make_pair("-Xms2048", nullptr)); in TEST_F()
52 options.push_back(std::make_pair("-Xmx4k", nullptr)); in TEST_F()
53 options.push_back(std::make_pair("-Xss1m", nullptr)); in TEST_F()
[all …]
Dexception_test.cc56 fake_code_.push_back(0x70 | i); in SetUp()
71 fake_gc_map_.push_back(0); // 0 bytes to encode references and native pc offsets. in SetUp()
72 fake_gc_map_.push_back(0); in SetUp()
73 fake_gc_map_.push_back(0); // 0 entries. in SetUp()
74 fake_gc_map_.push_back(0); in SetUp()
183 fake_stack.push_back(reinterpret_cast<uintptr_t>(save_method)); in TEST_F()
186 fake_stack.push_back(0); in TEST_F()
189 fake_stack.push_back(method_g_->ToNativeQuickPc(dex_pc)); // return pc in TEST_F()
192 fake_stack.push_back(reinterpret_cast<uintptr_t>(method_g_)); in TEST_F()
193 fake_stack.push_back(0); in TEST_F()
[all …]
Dutils_test.cc221 expected.push_back("foo"); in TEST_F()
235 expected.push_back("bar"); in TEST_F()
253 expected.push_back("baz"); in TEST_F()
279 strings.push_back("foo"); in TEST_F()
283 strings.push_back(""); in TEST_F()
284 strings.push_back("foo"); in TEST_F()
288 strings.push_back("foo"); in TEST_F()
289 strings.push_back(""); in TEST_F()
293 strings.push_back(""); in TEST_F()
294 strings.push_back("foo"); in TEST_F()
[all …]
Doat_file_assistant.cc223 dex_files.push_back(std::move(dex_file)); in LoadDexFiles()
239 dex_files.push_back(std::move(dex_file)); in LoadDexFiles()
631 argv.push_back(runtime->GetPatchoatExecutable()); in CopyProfileFile()
632 argv.push_back("--instruction-set=" + std::string(GetInstructionSetString(isa_))); in CopyProfileFile()
633 argv.push_back("--input-oat-file=" + input_file_name); in CopyProfileFile()
634 argv.push_back("--output-oat-file=" + oat_file_name); in CopyProfileFile()
635 argv.push_back("--patched-image-location=" + image_info->location); in CopyProfileFile()
669 args.push_back("--dex-file=" + std::string(dex_location_)); in CopyProfileFile()
670 args.push_back("--oat-file=" + oat_file_name); in CopyProfileFile()
707 argv.push_back(runtime->GetCompilerExecutable()); in CopyProfileFile()
[all …]
Dleb128.h135 dest->push_back(out | 0x80); in EncodeUnsignedLeb128()
139 dest->push_back(out); in EncodeUnsignedLeb128()
173 dest->push_back(out | 0x80); in EncodeSignedLeb128()
178 dest->push_back(out); in EncodeSignedLeb128()
/art/runtime/jdwp/
Djdwp_bits.h36 bytes.push_back(value); in Append1BE()
40 bytes.push_back(static_cast<uint8_t>(value >> 8)); in Append2BE()
41 bytes.push_back(static_cast<uint8_t>(value)); in Append2BE()
45 bytes.push_back(static_cast<uint8_t>(value >> 24)); in Append4BE()
46 bytes.push_back(static_cast<uint8_t>(value >> 16)); in Append4BE()
47 bytes.push_back(static_cast<uint8_t>(value >> 8)); in Append4BE()
48 bytes.push_back(static_cast<uint8_t>(value)); in Append4BE()
52 bytes.push_back(static_cast<uint8_t>(value >> 56)); in Append8BE()
53 bytes.push_back(static_cast<uint8_t>(value >> 48)); in Append8BE()
54 bytes.push_back(static_cast<uint8_t>(value >> 40)); in Append8BE()
[all …]
/art/compiler/dwarf/
Dwriter.h35 data_->push_back(value & 0xff); in PushUint8()
41 data_->push_back((value >> 0) & 0xff); in PushUint16()
42 data_->push_back((value >> 8) & 0xff); in PushUint16()
46 data_->push_back((value >> 0) & 0xff); in PushUint32()
47 data_->push_back((value >> 8) & 0xff); in PushUint32()
48 data_->push_back((value >> 16) & 0xff); in PushUint32()
49 data_->push_back((value >> 24) & 0xff); in PushUint32()
63 data_->push_back((value >> 0) & 0xff); in PushUint64()
64 data_->push_back((value >> 8) & 0xff); in PushUint64()
65 data_->push_back((value >> 16) & 0xff); in PushUint64()
[all …]
/art/compiler/jni/quick/arm/
Dcalling_convention_arm.cc133 entry_spills_.push_back(ArmManagedRegister::FromCoreRegister(R1)); in EntrySpills()
135 entry_spills_.push_back(ArmManagedRegister::FromCoreRegister(R2)); in EntrySpills()
137 entry_spills_.push_back(ArmManagedRegister::FromCoreRegister(R3)); in EntrySpills()
155 entry_spills_.push_back( in EntrySpills()
158 entry_spills_.push_back(ManagedRegister::NoRegister(), 8); in EntrySpills()
166 entry_spills_.push_back( in EntrySpills()
169 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
184 entry_spills_.push_back( in EntrySpills()
188 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
190 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
[all …]
/art/compiler/jni/quick/mips/
Dcalling_convention_mips.cc95 entry_spills_.push_back(MipsManagedRegister::FromCoreRegister(A1)); in EntrySpills()
97 entry_spills_.push_back(MipsManagedRegister::FromCoreRegister(A2)); in EntrySpills()
99 entry_spills_.push_back(MipsManagedRegister::FromCoreRegister(A3)); in EntrySpills()
126 callee_save_regs_.push_back(MipsManagedRegister::FromCoreRegister(T0)); in MipsJniCallingConvention()
127 callee_save_regs_.push_back(MipsManagedRegister::FromCoreRegister(T1)); in MipsJniCallingConvention()
128 callee_save_regs_.push_back(MipsManagedRegister::FromCoreRegister(T2)); in MipsJniCallingConvention()
129 callee_save_regs_.push_back(MipsManagedRegister::FromCoreRegister(T3)); in MipsJniCallingConvention()
130 callee_save_regs_.push_back(MipsManagedRegister::FromCoreRegister(T4)); in MipsJniCallingConvention()
131 callee_save_regs_.push_back(MipsManagedRegister::FromCoreRegister(T5)); in MipsJniCallingConvention()
132 callee_save_regs_.push_back(MipsManagedRegister::FromCoreRegister(T6)); in MipsJniCallingConvention()
[all …]
/art/compiler/jni/quick/x86_64/
Dcalling_convention_x86_64.cc116 entry_spills_.push_back(spill); in EntrySpills()
129 callee_save_regs_.push_back(X86_64ManagedRegister::FromCpuRegister(RBX)); in X86_64JniCallingConvention()
130 callee_save_regs_.push_back(X86_64ManagedRegister::FromCpuRegister(RBP)); in X86_64JniCallingConvention()
131 callee_save_regs_.push_back(X86_64ManagedRegister::FromCpuRegister(R12)); in X86_64JniCallingConvention()
132 callee_save_regs_.push_back(X86_64ManagedRegister::FromCpuRegister(R13)); in X86_64JniCallingConvention()
133 callee_save_regs_.push_back(X86_64ManagedRegister::FromCpuRegister(R14)); in X86_64JniCallingConvention()
134 callee_save_regs_.push_back(X86_64ManagedRegister::FromCpuRegister(R15)); in X86_64JniCallingConvention()
135 callee_save_regs_.push_back(X86_64ManagedRegister::FromXmmRegister(XMM12)); in X86_64JniCallingConvention()
136 callee_save_regs_.push_back(X86_64ManagedRegister::FromXmmRegister(XMM13)); in X86_64JniCallingConvention()
137 callee_save_regs_.push_back(X86_64ManagedRegister::FromXmmRegister(XMM14)); in X86_64JniCallingConvention()
[all …]
/art/compiler/jni/quick/mips64/
Dcalling_convention_mips64.cc107 entry_spills_.push_back(reg, IsCurrentParamADouble() ? 8 : 4); in EntrySpills()
111 entry_spills_.push_back(reg, in EntrySpills()
129 callee_save_regs_.push_back(Mips64ManagedRegister::FromGpuRegister(S2)); in Mips64JniCallingConvention()
130 callee_save_regs_.push_back(Mips64ManagedRegister::FromGpuRegister(S3)); in Mips64JniCallingConvention()
131 callee_save_regs_.push_back(Mips64ManagedRegister::FromGpuRegister(S4)); in Mips64JniCallingConvention()
132 callee_save_regs_.push_back(Mips64ManagedRegister::FromGpuRegister(S5)); in Mips64JniCallingConvention()
133 callee_save_regs_.push_back(Mips64ManagedRegister::FromGpuRegister(S6)); in Mips64JniCallingConvention()
134 callee_save_regs_.push_back(Mips64ManagedRegister::FromGpuRegister(S7)); in Mips64JniCallingConvention()
135 callee_save_regs_.push_back(Mips64ManagedRegister::FromGpuRegister(GP)); in Mips64JniCallingConvention()
136 callee_save_regs_.push_back(Mips64ManagedRegister::FromGpuRegister(S8)); in Mips64JniCallingConvention()
/art/compiler/dex/quick/x86/
Dassemble_x86.cc948 code_buffer_.push_back(THREAD_PREFIX_GS); in EmitPrefix()
953 code_buffer_.push_back(rex); in EmitPrefix()
956 code_buffer_.push_back(entry->skeleton.prefix1); in EmitPrefix()
963 code_buffer_.push_back(rex); in EmitPrefix()
966 code_buffer_.push_back(entry->skeleton.prefix2); in EmitPrefix()
974 code_buffer_.push_back(rex); in EmitPrefix()
979 code_buffer_.push_back(entry->skeleton.opcode); in EmitOpcode()
981 code_buffer_.push_back(entry->skeleton.extra_opcode1); in EmitOpcode()
983 code_buffer_.push_back(entry->skeleton.extra_opcode2); in EmitOpcode()
1004 code_buffer_.push_back(disp & 0xFF); in EmitDisp()
[all …]
/art/compiler/jni/quick/arm64/
Dcalling_convention_arm64.cc122 … entry_spills_.push_back(Arm64ManagedRegister::FromSRegister(kSArgumentRegisters[fp_reg_index])); in EntrySpills()
124 … entry_spills_.push_back(Arm64ManagedRegister::FromDRegister(kDArgumentRegisters[fp_reg_index])); in EntrySpills()
129 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
131 entry_spills_.push_back(ManagedRegister::NoRegister(), 8); in EntrySpills()
137 … entry_spills_.push_back(Arm64ManagedRegister::FromXRegister(kXArgumentRegisters[gp_reg_index])); in EntrySpills()
139 … entry_spills_.push_back(Arm64ManagedRegister::FromWRegister(kWArgumentRegisters[gp_reg_index])); in EntrySpills()
144 entry_spills_.push_back(ManagedRegister::NoRegister(), 8); in EntrySpills()
146 entry_spills_.push_back(ManagedRegister::NoRegister(), 4); in EntrySpills()
164 callee_save_regs_.push_back( in Arm64JniCallingConvention()
172 callee_save_regs_.push_back( in Arm64JniCallingConvention()
/art/oatdump/
Doatdump_test.cc68 exec_argv.push_back("--symbolize=" + core_oat_location_); in Exec()
69 exec_argv.push_back("--output=" + core_oat_location_ + ".symbolize"); in Exec()
71 exec_argv.push_back("--image=" + core_art_location_); in Exec()
72 exec_argv.push_back("--output=/dev/null"); in Exec()
75 exec_argv.push_back("--oat-file=" + core_oat_location_); in Exec()
76 exec_argv.push_back("--output=/dev/null"); in Exec()
/art/compiler/
Delf_builder.h117 dynamics_.push_back({tag, value, section}); in AddDynamicTag()
134 buffer.push_back( in Write()
137 buffer.push_back({it.tag_, {it.value_}}); in Write()
140 buffer.push_back({DT_NULL, {0}}); in Write()
307 symbols_.push_back({ name, section, addr, size, is_relative,
328 buffer.push_back(Elf_Sym()); // NULL. in Write()
341 buffer.push_back(sym); in Write()
425 hash.push_back(nbuckets); in Write()
426 hash.push_back(chain_size); in Write()
609 sections.push_back(&dynsym_); in Write()
[all …]
/art/compiler/utils/x86_64/
Dassembler_x86_64_test.cc143 registers_.push_back(new x86_64::CpuRegister(x86_64::RAX)); in SetUpHelpers()
144 registers_.push_back(new x86_64::CpuRegister(x86_64::RBX)); in SetUpHelpers()
145 registers_.push_back(new x86_64::CpuRegister(x86_64::RCX)); in SetUpHelpers()
146 registers_.push_back(new x86_64::CpuRegister(x86_64::RDX)); in SetUpHelpers()
147 registers_.push_back(new x86_64::CpuRegister(x86_64::RBP)); in SetUpHelpers()
148 registers_.push_back(new x86_64::CpuRegister(x86_64::RSP)); in SetUpHelpers()
149 registers_.push_back(new x86_64::CpuRegister(x86_64::RSI)); in SetUpHelpers()
150 registers_.push_back(new x86_64::CpuRegister(x86_64::RDI)); in SetUpHelpers()
151 registers_.push_back(new x86_64::CpuRegister(x86_64::R8)); in SetUpHelpers()
152 registers_.push_back(new x86_64::CpuRegister(x86_64::R9)); in SetUpHelpers()
[all …]
/art/compiler/jni/quick/x86/
Dcalling_convention_x86.cc137 entry_spills_.push_back(spill); in EntrySpills()
144 entry_spills_.push_back(spill2); in EntrySpills()
172 callee_save_regs_.push_back(X86ManagedRegister::FromCpuRegister(EBP)); in X86JniCallingConvention()
173 callee_save_regs_.push_back(X86ManagedRegister::FromCpuRegister(ESI)); in X86JniCallingConvention()
174 callee_save_regs_.push_back(X86ManagedRegister::FromCpuRegister(EDI)); in X86JniCallingConvention()
/art/runtime/verifier/
Dreg_type_cache.cc49 entries_.push_back(UndefinedType::GetInstance()); in FillPrimitiveAndSmallConstantTypes()
50 entries_.push_back(ConflictType::GetInstance()); in FillPrimitiveAndSmallConstantTypes()
51 entries_.push_back(BooleanType::GetInstance()); in FillPrimitiveAndSmallConstantTypes()
52 entries_.push_back(ByteType::GetInstance()); in FillPrimitiveAndSmallConstantTypes()
53 entries_.push_back(ShortType::GetInstance()); in FillPrimitiveAndSmallConstantTypes()
54 entries_.push_back(CharType::GetInstance()); in FillPrimitiveAndSmallConstantTypes()
55 entries_.push_back(IntegerType::GetInstance()); in FillPrimitiveAndSmallConstantTypes()
56 entries_.push_back(LongLoType::GetInstance()); in FillPrimitiveAndSmallConstantTypes()
57 entries_.push_back(LongHiType::GetInstance()); in FillPrimitiveAndSmallConstantTypes()
58 entries_.push_back(FloatType::GetInstance()); in FillPrimitiveAndSmallConstantTypes()
[all …]
/art/runtime/base/
Dhistogram-inl.h83 frequency_.push_back(0); in GrowBuckets()
111 frequency_.push_back(0); in Initialize()
208 out_data->freq_.push_back(accumulated); in CreateHistogram()
209 out_data->perc_.push_back(0.0); in CreateHistogram()
212 out_data->freq_.push_back(accumulated); in CreateHistogram()
213 out_data->perc_.push_back(static_cast<double>(accumulated) / static_cast<double>(sample_size_)); in CreateHistogram()

1234567