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.cpp | 49 size_t namelen; in socket_make_sockaddr_un() local 54 namelen = strlen(name); in socket_make_sockaddr_un() 57 if ((namelen + 1) > sizeof(p_addr->sun_path)) { in socket_make_sockaddr_un() 67 memcpy(p_addr->sun_path + 1, name, namelen); in socket_make_sockaddr_un() 71 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX); in socket_make_sockaddr_un() 73 if (namelen > sizeof(*p_addr) in socket_make_sockaddr_un() 84 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX); in socket_make_sockaddr_un() 86 if (namelen > sizeof(*p_addr) in socket_make_sockaddr_un() 96 namelen = strlen(name); in socket_make_sockaddr_un() 98 if (namelen > sizeof(*p_addr) in socket_make_sockaddr_un() [all …]
|
/system/core/property_service/libpropertyinfoparser/ |
D | property_info_parser.cpp | 70 bool TrieNode::FindChildForString(const char* name, uint32_t namelen, TrieNode* child) const { in FindChildForString() argument 71 …auto node_index = Find(trie_node_base_->num_child_nodes, [this, name, namelen](auto array_offset) { in FindChildForString() 73 int cmp = strncmp(child_name, name, namelen); in FindChildForString() 74 if (cmp == 0 && child_name[namelen] != '\0') { in FindChildForString() 95 auto prefix_len = trie_node.prefix(i)->namelen; in CheckPrefixMatch()
|
/system/core/adb/ |
D | file_sync_protocol.h | 73 uint32_t namelen; member 89 uint32_t namelen; member
|
/system/core/property_service/libpropertyinfoparser/include/property_info_parser/ |
D | property_info_parser.h | 31 uint32_t namelen; member 116 bool FindChildForString(const char* input, uint32_t namelen, TrieNode* child) const;
|
/system/core/init/ |
D | util.cpp | 403 size_t namelen = name.size(); in IsLegalPropertyName() local 405 if (namelen < 1) return false; in IsLegalPropertyName() 407 if (name[namelen - 1] == '.') return false; in IsLegalPropertyName() 411 for (size_t i = 0; i < namelen; i++) { in IsLegalPropertyName()
|
/system/core/property_service/libpropertyinfoserializer/ |
D | trie_serializer.cpp | 52 serialized_property_entry->namelen = property_entry.name.size(); in WritePropertyEntry()
|
D | property_info_serializer_test.cpp | 70 EXPECT_EQ(4U, prefix->namelen); in TEST()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.cc | 69 uint8_t namelen; member 344 bta_hf_client_indicators[i].namelen) != 0) in bta_hf_client_handle_cind_list_item()
|
/system/core/adb/daemon/ |
D | file_sync_service.cpp | 232 msg.namelen = d_name_length; in do_list()
|
/system/core/adb/client/ |
D | file_sync_client.cpp | 542 size_t len = dent.namelen; in FinishLsImpl()
|