Searched refs:namelen (Results 1 – 11 of 11) sorted by relevance
/system/bt/osi/src/socket_utils/ |
D | socket_local_client.cc | 37 size_t namelen; in osi_socket_make_sockaddr_un() local 42 namelen = strlen(name); in osi_socket_make_sockaddr_un() 45 if ((namelen + 1) > sizeof(p_addr->sun_path)) { in osi_socket_make_sockaddr_un() 55 memcpy(p_addr->sun_path + 1, name, namelen); in osi_socket_make_sockaddr_un() 59 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX); in osi_socket_make_sockaddr_un() 61 if (namelen > in osi_socket_make_sockaddr_un() 72 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX); in osi_socket_make_sockaddr_un() 74 if (namelen > in osi_socket_make_sockaddr_un() 84 namelen = strlen(name); in osi_socket_make_sockaddr_un() 86 if (namelen > in osi_socket_make_sockaddr_un() [all …]
|
/system/core/libcutils/ |
D | socket_local_client_unix.c | 51 size_t namelen; in socket_make_sockaddr_un() local 56 namelen = strlen(name); in socket_make_sockaddr_un() 59 if ((namelen + 1) > sizeof(p_addr->sun_path)) { in socket_make_sockaddr_un() 69 memcpy(p_addr->sun_path + 1, name, namelen); in socket_make_sockaddr_un() 73 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX); in socket_make_sockaddr_un() 75 if (namelen > sizeof(*p_addr) in socket_make_sockaddr_un() 86 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX); in socket_make_sockaddr_un() 88 if (namelen > sizeof(*p_addr) in socket_make_sockaddr_un() 98 namelen = strlen(name); in socket_make_sockaddr_un() 100 if (namelen > sizeof(*p_addr) in socket_make_sockaddr_un() [all …]
|
/system/core/sdcard/ |
D | fuse.cpp | 66 memset(node->name, 0xef, node->namelen); in release_node_locked() 109 size_t namelen; in get_node_path_locked() local 112 namelen = node->graft_pathlen; in get_node_path_locked() 115 namelen = node->namelen; in get_node_path_locked() 118 namelen = node->namelen; in get_node_path_locked() 121 if (bufsize < namelen + 1) { in get_node_path_locked() 127 pathlen = get_node_path_locked(node->parent, buf, bufsize - namelen - 1); in get_node_path_locked() 134 memcpy(buf + pathlen, name, namelen + 1); /* include trailing \0 */ in get_node_path_locked() 135 return pathlen + namelen; in get_node_path_locked() 150 size_t namelen = strlen(name); in find_file_within() local [all …]
|
D | fuse.h | 124 size_t namelen; member
|
D | sdcard.cpp | 246 global.root.namelen = strlen(source_path); in run()
|
/system/core/liblog/ |
D | logd_reader.c | 137 size_t namelen; in socket_make_sockaddr_un() local 142 namelen = strlen(name); in socket_make_sockaddr_un() 145 if ((namelen + 1) > sizeof(p_addr->sun_path)) { in socket_make_sockaddr_un() 155 memcpy(p_addr->sun_path + 1, name, namelen); in socket_make_sockaddr_un() 159 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX); in socket_make_sockaddr_un() 161 if (namelen > in socket_make_sockaddr_un() 172 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX); in socket_make_sockaddr_un() 174 if (namelen > in socket_make_sockaddr_un() 184 namelen = strlen(name); in socket_make_sockaddr_un() 186 if (namelen > in socket_make_sockaddr_un() [all …]
|
/system/core/init/ |
D | property_service.cpp | 142 size_t namelen = name.size(); in is_legal_property_name() local 144 if (namelen < 1) return false; in is_legal_property_name() 146 if (name[namelen - 1] == '.') return false; in is_legal_property_name() 150 for (size_t i = 0; i < namelen; i++) { in is_legal_property_name()
|
/system/core/adb/ |
D | file_sync_service.h | 70 uint32_t namelen; member
|
D | file_sync_service.cpp | 167 msg.dent.namelen = d_name_length; in do_list() 181 msg.dent.namelen = 0; in do_list()
|
D | file_sync_client.cpp | 625 size_t len = msg.dent.namelen; in sync_ls()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.cc | 76 uint8_t namelen; member 354 bta_hf_client_indicators[i].namelen) != 0) in bta_hf_client_handle_cind_list_item()
|