Home
last modified time | relevance | path

Searched refs:uint64_t (Results 1 – 25 of 575) sorted by relevance

12345678910>>...23

/system/core/libunwindstack/
DUser.h53 uint64_t r15;
54 uint64_t r14;
55 uint64_t r13;
56 uint64_t r12;
57 uint64_t rbp;
58 uint64_t rbx;
59 uint64_t r11;
60 uint64_t r10;
61 uint64_t r9;
62 uint64_t r8;
[all …]
DElfInterface.h33 uint64_t offset;
34 uint64_t table_offset;
55 virtual bool GetFunctionName(uint64_t addr, std::string* name, uint64_t* offset) = 0;
57 virtual bool Step(uint64_t rel_pc, Regs* regs, Memory* process_memory);
63 const std::unordered_map<uint64_t, LoadInfo>& pt_loads() { return pt_loads_; } in pt_loads()
64 uint64_t load_bias() { return load_bias_; } in load_bias()
65 void set_load_bias(uint64_t load_bias) { load_bias_ = load_bias; } in set_load_bias()
67 uint64_t dynamic_offset() { return dynamic_offset_; } in dynamic_offset()
68 uint64_t dynamic_size() { return dynamic_size_; } in dynamic_size()
69 uint64_t eh_frame_offset() { return eh_frame_offset_; } in eh_frame_offset()
[all …]
DMemory.h32 virtual bool ReadString(uint64_t addr, std::string* string, uint64_t max_read = UINT64_MAX);
34 virtual bool Read(uint64_t addr, void* dst, size_t size) = 0;
36 inline bool Read(uint64_t addr, void* start, void* field, size_t size) { in Read()
41 inline bool Read32(uint64_t addr, uint32_t* dst) { in Read32()
45 inline bool Read64(uint64_t addr, uint64_t* dst) { in Read64()
46 return Read(addr, dst, sizeof(uint64_t)); in Read64()
55 bool Read(uint64_t addr, void* dst, size_t size) override;
61 uint64_t Size() { return raw_.size(); } in Size()
72 bool Init(const std::string& file, uint64_t offset, uint64_t size = UINT64_MAX);
74 bool Read(uint64_t addr, void* dst, size_t size) override;
[all …]
DRegs.h48 virtual uint64_t pc() = 0;
49 virtual uint64_t sp() = 0;
51 virtual bool GetReturnAddressFromDefault(Memory* memory, uint64_t* value) = 0;
53 virtual uint64_t GetRelPc(Elf* elf, const MapInfo* map_info) = 0;
55 virtual uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) = 0;
75 uint64_t GetRelPc(Elf* elf, const MapInfo* map_info) override;
77 bool GetReturnAddressFromDefault(Memory* memory, uint64_t* value) override;
79 uint64_t pc() override { return pc_; } in pc()
80 uint64_t sp() override { return sp_; } in sp()
100 uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) override;
[all …]
/system/core/libappfuse/include/libappfuse/
DFuseAppLoop.h34 virtual void OnLookup(uint64_t unique, uint64_t inode) = 0;
35 virtual void OnGetAttr(uint64_t unique, uint64_t inode) = 0;
36 virtual void OnFsync(uint64_t unique, uint64_t inode) = 0;
37 virtual void OnWrite(uint64_t unique, uint64_t inode, uint64_t offset, uint32_t size,
39 virtual void OnRead(uint64_t unique, uint64_t inode, uint64_t offset, uint32_t size) = 0;
40 virtual void OnOpen(uint64_t unique, uint64_t inode) = 0;
41 virtual void OnRelease(uint64_t unique, uint64_t inode) = 0;
52 bool ReplySimple(uint64_t unique, int32_t result);
53 bool ReplyLookup(uint64_t unique, uint64_t inode, int64_t size);
54 bool ReplyGetAttr(uint64_t unique, uint64_t inode, int64_t size, int mode);
[all …]
/system/extras/iotop/
Dtaskstats.h36 uint64_t read() const { return read_bytes_; } in read()
37 uint64_t write() const { return write_bytes_; } in write()
38 uint64_t read_write() const { return read_write_bytes_; } in read_write()
39 uint64_t delay_io() const { return block_io_delay_ns_; } in delay_io()
40 uint64_t delay_swap() const { return swap_in_delay_ns_; } in delay_swap()
41 uint64_t delay_sched() const { return cpu_delay_ns_; } in delay_sched()
42 uint64_t delay_mem() const { return reclaim_delay_ns_; } in delay_mem()
43 uint64_t delay_total() const { return total_delay_ns_; } in delay_total()
55 uint64_t cpu_delay_count_;
56 uint64_t cpu_delay_ns_;
[all …]
/system/extras/perfprofd/quipper/
Daddress_mapper.h28 bool Map(const uint64_t real_addr,
29 const uint64_t length,
42 bool MapWithID(const uint64_t real_addr,
43 const uint64_t length,
44 const uint64_t id,
45 const uint64_t offset_base,
49 bool GetMappedAddress(const uint64_t real_addr, uint64_t* mapped_addr) const;
53 bool GetMappedIDAndOffset(const uint64_t real_addr,
54 uint64_t* id,
55 uint64_t* offset) const;
[all …]
/system/extras/simpleperf/
Drecord.h66 uint64_t ip;
74 uint64_t time;
78 uint64_t addr;
82 uint64_t id;
86 uint64_t stream_id;
94 uint64_t period;
98 uint64_t ip_nr;
99 const uint64_t* ips;
108 uint64_t from;
109 uint64_t to;
[all …]
Dthread_tree.h38 uint64_t start_addr;
39 uint64_t len;
40 uint64_t pgoff;
41 uint64_t time; // Map creation time.
45 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, uint64_t time, in MapEntry()
55 uint64_t get_end_addr() const { return start_addr + len; } in get_end_addr()
92 void AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff,
93 uint64_t time, const std::string& filename);
94 void AddThreadMap(int pid, int tid, uint64_t start_addr, uint64_t len,
95 uint64_t pgoff, uint64_t time, const std::string& filename);
[all …]
/system/bt/service/common/android/bluetooth/
Duuid.cc38 uint64_t most_sig_bits = in writeToParcel()
39 ((((uint64_t)bytes[0]) << 56) | (((uint64_t)bytes[1]) << 48) | in writeToParcel()
40 (((uint64_t)bytes[2]) << 40) | (((uint64_t)bytes[3]) << 32) | in writeToParcel()
41 (((uint64_t)bytes[4]) << 24) | (((uint64_t)bytes[5]) << 16) | in writeToParcel()
42 (((uint64_t)bytes[6]) << 8) | bytes[7]); in writeToParcel()
44 uint64_t least_sig_bits = in writeToParcel()
45 ((((uint64_t)bytes[8]) << 56) | (((uint64_t)bytes[9]) << 48) | in writeToParcel()
46 (((uint64_t)bytes[10]) << 40) | (((uint64_t)bytes[11]) << 32) | in writeToParcel()
47 (((uint64_t)bytes[12]) << 24) | (((uint64_t)bytes[13]) << 16) | in writeToParcel()
48 (((uint64_t)bytes[14]) << 8) | bytes[15]); in writeToParcel()
[all …]
/system/chre/util/include/chre/util/nanoapp/
Dapp_id.h48 constexpr uint64_t makeNanoappId(uint64_t vendor, uint32_t appNumber) { in makeNanoappId()
56 constexpr uint64_t makeExampleNanoappId(uint32_t appNumber) { in makeExampleNanoappId()
64 constexpr uint64_t makeGoogleNanoappId(uint32_t appNumber) { in makeGoogleNanoappId()
68 constexpr uint64_t kHelloWorldAppId = makeExampleNanoappId(1);
69 constexpr uint64_t kMessageWorldAppId = makeExampleNanoappId(2);
70 constexpr uint64_t kTimerWorldAppId = makeExampleNanoappId(3);
71 constexpr uint64_t kSensorWorldAppId = makeExampleNanoappId(4);
72 constexpr uint64_t kGnssWorldAppId = makeExampleNanoappId(5);
73 constexpr uint64_t kWifiWorldAppId = makeExampleNanoappId(6);
74 constexpr uint64_t kWwanWorldAppId = makeExampleNanoappId(7);
[all …]
/system/core/libgrallocusage/
DGrallocUsageConversion.cpp22 void android_convertGralloc0To1Usage(int32_t usage, uint64_t* producerUsage, in android_convertGralloc0To1Usage()
23 uint64_t* consumerUsage) { in android_convertGralloc0To1Usage()
24 constexpr uint64_t PRODUCER_MASK = in android_convertGralloc0To1Usage()
32 constexpr uint64_t CONSUMER_MASK = in android_convertGralloc0To1Usage()
39 *producerUsage = static_cast<uint64_t>(usage) & PRODUCER_MASK; in android_convertGralloc0To1Usage()
40 *consumerUsage = static_cast<uint64_t>(usage) & CONSUMER_MASK; in android_convertGralloc0To1Usage()
51 int32_t android_convertGralloc1To0Usage(uint64_t producerUsage, uint64_t consumerUsage) { in android_convertGralloc1To0Usage()
52 static_assert(uint64_t(GRALLOC1_CONSUMER_USAGE_CPU_READ_OFTEN) == in android_convertGralloc1To0Usage()
53 uint64_t(GRALLOC1_PRODUCER_USAGE_CPU_READ_OFTEN), in android_convertGralloc1To0Usage()
55 uint64_t merged = producerUsage | consumerUsage; in android_convertGralloc1To0Usage()
[all …]
/system/extras/libfec/include/fec/
Decc.h39 inline uint64_t fec_div_round_up(uint64_t x, uint64_t y) in fec_div_round_up()
45 inline uint64_t fec_round_up(uint64_t x, uint64_t y) in fec_round_up()
51 inline uint64_t fec_ecc_interleave(uint64_t offset, int rsn, uint64_t rounds) in fec_ecc_interleave()
57 inline uint64_t fec_ecc_get_size(uint64_t file_size, int roots) in fec_ecc_get_size()
/system/extras/tests/icachetest/
DProfiler.h84 uint64_t nr;
85 uint64_t time_enabled;
86 uint64_t time_running;
88 uint64_t value;
89 uint64_t id;
103 uint64_t getInstructions() const { return counters[INSTRUCTIONS].value; } in getInstructions()
104 uint64_t getCpuCycles() const { return counters[CPU_CYCLES].value; } in getCpuCycles()
105 uint64_t getL1DReferences() const { return counters[DCACHE_REFS].value; } in getL1DReferences()
106 uint64_t getL1DMisses() const { return counters[DCACHE_MISSES].value; } in getL1DMisses()
107 uint64_t getL1IReferences() const { return counters[ICACHE_REFS].value; } in getL1IReferences()
[all …]
/system/extras/libfec/
Dfec_private.h72 uint64_t blocks;
73 uint64_t rounds;
74 uint64_t start; /* offset in file */
82 uint64_t hash_data_offset;
83 uint64_t hash_start;
87 uint64_t data_blocks;
88 uint64_t metadata_start; /* offset in file */
95 uint64_t index;
105 uint64_t errors;
106 uint64_t data_size;
[all …]
/system/chre/util/include/chre/util/
Dtime.h35 constexpr explicit Seconds(uint64_t seconds);
43 constexpr uint64_t toRawNanoseconds() const;
46 uint64_t mSeconds;
57 constexpr explicit Milliseconds(uint64_t milliseconds);
70 constexpr uint64_t toRawNanoseconds() const;
77 constexpr uint64_t getMilliseconds() const;
81 uint64_t mMilliseconds;
92 constexpr explicit Microseconds(uint64_t microseconds);
105 constexpr uint64_t toRawNanoseconds() const;
112 constexpr uint64_t getMicroseconds() const;
[all …]
Did_from_string_impl.h24 constexpr uint64_t createIdFromString(const char str[5]) { in createIdFromString()
25 return (static_cast<uint64_t>(str[0]) << 56) in createIdFromString()
26 | (static_cast<uint64_t>(str[1]) << 48) in createIdFromString()
27 | (static_cast<uint64_t>(str[2]) << 40) in createIdFromString()
28 | (static_cast<uint64_t>(str[3]) << 32) in createIdFromString()
29 | (static_cast<uint64_t>(str[4]) << 24); in createIdFromString()
32 constexpr uint64_t createPlatformIdFromVendorPlatform(uint64_t vendorId, in createPlatformIdFromVendorPlatform()
/system/core/storaged/include/
Dstoraged_uid_monitor.h45 uint64_t rchar; // characters read
46 uint64_t wchar; // characters written
47 uint64_t read_bytes; // bytes read (from storage layer)
48 uint64_t write_bytes; // bytes written (to storage layer)
49 uint64_t fsync; // number of fsync syscalls
59 uint64_t bytes[IO_TYPES][UID_STATS][CHARGER_STATS];
68 uint64_t start_ts;
79 std::map<uint64_t, struct uid_records> records;
85 uint64_t start_ts;
90 void add_records_locked(uint64_t curr_ts);
[all …]
Dstoraged.h72 uint64_t read_ios; // number of read I/Os processed
73 uint64_t read_merges; // number of read I/Os merged with in-queue I/Os
74 uint64_t read_sectors; // number of sectors read
75 uint64_t read_ticks; // total wait time for read requests
76 uint64_t write_ios; // number of write I/Os processed
77 uint64_t write_merges; // number of write I/Os merged with in-queue I/Os
78 uint64_t write_sectors; // number of sectors written
79 uint64_t write_ticks; // total wait time for write requests
80 uint64_t io_in_flight; // number of I/Os currently in flight
81 uint64_t io_ticks; // total time this block device has been active
[all …]
/system/update_engine/payload_consumer/
Dmtd_file_descriptor.h43 uint64_t BlockDevSize() override { return 0; } in BlockDevSize()
45 uint64_t start, in BlkIoctl()
46 uint64_t length, in BlkIoctl()
55 uint64_t nr_written_;
60 uint64_t reserved_ebs;
62 uint64_t eraseblock_size;
79 uint64_t BlockDevSize() override { return 0; } in BlockDevSize()
81 uint64_t start, in BlkIoctl()
82 uint64_t length, in BlkIoctl()
94 uint64_t usable_eb_blocks_;
[all …]
Ddelta_performer.h55 static const uint64_t kDeltaVersionOffset;
56 static const uint64_t kDeltaVersionSize;
57 static const uint64_t kDeltaManifestSizeOffset;
58 static const uint64_t kDeltaManifestSizeSize;
59 static const uint64_t kDeltaMetadataSignatureSizeSize;
60 static const uint64_t kMaxPayloadHeaderSize;
61 static const uint64_t kSupportedMajorPayloadVersion;
123 const uint64_t update_check_response_size);
136 uint64_t block_size,
137 uint64_t full_length,
[all …]
/system/update_engine/payload_generator/
Dextent_ranges_unittest.cc35 const uint64_t* expected, in ExpectRangeEq()
38 uint64_t blocks = 0; in ExpectRangeEq()
59 void ExpectRangesOverlapOrTouch(uint64_t a_start, uint64_t a_num, in ExpectRangesOverlapOrTouch()
60 uint64_t b_start, uint64_t b_num) { in ExpectRangesOverlapOrTouch()
71 void ExpectFalseRangesOverlapOrTouch(uint64_t a_start, uint64_t a_num, in ExpectFalseRangesOverlapOrTouch()
72 uint64_t b_start, uint64_t b_num) { in ExpectFalseRangesOverlapOrTouch()
91 void ExpectRangesOverlap(uint64_t a_start, uint64_t a_num, in ExpectRangesOverlap()
92 uint64_t b_start, uint64_t b_num) { in ExpectRangesOverlap()
111 void ExpectFalseRangesOverlap(uint64_t a_start, uint64_t a_num, in ExpectFalseRangesOverlap()
112 uint64_t b_start, uint64_t b_num) { in ExpectFalseRangesOverlap()
[all …]
/system/core/libunwindstack/tests/
DMemoryFake.h33 bool Read(uint64_t addr, void* buffer, size_t size) override;
35 void SetMemory(uint64_t addr, const void* memory, size_t length);
37 void SetData8(uint64_t addr, uint8_t value) { in SetData8()
41 void SetData16(uint64_t addr, uint16_t value) { in SetData16()
45 void SetData32(uint64_t addr, uint32_t value) { in SetData32()
49 void SetData64(uint64_t addr, uint64_t value) { in SetData64()
53 void SetMemory(uint64_t addr, std::vector<uint8_t> values) { in SetMemory()
57 void SetMemory(uint64_t addr, std::string string) { in SetMemory()
64 std::unordered_map<uint64_t, uint8_t> data_;
72 bool Read(uint64_t, void* buffer, size_t size) override { in Read() argument
/system/extras/verity/fec/
Dimage.h56 uint64_t blocks;
57 uint64_t inp_size;
58 uint64_t pos;
59 uint64_t rounds;
60 uint64_t rv;
73 uint64_t rv;
74 uint64_t fec_pos;
75 uint64_t start;
76 uint64_t end;
92 inline uint8_t image_get_interleaved_byte(uint64_t i, image *ctx) in image_get_interleaved_byte()
[all …]
/system/bt/osi/test/
Dtime_test.cc49 uint64_t t1 = time_get_os_boottime_us(); in TEST_F()
68 uint64_t t1 = time_get_os_boottime_us(); in TEST_F()
69 uint64_t t2 = time_get_os_boottime_us(); in TEST_F()
99 static const uint64_t TEST_TIME_SLEEP_US = 100 * 1000; in TEST_F()
106 uint64_t t1 = time_get_os_boottime_us(); in TEST_F()
108 uint64_t t2 = time_get_os_boottime_us(); in TEST_F()
120 uint64_t t1 = time_gettimeofday_us(); in TEST_F()
129 uint64_t t1 = time_gettimeofday_us(); in TEST_F()
130 uint64_t t2 = time_gettimeofday_us(); in TEST_F()
139 static const uint64_t TEST_TIME_SLEEP_US = 100 * 1000; in TEST_F()
[all …]

12345678910>>...23