Home
last modified time | relevance | path

Searched refs:line (Results 276 – 300 of 1461) sorted by relevance

1...<<11121314151617181920>>...59

/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddpost.c500 Line line[MAXSTACK+3]; variable
2417 line[1].str = strptr; in starttext()
2418 line[1].dx = 0; in starttext()
2419 line[1].spaces = 0; in starttext()
2420 line[1].start = hpos; in starttext()
2421 line[1].width = 0; in starttext()
2470 line[textcount].width = lastx - line[textcount].start; in endtext()
2473 fprintf(tf, "(%s)%d %d", line[i].str, line[i].spaces, line[i].width); in endtext()
2482 fprintf(tf, "(%s)%d", line[i].str, line[i].dx); in endtext()
2534 line[textcount].dx = dx; in endstring()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/common/
H A Dtest_common.c273 char line[1024]; in test_load_config() local
325 line[0] = 0; in test_load_config()
344 (void) strlcat(line, buf, sizeof (line)); in test_load_config()
347 (void) strlcat(line, buf, sizeof (line)); in test_load_config()
351 ptr = line; in test_load_config()
356 line[0] = 0; in test_load_config()
402 line[0] = 0; in test_load_config()
/illumos-gate/usr/src/boot/common/linenoise/
H A DREADME.markdown6 * Single and multi line editing mode with the usual key bindings implemented.
12 ## Can a line editing library be 20k lines of code?
14line utilities. Instead of retyping almost the same stuff again and again it's just much better to…
18 …* Large programs with configure scripts disabling line editing if readline is not present in the s…
19 …* Smaller programs not using a configure script not supporting line editing at all (A problem we h…
21 The result is a pollution of binaries without line editing support.
23line editing library to be 20k lines of code? Apparently not, it is possibe to get a very small, z…
/illumos-gate/usr/src/cmd/make/bin/
H A Dmisc.cc470 Property line; in print_rule() local
474 ((line = get_prop(target->prop, line_prop)) == NULL) || in print_rule()
475 ((line->body.line.command_template == NULL) && in print_rule()
476 (line->body.line.dependencies == NULL))) { in print_rule()
483 for (dependency = line->body.line.dependencies; in print_rule()
491 for (rule = line->body.line.command_template; in print_rule()
520 Property line; in print_target_n_deps() local
530 if ((line = get_prop(target->prop, line_prop)) == NULL) { in print_target_n_deps()
533 for (dependency = line->body.line.dependencies; in print_target_n_deps()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcrypt.c373 char line[BUFSIZ]; in getcryptpolicy() local
389 (fgets(line, sizeof (line), pconf) != NULL)) { in getcryptpolicy()
390 if (strncasecmp(CRYPT_DEFAULT, line, in getcryptpolicy()
395 policy->cp_default = getval(line); in getcryptpolicy()
406 policy->cp_allow = getval(line); in getcryptpolicy()
417 policy->cp_deny = getval(line); in getcryptpolicy()
491 char line[CRYPT_CONFLINELENGTH]; in getalgbyname() local
553 ((fgets(line, sizeof (line), fconf) != NULL) && !feof(fconf))) { in getalgbyname()
558 if ((line[0] == '#') || (line[0] == '\n')) { in getalgbyname()
562 linelen = strlen(line); in getalgbyname()
[all …]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlflow.c327 char line[MAXLINELEN]; in i_dladm_flow_walk_rw_db() local
372 if (BLANK_LINE(line)) { in i_dladm_flow_walk_rw_db()
373 if (fputs(line, nfp) == EOF) in i_dladm_flow_walk_rw_db()
377 (void) strtok(line, " \n"); in i_dladm_flow_walk_rw_db()
487 char line[MAXLINELEN]; in i_dladm_flow_create_db() local
515 if (BLANK_LINE(line)) in i_dladm_flow_create_db()
519 holder = strtok_r(line, " \t", &lasts); in i_dladm_flow_create_db()
808 char line[MAXLINELEN]; in dladm_flow_init() local
817 if (BLANK_LINE(line)) in dladm_flow_init()
820 (void) strtok(line, " \n"); in dladm_flow_init()
[all …]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DClientLib_en.properties185 template_assign_error = Syntax error in attribute assignment at line {0}
188 template_missing_id = Missing attribute id at line {0}
190 template_attr_syntax = Syntax error in attribute defintion at line {0}
193 template_vers_mssing = Missing version number attribute at line {0}
194 template_lang_err = Syntax error in language definition at line {0}
196 template_dup_def = Duplicate attribute definition at line {0}
201 template_invalid_attr_flag = Invalid attribute flag at line {0}
202 template_dup_attr_flag = Duplicate attribute flag at line {0}
203 template_invalid_tok = Invalid token at line {0}
204 template_expect_int = Expected integer token at line {0}, got ``{1}''''
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_confmgr.c417 if (line == NULL) in __print2buf()
424 if (line->alloc == 0 || newsz > line->alloc) { in __print2buf()
427 if (line->alloc == 0) in __print2buf()
437 free(line->str); in __print2buf()
438 line->str = NULL; in __print2buf()
441 line->str = str; in __print2buf()
445 line->alloc = 0; in __print2buf()
446 line->len = 0; in __print2buf()
451 (void) strlcat(line->str, toprint, line->alloc); in __print2buf()
453 (void) strlcat(line->str, sep, line->alloc); in __print2buf()
[all …]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapmodify.c493 ldaptool_progname, line );
789 char *line, *dn, *p, *q, *attr, *value; local
796 line = rbuf;
814 if (( dn = strdup( line )) == NULL ) {
821 p = line + strlen( line );
879 line = rbuf;
1221 while ( fgets( line, sizeof(line), fp ) != NULL ) {
1222 if ( (len = strlen( line )) < 2 ) {
1231 if ( ((len = strlen( line )) == 2) && (line[0] == '\r') ) {
1239 if ( *line == '#' ) {
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_arp.c59 char *line; in interpret_arp() local
110 line = get_sum_line(); in interpret_arp()
114 (void) snprintf(line, MAXLINE, "ARP C Who is %s ?", in interpret_arp()
118 (void) snprintf(line, MAXLINE, "ARP R %s is %s", in interpret_arp()
123 (void) snprintf(line, MAXLINE, "RARP C Who is %s ?", in interpret_arp()
127 (void) snprintf(line, MAXLINE, "RARP R %s is %s", in interpret_arp()
H A Dsnoop_rpc.c308 char *p, *line; in print_creds() local
330 line = get_line(pos, len * 4); in print_creds()
332 (void) sprintf(line, " Groups = (none)"); in print_creds()
334 (void) sprintf(line, " Groups = "); in print_creds()
335 line += strlen(line); in print_creds()
338 (void) sprintf(line, "%d ", gid); in print_creds()
339 line += strlen(line); in print_creds()
756 check_retransmit(char *line, ulong_t xid) in check_retransmit() argument
763 (void) strcat(line, " (retransmit)"); in check_retransmit()
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetservent.c38 check_name(nss_XbyY_args_t *argp, const char *line, int linelen) in check_name() argument
43 linep = line; in check_name()
44 limit = line + linelen; in check_name()
127 check_port(nss_XbyY_args_t *argp, const char *line, int linelen) in check_port() argument
133 linep = line; in check_port()
134 limit = line + linelen; in check_port()
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/
H A Dipp-support.c464 char line [BUFSIZ]; in setAuthString() local
474 snprintf(line, sizeof (line), "%s:%s:%s", user, realm, in setAuthString()
476 md5_calc(urp, line, strlen(line)); in setAuthString()
478 snprintf(line, sizeof (line), "POST:%s", uri); in setAuthString()
479 md5_calc(mr, line, strlen(line)); in setAuthString()
481 snprintf(line, sizeof (line), "%s:%s:%s", urp, mr, nonce); in setAuthString()
482 md5_calc(encoded, line, strlen(line)); in setAuthString()
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/
H A Dcheck.c352 char line[PATH_MAX+1]; in preinstall_verify() local
399 while (fgets(line, sizeof (line), fp) != (char *)NULL) { in preinstall_verify()
405 len = strlen(line); in preinstall_verify()
407 line[--len] = '\0'; in preinstall_verify()
412 if (line[0] == '#') { in preinstall_verify()
418 if (line[0] == '\0') { in preinstall_verify()
428 if (strncmp(line, DEPCKL[j].name, in preinstall_verify()
434 echoDebug(DBG_PREIVFY_SCAN, line, pkginst, in preinstall_verify()
440 progerr(ERR_PREIVFY_UNKNOWN_LINE, line, in preinstall_verify()
448 line[len]) != (char *)NULL)) { in preinstall_verify()
[all …]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c1774 gl->line = NULL; in new_GetLine()
1921 if(!gl->line) { in new_GetLine()
2065 if(gl->line) in del_GetLine()
2066 free(gl->line); in del_GetLine()
2295 return gl->line; in _gl_get_line()
7811 strlcpy(gl->vi.undo.line, gl->line, gl->linelen); in gl_save_for_undo()
9595 status = _glh_lookup_history(gl->glh, (GlhLineID) id, &line->line,
9596 &line->group, &line->timestamp);
10420 for(cptr=gl->line + gl->ntotal - 1; cptr >= gl->line &&
10459 gl->line[0] = '\0';
[all …]
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.c419 resetstr(line); in fstrgets()
497 str_t *line; in parse_conf_file() local
708 freestr(line); in parse_conf_file()
1660 str_t *line; in queue_event() local
1676 freestr(line); in queue_event()
1682 freestr(line); in queue_event()
1686 freestr(line); in queue_event()
1713 freestr(line); in queue_event()
1748 freestr(line); in queue_event()
1753 freestr(line); in queue_event()
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Dassert.c34 __assert(const char *func, const char *file, int line, const char *expression) in __assert() argument
38 expression, file, line); in __assert()
41 expression, func, file, line); in __assert()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dauto_subr.c347 register char *p = line; in get_line()
355 return (*line ? line : NULL); /* EOF */ in get_line()
358 len = strlen(line); in get_line()
360 p = line; in get_line()
363 p = &line[len - 1]; in get_line()
382 if (p < line) { /* empty line */ in get_line()
383 p = line; in get_line()
397 p = line; in get_line()
399 if (p == line || isspace(*(p-1))) { in get_line()
427 *line = '\0'; in get_line()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_sec.c213 matchname(char *line, char *name, seconfig_t *secp) in matchname() argument
218 if ((secname = gettoken(line, FALSE)) == NULL) { in matchname()
259 matchnum(char *line, int num, seconfig_t *secp) in matchnum() argument
264 if ((secname = gettoken(line, FALSE)) == NULL) { in matchnum()
366 while (fgets(line, BUFSIZ, fp)) { in nfs_get_qop_name()
367 if (!(blank(line) || comment(line))) { in nfs_get_qop_name()
368 if ((secname = gettoken(line, FALSE)) == NULL) { in nfs_get_qop_name()
713 while (fgets(line, BUFSIZ, fp)) { in get_seconfig()
714 if (!(blank(line) || comment(line))) { in get_seconfig()
717 if (matchname(line, name, entryp)) { in get_seconfig()
[all …]
H A Dnfslog_config.c960 char *p = line; in gataline()
968 return (*line ? line : NULL); /* EOF */ in gataline()
971 len = strlen(line); in gataline()
973 p = line; in gataline()
976 p = &line[len - 1]; in gataline()
996 if (p < line) { /* empty line */ in gataline()
997 p = line; in gataline()
1011 p = line; in gataline()
1014 if (p == line || isspace(*(p-1))) { in gataline()
1049 *line = '\0'; in gataline()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/
H A Dt.intest2 line = substr($0, index($0, " "))
3 print line
4 n = split(line, x)
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vwind.c50 line *addr; in vmoveto()
65 vjumpto(line *addr, unsigned char *curs, unsigned char context) in vjumpto()
197 vcontext(line *addr, unsigned char where) in vcontext()
199 line *top; in vcontext()
258 vshow(line *addr, line *top) in vshow()
325 line *
328 line *tp;
347 vfit(line *tp, int cnt) in vfit()
/illumos-gate/usr/src/tools/smatch/src/
H A Dpre-process.c100 token->pos.line = pos->line; in alloc_token()
178 replace_with_integer(token, token->pos.line); in expand_line()
309 next->pos.line = pos->line; in collect_arg()
1616 return do_handle_define(stream, line, token, SYM_ATTR_WEAK); in handle_weak_define()
1657 return do_handle_undef(stream, line, token, SYM_ATTR_NORMAL); in handle_undef()
2099 struct token *next = *line; in handle_pragma()
2109 *line = token; in handle_pragma()
2233 if (!handler(stream, line, token)) /* all set */ in handle_preprocessor_line()
2242 struct token *start = *line, *next; in preprocessor_line()
2251 *line = next; in preprocessor_line()
[all …]
/illumos-gate/usr/src/boot/common/
H A Ddisk.c111 char line[80]; in ptable_print() local
120 snprintf(line, sizeof (line), " %s%s: %s", pa->prefix, pname, in ptable_print()
122 if (pager_output(line)) in ptable_print()
127 if (strlen(line) < 24) in ptable_print()
130 snprintf(line, sizeof (line), "\t%s", in ptable_print()
132 if (pager_output(line)) in ptable_print()
147 snprintf(line, sizeof (line), " %s%s", in ptable_print()
150 bsd.prefix = line; in ptable_print()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_service_stash.c50 char line[RECORDLEN]="0", *start=NULL, *file=NULL; local
93 while (fgets(line, RECORDLEN, fptr) != NULL) {
98 for (start = line; isspace(*start); ++start);
103 sscanf(line, "%*[ \t]%[^#]", tmp);
105 sscanf(line, "%[^#]", tmp);
119 start = strchr(line, '\n');
123 start = strchr(line, '#');

1...<<11121314151617181920>>...59