/bionic/libc/system_properties/ |
H A D | prop_info.cpp | 38 prop_info::prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen) { argument 39 memcpy(this->name, name, namelen); 40 this->name[namelen] = '\0'; 46 prop_info::prop_info(const char* name, uint32_t namelen, uint32_t long_offset) { argument 47 memcpy(this->name, name, namelen); 48 this->name[namelen] = '\0';
|
H A D | prop_area.cpp | 157 prop_bt* prop_area::new_prop_bt(const char* name, uint32_t namelen, uint_least32_t* const off) { argument 159 void* const p = allocate_obj(sizeof(prop_bt) + namelen + 1, &new_offset); 161 prop_bt* bt = new (p) prop_bt(name, namelen); 169 prop_info* prop_area::new_prop_info(const char* name, uint32_t namelen, const char* value, argument 172 void* const p = allocate_obj(sizeof(prop_info) + namelen + 1, &new_offset); 189 info = new (p) prop_info(name, namelen, long_value_offset); 191 info = new (p) prop_info(name, namelen, value, valuelen); 226 prop_bt* prop_area::find_prop_bt(prop_bt* const bt, const char* name, uint32_t namelen, argument 234 const int ret = cmp_prop_name(name, namelen, current->name, current->namelen); 275 find_property(prop_bt* const trie, const char* name, uint32_t namelen, const char* value, uint32_t valuelen, bool alloc_if_needed) argument 366 add(const char* name, unsigned int namelen, const char* value, unsigned int valuelen) argument [all...] |
H A D | system_properties.cpp | 159 size_t namelen = strlcpy(name, pi->name, PROP_NAME_MAX); local 160 if (namelen >= PROP_NAME_MAX) { 258 int SystemProperties::Add(const char* name, unsigned int namelen, const char* value, argument 264 if (namelen < 1) { 283 bool ret = pa->add(name, namelen, value, valuelen);
|
/bionic/libc/dns/net/ |
H A D | getservent.c | 41 int namelen; local 54 namelen = p[0]; 55 total += namelen + 1; 56 q = p + 1 + namelen + 3; /* skip name + port + proto */ 76 p2 += namelen + 1; 80 memcpy( rs->servent.s_name, p+1, namelen ); 81 rs->servent.s_name[namelen] = 0; 82 p += 1 + namelen;
|
/bionic/libc/system_properties/include/system_properties/ |
H A D | prop_area.h | 57 uint32_t namelen; member in struct:prop_bt 83 this->namelen = name_length; 112 bool add(const char* name, unsigned int namelen, const char* value, unsigned int valuelen); 130 prop_bt* new_prop_bt(const char* name, uint32_t namelen, uint_least32_t* const off); 131 prop_info* new_prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen, 139 prop_bt* find_prop_bt(prop_bt* const bt, const char* name, uint32_t namelen, bool alloc_if_needed); 141 const prop_info* find_property(prop_bt* const trie, const char* name, uint32_t namelen,
|
H A D | prop_info.h | 82 prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen); 83 prop_info(const char* name, uint32_t namelen, uint32_t long_offset);
|
H A D | system_properties.h | 68 int Add(const char* name, unsigned int namelen, const char* value, unsigned int valuelen);
|
/bionic/libc/bionic/ |
H A D | system_property_api.cpp | 98 int __system_property_add(const char* name, unsigned int namelen, const char* value, argument 100 return system_properties.Add(name, namelen, value, valuelen);
|
H A D | system_property_set.cpp | 61 const size_t namelen = strlen(property_service_socket); local 66 socklen_t alen = namelen + offsetof(sockaddr_un, sun_path) + 1;
|
H A D | fts.c | 907 fts_alloc(FTS *sp, char *name, size_t namelen) argument 918 * namelen + 2 before the first possible address of the stat structure. 920 len = sizeof(FTSENT) + namelen; 927 p->fts_namelen = namelen; 930 p->fts_statp = (struct stat *)ALIGN(p->fts_name + namelen + 2); 931 memcpy(p->fts_name, name, namelen);
|
/bionic/libc/kernel/uapi/linux/ |
H A D | fuse.h | 50 uint32_t namelen; member in struct:fuse_kstatfs 430 uint32_t namelen; member in struct:fuse_dirent 436 #define FUSE_DIRENT_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen) 442 #define FUSE_DIRENTPLUS_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET_DIRENTPLUS + (d)->dirent.namelen) 450 uint32_t namelen; member in struct:fuse_notify_inval_entry_out 456 uint32_t namelen; member in struct:fuse_notify_delete_out
|
H A D | cramfs_fs.h | 34 __u32 namelen : CRAMFS_NAMELEN_WIDTH, offset : CRAMFS_OFFSET_WIDTH; member in struct:cramfs_inode
|
H A D | dlm_device.h | 29 __u8 namelen; member in struct:dlm_lock_params
|
H A D | telephony.h | 62 int namelen; member in struct:__anon986
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | fuse.h | 50 uint32_t namelen; member in struct:fuse_kstatfs 430 uint32_t namelen; member in struct:fuse_dirent 436 #define FUSE_DIRENT_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen) 442 #define FUSE_DIRENTPLUS_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET_DIRENTPLUS + (d)->dirent.namelen) 450 uint32_t namelen; member in struct:fuse_notify_inval_entry_out 456 uint32_t namelen; member in struct:fuse_notify_delete_out
|
H A D | cramfs_fs.h | 34 __u32 namelen : CRAMFS_NAMELEN_WIDTH, offset : CRAMFS_OFFSET_WIDTH; member in struct:cramfs_inode
|
H A D | dlm_device.h | 29 __u8 namelen; member in struct:dlm_lock_params
|
H A D | telephony.h | 62 int namelen; member in struct:__anon2133
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | fuse.h | 50 uint32_t namelen; member in struct:fuse_kstatfs 430 uint32_t namelen; member in struct:fuse_dirent 436 #define FUSE_DIRENT_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen) 442 #define FUSE_DIRENTPLUS_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET_DIRENTPLUS + (d)->dirent.namelen) 450 uint32_t namelen; member in struct:fuse_notify_inval_entry_out 456 uint32_t namelen; member in struct:fuse_notify_delete_out
|
H A D | cramfs_fs.h | 34 __u32 namelen : CRAMFS_NAMELEN_WIDTH, offset : CRAMFS_OFFSET_WIDTH; member in struct:cramfs_inode
|
H A D | dlm_device.h | 29 __u8 namelen; member in struct:dlm_lock_params
|
H A D | telephony.h | 62 int namelen; member in struct:__anon3403
|
/bionic/libc/dns/nameser/ |
H A D | ns_name.c | 803 ns_name_map(ns_nname_ct nname, size_t namelen, ns_namemap_t map, int mapsize) { argument 808 namelen--; 813 if (namelen > 0) { 827 if (n > namelen) { 833 l = ns_name_map(nname + n, namelen - n, map, mapsize);
|
/bionic/libc/dns/resolv/ |
H A D | res_debug.c | 374 int namelen) 379 if ((n = dn_expand(msg, cp + msglen, cp, name, namelen)) < 0) 383 if ((int)newlen + 1 >= namelen) /* Lack space for final dot */ 373 p_fqnname(const u_char *cp, const u_char *msg, int msglen, char *name, int namelen) argument
|