Searched defs:namelen (Results 1 - 7 of 7) sorted by relevance
/system/bt/osi/src/socket_utils/ |
H A D | socket_local_client.c | 37 size_t namelen; local 42 namelen = strlen(name); 45 if ((namelen + 1) > sizeof(p_addr->sun_path)) { 55 memcpy(p_addr->sun_path + 1, name, namelen); 59 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX); 61 if (namelen > 72 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX); 74 if (namelen > 84 namelen = strlen(name); 86 if (namelen > [all...] |
/system/core/libcutils/ |
H A D | socket_local_client_unix.c | 51 size_t namelen; local 56 namelen = strlen(name); 59 if ((namelen + 1) > sizeof(p_addr->sun_path)) { 69 memcpy(p_addr->sun_path + 1, name, namelen); 73 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX); 75 if (namelen > sizeof(*p_addr) 86 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX); 88 if (namelen > sizeof(*p_addr) 98 namelen = strlen(name); 100 if (namelen > sizeo [all...] |
/system/core/adb/ |
H A D | file_sync_service.h | 54 uint32_t namelen; member in struct:syncmsg::__anon1491
|
/system/core/liblog/ |
H A D | logd_reader.c | 141 size_t namelen; local 146 namelen = strlen(name); 149 if ((namelen + 1) > sizeof(p_addr->sun_path)) { 159 memcpy(p_addr->sun_path + 1, name, namelen); 163 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX); 165 if (namelen > sizeof(*p_addr) 176 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX); 178 if (namelen > sizeof(*p_addr) 188 namelen = strlen(name); 190 if (namelen > sizeo [all...] |
/system/core/init/ |
H A D | property_service.cpp | 145 static bool is_legal_property_name(const char* name, size_t namelen) argument 148 if (namelen >= PROP_NAME_MAX) return false; 149 if (namelen < 1) return false; 151 if (name[namelen - 1] == '.') return false; 155 for (i = 0; i < namelen; i++) { 172 size_t namelen = strlen(name); local 175 if (!is_legal_property_name(name, namelen)) return -1; 196 int rc = __system_property_add(name, namelen, value, valuelen);
|
/system/bt/bta/hf_client/ |
H A D | bta_hf_client_at.c | 76 UINT8 namelen; member in struct:__anon192 358 if (strncmp(name, bta_hf_client_indicators[i].name, bta_hf_client_indicators[i].namelen) != 0)
|
/system/core/sdcard/ |
H A D | sdcard.c | 167 size_t namelen; member in struct:node 172 * namelen for both fields. 286 memset(node->name, 0xef, node->namelen); 329 size_t namelen; local 332 namelen = node->graft_pathlen; 335 namelen = node->namelen; 338 namelen = node->namelen; 341 if (bufsize < namelen 370 size_t namelen = strlen(name); local 561 size_t namelen = strlen(name); local 605 size_t namelen = strlen(name); local 769 size_t namelen = strlen(name); local [all...] |
Completed in 307 milliseconds