Lines Matching refs:buflen
36 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() argument
207 if ((status = getgrent_r_impl (result, buffer, buflen, errnop)) in getgrent_next_nss()
219 char *buffer, size_t buflen, int *errnop) in getgrnam_plusgroup() argument
224 enum nss_status status = getgrnam_r_impl (name, result, buffer, buflen, in getgrnam_plusgroup()
238 char *buffer, size_t buflen, int *errnop) in getgrent_next_file() argument
250 if (__glibc_unlikely (buflen < 3)) in getgrent_next_file()
258 buffer[buflen - 1] = '\xff'; in getgrent_next_file()
259 p = fgets_unlocked (buffer, buflen, ent->stream); in getgrent_next_file()
263 if (p == NULL || __builtin_expect (buffer[buflen - 1] != '\xff', 0)) in getgrent_next_file()
271 buffer[buflen - 1] = '\0'; in getgrent_next_file()
280 || !(parse_res = _nss_files_parse_grent (p, result, data, buflen, in getgrent_next_file()
311 buffer, buflen, errnop); in getgrent_next_file()
333 return getgrent_next_nss (result, ent, buffer, buflen, errnop); in getgrent_next_file()
342 _nss_compat_getgrent_r (struct group *grp, char *buffer, size_t buflen, in _nss_compat_getgrent_r() argument
359 result = getgrent_next_file (grp, &ext_ent, buffer, buflen, errnop); in _nss_compat_getgrent_r()
361 result = getgrent_next_nss (grp, &ext_ent, buffer, buflen, errnop); in _nss_compat_getgrent_r()
371 char *buffer, size_t buflen, int *errnop) in internal_getgrnam_r() argument
383 if (__glibc_unlikely (buflen < 3)) in internal_getgrnam_r()
391 buffer[buflen - 1] = '\xff'; in internal_getgrnam_r()
392 p = fgets_unlocked (buffer, buflen, ent->stream); in internal_getgrnam_r()
396 if (p == NULL || __builtin_expect (buffer[buflen - 1] != '\xff', 0)) in internal_getgrnam_r()
404 buffer[buflen - 1] = '\0'; in internal_getgrnam_r()
413 || !(parse_res = _nss_files_parse_grent (p, result, data, buflen, in internal_getgrnam_r()
446 buffer, buflen, errnop); in internal_getgrnam_r()
460 buffer, buflen, errnop); in internal_getgrnam_r()
474 char *buffer, size_t buflen, int *errnop) in _nss_compat_getgrnam_r() argument
492 result = internal_getgrnam_r (name, grp, &ent, buffer, buflen, errnop); in _nss_compat_getgrnam_r()
502 char *buffer, size_t buflen, int *errnop) in internal_getgrgid_r() argument
514 if (__glibc_unlikely (buflen < 3)) in internal_getgrgid_r()
522 buffer[buflen - 1] = '\xff'; in internal_getgrgid_r()
523 p = fgets_unlocked (buffer, buflen, ent->stream); in internal_getgrgid_r()
527 if (p == NULL || __builtin_expect (buffer[buflen - 1] != '\xff', 0)) in internal_getgrgid_r()
535 buffer[buflen - 1] = '\0'; in internal_getgrgid_r()
544 || !(parse_res = _nss_files_parse_grent (p, result, data, buflen, in internal_getgrgid_r()
579 buffer, buflen, errnop); in internal_getgrgid_r()
593 buffer, buflen, errnop); in internal_getgrgid_r()
606 char *buffer, size_t buflen, int *errnop) in _nss_compat_getgrgid_r() argument
621 result = internal_getgrgid_r (gid, grp, &ent, buffer, buflen, errnop); in _nss_compat_getgrgid_r()