| /system/core/toolbox/ |
| D | sendevent.c | 25 #define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len) /* get device name */ argument 26 #define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */ argument 27 #define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) /* get unique identifier */ argument 29 #define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) /* get global keystate */ argument 30 #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) /* get all LEDs */ argument 31 #define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len) /* get all sounds status */ argument 32 #define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) /* get all switch states */ argument 34 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + ev, len) /* get event bits */ argument
|
| /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()
|
| /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 | properties.c | 41 int len = property_get(key, buf, ""); in property_get_bool() local 71 int len = property_get(key, buf, ""); in property_get_imax() local 119 int len; in property_get() local 231 int len = -1; in property_get() local 354 int len; in property_get() local 388 int len; in property_set() local
|
| D | dir_hash.c | 58 int len; in get_file_hash() local 71 int len; in get_file_hash() local 201 int len = get_file_hash(algorithm, name, in recurse() local 272 int len = 0; in get_recursive_hash_manifest() 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/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/adb/ |
| D | test_track_jdwp.c | 17 unix_write( int fd, const char* buf, int len ) in unix_write() 35 unix_read( int fd, char* buf, int len ) in unix_read() 59 int len; in main() local
|
| D | test_track_devices.c | 17 unix_write( int fd, const char* buf, int len ) in unix_write() 35 unix_read( int fd, char* buf, int len ) in unix_read() 59 int len; in main() local
|
| D | transport.c | 44 static void dump_hex( const unsigned char* ptr, size_t len ) in dump_hex() 106 int len = p->msg.data_length; in dump_packet() local 146 int len = sizeof(*ppacket); in read_packet() local 176 int r, len = sizeof(ppacket); in write_packet() local 376 int len; in list_transports_msg() local 445 int len ) in device_tracker_send() 465 int len; in device_tracker_ready() local 500 int len; in update_transports() local 531 int len = sizeof(*m); in transport_read_action() local 553 int len = sizeof(*m); in transport_write_action() local [all …]
|
| D | file_sync_service.c | 109 int len; in do_list() local 125 int len = strlen(de->d_name); in do_list() local 160 int len = strlen(reason); in fail_message() local 218 unsigned int len; in handle_send_file() local 277 unsigned int len; in handle_send_link() local
|
| /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() 173 int (*write)(void *priv, const void *data, int len), void *priv) in sparse_file_callback() 193 static int out_counter_write(void *priv, const void *data __unused, int len) in out_counter_write() 225 struct sparse_file *to, unsigned int len) in move_chunks_up_to_len()
|
| /system/extras/f2fs_utils/ |
| D | f2fs_ioutils.c | 92 size_t len; member 98 static int dev_write_fd(void *buf, __u64 offset, size_t len) in dev_write_fd() 151 int dev_read(void *buf, __u64 offset, size_t len) in dev_read() 156 int dev_write(void *buf, __u64 offset, size_t len) in dev_write() 166 int dev_fill(void *buf, __u64 offset, size_t len) in dev_fill()
|
| /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/liblog/ |
| D | uio.c | 28 int len = vecs->iov_len; in readv() local 55 int len = vecs->iov_len; in writev() 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/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/libzipfile/ |
| D | centraldir.c | 36 read_central_dir_values(Zipfile* file, const unsigned char* buf, int len) in read_central_dir_values() 67 const unsigned char** buf, ssize_t* len) in read_central_directory_entry() 159 ssize_t len; in read_central_dir() local
|
| /system/core/init/ |
| D | bootchart.c | 50 unix_read(int fd, void* buff, int len) in unix_read() 58 unix_write(int fd, const void* buff, int len) in unix_write() 68 int len = 0; in proc_read() local 94 file_buff_write( FileBuff buff, const void* src, int len ) in file_buff_write() 188 int fd, ret, len; in do_log_uptime() local 198 int len; in do_log_uptime() local 257 int len; in do_log_procs() local
|
| /system/core/include/cutils/ |
| D | trace.h | 188 size_t len; in atrace_begin() local 222 size_t len; in atrace_async_begin() local 240 size_t len; in atrace_async_end() local 258 size_t len; in atrace_int() local 275 size_t len; in atrace_int64() local
|
| /system/core/libsync/include/sync/ |
| D | sync.h | 29 uint32_t len; member 36 uint32_t len; member
|