/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | dpost.c | 500 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 D | test_common.c | 273 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 D | README.markdown | 6 * Single and multi line editing mode with the usual key bindings implemented. 12 ## Can a line editing library be 20k lines of code? 14 …line 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. 23 …line 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 D | misc.cc | 470 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 D | crypt.c | 373 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 D | libdlflow.c | 327 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 D | ClientLib_en.properties | 185 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 D | ns_confmgr.c | 417 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 D | ldapmodify.c | 493 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 D | snoop_arp.c | 59 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 D | snoop_rpc.c | 308 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 D | getservent.c | 38 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 D | ipp-support.c | 464 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 D | check.c | 352 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 D | getline.c | 1774 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 D | sysevent_conf_mod.c | 419 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 D | assert.c | 34 __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 D | auto_subr.c | 347 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 D | nfs_sec.c | 213 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 D | nfslog_config.c | 960 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 D | t.intest | 2 line = substr($0, index($0, " ")) 3 print line 4 n = split(line, x)
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vwind.c | 50 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 D | pre-process.c | 100 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 D | disk.c | 111 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 D | ldap_service_stash.c | 50 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, '#');
|