Lines Matching defs:be
98 _exec_files_XY_all(files_backend_ptr_t be,
116 if (((be->buf == NULL) &&
117 ((be->buf = (char *)calloc(1, be->minbuf)) == NULL)) ||
118 (be->filename == NULL) ||
126 if (stat(be->filename, &f_stat) != 0) {
127 (void) _nss_files_endent(be, 0);
144 (void) _nss_files_endent(be, 0);
147 if ((be->f = fopen(be->filename, "rF")) == 0) {
148 (void) _nss_files_endent(be, 0);
152 exec_fd = fileno(be->f);
156 (void) _nss_files_endent(be, 0);
162 (void) _nss_files_endent(be, 0);
174 (void) _nss_files_endent(be, 0);
177 if (stat(be->filename, &f_stat) != 0) {
179 (void) _nss_files_endent(be, 0);
191 char *instr = be->buf;
193 linelen = _readbufline(f_buf, f_size, instr, be->minbuf,
202 * it can't be the entry we want, so don't bother looking
280 (void) _nss_files_endent(be, 0);
292 get_wild(files_backend_ptr_t be, nss_XbyY_args_t *argp, int getby_flag)
305 res = _exec_files_XY_all(be, argp, getby_flag);
318 getbynam(files_backend_ptr_t be, void *a)
323 res = _exec_files_XY_all(be, argp, NSS_DBOP_EXECATTR_BYNAME);
332 getbyid(files_backend_ptr_t be, void *a)
339 res = _exec_files_XY_all(be, argp, NSS_DBOP_EXECATTR_BYID);
342 res = get_wild(be, argp, NSS_DBOP_EXECATTR_BYID);
351 getbynameid(files_backend_ptr_t be, void *a)
358 res = _exec_files_XY_all(be, argp, NSS_DBOP_EXECATTR_BYNAMEID);
361 res = get_wild(be, argp, NSS_DBOP_EXECATTR_BYNAMEID);