Lines Matching defs:namelen
51 size_t namelen;
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 > sizeof(*p_addr)
113 *alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1;