Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 43) sorted by relevance

12

/nss/
A Dnss.h95 char *, size_t, int *);
99 char *, size_t, int *);
102 char *, size_t, int *);
104 char *, size_t, int *);
120 char *, size_t,
147 char *, size_t, int *);
149 char *, size_t, int *);
151 char *, size_t, int *);
157 char *, size_t, int *);
169 char *, size_t, int *);
[all …]
A Dnsswitch.h127 extern void __nss_disable_nscd (void (*) (size_t, struct traced_file *));
134 typedef enum nss_status (*getent_function) (void *, char *, size_t,
136 typedef int (*getent_r_function) (void *, char *, size_t,
156 void *resbuf, char *buffer, size_t buflen,
160 void **resbuf, char **buffer, size_t buflen,
161 size_t *buffer_size, int *h_errnop)
169 size_t *buffer_size,
170 size_t buflen,
176 size_t *buffer_size, size_t buflen,
A Dnss_test1.c129 static size_t pwd_iter;
198 size_t buflen, int *errnop) in NAME()
211 size_t buflen, int *errnop) in NAME()
224 static size_t grp_iter;
311 size_t buflen, int *errnop) in NAME()
324 size_t buflen, int *errnop) in NAME()
339 static size_t spwd_iter;
409 size_t buflen, int *errnop) in NAME()
422 static size_t host_iter;
529 char *buffer, size_t buflen, in NAME()
[all …]
A Dnss_action.c35 size_t count;
61 size_t count) in action_lists_equal()
63 for (size_t i = 0; i < count; ++i) in action_lists_equal()
72 find_allocated (struct nss_action *actions, size_t count) in find_allocated()
81 __nss_action_allocate (struct nss_action *actions, size_t count) in __nss_action_allocate()
A Dmakedb.c66 size_t nentries;
67 size_t nhashentries;
69 size_t keystrlen;
73 static size_t ndatabases;
75 static size_t valstrlen;
78 static size_t extrastrlen;
421 size_t linelen; in process_input()
423 size_t linenr; in process_input()
593 size_t divn = 3; in is_prime()
609 static size_t
[all …]
A Dnss_hash.c31 __nss_hash (const void *keyarg, size_t len) in __nss_hash()
34 size_t loop; in __nss_hash()
A Dbug17079.c97 check_padding (char *buffer, size_t size, char pad) in check_padding()
111 test_one (const struct passwd *item, size_t buffer_size, in test_one()
112 char pad, size_t padding_size) in test_one()
194 test_buffer_size (size_t buffer_size) in test_buffer_size()
197 for (size_t padding_size = 0; padding_size < 3; ++padding_size) in test_buffer_size()
223 for (size_t buffer_size = 0; buffer_size <= 65; ++buffer_size) in do_test()
225 for (size_t buffer_size = 64 + 4; buffer_size < 256; buffer_size += 4) in do_test()
229 for (size_t buffer_size = 256; buffer_size < 512; buffer_size += 8) in do_test()
A Dnss_module.c60 static void (*nscd_init_cb) (size_t, struct traced_file *);
70 __nss_module_allocate (const char *name, size_t name_length) in __nss_module_allocate()
155 void (*cb) (size_t, struct traced_file *) = nscd_init_cb; in module_load_nss_files()
230 for (size_t idx = 0; idx < array_length (nss_function_name_array); ++idx) in module_load()
251 size_t initlen = (5 + strlen (module->name) in module_load()
262 void (*ifct) (void (*) (size_t, struct traced_file *)) in module_load()
266 void (*cb) (size_t, struct traced_file *) = nscd_init_cb; in module_load()
340 size_t idx = name_entry - nss_function_name_array; in __nss_module_get_function()
371 __nss_disable_nscd (void (*cb) (size_t, struct traced_file *)) in __nss_disable_nscd() argument
373 void (*cb1) (size_t, struct traced_file *); in __nss_disable_nscd()
A Dgetnssent.c25 size_t buflen, size_t *buffer_size, int *h_errnop) in __nss_getent()
A Dtst-nss-files-alias-leak.c149 for (size_t i = 0; i < array_length (next_descriptors); ++i) in do_test()
154 for (size_t i = 0; i < array_length (next_descriptors); ++i) in do_test()
170 for (size_t size = 1; size <= 1000; ++size) in do_test()
200 for (size_t i = 0; i < array_length (next_descriptors); ++i) in do_test()
214 for (size_t j = 0; j <= i; ++j) in do_test()
219 for (size_t i = 0; i < array_length (next_descriptors); ++i) in do_test()
A DgetXXent.c58 size_t buflen, LOOKUP_TYPE **result
71 static size_t buffer_size; in GETFUNC_NAME()
A Dtst-nss-getpwent.c34 size_t count = 0; in do_test()
65 size_t new_count = 0; in do_test()
A Ddigits_dots.c36 char **buffer, size_t *buffer_size, in __nss_hostname_digits_dots()
37 size_t buflen, struct hostent **result, in __nss_hostname_digits_dots()
63 char **buffer, size_t *buffer_size, in __nss_hostname_digits_dots_context()
64 size_t buflen, struct hostent **result, in __nss_hostname_digits_dots_context()
82 size_t size_needed; in __nss_hostname_digits_dots_context()
A Dnss_fgetent_r.c24 __nss_fgetent_r (FILE *fp, void *result, char *buffer, size_t buffer_length, in __nss_fgetent_r()
A DgetXXbyYY.c81 char *buffer, size_t buflen,
95 static size_t buffer_size; in FUNCTION_NAME()
/nss/nss_files/
A Dfiles-init.c27 register_file (void (*cb) (size_t, struct traced_file *), in register_file() argument
30 size_t pathlen = strlen (path) + 1; in register_file()
42 _nss_files_init (void (*cb) (size_t, struct traced_file *)) in _nss_files_init() argument
A Dfiles-hosts.c120 struct hostent *result, char *buffer, size_t buflen, in gethostbyname3_multi()
136 for (size_t i = 0; result->h_addr_list[i] != NULL; ++i) in gethostbyname3_multi()
138 for (size_t i = 0; result->h_aliases[i] != NULL; ++i) in gethostbyname3_multi()
192 for (size_t i = 0; tmp_result_buf.h_addr_list[i] != NULL; ++i) in gethostbyname3_multi()
224 for (size_t i = 0; tmp_result_buf.h_aliases[i] != NULL; ++i) in gethostbyname3_multi()
286 size_t addresses_count = array_size (&addresses); in gethostbyname3_multi()
287 size_t aliases_count = array_size (&aliases); in gethostbyname3_multi()
326 char *buffer, size_t buflen, int *errnop, in _nss_files_gethostbyname3_r()
363 char *buffer, size_t buflen, int *errnop, in libc_hidden_def()
373 char *buffer, size_t buflen, int *errnop, in libc_hidden_def()
[all …]
A Dfiles-alias.c75 char *buffer, size_t buflen, int *errnop) in libc_hidden_def()
89 size_t room_left = buflen - (buflen % __alignof__ (char *)); in libc_hidden_def()
139 if (room_left < (size_t) (first_unused - result->alias_name)) in libc_hidden_def()
274 size_t cnt; in libc_hidden_def()
334 _nss_files_getaliasent_r (struct aliasent *result, char *buffer, size_t buflen, in _nss_files_getaliasent_r()
360 char *buffer, size_t buflen, int *errnop) in libc_hidden_def()
A Dfiles-XXX.c107 char *buffer, size_t buflen, int *errnop H_ERRNO_PROTO in libc_hidden_def()
111 size_t linebuflen = buffer + buflen - data->linebuffer; in libc_hidden_def()
166 size_t buflen, int *errnop H_ERRNO_PROTO) in CONCAT()
202 size_t buflen, int *errnop H_ERRNO_PROTO) \
/nss/nss_db/
A Ddb-netgrp.c54 size_t grouplen = strlen (group); in _nss_db_setnetgrent()
55 size_t hidx = hashval % header->dbs[0].hashsize; in _nss_db_setnetgrent()
56 size_t hval2 = 1 + hashval % (header->dbs[0].hashsize - 2); in _nss_db_setnetgrent()
108 char *buffer, size_t buflen,
112 _nss_db_getnetgrent_r (struct __netgrent *result, char *buffer, size_t buflen, in _nss_db_getnetgrent_r()
A Ddb-XXX.c126 char *buffer, size_t buflen, int *errnop H_ERRNO_PROTO)\
162 const size_t size = (keysize) + 1; \
173 size_t hidx = hashval % header->dbs[i].hashsize; \
174 size_t hval2 = 1 + hashval % (header->dbs[i].hashsize - 2); \
180 size_t len = strlen (valstr) + 1; \
232 size_t buflen, int *errnop H_ERRNO_PROTO) in CONCAT()
273 size_t len = next - entidx; in CONCAT()
A Ddb-initgroups.c62 size_t userlen = strlen (user); in _nss_db_initgroups_dyn()
64 size_t hidx = hashval % header->dbs[i].hashsize; in _nss_db_initgroups_dyn()
65 size_t hval2 = 1 + hashval % (header->dbs[i].hashsize - 2); in _nss_db_initgroups_dyn()
/nss/nss_compat/
A Dcompat-pwd.c40 size_t buflen, int *errnop);
42 char *buffer, size_t buflen,
45 size_t buflen, int *errnop);
115 static size_t
118 size_t len = 0; in pwd_need_buflen()
137 char *buffer, size_t buflen) in copy_pwd_changes()
323 size_t p2len; in getpwent_next_nss_netgr()
401 size_t buflen, int *errnop) in getpwent_next_nss()
405 size_t p2len; in getpwent_next_nss()
841 size_t buflen, int *errnop) in getpwuid_plususer()
[all …]
A Dcompat-grp.c36 size_t buflen, int *errnop);
38 char *buffer, size_t buflen,
41 size_t buflen, int *errnop);
194 size_t buflen, int *errnop) in getgrent_next_nss()
219 char *buffer, size_t buflen, int *errnop) in getgrnam_plusgroup()
238 char *buffer, size_t buflen, int *errnop) in getgrent_next_file()
303 size_t len = strlen (result->gr_name); in getgrent_next_file()
371 char *buffer, size_t buflen, int *errnop) in internal_getgrnam_r()
474 char *buffer, size_t buflen, int *errnop) in _nss_compat_getgrnam_r()
571 size_t len = strlen (result->gr_name); in internal_getgrgid_r()
[all …]
A Dcompat-spwd.c39 char *buffer, size_t buflen,
42 size_t buflen, int *errnop);
125 char *buffer, size_t buflen) in copy_spwd_changes()
273 char *group, char *buffer, size_t buflen, in getspent_next_nss_netgr()
277 size_t p2len; in getspent_next_nss_netgr()
359 char *buffer, size_t buflen, int *errnop) in getspent_next_nss()
363 size_t p2len; in getspent_next_nss()
393 char *buffer, size_t buflen, int *errnop) in getspnam_plususer()
407 size_t plen = spwd_need_buflen (&pwd); in getspnam_plususer()
536 size_t len = strlen (result->sp_namp); in getspent_next_file()
[all …]

Completed in 43 milliseconds

12