/bionic/libc/unistd/ |
gethostname.c | 41 int namelen = strlen(name.nodename); local 43 if ((int)buflen < namelen+1) { 47 memcpy( buff, name.nodename, namelen+1 );
|
/external/chromium/net/base/ |
dns_util.cc | 18 unsigned int namelen = 0; /* <= sizeof name */ local 28 if (namelen + labellen + 1 > sizeof name) 30 name[namelen++] = labellen; 31 memcpy(name + namelen, label, labellen); 32 namelen += labellen; 43 if (namelen + labellen + 1 > sizeof name) 45 name[namelen++] = labellen; 46 memcpy(name + namelen, label, labellen); 47 namelen += labellen; 51 if (namelen + 1 > sizeof name [all...] |
/external/openssl/crypto/pkcs12/ |
p12_attr.c | 66 int namelen) 69 V_ASN1_OCTET_STRING, name, namelen)) 91 int namelen) 94 MBSTRING_ASC, (unsigned char *)name, namelen)) 102 const unsigned char *name, int namelen) 105 MBSTRING_BMP, name, namelen)) 112 int namelen) 115 MBSTRING_ASC, (unsigned char *)name, namelen))
|
/system/core/libcutils/ |
socket_local_client.c | 49 size_t namelen; local 54 namelen = strlen(name); 57 if ((namelen + 1) > sizeof(p_addr->sun_path)) { 67 memcpy(p_addr->sun_path + 1, name, namelen); 71 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX); 73 if (namelen > sizeof(*p_addr) 84 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX); 86 if (namelen > sizeof(*p_addr) 96 namelen = strlen(name); 98 if (namelen > sizeof(*p_addr) 129 size_t namelen; local [all...] |
/external/qemu/android/ |
boot-properties.h | 39 int boot_property_add2( const char* name, int namelen,
|
boot-properties.c | 43 boot_property_alloc( const char* name, int namelen, 46 int length = namelen + 1 + valuelen; 54 memcpy( p, name, namelen ); 55 p += namelen; 91 boot_property_add2( const char* name, int namelen, 98 if (namelen > PROPERTY_MAX_NAME) 110 for (nn = 0; nn < namelen; nn++) { 122 namelen, name, valuelen, value); 125 prop = boot_property_alloc(name, namelen, value, valuelen); 137 boot_property_raise_warning( int ret, const char* name, int namelen, 159 int namelen = strlen(name); local 360 int namelen, valuelen, ret; local [all...] |
/bionic/libc/netbsd/net/ |
getservent.c | 55 int namelen; local 68 namelen = p[0]; 69 total += namelen + 1; 70 q = p + 1 + namelen + 3; /* skip name + port + proto */ 90 p2 += namelen + 1; 94 memcpy( rs->servent.s_name, p+1, namelen ); 95 rs->servent.s_name[namelen] = 0; 96 p += 1 + namelen;
|
/external/ipsec-tools/src/racoon/ |
dnssec.c | 67 int namelen; local 72 namelen = id->l - sizeof(*id_b); 73 name = racoon_malloc(namelen + 1); 79 memcpy(name, id_b + 1, namelen); 80 name[namelen] = '\0';
|
/external/qemu/ |
path.c | 122 unsigned int i, namelen; local 125 namelen = strcspn(name, "/"); 127 if (namelen == 0) 130 if (strneq(name, namelen, "..")) 131 return follow_path(cursor->parent, name + namelen); 133 if (strneq(name, namelen, ".")) 134 return follow_path(cursor, name + namelen); 137 if (strneq(name, namelen, cursor->entries[i]->name)) 138 return follow_path(cursor->entries[i], name + namelen);
|
/external/dropbear/ |
signkey.h | 45 const char* signkey_name_from_type(int type, int *namelen); 46 int signkey_type_from_name(const char* name, int namelen);
|
/bionic/libc/kernel/common/linux/ |
efs_dir.h | 20 unsigned char namelen; member in struct:efs_dentry
|
/development/ndk/platforms/android-3/include/linux/ |
efs_dir.h | 20 unsigned char namelen; member in struct:efs_dentry
|
/external/kernel-headers/original/linux/ |
efs_dir.h | 15 unsigned char namelen; member in struct:efs_dentry
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
efs_dir.h | 20 unsigned char namelen; member in struct:efs_dentry
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
efs_dir.h | 20 unsigned char namelen; member in struct:efs_dentry
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
efs_dir.h | 20 unsigned char namelen; member in struct:efs_dentry
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
efs_dir.h | 20 unsigned char namelen; member in struct:efs_dentry
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
efs_dir.h | 20 unsigned char namelen; member in struct:efs_dentry
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
efs_dir.h | 20 unsigned char namelen; member in struct:efs_dentry
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/ |
efs_dir.h | 20 unsigned char namelen; member in struct:efs_dentry
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/ |
efs_dir.h | 20 unsigned char namelen; member in struct:efs_dentry
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
efs_dir.h | 20 unsigned char namelen; member in struct:efs_dentry
|
/bionic/linker/ |
debugger.c | 53 size_t namelen; local 57 namelen = strlen(name); 60 if ((namelen + 1) > sizeof(addr.sun_path)) { 74 memcpy(addr.sun_path + 1, name, namelen); 76 alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1;
|
/external/e2fsprogs/lib/ext2fs/ |
unlink.c | 23 int namelen; member in struct:link_struct 46 if ((dirent->name_len & 0xFF) != ls->namelen) 86 ls.namelen = name ? strlen(name) : 0;
|
/hardware/libhardware/include/hardware/ |
qemud.h | 67 int namelen = strlen(name); local 86 if (qemud_fd_write(fd, name, namelen) != namelen) {
|