Searched refs:namelen (Results 1 - 11 of 11) sorted by relevance

/bionic/libc/dns/net/
H A Dgetservent.c56 int namelen; local
69 namelen = p[0];
70 total += namelen + 1;
71 q = p + 1 + namelen + 3; /* skip name + port + proto */
91 p2 += namelen + 1;
95 memcpy( rs->servent.s_name, p+1, namelen );
96 rs->servent.s_name[namelen] = 0;
97 p += 1 + namelen;
/bionic/libc/bionic/
H A Dsystem_properties.cpp79 uint8_t namelen; member in struct:prop_bt
106 this->namelen = name_length;
140 prop_info(const char *name, const uint8_t namelen, const char *value, argument
142 memcpy(this->name, name, namelen);
143 this->name[namelen] = '\0';
306 static prop_bt *new_prop_bt(const char *name, uint8_t namelen, uint_least32_t *const off) argument
309 void *const p = allocate_obj(sizeof(prop_bt) + namelen + 1, &new_offset);
311 prop_bt* bt = new(p) prop_bt(name, namelen);
319 static prop_info *new_prop_info(const char *name, uint8_t namelen, argument
323 void* const p = allocate_obj(sizeof(prop_info) + namelen
369 find_prop_bt(prop_bt *const bt, const char *name, uint8_t namelen, bool alloc_if_needed) argument
420 find_property(prop_bt *const trie, const char *name, uint8_t namelen, const char *value, uint8_t valuelen, bool alloc_if_needed) argument
488 const size_t namelen = strlen(property_service_socket); local
719 __system_property_add(const char *name, unsigned int namelen, const char *value, unsigned int valuelen) argument
[all...]
H A Dfts.c905 fts_alloc(FTS *sp, char *name, size_t namelen) argument
916 * namelen + 2 before the first possible address of the stat structure.
918 len = sizeof(FTSENT) + namelen;
925 p->fts_namelen = namelen;
928 p->fts_statp = (struct stat *)ALIGN(p->fts_name + namelen + 2);
929 memcpy(p->fts_name, name, namelen);
/bionic/libc/include/sys/
H A D_system_properties.h132 int __system_property_add(const char *name, unsigned int namelen,
/bionic/libc/kernel/uapi/linux/
H A Dcramfs_fs.h37 __u32 namelen : CRAMFS_NAMELEN_WIDTH, offset : CRAMFS_OFFSET_WIDTH; member in struct:cramfs_inode
H A Dfuse.h57 uint32_t namelen; member in struct:fuse_kstatfs
527 uint32_t namelen; member in struct:fuse_dirent
535 #define FUSE_DIRENT_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen)
542 #define FUSE_DIRENTPLUS_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET_DIRENTPLUS + (d)->dirent.namelen)
552 uint32_t namelen; member in struct:fuse_notify_inval_entry_out
560 uint32_t namelen; member in struct:fuse_notify_delete_out
H A Ddlm_device.h31 __u8 namelen; member in struct:dlm_lock_params
H A Dtelephony.h72 int namelen; member in struct:__anon784
/bionic/linker/
H A Ddebugger.cpp78 size_t namelen = strlen(name); local
79 if ((namelen + 1) > sizeof(addr.sun_path)) {
92 memcpy(addr.sun_path + 1, name, namelen);
94 socklen_t alen = namelen + offsetof(sockaddr_un, sun_path) + 1;
/bionic/libc/dns/nameser/
H A Dns_name.c803 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 Dres_debug.c374 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

Completed in 156 milliseconds