/art/runtime/base/ |
H A D | logging_linux.cc | 31 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 D | logging_android.cc | 33 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 D | histogram_test.cc | 68 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 D | stringpiece.h | 52 : 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 D | mutex.cc | 212 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 D | leb128.h | 27 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 D | gc_map.h | 30 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
|
H A D | oat.cc | 57 UpdateChecksum(image_file_location.data(), image_file_location_size_); 89 void OatHeader::UpdateChecksum(const void* data, size_t length) { argument 91 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data);
|
H A D | common_test.h | 232 uintptr_t data = reinterpret_cast<uintptr_t>(code_start); local 233 uintptr_t base = RoundDown(data, kPageSize); 234 uintptr_t limit = RoundUp(data + code_length, kPageSize); 251 // We need to set this so that icu4c can find its locale data. 266 android_data = (IsHost() ? "/tmp/art-data-XXXXXX" : "/data/dalvik-cache/art-data-XXXXXX"); 430 filename += "/data/nativetest/art/"; 558 static void Hook(void* data, const std::string& reason) { argument 560 *reinterpret_cast<std::string*>(data) [all...] |
H A D | dex_file_verifier.cc | 197 LOG(ERROR) << "Too many items in data section: " << data_item_count + icount; 697 LOG(ERROR) << "String data would go beyond end-of-file"; 708 LOG(ERROR) << StringPrintf("String data shorter than indicated utf16_size %x", size); 728 LOG(ERROR) << StringPrintf("Illegal start byte %x in string data", byte); 735 LOG(ERROR) << StringPrintf("Illegal continuation byte %x in string data", byte2); 740 LOG(ERROR) << StringPrintf("Illegal representation for value %x in string data", value); 749 LOG(ERROR) << StringPrintf("Illegal continuation byte %x in string data", byte2); 754 LOG(ERROR) << StringPrintf("Illegal continuation byte %x in string data", byte3); 759 LOG(ERROR) << StringPrintf("Illegal representation for value %x in string data", value); 1198 LOG(ERROR) << StringPrintf("Bad offset for data subsectio 1621 const byte* data = begin_ + item->class_data_off_; local 1631 const byte* data = begin_ + item->annotations_off_; local 1675 const uint8_t* data = annotation->annotation_; local [all...] |
H A D | dex_instruction.h | 76 const uint8_t data[]; variable
|
H A D | jni_internal.cc | 2581 JavaT* data = array->GetData(); local 2582 memcpy(buf, data + start, length * sizeof(JavaT)); 2596 JavaT* data = array->GetData(); local 2597 memcpy(data + start, buf, length * sizeof(JavaT));
|
/art/runtime/base/unix_file/ |
H A D | mapped_file.cc | 106 memcpy(buf, data() + offset, read_size); 141 memcpy(data() + offset, buf, write_size); 157 char* MappedFile::data() const { function in class:unix_file::MappedFile
|
/art/runtime/mirror/ |
H A D | array.h | 64 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);
|
H A D | art_method.h | 278 void SetNativeGcMap(const uint8_t* data) { argument 279 SetFieldPtr<const uint8_t*>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, gc_map_), data, false); local
|
/art/runtime/verifier/ |
H A D | dex_gc_map.h | 29 * 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
|
H A D | register_line.cc | 491 void RegisterLine::WriteReferenceBitMap(std::vector<uint8_t>& data, size_t max_bytes) { argument 505 data.push_back(val);
|
H A D | method_verifier.cc | 250 // Bad method data. 331 // verification. In practice, the phase we want relies on data structures set up by all the 350 // verification. In practice, the phase we want relies on data structures set up by all the 378 // verification. In practice, the phase we want relies on data structures set up by all the 410 // Allocate and initialize an array to hold instruction data. 789 /* make sure the start of the array data table is in range */ 793 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "invalid array data start: at " << cur_offset 794 << ", data offset " << array_data_offset 798 /* offset to array data table is a relative branch-style offset */ 802 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "unaligned array data tabl 4049 VerifyGcMap(const std::vector<uint8_t>& data) argument [all...] |
/art/compiler/utils/ |
H A D | assembler.h | 208 // must be used to guarantee that the underlying data area is big enough to 276 // The limit is set to kMinimumGap bytes before the end of the data area. 301 // Compute the limit based on the data area and the capacity. See 303 static byte* ComputeLimit(byte* data, size_t capacity) { argument 304 return data + capacity - kMinimumGap;
|
/art/runtime/jdwp/ |
H A D | jdwp.h | 223 * Send up a chunk of DDM data. 405 const uint8_t* data() { return p_; } function in class:art::JDWP::Request
|
/art/runtime/native/ |
H A D | dalvik_system_VMDebug.cc | 172 * 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/compiler/dex/quick/ |
H A D | codegen_util.cc | 339 static void PushWord(std::vector<uint8_t>&buf, int data) { argument 340 buf.push_back(data & 0xff); 341 buf.push_back((data >> 8) & 0xff); 342 buf.push_back((data >> 16) & 0xff); 343 buf.push_back((data >> 24) & 0xff); 532 // Verify the encoded table holds the expected data. 776 // Install fill array data 845 * Sparse switch data format: 866 * Packed switch data format: 1025 // Prefix the encoded data wit [all...] |
/art/compiler/utils/arm/ |
H A D | assembler_arm.cc | 71 OpCodeMask = 15 << 21, // in data-processing instructions 1096 void ArmAssembler::EncodeUint32InTstInstructions(uint32_t data) { argument 1098 while (!IsUint(8, data)) { 1099 tst(R0, ShifterOperand(data & 0xFF), VS); 1100 data >>= 8; 1102 tst(R0, ShifterOperand(data), MI);
|