Home
last modified time | relevance | path

Searched refs:linestr (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/openbsm/libbsm/
H A Dbsm_event.c52 static char linestr[AU_LINE_MAX]; variable
159 if (fgets(linestr, AU_LINE_MAX, fp) == NULL) in getauevent_r_locked()
163 if ((nl = strrchr(linestr, '\n')) != NULL) in getauevent_r_locked()
167 if (linestr[0] == '#') in getauevent_r_locked()
171 if (eventfromstr(linestr, e) == NULL) in getauevent_r_locked()
228 while (fgets(linestr, AU_LINE_MAX, fp) != NULL) { in getauevnam_r_locked()
230 if ((nl = strrchr(linestr, '\n')) != NULL) in getauevnam_r_locked()
233 if (eventfromstr(linestr, e) != NULL) { in getauevnam_r_locked()
286 while (fgets(linestr, AU_LINE_MAX, fp) != NULL) { in getauevnum_r_locked()
288 if ((nl = strrchr(linestr, '\n')) != NULL) in getauevnum_r_locked()
[all …]
H A Dbsm_user.c51 static char linestr[AU_LINE_MAX]; variable
142 if (fgets(linestr, AU_LINE_MAX, fp) == NULL) in getauuserent_r_locked()
146 if ((nl = strrchr(linestr, '\n')) != NULL) in getauuserent_r_locked()
150 if (linestr[0] == '#') in getauuserent_r_locked()
154 if (userfromstr(linestr, u) == NULL) in getauuserent_r_locked()
H A Dbsm_class.c51 static char linestr[AU_LINE_MAX]; variable
112 if (fgets(linestr, AU_LINE_MAX, fp) == NULL) in getauclassent_r_locked()
116 if (linestr[0] == '#') in getauclassent_r_locked()
120 if ((nl = strrchr(linestr, '\n')) != NULL) in getauclassent_r_locked()
124 tokptr = linestr; in getauclassent_r_locked()
H A Dbsm_control.c64 static char linestr[AU_LINE_MAX]; variable
119 if (fgets(linestr, AU_LINE_MAX, fp) == NULL) { in getstrfromtype_locked()
125 if (linestr[0] == '#') in getstrfromtype_locked()
129 nl = strchr(linestr, '\0') - 1; in getstrfromtype_locked()
130 while (nl >= linestr && ('\n' == *nl || ' ' == *nl || in getstrfromtype_locked()
136 tokptr = linestr; in getstrfromtype_locked()
/freebsd/contrib/unbound/daemon/
H A Dremote.c1351 char linestr[32]; in check_RR_syntax() local
1353 linestr[0]=0; in check_RR_syntax()
1354 else snprintf(linestr, sizeof(linestr), "line %d ", line); in check_RR_syntax()
1356 linestr, LDNS_WIREPARSE_OFFSET(s), str, in check_RR_syntax()