Lines Matching refs:linep
291 char *linep, line[NSS_BUFSIZ];
299 while ((linep = fgets(line, NSS_BUFSIZ, fp)) != NULL) {
300 while (isspace(*linep)) {
301 ++linep;
303 if (*linep == '#') {
306 if (strncmp(linep, db_name, strlen(db_name)) != 0) {
309 if ((linep = strchr(linep, ':')) != NULL) {
310 if (linep[strlen(linep) - 1] == '\n') {
311 linep[strlen(linep) - 1] = '\0';
314 while (isspace(*++linep))
317 if ((ptr = strchr(linep, '#')) != NULL) {
318 while (--ptr >= linep && isspace(*ptr))
323 if (strlen(linep) == 0) {
332 if (linep == NULL) {
359 if (strlen(linep) >= hostService->alloced) {
361 strlen(linep) + 1);
368 bzero(ptr, strlen(linep) + 1);
370 hostService->alloced = strlen(linep) + 1;
373 if (remove_ldap(hostService->conf, linep, hostService->alloced))