/system/extras/ext4_utils/ |
D | indirect.c | 42 u32 len; in create_backing() local 55 static void reserve_indirect_block(struct block_allocation *alloc, int len) in reserve_indirect_block() 68 static void reserve_dindirect_block(struct block_allocation *alloc, int len) in reserve_dindirect_block() 85 static void reserve_tindirect_block(struct block_allocation *alloc, int len) in reserve_tindirect_block() 101 static void fill_indirect_block(u32 *ind_block, int len, struct block_allocation *alloc) in fill_indirect_block() 109 static void fill_dindirect_block(u32 *dind_block, int len, struct block_allocation *alloc) in fill_dindirect_block() 139 static void fill_tindirect_block(u32 *tind_block, int len, struct block_allocation *alloc) in fill_tindirect_block() 169 int len = min(*block_len, EXT4_NDIR_BLOCKS); in inode_attach_direct_blocks() local 192 int len = min(*block_len, aux_info.blocks_per_ind); in inode_attach_indirect_blocks() local 224 int len = min(*block_len, aux_info.blocks_per_dind); in inode_attach_dindirect_blocks() local [all …]
|
D | extent.c | 40 u32 len; in extent_create_backing() local 62 u32 len; in extent_create_backing_file() local 75 struct ext4_inode *inode, u64 len, struct block_allocation *prealloc) in do_inode_allocate_extents() 200 u8 *inode_allocate_data_extents(struct ext4_inode *inode, u64 len, in inode_allocate_data_extents() 225 struct block_allocation* inode_allocate_file_extents(struct ext4_inode *inode, u64 len, in inode_allocate_file_extents() 258 void inode_allocate_extents(struct ext4_inode *inode, u64 len) in inode_allocate_extents()
|
D | wipe.c | 35 int wipe_block_device(int fd, s64 len) in wipe_block_device() 70 int wipe_block_device(int fd, s64 len) in wipe_block_device()
|
/system/core/libcutils/ |
D | strdup16to8.c | 29 extern size_t strnlen16to8(const char16_t* utf16Str, size_t len) in strnlen16to8() 109 extern char* strncpy16to8(char* utf8Str, const char16_t* utf16Str, size_t len) in strncpy16to8() 149 size_t len; in strndup16to8() local
|
D | fs_config.c | 46 uint16_t len; member 192 static bool fs_config_cmp(bool dir, const char *prefix, size_t len, in fs_config_cmp() 230 ssize_t len, remainder = host_len - sizeof(header); in fs_config() local 280 size_t len = ALIGN(sizeof(*p) + strlen(pc->prefix) + 1, sizeof(uint64_t)); in fs_config_generate() local
|
/system/core/libutils/ |
D | String8.cpp | 83 static char* allocFromUTF8(const char* in, size_t len) in allocFromUTF8() 103 static char* allocFromUTF16(const char16_t* in, size_t len) in allocFromUTF16() 124 static char* allocFromUTF32(const char32_t* in, size_t len) in allocFromUTF32() 181 String8::String8(const char* o, size_t len) in String8() 199 String8::String8(const char16_t* o, size_t len) in String8() 209 String8::String8(const char32_t* o, size_t len) in String8() 265 status_t String8::setTo(const char* other, size_t len) in setTo() 276 status_t String8::setTo(const char16_t* other, size_t len) in setTo() 287 status_t String8::setTo(const char32_t* other, size_t len) in setTo() 416 size_t len = size(); in find() local [all …]
|
D | String16.cpp | 113 String16::String16(const String16& o, size_t len, size_t begin) in String16() 121 size_t len = strlen16(o); in String16() local 134 String16::String16(const char16_t* o, size_t len) in String16() 159 String16::String16(const char* o, size_t len) in String16() 181 status_t String16::setTo(const String16& other, size_t len, size_t begin) in setTo() 207 status_t String16::setTo(const char16_t* other, size_t len) in setTo() 270 status_t String16::insert(size_t pos, const char16_t* chrs, size_t len) in insert() 396 status_t String16::remove(size_t len, size_t begin) in remove()
|
/system/extras/f2fs_utils/ |
D | f2fs_ioutils.c | 91 size_t len; member 97 static int dev_write_fd(void *buf, __u64 offset, size_t len) in dev_write_fd() 153 int dev_read_version(void *buf, __u64 offset, size_t len) in dev_read_version() 158 int dev_read(void *buf, __u64 offset, size_t len) in dev_read() 163 int dev_write(void *buf, __u64 offset, size_t len) in dev_write() 173 int dev_fill(void *buf, __u64 offset, size_t len) in dev_fill()
|
/system/core/libsparse/ |
D | output_file.c | 87 int64_t len; member 139 static int file_pad(struct output_file *out, int64_t len) in file_pad() 152 static int file_write(struct output_file *out, void *data, int len) in file_write() 211 static int gz_file_pad(struct output_file *out, int64_t len) in gz_file_pad() 235 static int gz_file_write(struct output_file *out, void *data, int len) in gz_file_write() 296 static int callback_file_write(struct output_file *out, void *data, int len) in callback_file_write() 318 int read_all(int fd, void *buf, size_t len) in read_all() 366 static int write_sparse_fill_chunk(struct output_file *out, unsigned int len, in write_sparse_fill_chunk() 401 static int write_sparse_data_chunk(struct output_file *out, unsigned int len, in write_sparse_data_chunk() 475 static int write_normal_data_chunk(struct output_file *out, unsigned int len, in write_normal_data_chunk() [all …]
|
D | sparse.c | 30 struct sparse_file *sparse_file_new(unsigned int block_size, int64_t len) in sparse_file_new() 56 void *data, unsigned int len, unsigned int block) in sparse_file_add_data() 62 uint32_t fill_val, unsigned int len, unsigned int block) in sparse_file_add_fill() 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() 182 int (*write)(void *priv, const void *data, int len), void *priv) in sparse_file_callback() 202 static int out_counter_write(void *priv, const void *data __unused, int len) in out_counter_write() 234 struct sparse_file *to, unsigned int len) in move_chunks_up_to_len()
|
/system/core/logd/ |
D | LogKlog.cpp | 46 static char *is_prio(char *s, size_t len) { in is_prio() 63 static char *is_timestamp(char *s, size_t len) { in is_timestamp() 98 char *log_strntok_r(char *s, size_t *len, char **last, size_t *sublen) { in log_strntok_r() 241 size_t len = 0; in onDataAvailable() local 279 size_t len) { in calculateCorrection() 309 static const char *strnstr(const char *s, size_t len, const char *needle) { in strnstr() 331 const char **buf, size_t len, in sniffTime() 405 pid_t LogKlog::sniffPid(const char **buf, size_t len) { in sniffPid() 448 static int parseKernelPrio(const char **buf, size_t len) { in parseKernelPrio() 469 void LogKlog::synchronize(const char *buf, size_t len) { in synchronize() [all …]
|
D | LogBufferElement.cpp | 39 const char *msg, unsigned short len) : in LogBufferElement() 131 size_t len = strlen(name + 1); in populateDroppedMessage() local 159 size_t len = snprintf(NULL, 0, format_uid, mUid, name ? name : "", in populateDroppedMessage() local
|
/system/bt/stack/avdt/ |
D | avdt_msg.c | 274 UINT8 len; in avdt_msg_bld_cfg() local 583 static UINT8 avdt_msg_prs_cfg(tAVDT_CFG *p_cfg, UINT8 *p, UINT16 len, UINT8* p_elem, UINT8 sig_id) in avdt_msg_prs_cfg() 781 static UINT8 avdt_msg_prs_none(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_none() 800 static UINT8 avdt_msg_prs_single(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_single() 832 static UINT8 avdt_msg_prs_setconfig_cmd(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_setconfig_cmd() 891 static UINT8 avdt_msg_prs_reconfig_cmd(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_reconfig_cmd() 942 static UINT8 avdt_msg_prs_multi(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_multi() 984 static UINT8 avdt_msg_prs_security_cmd(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_security_cmd() 1021 static UINT8 avdt_msg_prs_discover_rsp(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_discover_rsp() 1066 static UINT8 avdt_msg_prs_svccap(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_svccap() [all …]
|
/system/core/adb/ |
D | test_track_devices.cpp | 42 int len = snprintf(buffer, sizeof(buffer), "%04zx%s", strlen(request), request); in main() local 59 int len; in main() local
|
D | adb_io.cpp | 50 unsigned long len = strtoul(buf, 0, 16); in ReadProtocolString() local 68 bool ReadFdExactly(int fd, void* buf, size_t len) { in ReadFdExactly() 95 bool WriteFdExactly(int fd, const void* buf, size_t len) { in WriteFdExactly()
|
/system/extras/libpagemap/ |
D | pm_map.c | 22 int pm_map_pagemap(pm_map_t *map, uint64_t **pagemap_out, size_t *len) { in pm_map_pagemap() 33 size_t len, i; in pm_map_usage_flags() local 94 size_t len, i; in pm_map_workingset() local
|
/system/connectivity/shill/net/ |
D | netlink_packet.cc | 27 NetlinkPacket::NetlinkPacket(const unsigned char* buf, size_t len) in NetlinkPacket() 80 bool NetlinkPacket::ConsumeData(size_t len, void* data) { in ConsumeData() 106 MutableNetlinkPacket::MutableNetlinkPacket(const unsigned char* buf, size_t len) in MutableNetlinkPacket()
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
D | fastgrep.c | 205 grep_search(fastgrep_t *fg, const unsigned char *data, size_t len, regmatch_t *pmatch) in grep_search() 281 grep_cmp(const unsigned char *pat, const unsigned char *data, size_t len) in grep_cmp() 326 grep_revstr(unsigned char *str, int len) in grep_revstr()
|
/system/core/liblog/ |
D | uio.c | 31 int len = vecs->iov_len; in readv() local 58 int len = vecs->iov_len; in writev() local
|
D | logger_write.c | 229 size_t len, i; in __write_to_log_daemon() local 299 size_t len = vec[0].iov_len; in __write_to_log_daemon() local 494 const void *payload, size_t len) in __android_log_bwrite() 508 size_t len) in __android_log_security_bwrite() 526 const void *payload, size_t len) in __android_log_btwrite() 548 uint32_t len = strlen(payload); in __android_log_bswrite() local 571 uint32_t len = strlen(payload); in __android_log_security_bswrite() local
|
/system/core/libcutils/tests/ |
D | PropertiesTest.cpp | 109 int len = property_get(PROPERTY_TEST_KEY, mValue, PROPERTY_TEST_VALUE_DEFAULT); in TEST_F() local 116 int len = SetAndGetProperty("hello_world"); in TEST_F() local 125 int len = SetAndGetProperty("", EMPTY_STRING_DEFAULT); in TEST_F() local 135 int len = SetAndGetProperty(maxLengthString.c_str()); in TEST_F() local 150 int len = property_get(PROPERTY_TEST_KEY, mValue, PROPERTY_TEST_VALUE_DEFAULT); in TEST_F() local 168 int len = property_get(PROPERTY_TEST_KEY, mValue, oneLongerString.c_str()); in TEST_F() local
|
/system/bt/stack/gatt/ |
D | gatt_sr.c | 124 UINT16 ii, total_len, len; in process_read_multi_rsp() local 326 void gatt_process_exec_write_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatt_process_exec_write_req() 390 void gatt_process_read_multi_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatt_process_read_multi_req() 604 UINT16 len = *p_len; in gatt_build_find_info_rsp() local 686 UINT16 len = *p_len; in gatts_validate_packet_format() local 744 void gatts_process_primary_service_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_primary_service_req() 808 static void gatts_process_find_info(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_find_info() 873 static void gatts_process_mtu_req (tGATT_TCB *p_tcb, UINT16 len, UINT8 *p_data) in gatts_process_mtu_req() 941 void gatts_process_read_by_type_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_read_by_type_req() 1041 UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_write_req() [all …]
|
D | gatt_cl.c | 414 void gatt_process_find_type_value_rsp (tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT16 len, UINT8 *p_d… in gatt_process_find_type_value_rsp() 460 UINT16 len, UINT8 *p_data) in gatt_process_read_info_rsp() 559 UINT16 len, UINT8 *p_data) in gatt_process_error_rsp() 612 UINT16 len, UINT8 *p_data) in gatt_process_prep_write_rsp() 664 UINT16 len, UINT8 *p_data) in gatt_process_notification() 751 UINT16 len, UINT8 *p_data) in gatt_process_read_by_type_rsp() 952 UINT16 len, UINT8 *p_data) in gatt_process_read_rsp() 1054 void gatt_process_mtu_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT16 len, UINT8 *p_data) in gatt_process_mtu_rsp() 1167 UINT16 len, UINT8 *p_data) in gatt_client_handle_server_rsp()
|
/system/extras/simpleperf/ |
D | record_file_writer.cpp | 120 bool RecordFileWriter::WriteData(const void* buf, size_t len) { in WriteData() 128 bool RecordFileWriter::Write(const void* buf, size_t len) { in Write() 183 uint32_t len = static_cast<uint32_t>(ALIGN(s.size() + 1, 64)); in WriteFeatureString() local 205 uint32_t len = static_cast<uint32_t>(ALIGN(arg.size() + 1, 64)); in WriteCmdlineFeature() local
|
/system/core/libsync/include/sync/ |
D | sync.h | 29 uint32_t len; member 36 uint32_t len; member
|