Home
last modified time | relevance | path

Searched refs:line1 (Results 1 – 16 of 16) sorted by relevance

/titanic_50/usr/src/lib/libbsm/common/
H A Dgetdadefs.c138 char line1[DA_BUFSIZE + 1]; in getdadefent() local
145 while (getdadmline(line1, (int)sizeof (line1), dadeff) != 0) { in getdadefent()
146 if ((da_def = dadef_interpret(line1)) == NULL) in getdadefent()
165 char line1[DA_BUFSIZE + 1]; in getdadeftype() local
172 while (getdadmline(line1, (int)sizeof (line1), dadeff) != 0) { in getdadeftype()
173 if (strstr(line1, type) == NULL) in getdadeftype()
175 if ((da_def = dadef_interpret(line1)) == NULL) in getdadeftype()
H A Dgetdaent.c300 char line1[DA_BUFSIZE + 1]; in getdaon() local
308 while (getdadmline(line1, (int)sizeof (line1), daf) != 0) { in getdaon()
309 if (strncmp(line1, DA_ON_STR, (strlen(DA_ON_STR) - 1)) == 0) { in getdaon()
312 } else if (strncmp(line1, DA_OFF_STR, in getdaon()
335 char line1[DA_BUFSIZE + 1]; in getdaent() local
342 while (getdadmline(line1, (int)sizeof (line1), daf) != 0) { in getdaent()
343 if ((strncmp(line1, DA_ON_STR, (strlen(DA_ON_STR) - 1)) == 0) || in getdaent()
344 (strncmp(line1, DA_OFF_STR, (strlen(DA_OFF_STR) - 1)) == 0)) in getdaent()
346 if ((da = da_interpret(line1)) == NULL) in getdaent()
398 char line1[DA_BUFSIZE + 1]; in getdatype() local
[all …]
/titanic_50/usr/src/tools/scripts/
H A Dwdiff.pl57 $line1 = 0;
292 ++$line1;
293 printf "%4d %4s -%s\n", $line1, "", $_;
295 ++$line1;
298 $str = sprintf "%4d %4d %s\n", $line1, $line2, $_;
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dgetgraent.c150 char line1[BUFSIZ+1]; in fgetgraent() local
152 if(fgets(line1, BUFSIZ, f) == NULL) in fgetgraent()
154 return (interpret(line1, strlen(line1))); in fgetgraent()
172 char line1[BUFSIZ+1]; in getgraent() local
195 else if (fgets(line1, BUFSIZ, g->grfa) == NULL) in getgraent()
197 if ((gra = interpret(line1, strlen(line1))) == NULL) in getgraent()
199 switch(line1[0]) { in getgraent()
423 matchname(char line1[], struct group_adjunct **grap, char *name) in matchname() argument
428 switch (line1[0]) { in matchname()
H A Dgetpwaent.c265 matchname(char line1[], struct passwd_adjunct **pwadjp, char *name) in matchname() argument
273 switch(line1[0]) { in matchname()
285 if (line1[1] == '@') { in matchname()
308 if (line1[1] == '@') { in matchname()
/titanic_50/usr/src/cmd/refer/
H A Drefer2.c44 doref(char *line1) in doref() argument
53 if (biblio && Iline == 1 && line1[0] == '%') in doref()
54 strcat(dbuff, line1); in doref()
147 putsig(nf, flds, nr, line1, in doref()
165 putsig(nf, flds, refnum, line1, line, 1); in doref()
/titanic_50/usr/src/cmd/sgs/error/common/
H A Derrorinput.c347 char *line1, *line2; in lint1() local
368 (persperdexplode(wordv[wordc-2], &line1, &file1))) { in lint1()
371 nwordv1[0] = file1; nwordv1[1] = line1; in lint1()
/titanic_50/usr/src/cmd/cfgadm/
H A Dcfgadm.h135 struct field_info *line1; member
H A Dcfgadm.c2156 pp->line1 = fldp; in process_fields()
2246 fldp = line2 ? pp->line2 : pp->line1; in print_fields()
/titanic_50/usr/src/lib/libshell/common/tests/
H A Dio.sh365 read -t2 -n 1000 line1
371 [[ $line1 == 'prompt1: ' ]] || err_exit "line1 should be 'prompt1: '"
H A Dbasic.sh330 cat '$tmp/scriptx 2> /dev/null) == line1 ]] || err_exit '>() process substitution fails'
341 …cat '$tmp/scriptx 2>> /dev/null) == line1 ]] || err_exit '>() process substitution fails in for lo…
H A Dcoprocess.sh125 echo line1 | grep 'line2'
H A Dtypes.sh245 finfo.text=(line1 line2 line3)
/titanic_50/usr/src/cmd/more/
H A Dmore.c1319 register off_t line1 = startline; in search() local
1348 line2 = line1; in search()
1349 line1 = Ftell (file); in search()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c524 initial_match(const char *line1, const char *line2, int word_end) in initial_match() argument
528 return (strncmp(line1, line2, word_end) == 0); in initial_match()
532 add_stuff(WordCompletion *cpl, const char *line1, const char **list, in add_stuff() argument
538 if (initial_match(line1, list[i], word_end)) { in add_stuff()
539 err = cpl_add_completion(cpl, line1, 0, word_end, in add_stuff()
/titanic_50/usr/src/cmd/zonecfg/
H A Dzonecfg.c592 initial_match(const char *line1, const char *line2, int word_end) in initial_match() argument
596 return (strncmp(line1, line2, word_end) == 0); in initial_match()
600 add_stuff(WordCompletion *cpl, const char *line1, const char **list, in add_stuff() argument
606 if (initial_match(line1, list[i], word_end)) { in add_stuff()
607 err = cpl_add_completion(cpl, line1, 0, word_end, in add_stuff()