Lines Matching refs:size
52 size_t size; in services_marshal_func() local
88 size = strlen(new_serv.s_name); in services_marshal_func()
89 memcpy(p, new_serv.s_name, size); in services_marshal_func()
91 p += size + 1; in services_marshal_func()
95 size = strlen(new_serv.s_proto); in services_marshal_func()
96 memcpy(p, new_serv.s_proto, size); in services_marshal_func()
98 p += size + 1; in services_marshal_func()
108 size = strlen(*alias); in services_marshal_func()
109 memcpy(p, *alias, size); in services_marshal_func()
111 p += size + 1; in services_marshal_func()
127 size_t size, size2; in services_lookup_func() local
145 size = key_size - sizeof(enum nss_lookup_type); in services_lookup_func()
146 name = (char *)calloc(1, size + 1); in services_lookup_func()
148 memcpy(name, key + sizeof(enum nss_lookup_type), size); in services_lookup_func()
152 if (size2 < size) in services_lookup_func()
167 size = key_size - sizeof(enum nss_lookup_type) - sizeof(int); in services_lookup_func()
168 if (size > 0) { in services_lookup_func()
169 proto = (char *)calloc(1, size + 1); in services_lookup_func()
172 sizeof(int), size); in services_lookup_func()