Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 106) sorted by relevance

12345

/art/compiler/dex/
Dbb_optimizations.h34 void Start(PassDataHolder* data) const { in Start() argument
35 DCHECK(data != nullptr); in Start()
36 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
41 bool Gate(const PassDataHolder* data) const { in Gate() argument
42 DCHECK(data != nullptr); in Gate()
43 CompilationUnit* c_unit = down_cast<const PassMEDataHolder*>(data)->c_unit; in Gate()
58 void Start(PassDataHolder* data) const { in Start() argument
59 DCHECK(data != nullptr); in Start()
60 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
65 bool Gate(const PassDataHolder* data) const { in Gate() argument
[all …]
Dpost_opt_passes.h35 void Start(PassDataHolder* data) const { in Start() argument
38 DCHECK(data != nullptr); in Start()
39 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
55 bool Worker(const PassDataHolder* data) const;
57 bool Gate(const PassDataHolder* data) const;
69 bool Worker(const PassDataHolder* data) const;
81 void Start(PassDataHolder* data) const;
93 void Start(PassDataHolder* data) const { in Start() argument
94 DCHECK(data != nullptr); in Start()
95 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
[all …]
Dbb_optimizations.cc26 bool CodeLayout::Worker(const PassDataHolder* data) const { in Worker()
27 DCHECK(data != nullptr); in Worker()
28 const PassMEDataHolder* pass_me_data_holder = down_cast<const PassMEDataHolder*>(data); in Worker()
41 bool BBCombine::Worker(const PassDataHolder* data) const { in Worker()
42 DCHECK(data != nullptr); in Worker()
43 const PassMEDataHolder* pass_me_data_holder = down_cast<const PassMEDataHolder*>(data); in Worker()
57 void BBOptimizations::Start(PassDataHolder* data) const { in Start()
58 DCHECK(data != nullptr); in Start()
59 CompilationUnit* c_unit = down_cast<PassMEDataHolder*>(data)->c_unit; in Start()
Dpost_opt_passes.cc26 bool MethodUseCount::Gate(const PassDataHolder* data) const { in Gate()
27 DCHECK(data != nullptr); in Gate()
28 CompilationUnit* c_unit = down_cast<const PassMEDataHolder*>(data)->c_unit; in Gate()
39 bool MethodUseCount::Worker(const PassDataHolder* data) const { in Worker()
40 DCHECK(data != nullptr); in Worker()
41 const PassMEDataHolder* pass_me_data_holder = down_cast<const PassMEDataHolder*>(data); in Worker()
52 bool ClearPhiInstructions::Worker(const PassDataHolder* data) const { in Worker()
53 DCHECK(data != nullptr); in Worker()
54 const PassMEDataHolder* pass_me_data_holder = down_cast<const PassMEDataHolder*>(data); in Worker()
77 void CalculatePredecessors::Start(PassDataHolder* data) const { in Start()
[all …]
Dpass.h56 virtual bool Gate(const PassDataHolder* data) const { in Gate() argument
58 UNUSED(data); in Gate()
67 virtual void Start(PassDataHolder* data) const { in Start() argument
69 UNUSED(data); in Start()
75 virtual void End(PassDataHolder* data) const { in End() argument
77 UNUSED(data); in End()
84 virtual bool Worker(const PassDataHolder* data) const { in Worker() argument
86 UNUSED(data); in Worker()
Dpass_driver_me.h159 static void DoWalkBasicBlocks(PassMEDataHolder* data, const PassME* pass, in DoWalkBasicBlocks() argument
165 data->bb = bb; in DoWalkBasicBlocks()
166 change = pass->Worker(data); in DoWalkBasicBlocks()
171 inline static void DoWalkBasicBlocks(PassMEDataHolder* data, const PassME* pass) { in DoWalkBasicBlocks() argument
172 DCHECK(data != nullptr); in DoWalkBasicBlocks()
173 CompilationUnit* c_unit = data->c_unit; in DoWalkBasicBlocks()
176 DoWalkBasicBlocks(data, pass, &iterator); in DoWalkBasicBlocks()
/art/compiler/optimizing/
Dcodegen_test.cc69 static void TestCode(const uint16_t* data, bool has_result = false, int32_t expected = 0) { in TestCode() argument
73 const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); in TestCode()
100 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM(Instruction::RETURN_VOID); in TEST() local
101 TestCode(data); in TEST()
105 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST() local
109 TestCode(data); in TEST()
113 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST() local
118 TestCode(data); in TEST()
145 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST() local
150 TestCode(data); in TEST()
[all …]
Dssa_test.cc78 static void TestCode(const uint16_t* data, const char* expected) { in TestCode() argument
82 const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); in TestCode()
122 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
128 TestCode(data, expected); in TEST()
153 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
159 TestCode(data, expected); in TEST()
184 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
192 TestCode(data, expected); in TEST()
217 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
223 TestCode(data, expected); in TEST()
[all …]
Dliveness_test.cc42 static void TestCode(const uint16_t* data, const char* expected) { in TestCode() argument
46 const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); in TestCode()
87 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
91 TestCode(data, expected); in TEST()
109 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
113 TestCode(data, expected); in TEST()
135 const uint16_t data[] = TWO_REGISTERS_CODE_ITEM( in TEST() local
142 TestCode(data, expected); in TEST()
182 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
190 TestCode(data, expected); in TEST()
[all …]
Ddominator_test.cc27 static void TestCode(const uint16_t* data, const int* blocks, size_t blocks_length) { in TestCode() argument
31 const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); in TestCode()
47 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST() local
56 TestCode(data, dominators, sizeof(dominators) / sizeof(int)); in TEST()
60 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST() local
71 TestCode(data, dominators, sizeof(dominators) / sizeof(int)); in TEST()
75 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST() local
88 TestCode(data, dominators, sizeof(dominators) / sizeof(int)); in TEST()
142 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST() local
155 TestCode(data, dominators, sizeof(dominators) / sizeof(int)); in TEST()
[all …]
Dpretty_printer_test.cc30 static void TestCode(const uint16_t* data, const char* expected) { in TestCode() argument
34 const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); in TestCode()
43 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST() local
54 TestCode(data, expected); in TEST()
68 const uint16_t data[] = in TEST() local
73 TestCode(data, expected); in TEST()
89 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST() local
94 TestCode(data, expected); in TEST()
164 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST() local
169 TestCode(data, expected); in TEST()
[all …]
Dlinearize_test.cc36 static void TestCode(const uint16_t* data, const int* expected_order, size_t number_of_blocks) { in TestCode() argument
40 const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); in TestCode()
73 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
81 TestCode(data, blocks, 9); in TEST()
98 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
106 TestCode(data, blocks, 9); in TEST()
124 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
133 TestCode(data, blocks, 10); in TEST()
154 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
163 TestCode(data, blocks, 12); in TEST()
[all …]
Dfind_loops_test.cc30 static HGraph* TestCode(const uint16_t* data, ArenaPool* pool) { in TestCode() argument
33 const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); in TestCode()
42 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
47 HGraph* graph = TestCode(data, &arena); in TEST()
54 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
59 HGraph* graph = TestCode(data, &arena); in TEST()
66 const uint16_t data[] = TWO_REGISTERS_CODE_ITEM( in TEST() local
74 HGraph* graph = TestCode(data, &arena); in TEST()
81 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
90 HGraph* graph = TestCode(data, &arena); in TEST()
[all …]
Dregister_allocator_test.cc34 static bool Check(const uint16_t* data) { in Check() argument
38 const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); in Check()
155 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
159 ASSERT_TRUE(Check(data)); in TEST()
190 const uint16_t data[] = TWO_REGISTERS_CODE_ITEM( in TEST() local
198 ASSERT_TRUE(Check(data)); in TEST()
234 const uint16_t data[] = TWO_REGISTERS_CODE_ITEM( in TEST() local
247 ASSERT_TRUE(Check(data)); in TEST()
250 static HGraph* BuildSSAGraph(const uint16_t* data, ArenaAllocator* allocator) { in BuildSSAGraph() argument
252 const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); in BuildSSAGraph()
[all …]
Dlive_ranges_test.cc30 static HGraph* BuildGraph(const uint16_t* data, ArenaAllocator* allocator) { in BuildGraph() argument
32 const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); in BuildGraph()
53 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
59 HGraph* graph = BuildGraph(data, &allocator); in TEST()
98 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
106 HGraph* graph = BuildGraph(data, &allocator); in TEST()
147 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST() local
155 HGraph* graph = BuildGraph(data, &allocator); in TEST()
221 const uint16_t data[] = TWO_REGISTERS_CODE_ITEM( in TEST() local
231 HGraph* graph = BuildGraph(data, &allocator); in TEST()
/art/runtime/base/
Dhistogram_test.cc68 Histogram<uint64_t>::CumulativeData data; in TEST() local
88 hist->CreateHistogram(&data); in TEST()
89 PerValue = hist->Percentile(0.50, data); in TEST()
95 Histogram<uint64_t>::CumulativeData data; in TEST() local
120 hist->CreateHistogram(&data); in TEST()
121 PerValue = hist->Percentile(0.50, data); in TEST()
126 hist->PrintConfidenceIntervals(stream, 0.99, data); in TEST()
162 Histogram<uint64_t>::CumulativeData data; in TEST() local
163 hist->CreateHistogram(&data); in TEST()
164 PerValue = hist->Percentile(0.50, data); in TEST()
[all …]
Dhistogram-inl.h152 inline void Histogram<Value>::PrintBins(std::ostream& os, const CumulativeData& data) const { in PrintBins() argument
154 for (size_t bin_idx = 0; bin_idx < data.freq_.size(); ++bin_idx) { in PrintBins()
155 if (bin_idx > 0 && data.perc_[bin_idx] == data.perc_[bin_idx - 1]) { in PrintBins()
159 os << GetRange(bin_idx) << ": " << data.freq_[bin_idx] << "\t" in PrintBins()
160 << data.perc_[bin_idx] * 100.0 << "%\n"; in PrintBins()
166 const CumulativeData& data) const { in PrintConfidenceIntervals() argument
174 << (interval * 100) << "% C.I. " << FormatDuration(Percentile(per_0, data) * kAdjust, unit, in PrintConfidenceIntervals()
176 << "-" << FormatDuration(Percentile(per_1, data) * kAdjust, unit, kFractionalDigits) << " " in PrintConfidenceIntervals()
199 inline double Histogram<Value>::Percentile(double per, const CumulativeData& data) const { in Percentile() argument
200 DCHECK_GT(data.perc_.size(), 0ull); in Percentile()
[all …]
Dstringpiece.h52 : ptr_(str.data()), length_(static_cast<int>(str.size())) { } in StringPiece()
59 const char* data() const { return ptr_; } in data() function
68 void set(const char* data, int len) { in set() argument
69 ptr_ = data; in set()
79 void set(const void* data, int len) { in set() argument
80 ptr_ = reinterpret_cast<const char*>(data); in set()
98 return std::string(data(), size()); in as_string()
106 return std::string(data(), size()); in ToString()
167 const char* p1 = x.data();
168 const char* p2 = y.data();
[all …]
Dlogging_linux.cc31 void LogMessage::LogLine(const LogMessageData& data, const char* message) { in LogLine() argument
32 char severity = "VDIWEFF"[data.severity]; in LogLine()
35 data.file, data.line_number, message); in LogLine()
Dlogging_android.cc33 void LogMessage::LogLine(const LogMessageData& data, const char* message) { in LogLine() argument
35 int priority = kLogSeverityToAndroidLogPriority[data.severity]; in LogLine()
37 LOG_PRI(priority, tag, "%s:%d] %s", data.file, data.line_number, message); in LogLine()
Dtiming_logger_test.cc93 TimingLogger::TimingData data = logger.CalculateTimingData(); in TEST_F() local
128 TimingLogger::TimingData data(logger.CalculateTimingData()); in TEST_F() local
129 EXPECT_GE(data.GetTotalTime(idx_outersplit), data.GetTotalTime(idx_innerinnersplit1)); in TEST_F()
130 EXPECT_GE(data.GetTotalTime(idx_outersplit), in TEST_F()
131 data.GetTotalTime(idx_innersplit1) + data.GetTotalTime(idx_innersplit2)); in TEST_F()
132 EXPECT_GE(data.GetTotalTime(idx_innersplit1), data.GetTotalTime(idx_innerinnersplit1)); in TEST_F()
/art/runtime/
Dleb128.h28 static inline uint32_t DecodeUnsignedLeb128(const uint8_t** data) { in DecodeUnsignedLeb128() argument
29 const uint8_t* ptr = *data; in DecodeUnsignedLeb128()
49 *data = ptr; in DecodeUnsignedLeb128()
57 static inline int32_t DecodeUnsignedLeb128P1(const uint8_t** data) { in DecodeUnsignedLeb128P1() argument
58 return DecodeUnsignedLeb128(data) - 1; in DecodeUnsignedLeb128P1()
64 static inline int32_t DecodeSignedLeb128(const uint8_t** data) { in DecodeSignedLeb128() argument
65 const uint8_t* ptr = *data; in DecodeSignedLeb128()
93 *data = ptr; in DecodeSignedLeb128()
98 static inline uint32_t UnsignedLeb128Size(uint32_t data) { in UnsignedLeb128Size() argument
101 uint32_t x = 6 + 32 - CLZ(data | 1); in UnsignedLeb128Size()
[all …]
/art/compiler/dex/quick/
Ddex_file_method_inliner.cc443 return backend->GenInlinedReverseBytes(info, static_cast<OpSize>(intrinsic.d.data)); in GenIntrinsic()
445 return backend->GenInlinedReverseBits(info, static_cast<OpSize>(intrinsic.d.data)); in GenIntrinsic()
455 … return backend->GenInlinedMinMax(info, intrinsic.d.data & kIntrinsicFlagMin, false /* is_long */); in GenIntrinsic()
457 … return backend->GenInlinedMinMax(info, intrinsic.d.data & kIntrinsicFlagMin, true /* is_long */); in GenIntrinsic()
459 …return backend->GenInlinedMinMaxFP(info, intrinsic.d.data & kIntrinsicFlagMin, false /* is_double … in GenIntrinsic()
461 …return backend->GenInlinedMinMaxFP(info, intrinsic.d.data & kIntrinsicFlagMin, true /* is_double *… in GenIntrinsic()
482 info, intrinsic.d.data & kIntrinsicFlagIsEmpty); in GenIntrinsic()
484 return backend->GenInlinedIndexOf(info, intrinsic.d.data & kIntrinsicFlagBase0); in GenIntrinsic()
488 return backend->GenInlinedPeek(info, static_cast<OpSize>(intrinsic.d.data)); in GenIntrinsic()
490 return backend->GenInlinedPoke(info, static_cast<OpSize>(intrinsic.d.data)); in GenIntrinsic()
[all …]
/art/runtime/quick/
Dinline_method_analyser.cc104 method->d.data = 0u; in AnalyseMethodCode()
157 InlineReturnArgData* data = &result->d.return_data; in AnalyseReturnMethod() local
158 data->arg = reg - arg_start; in AnalyseReturnMethod()
159 data->is_wide = (return_opcode == Instruction::RETURN_WIDE) ? 1u : 0u; in AnalyseReturnMethod()
160 data->is_object = (return_opcode == Instruction::RETURN_OBJECT) ? 1u : 0u; in AnalyseReturnMethod()
161 data->reserved = 0u; in AnalyseReturnMethod()
162 data->reserved2 = 0u; in AnalyseReturnMethod()
194 result->d.data = static_cast<uint64_t>(const_value); in AnalyseConstMethod()
247 InlineIGetIPutData* data = &result->d.ifield_data; in AnalyseIGetMethod() local
248 if (!ComputeSpecialAccessorInfo(field_idx, false, verifier, data)) { in AnalyseIGetMethod()
[all …]
/art/runtime/base/unix_file/
Dnull_file_test.cc51 ASSERT_EQ(content.size(), static_cast<uint64_t>(f.Write(content.data(), content.size(), 0))); in TEST_F()
59 ASSERT_EQ(-EINVAL, f.Write(content.data(), content.size(), -128)); in TEST_F()
61 ASSERT_EQ(content.size(), static_cast<uint64_t>(f.Write(content.data(), content.size(), 0))); in TEST_F()
62 ASSERT_EQ(content.size(), static_cast<uint64_t>(f.Write(content.data(), content.size(), 128))); in TEST_F()

12345