/osnet-11/usr/src/lib/libast/common/string/ |
H A D | strnvcmp.c | 35 register const char* be; local 40 be = b + n; 45 if (b >= be) 49 else if (b >= be) 56 while (b < be && isdigit(*b))
|
/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | getauuser.c | 35 getbyname(files_backend_ptr_t be, void *a) argument 39 return (_nss_files_XY_all(be, argp, 1, argp->key.name,
|
H A D | getauthattr.c | 45 getbyname(files_backend_ptr_t be, void *a) argument 47 return (_nss_files_XY_hash(be, a, 1, &hashinfo, 0,
|
H A D | getuserattr.c | 45 getbyname(files_backend_ptr_t be, void *a) argument 47 return (_nss_files_XY_hash(be, a, 1, &hashinfo, 0,
|
H A D | getprojent.c | 98 getbyname(files_backend_ptr_t be, void *a) { argument 99 return (_nss_files_XY_hash(be, a, 0, &hashinfo, 0, 104 getbyprojid(files_backend_ptr_t be, void *a) { argument 105 return (_nss_files_XY_hash(be, a, 0, &hashinfo, 1, check_projid));
|
H A D | gethostent6.c | 82 * where hostnames can be canonical + aliases) 108 getbyname(files_backend_ptr_t be, void *a) argument 113 be->flags = FC_FLAG_HOSTNAME; 119 res = __nss_files_XY_hostbyname(be, argp, argp->key.ipnode.name, 122 res = _nss_files_XY_hash(be, argp, 1, &hashinfo, 1, 137 getbyaddr(files_backend_ptr_t be, void *a) argument 142 be->flags = FC_FLAG_IP; 143 res = _nss_files_XY_hash(be, argp, 1, &hashinfo, 0, check_addr);
|
H A D | tsol_getrhent.c | 90 getbyaddr(files_backend_ptr_t be, void *a) argument 116 rc = _nss_files_XY_all(be, argp, 1,
|
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | getauuser.c | 35 getbynam(nis_backend_ptr_t be, void *a) argument 39 return (_nss_nis_lookup(be,
|
H A D | getprojent.c | 31 getbyname(nis_backend_ptr_t be, void *a) { argument 33 return (_nss_nis_lookup(be, argp, 0, "project.byname", 38 getbyid(nis_backend_ptr_t be, void *a) { argument 42 return (_nss_nis_lookup(be, argp, 0, "project.byprojid", projstr, 0));
|
H A D | getauthattr.c | 35 getbynam(nis_backend_ptr_t be, void *a) argument 39 return (_nss_nis_lookup(be,
|
H A D | getprofattr.c | 34 getbynam(nis_backend_ptr_t be, void *a) argument 42 return (_nss_nis_lookup(be,
|
H A D | getuserattr.c | 35 getbynam(nis_backend_ptr_t be, void *a) argument 39 return (_nss_nis_lookup(be,
|
H A D | getspent.c | 41 * wherein the field pointers would be set to areas in the buffer if 42 * need be. instring and buffer should be separate areas. Let's not 100 getbyname(nis_backend_ptr_t be, void *a) argument 110 res = _nss_nis_lookup(be, argp, 0, "passwd.byname", argp->key.name, 0); 128 * found, NULL value will be passed to 137 res = _nss_nis_lookup_rsvdport(be, argp, 0, 150 res = _nss_nis_lookup_rsvdport(be, argp, 0, 169 getent(nis_backend_ptr_t be, void *a) argument 179 res = _nss_nis_getent_rigid(be, arg [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getnetgrent.c | 136 * the requests will be serialized anyway, but let's play safe and 147 nss_backend_t *be; local 155 be = getnetgrent_backend; 156 if (be != NULL && NSS_INVOKE_DBOP(be, NSS_DBOP_SETENT, 158 (void) NSS_INVOKE_DBOP(be, NSS_DBOP_DESTRUCTOR, 0); 159 be = NULL; 161 if (be == NULL) { 168 be = args.iterator; 170 getnetgrent_backend = be; [all...] |
/osnet-11/usr/src/lib/nsswitch/user/common/ |
H A D | user_common.c | 32 * An implementation that used mmap() sensibly would be a wonderful thing, 48 _nss_user_setent(be, dummy) 49 user_backend_ptr_t be; 52 if (be->f == 0) { 53 if (be->filename == 0) { 57 if ((be->f = fopen(be->filename, "rF")) == 0) { 61 rewind(be->f); 68 _nss_user_endent(be, dummy) 69 user_backend_ptr_t be; 280 user_backend_ptr_t be; local [all...] |
/osnet-11/usr/src/lib/nsswitch/ad/common/ |
H A D | getspent.c | 30 update_buffer(ad_backend_ptr be, nss_XbyY_args_t *argp, argument 38 * sp_pwdp will be "*NP*". 49 buffer = be->buffer = malloc(buflen); 50 if (be->buffer == NULL) 52 be->buflen = buflen; 73 getbynam(ad_backend_ptr be, void *a) argument 83 be->db_type = NSS_AD_DB_SHADOW_BYNAME; 85 /* Sanitize name so that it can be used in our LDAP filter */ 109 if (update_buffer(be, argp, name, dname) < 0) 113 stat = _nss_ad_marshall_data(be, arg [all...] |
H A D | getgrent.c | 30 update_buffer(ad_backend_ptr be, nss_XbyY_args_t *argp, argument 42 buffer = be->buffer = malloc(buflen); 43 if (be->buffer == NULL) 45 be->buflen = buflen; 65 getbynam(ad_backend_ptr be, void *a) argument 75 be->db_type = NSS_AD_DB_GROUP_BYNAME; 77 /* Sanitize name so that it can be used in our LDAP filter */ 100 if (update_buffer(be, argp, name, dname, gid) < 0) 104 stat = _nss_ad_marshall_data(be, argp); 105 return (_nss_ad_sanitize_status(be, arg 116 getbygid(ad_backend_ptr be, void *a) argument [all...] |
/osnet-11/usr/src/lib/nsswitch/compat/common/ |
H A D | getauuser.c | 70 getbynam(compat_backend_ptr_t be, void *a) argument 79 res = _attrdb_compat_XY_all(be,
|
/osnet-11/usr/src/lib/nsswitch/mdns/common/ |
H A D | gethostent.c | 38 getbyname(be, a) 39 mdns_backend_ptr_t be; 50 _nss_mdns_updatecfg(be); 51 return (_nss_mdns_querybyname(be, hname, AF_INET, &qdata)); 56 getbyaddr(be, a) 57 mdns_backend_ptr_t be; 89 _nss_mdns_updatecfg(be); 90 return (_nss_mdns_querybyaddr(be, buffer, qdata.af, &qdata)); 95 _nss_mdns_getent(be, args) 96 mdns_backend_ptr_t be; 150 _nss_get_mdns_hosts_name(mdns_backend_ptr_t *be, void **bufp, size_t *sizep) argument [all...] |
H A D | gethostent6.c | 38 getbyname(be, a) 39 mdns_backend_ptr_t be; 50 _nss_mdns_updatecfg(be); 51 return (_nss_mdns_querybyname(be, hname, af, &qdata)); 55 getbyaddr(be, a) 56 mdns_backend_ptr_t be; 112 _nss_mdns_updatecfg(be); 113 return (_nss_mdns_querybyaddr(be, addrqryname, qdata.af, &qdata)); 118 _nss_mdns_getent(be, args) 119 mdns_backend_ptr_t be; 173 _nss_get_mdns_ipnodes_name(mdns_backend_ptr_t *be, void **bufp, size_t *sizep) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/partmap/ |
H A D | bsdlabel.c | 11 * GRUB is distributed in the hope that it will be useful, 61 /* A kludge to determine a base of be.offset. */ 85 struct grub_partition_bsd_entry be; 93 if (grub_disk_read (disk, p.offset, p.index, sizeof (be), &be)) 96 p.start = grub_le_to_cpu32 (be.offset); 97 p.len = grub_le_to_cpu32 (be.size); 84 struct grub_partition_bsd_entry be; local
|
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | getbootparams.c | 51 * must be constructed and returned. 56 _nss_ldap_bootparams2str(ldap_backend_ptr be, nss_XbyY_args_t *argp) argument 63 ns_ldap_result_t *result = be->result; 69 if ((be->buffer = calloc(1, buflen)) == NULL) { 73 buffer = be->buffer; 99 * adds hostname as a boot param and it should be filtered. 114 be->buflen = strlen(be->buffer); 118 (void) __ns_ldap_freeResult(&be->result); 131 * indicates that dn's be full 136 getbyname(ldap_backend_ptr be, void *a) argument [all...] |
H A D | getnetmasks.c | 66 _nss_ldap_netmasks2str(ldap_backend_ptr be, nss_XbyY_args_t *argp) argument 69 ns_ldap_result_t *result = be->result; 86 if ((be->buffer = calloc(1, len)) == NULL) { 90 be->buflen = len - 1; 91 buffer = be->buffer; 100 (void) __ns_ldap_freeResult(&be->result); 114 getbynet(ldap_backend_ptr be, void *a) argument 135 return ((nss_status_t)_nss_ldap_lookup(be, argp,
|
H A D | tsol_gettpent.c | 59 _nss_ldap_tnrhtp2str(ldap_backend_ptr be, nss_XbyY_args_t *argp) argument 65 ns_ldap_result_t *result = be->result; 86 if ((be->buffer = calloc(1, len)) == NULL) { 90 be->buflen = len - 1; 91 buffer = be->buffer; 98 (void) __ns_ldap_freeResult(&be->result); 103 getbyname(ldap_backend_ptr be, void *a) argument 120 return (_nss_ldap_lookup(be, argp, _TNRHTP, searchfilter, NULL,
|
H A D | getauthattr.c | 64 _nss_ldap_auth2str(ldap_backend_ptr be, nss_XbyY_args_t *argp) argument 70 ns_ldap_result_t *result = be->result; 126 if ((be->buffer = calloc(1, len)) == NULL) { 130 buffer = be->buffer; 138 be->buflen = strlen(be->buffer); 141 (void) __ns_ldap_freeResult(&be->result); 147 getbyname(ldap_backend_ptr be, void *a) argument 168 return ((nss_status_t)_nss_ldap_lookup(be, argp,
|