Home
last modified time | relevance | path

Searched refs:newline (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/tools/findunref/
H A Dfindunref.c203 char *newline; in hg_manifest() local
217 newline = strrchr(path, '\n'); in hg_manifest()
218 if (newline != NULL) in hg_manifest()
219 *newline = '\0'; in hg_manifest()
245 char *newline; in git_manifest() local
259 newline = strrchr(path, '\n'); in git_manifest()
260 if (newline != NULL) in git_manifest()
261 *newline = '\0'; in git_manifest()
403 char *newline; in make_exset() local
421 newline = strrchr(line, '\n'); in make_exset()
[all …]
/illumos-gate/usr/src/cmd/sgs/error/common/
H A Derrorsubr.c213 static char newline[] = NEWLINE; variable
228 /* INAS 3 */ "as", ASINCOMMENT, newline,
234 /* INFRANZ 9 */ "franz", lispincomment, newline,
235 /* INLISP 10 */ "lisp", lispincomment, newline,
236 /* INVAXIMA 11 */ "vaxima", lispincomment, newline,
240 /* INAPL 15 */ "apl", ".lm", newline,
241 /* INMAKE 16 */ "make", ASINCOMMENT, newline,
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetpwnam.c62 char *linep, *limit, *uidp, *gidp, *newline; in validate_passwd_ids() local
105 if (!allocbuf || (newline = malloc(newlinelen + 1)) == NULL) in validate_passwd_ids()
109 (void) snprintf(newline, newlinelen + 1, "%s:%u:%u%s", in validate_passwd_ids()
112 *linepp = newline; in validate_passwd_ids()
H A Dgetgrent.c71 char *linep, *limit, *gidp, *newline; in validate_group_ids() local
103 if (!allocbuf || (newline = malloc(newlinelen + 1)) == NULL) in validate_group_ids()
107 (void) snprintf(newline, newlinelen + 1, "%s:%u%s", in validate_group_ids()
110 *linepp = newline; in validate_group_ids()
/illumos-gate/usr/src/tools/smatch/src/
H A Dtokenize.c53 int newline, whitespace; member
71 pos.newline = stream->newline; in stream_pos()
384 stream->newline = 1; in nextchar_slow()
458 end->pos.newline = 1; in mark_eof()
461 eof_token_entry.pos.newline = 1; in mark_eof()
481 stream->newline |= stream->token->pos.newline; in drop_token()
658 int newline; in drop_stream_comment() local
661 newline = stream->newline; in drop_stream_comment()
674 stream->newline = newline; in drop_stream_comment()
970 stream->newline = 1; in setup_stream()
[all …]
/illumos-gate/usr/src/cmd/zic/
H A Dtzselect.ksh93 newline='
95 IFS=$newline
230 *"$newline"*)
298 *"$newline"*)
400 ?*+?*) $PRINTF >&2 " $xcountry$newline $xregion\n";;
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dprintlist.c57 printlist_setup(char *prefix, char *suffix, char *sep, char *newline) in printlist_setup() argument
65 if (newline) in printlist_setup()
66 print_newline = newline; in printlist_setup()
H A Dsdn.c53 printsdn_setup(char *prefix, char *suffix, char *newline) in printsdn_setup() argument
59 if (newline) in printsdn_setup()
60 print_newline = newline; in printsdn_setup()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftpsubs.c94 static int newline = 0; /* fillbuf: in middle of newline expansion */ variable
109 newline = 0; /* init crlf flag */ in rw_init()
168 if (newline) { in read_ahead()
172 newline = 0; in read_ahead()
179 newline = 1; in read_ahead()
/illumos-gate/usr/src/cmd/tail/tests/
H A Dsun_solaris_tail.sh422 typeset newline=""
427 newline=$'\n'
431 print -n "${newline}" > "${FOLLOWFILE}"
437 followstr+="${newline}${i}"
438 print -n "${i}${newline}" >>"${FOLLOWFILE}"
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dpp.tab129 EOF2NL # pass eof as newline token
135 NEWLINE # last non-space was newline
197 PLUSSPLICE # C++ // \<newline> does not splice
205 SPLICECAT # \<newline> ok for COMPATIBILITY catenation
206 SPLICESPACE # \<space>+<newline> == \<newline> for jcl
207 STRINGSPAN # <newline> in string ok
H A Dpppragma.c31 pppragma(char* directive, char* pass, char* name, char* value, int newline) in pppragma() argument
64 if (newline) in pppragma()
/illumos-gate/usr/src/cmd/mail/
H A Dcopymt.c48 int n, newline = 1; local
68 if (!newline) {
189 newline = 1;
195 newline = 0;
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_builtin_tail.sh399 typeset newline=""
404 newline=$'\n'
408 print -n "${newline}" > "${FOLLOWFILE}"
414 followstr+="${newline}${i}"
415 print -n "${i}${newline}" >>"${FOLLOWFILE}"
/illumos-gate/usr/src/tools/cscope-fast/
H A Dcrossref.c206 BOOL newline = NO; /* output newline */ in putcrossref() local
225 if (newline) { in putcrossref()
247 newline = YES; in putcrossref()
252 if (newline) { in putcrossref()
253 newline = NO; in putcrossref()
H A Dcgrep.c167 uchar_t *newline; /* end of line (real or sentinel \n) */ member
1668 current.prntbuf = current.newline + 1; in execute()
1683 current.newline = bufend - 1; in execute()
1684 if (*current.newline != NL) { in execute()
1685 current.newline = bufend; in execute()
1692 current.newline = bufend; in execute()
1693 while (*--current.newline != NL) { in execute()
1695 if (current.newline < current.prntbuf) { in execute()
1697 current.newline = bufend; in execute()
1702 current.newline = bufend; in execute()
[all …]
/illumos-gate/usr/src/cmd/make/bin/
H A Drep.cc186 rp->newline = (wchar_t *) wcsdup(line); in report_recursive_dep()
193 rp->newline = (wchar_t *) wcsdup(line); in report_recursive_dep()
300 if(rp->newline) { in remove_recursive_dep()
301 retmem(rp->newline); in remove_recursive_dep()
302 rp->newline = NULL; in remove_recursive_dep()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkuserok.c276 char *newline; in krb5_kuserok() local
351 newline = NULL; in krb5_kuserok()
353 if ((newline = strchr(linebuf, '\n'))) in krb5_kuserok()
354 *newline = '\0'; in krb5_kuserok()
363 if (!newline) in krb5_kuserok()
/illumos-gate/usr/src/cmd/refer/
H A Drefer2.c39 static int newline(char *);
119 if (newline(answer) > 0) in doref()
126 switch (newline(answer)) { in doref()
176 newline(char *s) in newline() function
/illumos-gate/usr/src/common/ficl/
H A Dutility.c221 int newline = 0 /* false */; in ficlCompatibilityTextOutCallback() local
231 newline = !0 /* true */; in ficlCompatibilityTextOutCallback()
240 (outputFunction)(callback->vm, buffer, newline); in ficlCompatibilityTextOutCallback()
/illumos-gate/usr/src/cmd/write/
H A Dwrite.c110 int newline; in main() local
370 newline = 1; in main()
375 if ((newline) && (*ptr == '!')) in main()
397 newline = 0; in main()
400 newline = 1; in main()
/illumos-gate/usr/src/cmd/sh/
H A Derror.c44 newline(); in error()
60 newline(); in failed_body()
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen1.c254 static int newline = 1; in nextchar() local
260 while (newline) { in nextchar()
282 newline = 0; in nextchar()
287 newline++; in nextchar()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c1936 int newline, xxx, sline; local
1952 if (!getword(f, word, &newline, filename)) {
1957 newline = 1;
1963 while (!newline && getword(f, word, &newline, filename))
1965 if (!newline)
1974 newline = 0;
1983 if (!getword(f, word, &newline, filename))
1985 if (newline)
2005 if (!getword(f, word, &newline, filename))
2007 if (newline)
[all …]
/illumos-gate/usr/src/cmd/ed/
H A Ded.c279 static void newline(void);
554 newline(); in commands()
613 newline(); in commands()
619 newline(); in commands()
635 newline(); in commands()
648 newline(); in commands()
657 newline(); in commands()
676 newline(); in commands()
683 newline(); in commands()
707 newline(); in commands()
[all …]

12345678910>>...14