/system/extras/boot_control_copy/ |
D | bootinfo.cpp | 78 size_t trimmed_len, name_len; in boot_info_open_partition() local 84 name_len = strlen(name); in boot_info_open_partition() 85 path = static_cast<char*>(calloc(trimmed_len + name_len + 1, 1)); in boot_info_open_partition() 87 strncpy(path + trimmed_len, name, name_len); in boot_info_open_partition()
|
/system/extras/ext4_utils/include/ext4_utils/ |
D | xattr.h | 35 #define EXT4_XATTR_LEN(name_len) \ argument 36 (((name_len) + EXT4_XATTR_ROUND + sizeof(struct ext4_xattr_entry)) & ~EXT4_XATTR_ROUND)
|
D | ext4.h | 594 __le16 name_len; member 601 __u8 name_len; member 619 #define EXT4_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT4_DIR_ROUND) & ~EXT4_DIR_ROUND) argument
|
/system/nfc/src/nfc/llcp/ |
D | llcp_sdp.cc | 105 uint16_t name_len = (uint16_t)strlen(p_name); in llcp_sdp_add_sdreq() local 111 UINT8_TO_BE_STREAM(p, (1 + name_len)); in llcp_sdp_add_sdreq() 113 ARRAY_TO_BE_STREAM(p, p_name, name_len); in llcp_sdp_add_sdreq() 115 llcp_cb.sdp_cb.p_snl->len += LLCP_SDREQ_MIN_LEN + name_len; in llcp_sdp_add_sdreq() 130 uint16_t name_len; in llcp_sdp_send_sdreq() local 151 name_len = (uint16_t)strlen(p_name); in llcp_sdp_send_sdreq() 154 if ((available_bytes >= LLCP_SDREQ_MIN_LEN + name_len) && in llcp_sdp_send_sdreq() 155 (llcp_cb.sdp_cb.p_snl->len + LLCP_SDREQ_MIN_LEN + name_len <= in llcp_sdp_send_sdreq()
|
/system/core/fastboot/ |
D | usb_windows.cpp | 127 unsigned long name_len = 0; in do_usb_open() local 132 &name_len, in do_usb_open() 134 if (0 != name_len) { in do_usb_open() 136 ret->interface_name.resize(name_len); in do_usb_open() 139 &name_len, in do_usb_open()
|
/system/core/libcutils/ |
D | trace-container.cpp | 145 int name_len = strlen(name) - (len - sizeof(buf)) - 1; \ 147 if (name_len > 0) { \ 152 pid, tid, ts, tts, name_len, name, value); \
|
D | trace-dev.inc | 195 * it is impossible for name_len to be < 0 if len >= sizeof(buf). */ \ 196 int name_len = strlen(name) - (len - sizeof(buf)) - 1; \ 200 name_len, name, value); \
|
/system/bt/packet/avrcp/ |
D | get_folder_items.cc | 175 uint16_t name_len = item.name_.size(); in PushMediaPlayerItem() local 176 AddPayloadOctets2(pkt, base::ByteSwap(name_len)); in PushMediaPlayerItem() 193 uint16_t name_len = item.name_.size(); in PushFolderItem() local 194 AddPayloadOctets2(pkt, base::ByteSwap(name_len)); in PushFolderItem() 210 uint16_t name_len = item.name_.size(); in PushMediaElementItem() local 211 AddPayloadOctets2(pkt, base::ByteSwap(name_len)); in PushMediaElementItem()
|
/system/bt/osi/test/fuzzers/alarm/ |
D | fuzz_alarm.cc | 50 size_t name_len = in fuzz_init_alarm() local 53 dataProvider->ConsumeBytesWithTerminator<char>(name_len, '\0'); in fuzz_init_alarm()
|
/system/nfc/src/nfa/dm/ |
D | nfa_dm_ndef.cc | 273 ((payload_len > p_cb->p_ndef_handler[i]->name_len) && in nfa_dm_ndef_find_next_handler() 275 p_cb->p_ndef_handler[i]->name_len) == 0))) { in nfa_dm_ndef_find_next_handler() 290 p_cb->p_ndef_handler[i]->name_len && in nfa_dm_ndef_find_next_handler() 293 p_cb->p_ndef_handler[i]->name_len) == 0)) { in nfa_dm_ndef_find_next_handler() 322 else if (p_cb->p_ndef_handler[i]->name_len == type_name_len) { in nfa_dm_ndef_find_next_handler()
|
D | nfa_dm_api.cc | 1020 p_msg->name_len = type_name_len; in NFA_RegisterNDefTypeHandler() 1090 p_msg->name_len = uri_id_len; in NFA_RegisterNDefUriHandler()
|
/system/bt/stack/hid/ |
D | hidh_api.cc | 75 uint16_t name_len; in hidh_get_str_attr() local 79 name_len = SDP_DISC_ATTR_LEN(p_attr->attr_len_type); in hidh_get_str_attr() 80 if (name_len < max_len) { in hidh_get_str_attr() 81 memcpy(str, (char*)p_attr->attr_value.v.array, name_len); in hidh_get_str_attr() 82 str[name_len] = '\0'; in hidh_get_str_attr()
|
/system/logging/logd/ |
D | LogBufferElement.cpp | 169 size_t name_len = strlen(name); in tidToName() local 171 if ((retval_len < name_len) && in tidToName() 172 !fastcmp<strcmp>(retval, name + name_len - retval_len)) { in tidToName()
|
/system/update_engine/payload_generator/ |
D | ext2_filesystem.cc | 102 uint32_t file_type = dirent->name_len >> 8; in UpdateFileAndAppend() 113 string basename(dirent->name, dirent->name_len & 0xff); in UpdateFileAndAppend()
|
/system/bt/btif/src/ |
D | btif_core.cc | 663 uint16_t name_len = property->len > BTM_MAX_LOC_BD_NAME_LEN in btif_set_adapter_property() local 666 memcpy(bd_name, property->val, name_len); in btif_set_adapter_property() 667 bd_name[name_len] = '\0'; in btif_set_adapter_property()
|
/system/nfc/src/nfa/include/ |
D | nfa_dm_int.h | 158 uint8_t name_len; /* Length of type name or absolute URI */ member
|