Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/system/extras/ext4_utils/
Dindirect.c42 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 …]
Dextent.c40 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()
Dwipe.c35 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/
Dstrdup16to8.c29 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
Dfs_config.c46 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/
DString8.cpp83 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 …]
DString16.cpp113 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/
Df2fs_ioutils.c91 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/
Doutput_file.c87 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 …]
Dsparse.c30 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/
DLogKlog.cpp46 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 …]
DLogBufferElement.cpp39 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/
Davdt_msg.c274 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/
Dtest_track_devices.cpp42 int len = snprintf(buffer, sizeof(buffer), "%04zx%s", strlen(request), request); in main() local
59 int len; in main() local
Dadb_io.cpp50 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/
Dpm_map.c22 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/
Dnetlink_packet.cc27 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/
Dfastgrep.c205 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/
Duio.c31 int len = vecs->iov_len; in readv() local
58 int len = vecs->iov_len; in writev() local
Dlogger_write.c229 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/
DPropertiesTest.cpp109 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/
Dgatt_sr.c124 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 …]
Dgatt_cl.c414 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/
Drecord_file_writer.cpp120 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/
Dsync.h29 uint32_t len; member
36 uint32_t len; member

12345678910>>...14