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

/bionic/libc/bionic/
H A Dgethostname.c41 int namelen = strlen(name.nodename); local
43 if ((int)buflen < namelen+1) {
47 memcpy( buff, name.nodename, namelen+1 );
H A Dfts.c896 fts_alloc(FTS *sp, char *name, size_t namelen) argument
907 * namelen + 2 before the first possible address of the stat structure.
909 len = sizeof(FTSENT) + namelen;
916 p->fts_namelen = namelen;
919 p->fts_statp = (struct stat *)ALIGN(p->fts_name + namelen + 2);
920 memcpy(p->fts_name, name, namelen);
H A Dsystem_properties.cpp80 uint8_t namelen; member in struct:prop_bt
93 this->namelen = name_length;
127 prop_info(const char *name, const uint8_t namelen, const char *value, argument
129 memcpy(this->name, name, namelen);
130 this->name[namelen] = '\0';
311 static prop_bt *new_prop_bt(const char *name, uint8_t namelen, uint32_t *const off) argument
314 void *const offset = allocate_obj(sizeof(prop_bt) + namelen + 1, &new_offset);
316 prop_bt* bt = new(offset) prop_bt(name, namelen);
324 static prop_info *new_prop_info(const char *name, uint8_t namelen, argument
328 void* const offset = allocate_obj(sizeof(prop_info) + namelen
364 find_prop_bt(prop_bt *const bt, const char *name, uint8_t namelen, bool alloc_if_needed) argument
417 find_property(prop_bt *const trie, const char *name, uint8_t namelen, const char *value, uint8_t valuelen, bool alloc_if_needed) argument
483 const size_t namelen = strlen(property_service_socket); local
674 __system_property_add(const char *name, unsigned int namelen, const char *value, unsigned int valuelen) argument
[all...]
/bionic/libc/dns/net/
H A Dgetservent.c55 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;
/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:__anon756
H A Dfuse.h57 uint32_t namelen; member in struct:fuse_kstatfs
511 uint32_t namelen; member in struct:fuse_dirent
519 #define FUSE_DIRENT_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen)
526 #define FUSE_DIRENTPLUS_SIZE(d) FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET_DIRENTPLUS + (d)->dirent.namelen)
536 uint32_t namelen; member in struct:fuse_notify_inval_entry_out
544 uint32_t namelen; member in struct:fuse_notify_delete_out
/bionic/linker/
H A Ddebugger.cpp79 size_t namelen = strlen(name); local
80 if ((namelen + 1) > sizeof(addr.sun_path)) {
93 memcpy(addr.sun_path + 1, name, namelen);
95 socklen_t alen = namelen + offsetof(sockaddr_un, sun_path) + 1;
/bionic/libc/dns/nameser/
H A Dns_name.c809 ns_name_map(ns_nname_ct nname, size_t namelen, ns_namemap_t map, int mapsize) { argument
814 namelen--;
819 if (namelen > 0) {
833 if (n > namelen) {
839 l = ns_name_map(nname + n, namelen - n, map, mapsize);
/bionic/libc/dns/resolv/
H A Dres_debug.c382 int namelen)
387 if ((n = dn_expand(msg, cp + msglen, cp, name, namelen)) < 0)
391 if ((int)newlen + 1 >= namelen) /* Lack space for final dot */
381 p_fqnname(const u_char *cp, const u_char *msg, int msglen, char *name, int namelen) argument

Completed in 143 milliseconds