Searched refs:data (Results 1 - 25 of 59) sorted by relevance

123

/art/runtime/base/
H A Dlogging_linux.cc31 void LogMessage::LogLine(const LogMessageData& data, const char* message) { argument
32 char severity = "VDIWEFF"[data.severity];
35 data.file, data.line_number, message);
H A Dlogging_android.cc33 void LogMessage::LogLine(const LogMessageData& data, const char* message) { argument
35 int priority = kLogSeverityToAndroidLogPriority[data.severity];
37 LOG_PRI(priority, tag, "%s:%d] %s", data.file, data.line_number, message);
H A Dhistogram_test.cc68 Histogram<uint64_t>::CumulativeData data; local
88 hist->CreateHistogram(data);
89 PerValue = hist->Percentile(0.50, data);
95 Histogram<uint64_t>::CumulativeData data; local
120 hist->CreateHistogram(data);
121 PerValue = hist->Percentile(0.50, data);
126 hist->PrintConfidenceIntervals(stream, 0.99, data);
135 Histogram<uint64_t>::CumulativeData data; local
163 hist->CreateHistogram(data);
164 PerValue = hist->Percentile(0.50, data);
178 Histogram<uint64_t>::CumulativeData data; local
217 Histogram<uint64_t>::CumulativeData data; local
229 Histogram<uint64_t>::CumulativeData data; local
255 Histogram<uint64_t>::CumulativeData data; local
[all...]
H A Dstringpiece.h52 : ptr_(str.data()), length_(static_cast<int>(str.size())) { }
55 // data() may return a pointer to a buffer with embedded NULs, and the
57 // typically a mistake to pass data() to a routine that expects a NUL
59 const char* data() const { return ptr_; } function in class:art::StringPiece
68 void set(const char* data, int len) { argument
69 ptr_ = data;
79 void set(const void* data, int len) { argument
80 ptr_ = reinterpret_cast<const char*>(data);
98 return std::string(data(), size());
106 return std::string(data(), siz
[all...]
H A Dhistogram-inl.h145 inline void Histogram<Value>::PrintBins(std::ostream& os, const CumulativeData& data) const {
147 for (size_t bin_idx = 0; bin_idx < data.freq_.size(); ++bin_idx) {
148 if (bin_idx > 0 && data.perc_[bin_idx] == data.perc_[bin_idx - 1]) {
152 os << GetRange(bin_idx) << ": " << data.freq_[bin_idx] << "\t"
153 << data.perc_[bin_idx] * 100.0 << "%\n";
159 const CumulativeData& data) const {
167 os << (interval * 100) << "% C.I. " << FormatDuration(Percentile(per_0, data) * kAdjust, unit);
168 os << "-" << FormatDuration(Percentile(per_1, data) * kAdjust, unit) << " ";
190 inline double Histogram<Value>::Percentile(double per, const CumulativeData& data) cons
[all...]
H A Dhistogram.h27 // Creates a data histogram for a better understanding of statistical data.
29 // percentiles values, describing where the $% of the input data lies.
45 // Builds the cumulative distribution function from the frequency data.
50 void CreateHistogram(CumulativeData& data);
55 double Percentile(double per, const CumulativeData& data) const;
57 const CumulativeData& data) const;
58 void PrintBins(std::ostream& os, const CumulativeData& data) const;
H A Dmutex.cc212 ContentionLogData* data = contetion_log_data_; local
213 ++(data->contention_count);
214 data->AddToWaitTime(nano_time_blocked);
215 ContentionLogEntry* log = data->contention_log;
217 uint32_t slot = data->cur_content_log_entry;
224 slot = data->cur_content_log_entry;
226 } while (!data->cur_content_log_entry.compare_and_swap(slot, new_slot));
236 const ContentionLogData* data = contetion_log_data_; local
237 const ContentionLogEntry* log = data->contention_log;
238 uint64_t wait_time = data
[all...]
/art/runtime/
H A Dleb128.h27 static inline uint32_t DecodeUnsignedLeb128(const uint8_t** data) { argument
28 const uint8_t* ptr = *data;
48 *data = ptr;
56 static inline int32_t DecodeUnsignedLeb128P1(const uint8_t** data) { argument
57 return DecodeUnsignedLeb128(data) - 1;
63 static inline int32_t DecodeSignedLeb128(const uint8_t** data) { argument
64 const uint8_t* ptr = *data;
92 *data = ptr;
97 static inline uint32_t UnsignedLeb128Size(uint32_t data) { argument
100 data >>
[all...]
H A Dgc_map.h30 explicit NativePcOffsetToReferenceMap(const uint8_t* data) : data_(data) { argument
91 // Skip the size information at the beginning of data.
106 const uint8_t* const data_; // The header and table data
/art/runtime/native/
H A Dorg_apache_harmony_dalvik_ddmc_DdmServer.cc27 ScopedByteArrayRO data(env, javaData);
28 DCHECK_LE(offset + length, static_cast<int32_t>(data.size()));
29 Dbg::DdmSendChunk(type, length, reinterpret_cast<const uint8_t*>(&data[offset]));
H A Ddalvik_system_VMDebug.cc172 * Cause "hprof" data to be dumped. We can throw an IOException if an
245 // object space for dumpsys meminfo. The other memory region data such
246 // as PSS, private/shared dirty/shared data are available via
248 static void VMDebug_getHeapSpaceStats(JNIEnv* env, jclass, jlongArray data) { argument
249 jlong* arr = reinterpret_cast<jlong*>(env->GetPrimitiveArrayCritical(data, 0));
250 if (arr == NULL || env->GetArrayLength(data) < 9) {
303 env->ReleasePrimitiveArrayCritical(data, arr, 0);
/art/runtime/base/unix_file/
H A Dnull_file_test.cc32 // ...but everything else is fine (though you'll get no data).
51 ASSERT_EQ(content.size(), f.Write(content.data(), content.size(), 0));
59 ASSERT_EQ(-EINVAL, f.Write(content.data(), content.size(), -128));
61 ASSERT_EQ(content.size(), f.Write(content.data(), content.size(), 0));
62 ASSERT_EQ(content.size(), f.Write(content.data(), content.size(), 128));
H A Dstring_file.cc50 memcpy(buf, data_.data() + offset, available_bytes);
91 data_.assign(new_data.data(), new_data.size());
H A Dmapped_file_test.cc90 ASSERT_TRUE(file.data());
91 EXPECT_EQ(0, memcmp(kContent.c_str(), file.data(), file.size()));
102 ASSERT_TRUE(file.data());
103 EXPECT_EQ(kContent[0], *file.data());
117 ASSERT_TRUE(file.data());
118 memcpy(file.data(), kContent.c_str(), kContent.size());
208 EXPECT_EQ(0, memcmp(kContent.c_str(), file.data() + 1, kContent.size() - 1));
212 EXPECT_EQ(0, memcmp(kContent.c_str(), file.data(), kContent.size()));
222 EXPECT_DEATH(file.data(), "mapped_");
H A Drandom_access_file_test.h74 ASSERT_EQ(content.size(), file->Write(content.data(), content.size(), 0));
112 ASSERT_EQ(content.size(), file->Write(content.data(), content.size(), 0));
139 ASSERT_EQ(-EINVAL, file->Write(content.data(), 0, -123));
141 // Writing zero bytes of data is a no-op.
142 ASSERT_EQ(0, file->Write(content.data(), 0, 0));
145 // We can write data.
146 ASSERT_EQ(content.size(), file->Write(content.data(), content.size(), 0));
157 // We can append data past the end.
159 file->Write(content.data(), content.size(), file->GetLength() + 1));
H A Dmapped_file.cc106 memcpy(buf, data() + offset, read_size);
141 memcpy(data() + offset, buf, write_size);
157 char* MappedFile::data() const { function in class:unix_file::MappedFile
H A Dmapped_file.h80 char* data() const;
/art/tools/
H A Dart37 mkdir -p /tmp/android-data/dalvik-cache
39 ANDROID_DATA=/tmp/android-data \
/art/runtime/mirror/
H A Darray.h64 intptr_t data = reinterpret_cast<intptr_t>(this) + DataOffset(component_size).Int32Value(); local
65 return reinterpret_cast<void*>(data);
69 intptr_t data = reinterpret_cast<intptr_t>(this) + DataOffset(component_size).Int32Value(); local
70 return reinterpret_cast<const void*>(data);
91 // Marker for the data (used by generated code)
106 intptr_t data = reinterpret_cast<intptr_t>(this) + DataOffset(sizeof(T)).Int32Value(); local
107 return reinterpret_cast<T*>(data);
111 intptr_t data = reinterpret_cast<intptr_t>(this) + DataOffset(sizeof(T)).Int32Value(); local
112 return reinterpret_cast<T*>(data);
/art/runtime/verifier/
H A Ddex_gc_map.h29 * Format enumeration for RegisterMap data area.
33 kRegMapFormatNone = 1, // Indicates no map data follows.
41 DexPcToReferenceMap(const uint8_t* data, size_t data_length) : data_(data) { argument
116 const uint8_t* const data_; // The header and table data
/art/runtime/entrypoints/portable/
H A Dportable_fillarray_entrypoints.cc47 memcpy(array->GetRawData(payload->element_width), payload->data, size_in_bytes);
/art/runtime/entrypoints/quick/
H A Dquick_fillarray_entrypoints.cc29 * NOTE: When dealing with a raw dex file, the data to be copied uses
33 * Format of the data:
37 * ubyte data[size*width] table of data values (may contain a single-byte
59 memcpy(array->GetRawData(payload->element_width), payload->data, size_in_bytes);
/art/dex2oat/
H A Ddex2oat.cc99 UsageError(" Example: --oat-location=/data/dalvik-cache/system@app@Calculator.apk.oat");
620 dex_filenames.push_back(option.substr(strlen("--dex-file=")).data());
622 dex_locations.push_back(option.substr(strlen("--dex-location=")).data());
624 const char* zip_fd_str = option.substr(strlen("--zip-fd=")).data();
629 zip_location = option.substr(strlen("--zip-location=")).data();
631 oat_filename = option.substr(strlen("--oat-file=")).data();
633 oat_symbols = option.substr(strlen("--oat-symbols=")).data();
635 const char* oat_fd_str = option.substr(strlen("--oat-fd=")).data();
644 const char* thread_count_str = option.substr(strlen("-j")).data();
649 oat_location = option.substr(strlen("--oat-location=")).data();
[all...]
/art/test/070-nio-buffer/src/
H A DMain.java93 int data[] = new int[25];
95 //float data[] = new float[25];
97 int1.put (data);
101 int1.put (data);
/art/build/
H A DAndroid.common.mk92 ART_NATIVETEST_DIR := /data/nativetest/art
96 ART_TEST_DIR := /data/art-test

Completed in 2714 milliseconds

123