Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 40) sorted by relevance

12

/nss/nss_files/
A Dfiles-netgrp.c37 size_t old_cursor = result->cursor - result->data; \ in libc_hidden_proto()
41 result->data = realloc (result->data, result->data_size); \ in libc_hidden_proto()
50 result->cursor = result->data + old_cursor; \ in libc_hidden_proto()
77 result->cursor = result->data;
110 result->cursor -= 2;
135 result->cursor = result->data;
158 free (result->data); in libc_hidden_def()
159 result->data = NULL; in libc_hidden_def()
160 result->data_size = 0; in libc_hidden_def()
220 result->first = 0; in _nss_netgroup_parseline()
[all …]
A Dfiles-hosts.c86 result->h_addrtype = af;
106 if (result->h_length == (int) len
174 struct hostent *old_result = result; in gethostbyname3_multi()
175 result = &tmp_result_buf; in gethostbyname3_multi()
182 result = old_result; in gethostbyname3_multi()
261 result = old_result; in gethostbyname3_multi()
312 result->h_aliases = out_aliases; in gethostbyname3_multi()
355 *canonp = result->h_name; in _nss_files_gethostbyname3_r()
403 struct hostent result; in libc_hidden_def() local
461 (*pat)->family = result.h_addrtype; in libc_hidden_def()
[all …]
A Dfiles-service.c34 STRING_FIELD (result->s_name, isspace, 1);
35 INT_FIELD (result->s_port, ISSLASH, 10, 0, htons);
36 STRING_FIELD (result->s_proto, isspace, 1);
46 if (proto != NULL && strcmp (result->s_proto, proto))
59 if (result->s_port == port
61 || strcmp (result->s_proto, proto) == 0))
A Dfiles-alias.c80 result->alias_members_len = 0; in libc_hidden_def()
131 result->alias_name = first_unused; in libc_hidden_def()
141 room_left -= first_unused - result->alias_name; in libc_hidden_def()
150 && __strcasecmp (result->alias_name, match) != 0); in libc_hidden_def()
175 ++result->alias_members_len; in libc_hidden_def()
241 ++result->alias_members_len; in libc_hidden_def()
289 cp = result->alias_name; in libc_hidden_def()
293 result->alias_members[cnt] = cp; in libc_hidden_def()
296 status = (result->alias_members_len == 0 in libc_hidden_def()
345 result->alias_local = 1; in _nss_files_getaliasent_r()
[all …]
A Dfiles-pwd.c36 && ! strcmp (name, result->pw_name))
42 if (result->pw_uid == uid && result->pw_name[0] != '+'
43 && result->pw_name[0] != '-')
A Dfiles-grp.c36 && ! strcmp (name, result->gr_name))
42 if (result->gr_gid == gid && result->gr_name[0] != '+'
43 && result->gr_name[0] != '-')
A Dfiles-network.c41 STRING_FIELD (result->n_name, isspace, 1);
72 result->n_net = __inet_network (addr);
73 result->n_addrtype = AF_INET;
85 if ((type == AF_UNSPEC || result->n_addrtype == type)
86 && result->n_net == net)
A Dfiles-ethers.c45 result->e_addr.ether_addr_octet[cnt] = number;
48 STRING_FIELD (result->e_name, isspace, 1);
56 if (__strcasecmp (result->e_name, name) == 0)
65 if (memcmp (&result->e_addr, addr,
A Dfiles-rpc.c32 STRING_FIELD (result->r_name, isspace, 1);
33 INT_FIELD (result->r_number, isspace, 1, 10,);
44 if (result->r_number == number)
A Dfiles-proto.c32 STRING_FIELD (result->p_name, isspace, 1);
33 INT_FIELD (result->p_proto, isspace, 1, 10,);
44 if (result->p_proto == proto)
/nss/nss_compat/
A Dcompat-grp.c140 return result; in _nss_compat_setgrent()
188 return result; in _nss_compat_endgrent()
287 if (result->gr_name[0] != '+' && result->gr_name[0] != '-') in getgrent_next_file()
292 if (result->gr_name[0] == '-' && result->gr_name[1] != '\0' in getgrent_next_file()
300 if (result->gr_name[0] == '+' && result->gr_name[1] != '\0' in getgrent_next_file()
310 status = getgrnam_plusgroup (&result->gr_name[1], result, ent, in getgrent_next_file()
329 if (result->gr_name[0] == '+' && result->gr_name[1] == '\0') in getgrent_next_file()
365 return result; in _nss_compat_getgrent_r()
421 if (result->gr_name[0] != '+' && result->gr_name[0] != '-') in internal_getgrnam_r()
496 return result; in _nss_compat_getgrnam_r()
[all …]
A Dcompat-pwd.c257 return result; in _nss_compat_setpwent()
312 return result; in _nss_compat_endpwent()
527 if (result->pw_name[0] != '+' && result->pw_name[0] != '-') in getpwent_next_file()
532 if (result->pw_name[0] == '-' && result->pw_name[1] == '@' in getpwent_next_file()
553 if (result->pw_name[0] == '+' && result->pw_name[1] == '@' in getpwent_next_file()
590 status = getpwnam_plususer (&result->pw_name[1], result, ent, in getpwent_next_file()
670 return result; in _nss_compat_getpwent_r()
737 if (result->pw_name[0] == '-' && result->pw_name[1] == '@' in internal_getpwnam_r()
746 if (result->pw_name[0] == '+' && result->pw_name[1] == '@' in internal_getpwnam_r()
835 return result; in _nss_compat_getpwnam_r()
[all …]
A Dcompat-spwd.c212 return result; in _nss_compat_setspent()
268 return result; in _nss_compat_endspent()
479 if (result->sp_namp[0] != '+' && result->sp_namp[0] != '-') in getspent_next_file()
484 if (result->sp_namp[0] == '-' && result->sp_namp[1] == '@' in getspent_next_file()
506 if (result->sp_namp[0] == '+' && result->sp_namp[1] == '@' in getspent_next_file()
525 if (result->sp_namp[0] == '-' && result->sp_namp[1] != '\0' in getspent_next_file()
543 status = getspnam_plususer (&result->sp_namp[1], result, ent, in getspent_next_file()
625 return result; in _nss_compat_getspent_r()
694 if (result->sp_namp[0] == '-' && result->sp_namp[1] == '@' in internal_getspnam_r()
703 if (result->sp_namp[0] == '+' && result->sp_namp[1] == '@' in internal_getspnam_r()
[all …]
A Dnisdomain.c34 int result = 0; in __libc_lock_define_initialized() local
42 result = errno; in __libc_lock_define_initialized()
47 result = ENOENT; in __libc_lock_define_initialized()
57 return result; in __libc_lock_define_initialized()
/nss/nss_db/
A Ddb-netgrp.c41 _nss_db_setnetgrent (const char *group, struct __netgrent *result) in _nss_db_setnetgrent() argument
71 result->data = strdup (cp); in _nss_db_setnetgrent()
72 if (result->data == NULL) in _nss_db_setnetgrent()
77 result->cursor = result->data; in _nss_db_setnetgrent()
96 _nss_db_endnetgrent (struct __netgrent *result) in _nss_db_endnetgrent() argument
98 free (result->data); in _nss_db_endnetgrent()
99 result->data = NULL; in _nss_db_endnetgrent()
100 result->data_size = 0; in _nss_db_endnetgrent()
101 result->cursor = NULL; in _nss_db_endnetgrent()
107 struct __netgrent *result,
[all …]
/nss/
A Dnss_test1.c158 result->pw_uid = local->pw_uid; in copy_passwd()
159 result->pw_gid = local->pw_gid; in copy_passwd()
267 result->gr_mem = memlist; in copy_group()
270 result->gr_mem = NULL; in copy_group()
274 result->gr_gid = local->gr_gid; in copy_group()
369 result->sp_min = local->sp_min; in copy_shadow()
472 result->h_aliases = NULL; in copy_host()
473 result->h_addrtype = AF_INET; in copy_host()
474 result->h_length = 4; in copy_host()
499 *result = NULL; in NAME()
[all …]
A Dnss_database.c54 struct nss_database_state *result = malloc (sizeof (*result)); in global_state_allocate() local
55 if (result != NULL) in global_state_allocate()
58 memset (result->data.services, 0, sizeof (result->data.services)); in global_state_allocate()
65 return result; in global_state_allocate()
119 if (*result != NULL) in nss_database_select_default()
167 if (*result == NULL) in nss_database_select_default()
233 if (result == NULL) in process_line()
259 if (result == NULL) in __nss_configure_lookup()
279 bool result = false; in nss_database_reload_1() local
299 return result; in nss_database_reload_1()
[all …]
A Dgetent.c132 result = 2; in aliases_keys()
221 result = 2; in group_keys()
261 result = 2; in gshadow_keys()
322 result = 2; in hosts_keys()
358 result = 2; in ahosts_keys_int()
478 result = 2; in netgroup_keys()
597 result = 2; in networks_keys()
642 result = 2; in passwd_keys()
692 result = 2; in protocols_keys()
739 result = 2; in rpc_keys()
[all …]
A Dgetnssent.c27 void *result; in __nss_getent() local
36 && func (resbuf, *buffer, *buffer_size, &result, h_errnop) == ERANGE in __nss_getent()
54 result = NULL; in __nss_getent()
56 return result; in __nss_getent()
A Dnss_module.c80 result = p; in __nss_module_allocate()
84 if (result == NULL) in __nss_module_allocate()
88 result = malloc (sizeof (*result) + name_length + 1); in __nss_module_allocate()
89 if (result != NULL) in __nss_module_allocate()
94 result->handle = NULL; in __nss_module_allocate()
101 return result; in __nss_module_allocate()
207 bool result = result; in module_load() local
212 result = false; in module_load()
215 result = true; in module_load()
218 result = false; in module_load()
[all …]
A Dtst-field.c48 const char *result = __nss_rewrite_field (input, &to_free); in check_rewrite() local
49 CHECK (result != NULL); in check_rewrite()
50 if (result != NULL && strcmp (result, expected) != 0) in check_rewrite()
53 (input == NULL) ? "(null)" : input, result, in check_rewrite()
A DgetXXbyYY.c82 LOOKUP_TYPE **result H_ERRNO_PARM)
97 LOOKUP_TYPE *result; in FUNCTION_NAME() local
128 (res_ctx, name, &resbuf, &buffer, &buffer_size, 0, &result, NULL, in FUNCTION_NAME()
136 buffer_size, &result H_ERRNO_VAR) in FUNCTION_NAME()
157 result = NULL; in FUNCTION_NAME()
174 return result; in FUNCTION_NAME()
A DgetXXent.c58 size_t buflen, LOOKUP_TYPE **result
77 LOOKUP_TYPE *result; in GETFUNC_NAME() local
83 result = (LOOKUP_TYPE *) in GETFUNC_NAME()
91 return result; in GETFUNC_NAME()
A Dnss_action.c83 nss_action_list result = NULL; in __nss_action_allocate() local
86 result = find_allocated (actions, count); in __nss_action_allocate()
87 if (result == NULL) in __nss_action_allocate()
97 result = wrapper->actions; in __nss_action_allocate()
102 return result; in __nss_action_allocate()
A Dtest-digits-dots.c30 struct hostent *result = NULL; in do_test() local
35 err = gethostbyname_r ("1.2.3.4", &ret, buf, sizeof (buf), &result, &h_err); in do_test()

Completed in 43 milliseconds

12