/system/netd/server/ |
D | BandwidthController.h | 33 int64_t rxB, int64_t rxP, in TetherStats() 34 int64_t txB, int64_t txP) in TetherStats() 42 int64_t rxBytes, rxPackets; 43 int64_t txBytes, txPackets; 59 int setInterfaceSharedQuota(const char *iface, int64_t bytes); 60 int getInterfaceSharedQuota(int64_t *bytes); 63 int setInterfaceQuota(const char *iface, int64_t bytes); 64 int getInterfaceQuota(const char *iface, int64_t *bytes); 74 int setGlobalAlert(int64_t bytes); 79 int setSharedAlert(int64_t bytes); [all …]
|
D | BandwidthController.cpp | 476 std::string BandwidthController::makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota… in makeIptablesQuotaCmd() 596 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) { in setInterfaceSharedQuota() 705 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) { in setInterfaceQuota() 776 int BandwidthController::getInterfaceSharedQuota(int64_t *bytes) { in getInterfaceSharedQuota() 780 int BandwidthController::getInterfaceQuota(const char *costName, int64_t *bytes) { in getInterfaceQuota() 836 int BandwidthController::updateQuota(const char *quotaName, int64_t bytes) { in updateQuota() 857 int BandwidthController::runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes) { in runIptablesAlertCmd() 889 int BandwidthController::runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes) { in runIptablesAlertFwdCmd() 917 int BandwidthController::setGlobalAlert(int64_t bytes) { in setGlobalAlert() 1000 int BandwidthController::setSharedAlert(int64_t bytes) { in setSharedAlert() [all …]
|
/system/core/libutils/ |
D | SystemClock.cpp | 46 int64_t uptimeMillis() in uptimeMillis() 48 int64_t when = systemTime(SYSTEM_TIME_MONOTONIC); in uptimeMillis() 49 return (int64_t) nanoseconds_to_milliseconds(when); in uptimeMillis() 55 int64_t elapsedRealtime() in elapsedRealtime() 72 static inline void checkTimeStamps(int64_t timestamp, in checkTimeStamps() 73 int64_t volatile *prevTimestampPtr, in checkTimeStamps() 82 int64_t prevTimestamp = *prevTimestampPtr; in checkTimeStamps() 109 int64_t elapsedRealtimeNano() in elapsedRealtimeNano() 114 int64_t timestamp; in elapsedRealtimeNano() 116 static volatile int64_t prevTimestamp; in elapsedRealtimeNano()
|
D | LinearTransform.cpp | 113 int64_t val, in linear_transform_s64_to_s64() 114 int64_t basis1, in linear_transform_s64_to_s64() 118 int64_t basis2, in linear_transform_s64_to_s64() 119 int64_t* out) { in linear_transform_s64_to_s64() 157 if (ABS(basis2) <= static_cast<int64_t>(scaled & INT64_MAX)) in linear_transform_s64_to_s64() 187 bool LinearTransform::doForwardTransform(int64_t a_in, int64_t* b_out) const { in doForwardTransform() 200 bool LinearTransform::doReverseTransform(int64_t b_in, int64_t* a_out) const { in doReverseTransform()
|
/system/core/include/utils/ |
D | LinearTransform.h | 41 int64_t a_zero; 42 int64_t b_zero; 49 bool doForwardTransform(int64_t a_in, int64_t* b_out) const; 54 bool doReverseTransform(int64_t b_in, int64_t* a_out) const;
|
D | SystemClock.h | 25 int64_t uptimeMillis(); 26 int64_t elapsedRealtime(); 27 int64_t elapsedRealtimeNano();
|
/system/core/libsparse/ |
D | output_file.h | 24 struct output_file *output_file_open_fd(int fd, unsigned int block_size, int64_t len, 27 void *priv, unsigned int block_size, int64_t len, int gz, int sparse, 33 const char *file, int64_t offset); 35 int fd, int64_t offset); 36 int write_skip_chunk(struct output_file *out, int64_t len);
|
D | sparse.c | 30 struct sparse_file *sparse_file_new(unsigned int block_size, int64_t len) in sparse_file_new() 68 const char *filename, int64_t file_offset, unsigned int len, in sparse_file_add_file() 76 int fd, int64_t file_offset, unsigned int len, unsigned int block) in sparse_file_add_fd() 130 int64_t pad; in write_all_blocks() 136 write_skip_chunk(out, (int64_t)blocks * s->block_size); in write_all_blocks() 143 pad = s->len - (int64_t)last_block * s->block_size; in write_all_blocks() 195 int64_t *count = priv; in out_counter_write() 200 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc) in sparse_file_len() 204 int64_t count = 0; in sparse_file_len() 227 int64_t count = 0; in move_chunks_up_to_len() [all …]
|
D | output_file.c | 64 int (*skip)(struct output_file *, int64_t); 65 int (*pad)(struct output_file *, int64_t); 75 int (*write_skip_chunk)(struct output_file *out, int64_t len); 80 int64_t cur_out_ptr; 87 int64_t len; 126 static int file_skip(struct output_file *out, int64_t cnt) in file_skip() 139 static int file_pad(struct output_file *out, int64_t len) in file_pad() 198 static int gz_file_skip(struct output_file *out, int64_t cnt) in gz_file_skip() 211 static int gz_file_pad(struct output_file *out, int64_t len) in gz_file_pad() 273 static int callback_file_skip(struct output_file *out, int64_t off) in callback_file_skip() [all …]
|
D | backed_block.h | 37 int64_t offset, unsigned int len, unsigned int block); 39 int64_t offset, unsigned int len, unsigned int block); 48 int64_t backed_block_file_offset(struct backed_block *bb);
|
D | sparse_read.c | 101 int fd, int64_t offset, unsigned int blocks, unsigned int block, in process_raw_chunk() 143 int64_t len = (int64_t)blocks * s->block_size; in process_fill_chunk() 188 int64_t len = (int64_t)blocks * s->block_size; in process_skip_chunk() 361 int64_t remain = s->len; in sparse_file_read_normal() 362 int64_t offset = 0; in sparse_file_read_normal() 423 int64_t len; in sparse_file_import() 450 len = (int64_t)sparse_header.total_blks * sparse_header.blk_sz; in sparse_file_import() 478 int64_t len; in sparse_file_import_auto()
|
D | sparse_file.h | 24 int64_t len;
|
/system/core/healthd/ |
D | healthd_mode_charger.cpp | 83 int64_t timestamp; 111 int64_t next_screen_transition; 112 int64_t next_key_check; 113 int64_t next_pwr_check; 178 static int64_t curr_time_ms(void) in curr_time_ms() 344 static void update_screen_state(struct charger *charger, int64_t now) in update_screen_state() 463 int64_t now = curr_time_ms(); in set_key_callback() 482 int64_t duration = now - charger->keys[code].timestamp; in set_key_callback() 483 int64_t secs = duration / 1000; in set_key_callback() 484 int64_t msecs = duration - secs * 1000; in set_key_callback() [all …]
|
/system/core/libsparse/include/sparse/ |
D | sparse.h | 42 struct sparse_file *sparse_file_new(unsigned int block_size, int64_t len); 114 const char *filename, int64_t file_offset, unsigned int len, 141 int fd, int64_t file_offset, unsigned int len, unsigned int block); 176 int64_t sparse_file_len(struct sparse_file *s, bool sparse, bool crc);
|
/system/extras/timeinfo/ |
D | timeinfo.cpp | 30 int64_t realtime, uptime; in main() 31 int64_t awaketime, sleeptime; in main()
|
/system/core/include/private/pixelflinger/ |
D | ggl_fixed.h | 175 inline int64_t gglMulii(int32_t x, int32_t y) CONST; 176 inline int64_t gglMulii(int32_t x, int32_t y) in gglMulii() 184 int64_t res; in gglMulii() 436 inline int64_t gglMulii(int32_t x, int32_t y) CONST; 437 inline int64_t gglMulii(int32_t x, int32_t y) { in gglMulii() 448 int64_t res; in gglMulii() 511 inline int64_t gglMulii(int32_t x, int32_t y) CONST; 512 inline int64_t gglMulii(int32_t x, int32_t y) in gglMulii() 514 int64_t res; in gglMulii() 527 return GGLfixed((int64_t(a)*b + (1<<(shift-1)))>>shift); in gglMulx() [all …]
|
/system/core/libziparchive/ |
D | zip_archive.cc | 402 static int64_t EntryToIndex(const ZipEntryName* hash_table, in EntryToIndex() 455 ALOGW("Zip: seek %" PRId64 " failed: %s", static_cast<int64_t>(search_start), in MapCentralDirectory0() 462 ALOGW("Zip: read %" PRId64 " failed: %s", static_cast<int64_t>(read_amount), in MapCentralDirectory0() 496 static_cast<int64_t>(file_length - calculated_length)); in MapCentralDirectory0() 506 eocd->cd_start_offset, eocd->cd_size, static_cast<int64_t>(eocd_offset)); in MapCentralDirectory0() 558 ALOGV("Zip: zip file too long %" PRId64, static_cast<int64_t>(file_length)); in MapCentralDirectory() 563 ALOGV("Zip: length %" PRId64 " is too small to be zip", static_cast<int64_t>(file_length)); in MapCentralDirectory() 634 ALOGW("Zip: bad LFH offset %" PRId64 " at entry %" PRIu16, (int64_t)local_header_offset, i); in ParseZipArchive() 659 if ((ptr - cd_ptr) > static_cast<int64_t>(cd_length)) { in ParseZipArchive() 808 ALOGW("Zip: failed reading lfh name from offset %" PRId64, (int64_t)local_header_offset); in FindEntry() [all …]
|
/system/core/toolbox/ |
D | bsd-compatibility.h | 70 int humanize_number(char *, size_t, int64_t, const char *, int, int); 71 int dehumanize_number(const char *, int64_t *);
|
/system/core/include/cutils/ |
D | properties.h | 83 int64_t property_get_int64(const char *key, int64_t default_value);
|
/system/extras/tests/framebuffer/ |
D | refresh.c | 19 int64_t systemTime() in systemTime() 24 return (int64_t)(t.tv_sec)*1000000000LL + t.tv_nsec; in systemTime() 146 int64_t time = systemTime(); in main() 159 int64_t now = systemTime(); in main()
|
/system/core/libpixelflinger/tests/gglmul/ |
D | gglmul_test.cpp | 133 ((int64_t)test->x * test->y + (1 << (test->shift-1))) >> test->shift; in gglMulx_test() 175 expected = (((int64_t)test->x * test->y) >> test->shift) + test->a; in gglMulAddx_test() 218 expected = (((int64_t)test->x * test->y) >> test->shift) - test->a; in gglMulSubx_test() 251 int64_t actual, expected; in gglMulii_test() 259 expected = ((int64_t)test->x * test->y); in gglMulii_test()
|
/system/core/toolbox/upstream-netbsd/usr.bin/du/ |
D | du.c | 69 static void prstat(const char *, int64_t); 80 int64_t totalblocks; in main() 261 prstat(const char *fname, int64_t blocks) in prstat() 270 int64_t sz = blocks * 512; in prstat() 278 howmany(blocks, (int64_t)blocksize), in prstat()
|
/system/core/libpixelflinger/codeflinger/ |
D | CodeCache.h | 95 inline cache_entry_t(const sp<Assembly>& a, int64_t w) in cache_entry_t() 98 mutable int64_t when; 112 mutable int64_t mWhen;
|
/system/core/fastboot/ |
D | fastboot.c | 76 static int64_t sparse_limit = -1; 77 static int64_t target_sparse_limit = -1; 153 static int64_t file_size(int fd) in file_size() 581 static int64_t get_target_sparse_limit(struct usb_handle *usb) in get_target_sparse_limit() 583 int64_t limit = 0; in get_target_sparse_limit() 598 static int64_t get_sparse_limit(struct usb_handle *usb, int64_t size) in get_sparse_limit() 600 int64_t limit; in get_sparse_limit() 639 int64_t sz64; in load_buf_fd() 641 int64_t limit; in load_buf_fd() 691 int64_t sz64 = sparse_file_len(*s, true, false); in flash_buf() [all …]
|
/system/core/toolbox/upstream-netbsd/lib/libc/gen/ |
D | humanize_number.c | 47 humanize_number(char *buf, size_t len, int64_t bytes, in humanize_number() 52 int64_t divisor, max, post = 1; in humanize_number()
|