/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) in do_inode_allocate_extents() 180 u8 *inode_allocate_data_extents(struct ext4_inode *inode, u64 len, in inode_allocate_data_extents() 205 struct block_allocation* inode_allocate_file_extents(struct ext4_inode *inode, u64 len, in inode_allocate_file_extents() 221 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()
|
D | allocate.c | 27 u32 len; member 158 u32 block, u32 len, int bg_num) in append_region() 257 void reduce_allocation(struct block_allocation *alloc, u32 len) in reduce_allocation() 344 static u32 ext4_allocate_blocks_from_block_group(u32 len, int bg_num) in ext4_allocate_blocks_from_block_group() 375 static struct region *ext4_allocate_best_fit_partial(u32 len) in ext4_allocate_best_fit_partial() 413 static struct region *ext4_allocate_best_fit(u32 len) in ext4_allocate_best_fit() 446 struct block_allocation *allocate_blocks(u32 len) in allocate_blocks() 513 void get_region(struct block_allocation *alloc, u32 *block, u32 *len) in get_region() 543 static struct region *do_split_allocation(struct block_allocation *alloc, u32 len) in do_split_allocation() 580 static struct region *split_allocation(struct block_allocation *alloc, u32 len) in split_allocation() [all …]
|
/system/core/libutils/ |
D | String8.cpp | 81 static char* allocFromUTF8(const char* in, size_t len) in allocFromUTF8() 101 static char* allocFromUTF16(const char16_t* in, size_t len) in allocFromUTF16() 121 static char* allocFromUTF32(const char32_t* in, size_t len) in allocFromUTF32() 178 String8::String8(const char* o, size_t len) in String8() 196 String8::String8(const char16_t* o, size_t len) in String8() 206 String8::String8(const char32_t* o, size_t len) in String8() 257 status_t String8::setTo(const char* other, size_t len) in setTo() 268 status_t String8::setTo(const char16_t* other, size_t len) in setTo() 279 status_t String8::setTo(const char32_t* other, size_t len) in setTo() 408 size_t len = size(); in find() local [all …]
|
D | String16.cpp | 112 String16::String16(const String16& o, size_t len, size_t begin) in String16() 120 size_t len = strlen16(o); in String16() local 133 String16::String16(const char16_t* o, size_t len) in String16() 158 String16::String16(const char* o, size_t len) in String16() 175 status_t String16::setTo(const String16& other, size_t len, size_t begin) in setTo() 201 status_t String16::setTo(const char16_t* other, size_t len) in setTo() 264 status_t String16::insert(size_t pos, const char16_t* chrs, size_t len) in insert() 385 status_t String16::remove(size_t len, size_t begin) in remove()
|
/system/core/libcutils/ |
D | strdup16to8.c | 29 extern size_t strnlen16to8(const char16_t* utf16Str, size_t len) in strnlen16to8() 107 extern char* strncpy16to8(char* utf8Str, const char16_t* utf16Str, size_t len) in strncpy16to8() 146 size_t len; in strndup16to8() local
|
D | trace-dev.c | 197 size_t len; in atrace_begin_body() local 207 size_t len; in atrace_async_begin_body() local 217 size_t len; in atrace_async_end_body() local 227 size_t len; in atrace_int_body() local 237 size_t len; in atrace_int64_body() local
|
D | fs_config.c | 46 uint16_t len; member 178 static bool fs_config_cmp(bool dir, const char *prefix, size_t len, in fs_config_cmp() 216 ssize_t len, remainder = host_len - sizeof(header); in fs_config() local 266 size_t len = ALIGN(sizeof(*p) + strlen(pc->prefix) + 1, sizeof(uint64_t)); in fs_config_generate() local
|
D | ashmem-dev.c | 75 int ashmem_pin_region(int fd, size_t offset, size_t len) in ashmem_pin_region() 81 int ashmem_unpin_region(int fd, size_t offset, size_t len) in ashmem_unpin_region()
|
/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/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() 150 int dev_read_version(void *buf, __u64 offset, size_t len) in dev_read_version() 155 int dev_read(void *buf, __u64 offset, size_t len) in dev_read() 160 int dev_write(void *buf, __u64 offset, size_t len) in dev_write() 170 int dev_fill(void *buf, __u64 offset, size_t len) in dev_fill()
|
/system/bt/stack/avdt/ |
D | avdt_msg.c | 272 UINT8 len; in avdt_msg_bld_cfg() local 581 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() 779 static UINT8 avdt_msg_prs_none(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_none() 798 static UINT8 avdt_msg_prs_single(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_single() 830 static UINT8 avdt_msg_prs_setconfig_cmd(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_setconfig_cmd() 889 static UINT8 avdt_msg_prs_reconfig_cmd(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_reconfig_cmd() 940 static UINT8 avdt_msg_prs_multi(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_multi() 982 static UINT8 avdt_msg_prs_security_cmd(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_security_cmd() 1019 static UINT8 avdt_msg_prs_discover_rsp(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_discover_rsp() 1064 static UINT8 avdt_msg_prs_svccap(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len) in avdt_msg_prs_svccap() [all …]
|
/system/bt/stack/avrc/ |
D | avrc_bld_tg.c | 44 UINT16 len = 0; in avrc_bld_get_capability_rsp() local 122 UINT16 len = 0; in avrc_bld_list_app_settings_attr_rsp() local 175 UINT16 len; in avrc_bld_list_app_settings_values_rsp() local 224 UINT16 len; in avrc_bld_get_cur_app_setting_value_rsp() local 302 UINT16 len, len_left; in avrc_bld_app_setting_text_rsp() local 451 UINT16 len; in avrc_bld_get_elem_attrs_rsp() local 544 UINT16 len = 0; in avrc_bld_notify_rsp() local 741 UINT16 offset = AVRC_MSG_PASS_THRU_OFFSET, chnl = AVCT_DATA_CTRL, len=AVRC_META_CMD_POOL_SIZE; in avrc_bld_init_rsp_buffer() local
|
/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 91 size_t len, i; in pm_map_workingset() local
|
/system/core/adb/ |
D | test_track_devices.cpp | 41 int len = snprintf(buffer, sizeof(buffer), "%04zx%s", strlen(request), request); in main() local 58 int len; in main() local
|
D | file_sync_service.cpp | 106 int len; in do_list() local 122 int len = strlen(de->d_name); in do_list() local 157 int len = strlen(reason); in fail_message() local 215 unsigned int len; in handle_send_file() local 276 unsigned int len; in handle_send_link() local
|
/system/bt/stack/gatt/ |
D | gatt_sr.c | 127 UINT16 ii, total_len, len; in process_read_multi_rsp() local 331 void gatt_process_exec_write_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatt_process_exec_write_req() 395 void gatt_process_read_multi_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatt_process_read_multi_req() 622 UINT16 len = *p_len; in gatt_build_find_info_rsp() local 704 UINT16 len = *p_len; in gatts_validate_packet_format() local 762 void gatts_process_primary_service_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_primary_service_req() 833 static void gatts_process_find_info(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_find_info() 908 static void gatts_process_mtu_req (tGATT_TCB *p_tcb, UINT16 len, UINT8 *p_data) in gatts_process_mtu_req() 976 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() 1093 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() 660 UINT16 len, UINT8 *p_data) in gatt_process_notification() 746 UINT16 len, UINT8 *p_data) in gatt_process_read_by_type_rsp() 948 UINT16 len, UINT8 *p_data) in gatt_process_read_rsp() 1051 void gatt_process_mtu_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT16 len, UINT8 *p_data) in gatt_process_mtu_rsp() 1164 UINT16 len, UINT8 *p_data) in gatt_client_handle_server_rsp()
|
/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/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 | 28 int len = vecs->iov_len; in readv() local 55 int len = vecs->iov_len; in writev() local
|
/system/core/logd/tests/ |
D | logd_test.cpp | 34 static void my_android_logger_get_statistics(char *buf, size_t len) in my_android_logger_get_statistics() 68 size_t len = 8192; in alloc_statistics() local 135 size_t len; in TEST() local 240 unsigned int len = msg->entry.len; in dump_log_msg() local 362 size_t len; in TEST() local
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 139 int len = IFLA_PAYLOAD(nh); in parseIfInfoMessage() local 178 int len = IFA_PAYLOAD(nh); in parseIfAddrMessage() local 276 int len = 0; in parseNfPacketMessage() local 344 size_t len = RTM_PAYLOAD(nh); in parseRtMessage() local 407 int len = NLMSG_PAYLOAD(nh, sizeof(*msg)); in parseNdUserOptMessage() local 642 size_t len = strlen(paramName); in findParam() local
|