/bionic/libc/system_properties/ |
D | prop_info.cpp | 38 prop_info::prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen) { in prop_info() argument 39 memcpy(this->name, name, namelen); in prop_info() 40 this->name[namelen] = '\0'; in prop_info() 46 prop_info::prop_info(const char* name, uint32_t namelen, uint32_t long_offset) { in prop_info() argument 47 memcpy(this->name, name, namelen); in prop_info() 48 this->name[namelen] = '\0'; in prop_info()
|
D | prop_area.cpp | 161 prop_trie_node* prop_area::new_prop_trie_node(const char* name, uint32_t namelen, in new_prop_trie_node() argument 164 void* const p = allocate_obj(sizeof(prop_trie_node) + namelen + 1, &new_offset); in new_prop_trie_node() 167 prop_trie_node* node = new (p) prop_trie_node(name, namelen); in new_prop_trie_node() 172 prop_info* prop_area::new_prop_info(const char* name, uint32_t namelen, const char* value, in new_prop_info() argument 175 void* const p = allocate_obj(sizeof(prop_info) + namelen + 1, &new_offset); in new_prop_info() 192 info = new (p) prop_info(name, namelen, long_value_offset); in new_prop_info() 194 info = new (p) prop_info(name, namelen, value, valuelen); in new_prop_info() 230 uint32_t namelen, bool alloc_if_needed) { in find_prop_trie_node() argument 237 const int ret = cmp_prop_name(name, namelen, current->name, current->namelen); in find_prop_trie_node() 252 prop_trie_node* new_node = new_prop_trie_node(name, namelen, &new_offset); in find_prop_trie_node() [all …]
|
D | system_properties.cpp | 218 size_t namelen = strlcpy(name, pi->name, PROP_NAME_MAX); in Read() local 219 if (namelen >= PROP_NAME_MAX) { in Read() 338 int SystemProperties::Add(const char* name, unsigned int namelen, const char* value, in Add() argument 340 if (namelen < 1) { in Add() 373 if (!pa->add(name, namelen, value, valuelen)) { in Add()
|
/bionic/libc/dns/net/ |
D | getservent.c | 41 int namelen; in getservent_r() local 54 namelen = p[0]; in getservent_r() 55 total += namelen + 1; in getservent_r() 56 q = p + 1 + namelen + 3; /* skip name + port + proto */ in getservent_r() 76 p2 += namelen + 1; in getservent_r() 80 memcpy( rs->servent.s_name, p+1, namelen ); in getservent_r() 81 rs->servent.s_name[namelen] = 0; in getservent_r() 82 p += 1 + namelen; in getservent_r()
|
/bionic/libc/system_properties/include/system_properties/ |
D | prop_area.h | 57 uint32_t namelen; member 83 this->namelen = name_length; in prop_trie_node() 126 bool add(const char* name, unsigned int namelen, const char* value, unsigned int valuelen); 145 prop_trie_node* new_prop_trie_node(const char* name, uint32_t namelen, uint_least32_t* const off); 146 prop_info* new_prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen, 155 uint32_t namelen, bool alloc_if_needed); 157 const prop_info* find_property(prop_trie_node* const trie, const char* name, uint32_t namelen,
|
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);
|
D | system_properties.h | 67 int Add(const char* name, unsigned int namelen, const char* value, unsigned int valuelen);
|
/bionic/libc/bionic/ |
D | system_property_api.cpp | 97 int __system_property_add(const char* name, unsigned int namelen, const char* value, in __system_property_add() argument 99 return system_properties.Add(name, namelen, value, valuelen); in __system_property_add()
|
D | system_property_set.cpp | 76 const size_t namelen = strlen(socket); in PropertyServiceConnection() local 81 socklen_t alen = namelen + offsetof(sockaddr_un, sun_path) + 1; in PropertyServiceConnection()
|
D | fts.c | 903 fts_alloc(FTS *sp, const char *name, size_t namelen) in fts_alloc() argument 916 len = sizeof(FTSENT) + namelen; in fts_alloc() 923 p->fts_namelen = namelen; in fts_alloc() 926 p->fts_statp = (struct stat *)ALIGN(p->fts_name + namelen + 2); in fts_alloc() 927 memcpy(p->fts_name, name, namelen); in fts_alloc()
|
/bionic/libc/kernel/uapi/linux/ |
D | fuse.h | 66 uint32_t namelen; member 519 uint32_t namelen; member 526 #define FUSE_DIRENT_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen) 532 #define FUSE_DIRENTPLUS_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET_DIRENTPLUS + (d)->dirent.namelen) 540 uint32_t namelen; member 546 uint32_t namelen; member
|
D | cramfs_fs.h | 22 __u32 namelen : CRAMFS_NAMELEN_WIDTH, offset : CRAMFS_OFFSET_WIDTH; member
|
D | dlm_device.h | 17 __u8 namelen; member
|
D | io_uring.h | 446 __u32 namelen; member
|
/bionic/libc/dns/nameser/ |
D | ns_name.c | 803 ns_name_map(ns_nname_ct nname, size_t namelen, ns_namemap_t map, int mapsize) { in ns_name_map() argument 808 namelen--; in ns_name_map() 813 if (namelen > 0) { in ns_name_map() 827 if (n > namelen) { in ns_name_map() 833 l = ns_name_map(nname + n, namelen - n, map, mapsize); in ns_name_map()
|
/bionic/libc/kernel/uapi/misc/ |
D | fastrpc.h | 59 __u32 namelen; member
|
/bionic/libc/dns/resolv/ |
D | res_debug.c | 392 int namelen) in p_fqnname() argument 397 if ((n = dn_expand(msg, cp + msglen, cp, name, namelen)) < 0) in p_fqnname() 401 if ((int)newlen + 1 >= namelen) /* Lack space for final dot */ in p_fqnname()
|