/system/bt/device/include/ |
H A D | interop_database.h | 25 uint8_t len; member in struct:__anon696
|
/system/core/libcutils/ |
H A D | sockets.c | 32 socklen_t len = sizeof(cr); local 33 int n = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cr, &len);
|
H A D | partition_utils.c | 26 static int only_one_char(char *buf, int len, char c) argument 31 for (i=0; i<len; i++) {
|
H A D | process_name.c | 49 int len = strlen(new_name); local 50 char* copy = (char*) malloc(len + 1); 55 if (len < 16) { 58 prctl(PR_SET_NAME, (unsigned long) new_name + len - 15, 0, 0, 0);
|
H A D | ashmem-dev.c | 75 int ashmem_pin_region(int fd, size_t offset, size_t len) argument 77 struct ashmem_pin pin = { offset, len }; 81 int ashmem_unpin_region(int fd, size_t offset, size_t len) argument 83 struct ashmem_pin pin = { offset, len };
|
H A D | socket_network_client.c | 51 socklen_t len = sizeof(error); local 103 if (getsockopt(s, SOL_SOCKET, SO_ERROR, &error, &len) < 0) {
|
H A D | strdup16to8.c | 29 extern size_t strnlen16to8(const char16_t* utf16Str, size_t len) argument 34 * potentially be as big as 3*len, which will overflow 35 * for len > SIZE_MAX/3. 43 * dst = malloc(strnlen16to8(utf16,len)+1) 55 /* Fast path for the usual case where 3*len is < SIZE_MAX-1. 57 if (len < (SIZE_MAX-1)/3) { 58 while (len--) { 72 while (len--) { 102 * not just "len". 107 extern char* strncpy16to8(char* utf8Str, const char16_t* utf16Str, size_t len) argument 146 size_t len; local [all...] |
/system/core/libsparse/ |
H A D | sparse_file.h | 24 int64_t len; member in struct:sparse_file
|
H A D | img2simg.c | 53 off64_t len; local 89 len = lseek64(in, 0, SEEK_END); 92 s = sparse_file_new(block_size, len);
|
/system/extras/ext4_utils/ |
H A D | wipe.c | 35 int wipe_block_device(int fd, s64 len) argument 46 range[1] = len; 50 range[1] = len; 70 int wipe_block_device(int fd, s64 len) argument
|
H A D | ext4_sb.h | 29 int64_t len; /* If set to 0, ask the block device for the size, member in struct:fs_info
|
/system/bt/bta/ag/ |
H A D | bta_ag_ci.c | 43 void bta_ag_ci_rx_write(UINT16 handle, char *p_data, UINT16 len) argument 46 UINT16 len_remaining = len; 49 if (len > (RFCOMM_DATA_POOL_BUF_SIZE - sizeof(tBTA_AG_CI_RX_WRITE) - 1)) 50 len = RFCOMM_DATA_POOL_BUF_SIZE - sizeof(tBTA_AG_CI_RX_WRITE) - 1; 54 if (len_remaining < len) 55 len = len_remaining; 57 if ((p_buf = (tBTA_AG_CI_RX_WRITE *) GKI_getbuf((UINT16)(sizeof(tBTA_AG_CI_RX_WRITE) + len + 1))) != NULL) 63 strncpy(p_data_area, p_data, len); 64 p_data_area[len] = 0; 68 APPL_TRACE_ERROR("ERROR: Unable to allocate buffer to hold AT response code. len [all...] |
H A D | bta_ag_at.c | 188 void bta_ag_at_parse(tBTA_AG_AT_CB *p_cb, char *p_buf, UINT16 len) argument 203 for (i = 0; i < len;) 205 while (p_cb->cmd_pos < p_cb->cmd_max_len-1 && i < len) 243 if (i < len)
|
/system/core/include/mincrypt/ |
H A D | rsa.h | 41 int len; /* Length of n[] in number of uint32_t */ member in struct:RSAPublicKey 50 const int len,
|
/system/core/liblog/ |
H A D | uio.c | 28 int len = vecs->iov_len; local 30 while (len > 0) { 31 int ret = read( fd, buf, len ); 42 len -= ret; 55 int len = vecs->iov_len; local 57 while (len > 0) { 58 int ret = write( fd, buf, len ); 69 len -= ret;
|
/system/core/toolbox/upstream-netbsd/lib/libc/string/ |
H A D | swab.c | 48 swab(const void * __restrict from, void * __restrict to, ssize_t len) argument 54 if (len <= 1) 60 len /= 2; 65 if (__predict_false(len == 1)) { 71 while ((--len % 8) != 0) 73 len /= 8; 74 if (len == 0) 76 while (len-- != 0) {
|
/system/extras/f2fs_utils/ |
H A D | f2fs_utils.c | 60 int make_f2fs_sparse_fd(int fd, long long len, argument 68 len &= ~((__u64)F2FS_BLKSIZE); 69 config.total_sectors = len / config.sector_size; 71 f2fs_sparse_file = sparse_file_new(F2FS_BLKSIZE, len);
|
H A D | make_f2fs_main.c | 35 fprintf(stderr, "%s -l <len>\n", basename(path)); 45 long long len; local 49 len = atoll(optarg); 82 exitcode = make_f2fs_sparse_fd(fd, len, NULL, NULL);
|
/system/bt/btif/co/ |
H A D | bta_ag_co.c | 152 void bta_ag_co_tx_write(UINT16 handle, UNUSED_ATTR UINT8 * p_data, UINT16 len) argument 154 BTIF_TRACE_DEBUG( "bta_ag_co_tx_write: handle: %d, len: %d", handle, len );
|
/system/bt/stack/avrc/ |
H A D | avrc_bld_ct.c | 54 p_pkt->len = (p_data - p_start); 85 p_pkt->len = (p_data - p_start); 112 p_pkt->len = (p_data - p_start); 129 UINT16 offset = 0, chnl = AVCT_DATA_CTRL, len=AVRC_META_CMD_POOL_SIZE; local 148 p_pkt = (BT_HDR *)GKI_getbuf(len); 174 p_pkt->len = (p_data - p_start);
|
H A D | avrc_pars_ct.c | 47 UINT16 len; local 59 BE_STREAM_TO_UINT16 (len, p); 60 AVRC_TRACE_DEBUG("avrc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x", p_msg->hdr.ctype, p_result->pdu, len, len); 74 if (len != 1)
|
/system/bt/stack/btm/ |
H A D | btm_ble_cont_energy.c | 47 UINT16 len = p_params->param_len; local 51 if (len < 17)
|
/system/bt/test/suite/cases/ |
H A D | rfcomm.c | 36 ssize_t len = read(fd, response + total, sizeof(response) - total); local 37 TASSERT(len != -1 && len != 0, "Unable to read complete response from socket."); 38 total += len;
|
/system/core/adb/ |
H A D | test_track_devices.cpp | 41 int len = snprintf(buffer, sizeof(buffer), "%04zx%s", strlen(request), request); local 42 if (!android::base::WriteFully(s, buffer, len)) 58 int len; local 59 if (sscanf(head, "%04x", &len) != 1 ) 62 if (!android::base::ReadFully(s, buffer, len)) 65 printf( "received header %.*s (%d bytes):\n%.*s", 4, head, len, len, buffer );
|
/system/core/libsync/include/sync/ |
H A D | sync.h | 29 uint32_t len; member in struct:sync_fence_info_data 36 uint32_t len; member in struct:sync_pt_info
|