Searched refs:buflen (Results 1 – 3 of 3) sorted by relevance
640 size_t buflen = sysconf (_SC_LOGIN_NAME_MAX) + 1; local642 if (buflen == 0)645 buflen = 20;646 name = (char *) __alloca (buflen);648 success = getlogin_r (name, buflen) >= 0;741 size_t buflen = sysconf (_SC_GETPW_R_SIZE_MAX); local746 if (buflen == -1)749 buflen = 1024;750 pwtmpbuf = (char *) __alloca (buflen);752 while (getpwnam_r (user_name, &pwbuf, pwtmpbuf, buflen, &p) != 0)[all …]
1496 static unsigned int buflen = 0; in library_search() local1544 if (!buflen) in library_search()1552 buflen = strlen (libbuf); in library_search()1553 buf = xmalloc(libdir_maxlen + buflen + 2); in library_search()1555 else if (buflen < strlen (libbuf)) in library_search()1557 buflen = strlen (libbuf); in library_search()1558 buf = xrealloc (buf, libdir_maxlen + buflen + 2); in library_search()
209 extract_cpuinfo_field(const char* buffer, int buflen, const char* field) in extract_cpuinfo_field() argument212 const char* bufend = buffer + buflen; in extract_cpuinfo_field()