Searched defs:namelen (Results 1 - 10 of 10) 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/kernel/uapi/linux/
H A Dcramfs_fs.h37 __u32 namelen : CRAMFS_NAMELEN_WIDTH, offset : CRAMFS_OFFSET_WIDTH; member in struct:cramfs_inode
H A Ddlm_device.h31 __u8 namelen; member in struct:dlm_lock_params
H A Dtelephony.h72 int namelen; member in struct:__anon836
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
/bionic/linker/
H A Ddebugger.cpp82 size_t namelen = strlen(name); local
83 if ((namelen + 1) > sizeof(addr.sun_path)) {
96 memcpy(addr.sun_path + 1, name, namelen);
98 socklen_t alen = namelen + offsetof(sockaddr_un, sun_path) + 1;
/bionic/libc/bionic/
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);
H A Dsystem_properties.cpp83 uint8_t namelen; member in struct:prop_bt
110 this->namelen = name_length;
131 bool add(const char *name, unsigned int namelen,
142 prop_bt *new_prop_bt(const char *name, uint8_t namelen, uint_least32_t *const off);
143 prop_info *new_prop_info(const char *name, uint8_t namelen,
153 uint8_t namelen, bool alloc_if_needed);
156 uint8_t namelen, const char *value,
178 prop_info(const char *name, const uint8_t namelen, const char *value, argument
180 memcpy(this->name, name, namelen);
181 this->name[namelen]
360 new_prop_bt(const char *name, uint8_t namelen, uint_least32_t *const off) argument
373 new_prop_info(const char *name, uint8_t namelen, const char *value, uint8_t valuelen, uint_least32_t *const off) argument
421 find_prop_bt(prop_bt *const bt, const char *name, uint8_t namelen, bool alloc_if_needed) argument
472 find_property(prop_bt *const trie, const char *name, uint8_t namelen, const char *value, uint8_t valuelen, bool alloc_if_needed) argument
540 const size_t namelen = strlen(property_service_socket); local
637 add(const char *name, unsigned int namelen, const char *value, unsigned int valuelen) argument
1201 __system_property_add(const char *name, unsigned int namelen, const char *value, unsigned int valuelen) argument
[all...]
/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 1007 milliseconds