Home
last modified time | relevance | path

Searched refs:LINESZ (Results 1 – 15 of 15) sorted by relevance

/titanic_41/usr/src/lib/libc/port/stdio/
H A Dgetline.c39 #define LINESZ 128 /* initial guess for a NULL *lineptr */ macro
57 if (*lineptr == NULL || *n < LINESZ) { /* initial allocation */ in getdelim()
58 if ((*lineptr = realloc(*lineptr, LINESZ)) == NULL) { in getdelim()
62 *n = LINESZ; in getdelim()
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dns_files.c85 char linebuf[LINESZ], lineqbuf[LINESZ];
119 rc = call_read_execout(key, &lp, fname, ml->linebuf, LINESZ);
219 char linebuf[LINESZ], lineqbuf[LINESZ];
333 char linebuf[LINESZ];
334 char lineq[LINESZ];
344 if (macro_expand("", line, lineq, LINESZ)) {
347 mastermap, LINESZ - 1);
424 char linebuf[LINESZ];
654 char line[LINESZ]; in automountd_do_exec_map()
666 rc = read_execout(command->key, &lp, command->file, line, LINESZ); in automountd_do_exec_map()
[all …]
H A Dns_ldap.c311 (void) strncpy(ml->linebuf, ldap_line, LINESZ); in getmapent_ldap()
439 if ((*ldap_len + 2) > LINESZ) { in ldap_match()
443 map, key, (*ldap_len + 2), LINESZ); in ldap_match()
624 char dir[LINESZ], map[LINESZ], qbuff[LINESZ]; in mastermap_callback_ldap()
625 char cont_temp[LINESZ], key_temp[LINESZ]; in mastermap_callback_ldap()
667 tounix_str(attr->attrvalue[0]), LINESZ); in mastermap_callback_ldap()
670 LINESZ); in mastermap_callback_ldap()
683 tounix_str(attr->attrvalue[0]), LINESZ); in mastermap_callback_ldap()
686 LINESZ); in mastermap_callback_ldap()
698 if (key_len >= LINESZ || contents_len >= LINESZ) in mastermap_callback_ldap()
[all …]
H A Dautomount.h68 #define LINESZ 4096 macro
110 char linebuf[LINESZ];
111 char lineqbuf[LINESZ];
H A Dauto_subr.c518 char buffp[LINESZ], buffq[LINESZ];
674 char buf[LINESZ];
H A Dns_fnmount.c324 (addr_from_ref(ref, cname, &addrtype, addrdata, LINESZ) == 0)) { in process_ref()
334 ml.lineqbuf, LINESZ)) { in process_ref()
337 FNPREFIX, cname, LINESZ - 1); in process_ref()
H A Dautod_parse.c247 if (macro_expand(key, lp, lq, LINESZ)) { in mapline_to_mapent()
250 mapname, LINESZ - 1); in mapline_to_mapent()
/titanic_41/usr/src/cmd/acct/
H A Dfwtmp.c85 LINESZ, in main()
86 LINESZ, in main()
130 for (i = 0; i < LINESZ; i++) /* Allow a space in line field */ in inp()
132 for (i = LINESZ-1; i >= 0; i--) { in inp()
H A Dacctdef.h85 #define LINESZ (sizeof (utdummy.ut_line)) /* sizeof device name */ macro
/titanic_41/usr/src/cmd/svr4pkg/pkgremove/
H A Dspecial.c52 #define LINESZ 8192 macro
509 char line[LINESZ]; /* Reads in and writes out contents lines. */ in special_contents_remove()
600 (void) memset(line, 0, LINESZ); in special_contents_remove()
602 for (i = 0, j = 0; fgets(line, LINESZ, fpi) != NULL; ) { in special_contents_remove()
632 (void) memset(line, 0, LINESZ); in special_contents_remove()
653 (void) memset(line, 0, LINESZ); in special_contents_remove()
676 (void) memset(line, 0, LINESZ); in special_contents_remove()
/titanic_41/usr/src/cmd/mkmsgs/
H A Dmkmsgs.c84 #define LINESZ 2048 /* max line in input base */ macro
231 if ((bufinp = malloc(2 * LINESZ)) == NULL) {
233 cmdname, 2 * LINESZ);
236 bufworkp = bufinp + LINESZ;
258 if (!fgets(bufinp, LINESZ, fp_inp)) {
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_import.c255 #define LINESZ 1024 macro
275 if ((linebuf = (char *)malloc(LINESZ)) == NULL) in i_getln_to_argv()
281 if (fgets(currp, STR_ADJ_SZ(LINESZ, linebuf, currp), fp) == NULL) in i_getln_to_argv()
/titanic_41/usr/src/head/
H A Dlinenum.h56 #define LINESZ 6 /* sizeof(LINENO) */ macro
/titanic_41/usr/src/lib/libfsmgt/common/
H A Dlibfsmgt.h44 #define LINESZ 2048 macro
H A Dfs_dfstab.c212 char *arglist[LINESZ]; in dfstab_line_to_dfstab_entry()