/system/core/libbacktrace/ |
H A D | map_info.c | 46 size_t name_len = strlen(name); local 48 backtrace_map_info_t* mi = calloc(1, sizeof(backtrace_map_info_t) + name_len); 55 memcpy(mi->name, name, name_len); 56 mi->name[name_len - 1] = '\0'; 110 size_t name_len = strlen(name); local 111 if (name_len && name[name_len - 1] == '\n') { 112 name_len -= 1; 115 backtrace_map_info_t* mi = calloc(1, sizeof(backtrace_map_info_t) + name_len + 1); 122 memcpy(mi->name, name, name_len); [all...] |
/system/extras/ext4_utils/ |
H A D | xattr.h | 35 #define EXT4_XATTR_LEN(name_len) \ 36 (((name_len) + EXT4_XATTR_ROUND + \
|
H A D | contents.c | 67 u8 name_len = strlen(name); local 68 u16 rec_len = 8 + EXT4_ALIGN(name_len, 4); 85 dentry->name_len = name_len; 87 memcpy(dentry->name, name, name_len); 379 size_t name_len = strlen(name); local 380 if (name_len > 255) 384 size_t needed_size = EXT4_XATTR_LEN(name_len) + EXT4_XATTR_SIZE(value_len); 390 memset(new_entry, 0, EXT4_XATTR_LEN(name_len)); 392 new_entry->e_name_len = name_len; [all...] |
H A D | ext4.h | 537 __le16 name_len; member in struct:ext4_dir_entry 544 __u8 name_len; member in struct:ext4_dir_entry_2 562 #define EXT4_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT4_DIR_ROUND) & ~EXT4_DIR_ROUND)
|
H A D | ext4fixup.c | 598 strncpy(name, dirp->name, dirp->name_len); 599 name[dirp->name_len]='\0';
|
/system/netd/server/ |
H A D | NetdConstants.cpp | 126 size_t name_len = strlen(name); local 127 if ((name_len == 0) || (name_len > IFNAMSIZ)) { 136 for (i = 1; i < name_len; i++) {
|
/system/core/fastboot/ |
H A D | usb_windows.c | 120 unsigned long name_len = 0; local 125 &name_len, 127 if (0 != name_len) { 128 ret->interface_name = (char*)malloc(name_len); 134 &name_len,
|
/system/core/adb/ |
H A D | usb_windows.cpp | 226 unsigned long name_len = 0; local 231 &name_len, 233 if (0 != name_len) { 234 ret->interface_name = (char*)malloc(name_len); 240 &name_len,
|
/system/core/logd/ |
H A D | LogBufferElement.cpp | 92 size_t name_len = strlen(name); local 94 if ((retval_len < name_len) && !strcmp(retval, name + name_len - retval_len)) {
|
/system/bt/stack/hid/ |
H A D | hidh_api.c | 80 UINT16 name_len; local 84 if((name_len = SDP_DISC_ATTR_LEN(p_attr->attr_len_type)) < max_len ) 86 memcpy( str, (char *) p_attr->attr_value.v.array, name_len ); local 87 str[name_len] = '\0';
|
/system/vold/ |
H A D | CommandListener.cpp | 372 size_t name_len = strlen(dent->d_name); local 373 if (name_len > 5 && name_len < 260 && 374 !strcmp(&dent->d_name[name_len - 5], ".asec")) { 377 strlcpy(id, dent->d_name, name_len - 4);
|
/system/bt/btif/src/ |
H A D | btif_core.c | 1042 UINT16 name_len = 0; local 1054 name_len = property->len > BTM_MAX_LOC_BD_NAME_LEN ? BTM_MAX_LOC_BD_NAME_LEN: 1056 memcpy(bd_name,property->val, name_len); 1057 bd_name[name_len] = '\0';
|
/system/bt/bta/hl/ |
H A D | bta_hl_act.c | 1697 UINT16 name_len; local 1745 name_len = (UINT16)SDP_DISC_ATTR_LEN(p_attr->attr_len_type); 1747 name_len = BT_MAX_SERVICE_NAME_LEN; 1748 memcpy(p_hdp_rec->srv_name, p_attr->attr_value.v.array, name_len); 1755 name_len = (UINT16)SDP_DISC_ATTR_LEN(p_attr->attr_len_type); 1757 name_len = BT_MAX_SERVICE_NAME_LEN; 1758 memcpy(p_hdp_rec->srv_desp, p_attr->attr_value.v.array, name_len); 1766 name_len = (UINT16)SDP_DISC_ATTR_LEN(p_attr->attr_len_type); 1768 name_len = BT_MAX_SERVICE_NAME_LEN; 1769 memcpy(p_hdp_rec->provider_name, p_attr->attr_value.v.array, name_len); [all...] |
/system/core/init/ |
H A D | init.cpp | 766 int name_len = strlen(name); local 770 if (name_len == 0) return; 785 } else if (!strncmp(name, "androidboot.", 12) && name_len > 12) {
|
/system/bt/stack/include/ |
H A D | btm_api.h | 3562 ** name_len- 0, local device name would not be included. 3570 BT_OCTET16 r, UINT8 name_len);
|
/system/bt/stack/btm/ |
H A D | btm_sec.c | 1760 ** name_len- 0, local device name would not be included. 1768 BT_OCTET16 r, UINT8 name_len) 1821 name_size = name_len; 1767 BTM_BuildOobData(UINT8 *p_data, UINT16 max_len, BT_OCTET16 c, BT_OCTET16 r, UINT8 name_len) argument
|