/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | lcgen.c | 286 int line; local 294 line = 0; 345 line++; 371 fprintf(stderr, "%s: %d: %s: must be specified after :territory:\n", command, line, arg[0]); 381 fprintf(stderr, "%s: %d: %s must be specified first\n", command, line, arg[0]); 391 fprintf(stderr, "%s: %d: %s: must be specified after :language:\n", command, line, arg[0]); 401 fprintf(stderr, "%s: %d: %s must be specified after :charset:\n", command, line, arg[0]); 409 fprintf(stderr, "%s: %d: %s invalid\n", command, line, arg[0]); 415 fprintf(stderr, "%s: %d: at least two arguments expected\n", command, line); 423 fprintf(stderr, "%s: %d: out of space\n", command, line); [all...] |
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | malloc.c | 229 int line; local 234 VMFLF(Vmregion,file,line,func); 239 /* reset file and line number to correct values for the call */ 241 Vmregion->line = line; 477 int line; local 483 VMFLF(Vmregion,file,line,func); 495 Vmregion->line = line;
|
H A D | vmprofile.c | 38 #define PFLINE(pf) ((pf)->line) 63 int line; /* line #, 0 for name holder */ member in struct:_pfobj_s 76 static Pfobj_t* pfsearch(Vmalloc_t* vm, const char* file, int line) argument 78 static Pfobj_t* pfsearch(vm, file, line) 81 int line; /* line number */ 100 /* see if it's there with a combined hash value of vm,file,line */ 101 h = line + (((Vmulong_t)vm)>>4); 106 if(PFLINE(pf) == line 210 pfsetinfo(Vmalloc_t* vm, Vmuchar_t* data, size_t size, const char* file, int line) argument 474 reg int line, local, inuse; local 517 reg int line, rv, local, inuse; local 581 reg int line, local, inuse; local 702 reg int line, local, inuse; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/ |
H A D | oplmsu_cmn_func.c | 1763 ulong_t line; local 1799 line = (len + 31) / 32; 1803 for (col = 0; col < line; col++) {
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | fncs.c | 788 * The bottom line here is that there 932 _Malloc(size_t size, const char *file, int line) argument 946 _Realloc(void *ptr, size_t size, const char *file, int line) argument 959 _Calloc(size_t nelem, size_t elsize, const char *file, int line) argument 972 _Strdup(const char *s, const char *file, int line) argument 990 _Free(void *ptr, const char *file, int line) argument
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/ |
H A D | postio.c | 90 * printer over the communications line. Typical PrinterError messages look 103 * back over the communications line. If that's the kind of job you're sending 113 * A typical command line might be, 117 * where -l selects the line, -b sets the baud rate, and -L selects the printer 118 * log file. Since there's no default line, at least not right now, you'll 121 * line might look like, 172 char *line = NULL; /* printer is on this tty line */ variable 248 options(); /* get command line options */ 253 if (line) { [all...] |
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | read2.cc | 572 register Property line; local 587 /* Check if this is a .RECURSIVE line */ 633 for (line = get_prop(target->prop, recursive_prop); 634 line != NULL; 635 line = get_prop(line->next, recursive_prop)) { 636 if ((line->body.recursive.directory == directory) && 637 (line->body.recursive.target == name)) { 638 line->body.recursive.makefiles = dp; 639 line 869 enter_dependency(Property line, register Name depe, Boolean automatic) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_sec.c | 86 * blank() returns true if the line is a blank line, 0 otherwise 99 * comment() returns true if the line is a comment, 0 otherwise. 212 * matchname() parses a line of the /etc/nfssec.conf file 220 matchname(char *line, char *name, seconfig_t *secp) argument 222 char *tok1, *tok2; /* holds a token from the line */ 225 if ((secname = gettoken(line, FALSE)) == NULL) { 226 /* bad line */ 258 * matchnum() parses a line of the /etc/nfssec.conf file 266 matchnum(char *line, in argument 364 char line[BUFSIZ]; /* holds each line of NFSSEC_CONF */ local 708 char line[BUFSIZ]; /* holds each line of NFSSEC_CONF */ local [all...] |
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_engine.c | 175 arg1end_i = arg1 + strcspn(arg1, whitespace) - line; 187 ret = cpl_file_completions(cpl, cfc, line, word_end); 234 add_cmd_matches(WordCompletion *cpl, const char *line, int word_end, argument 242 word_start = strspn(line, whitespace); 244 bol = line + word_end - len; 251 err = cpl_add_completion(cpl, line, word_start, 275 arg0 = line + strspn(line, whitespace); 277 if ((arg0 + arg0len) - line >= word_end || 279 return (complete_command(cpl, (void *)arg0, line, word_en [all...] |
/illumos-gate/usr/src/cmd/sgs/tools/common/ |
H A D | sgsmsg.c | 40 * The template file is processed based on the first character of each line: 86 * Errmsg_malt = "sgsmsg: file %s: line %d: malformed input " 87 "at line\n", 121 static int cflag = 0, lflag = 0, prtmsgs = 0, line, ptr = 1, msgid = 0; variable 199 (void) fprintf(stderr, "sgsmsg: file %s: line %d: mesgid %s: " 202 "(see -i option)\n", fldesc, line, id); 248 (void) fprintf(stderr, "sgsmsg: file %s: line %d: mesgid %s: " 251 fldesc, line, id, flmids); 265 (void) fprintf(stderr, "sgsmsg: file %s: line %d: " 269 fldesc, line, i [all...] |
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | poolstat.c | 631 * Print one statistic line according to the definitions in 'lf'. 637 char *line; local 638 int pos = 0; /* position in the printed line */ 639 int len = MAXLINE; /* the length of the line */ 640 int left = len; /* chars left to use in the line */ 642 line = ZALLOC(len); 649 if (((used = ff->pff_format(line, pos, left, ff, 654 line = REALLOC(line, len); 655 if (((used = ff->pff_format(line, po 657 die(gettext(ERR_STATS_FORMAT), line); local 681 char *line; local 710 die(gettext(ERR_STATS_FORMAT), line); local [all...] |
/illumos-gate/usr/src/cmd/logadm/ |
H A D | conf.c | 77 int cf_lineno; /* line number in file */ 78 const char *cf_entry; /* name of entry, if line has an entry */ 181 char *line; local 190 "last line ignored.", fname); 192 for (line = buf; line < ebuf; line = eline) { 199 eline = line; 219 /* check for end of line */ 226 /* discard trailing unterminated line */ [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | main.c | 839 char *line, *cp; local 843 line = NULL; 853 while (getline(&line, &linesz, stream) != -1) { 854 cp = line; 882 free(line); 887 free(line); 1009 const char *file, int line, int col, const char *msg) 1016 if (line) 1017 fprintf(stderr, "%d:%d:", line, col + 1); 1008 mmsg(enum mandocerr t, enum mandoclevel lvl, const char *file, int line, int col, const char *msg) argument
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_hyper.c | 321 * -1: Unparseable line 366 * -1: Unparseable line 448 * Extract the "B,PS" setting from the com line; ignore 500 * use to construct an appropriate "module$" line that can be used to specify 531 /* if the path was the last item on the line, that's OK. */ 560 * Parse a hypervisor's "kernel$" line into parameters that can be used to 561 * help build an appropriate "kernel$" line for booting a bare metal kernel. 604 * Parse a hypervisor's "module$" line into parameters that can be used to 605 * help build an appropriate "kernel$" line for booting a bare metal kernel. 614 * If multiple pathnames exist on the module$ line, w 662 char line[LINEBUF_SZ]; /* make line buffer large but not ridiculous */ local [all...] |
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_activate.c | 743 * line. If found the version is returned in vers, if not then 759 char line[BUFSIZ]; local 792 while (fgets(line, BUFSIZ, fp)) { 793 char *tok = strtok_r(line, "=", &last); 1019 char line[BUFSIZ]; local 1111 while (fgets(line, BUFSIZ, cap_fp)) { 1112 (void) fputs(line, zpool_cap_fp);
|
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/ |
H A D | linenoise.c | 3 * Guerrilla line editing library against the idea that a line editing lib 63 * Effect: if n is 0 or missing, clear from cursor to end of line 64 * Effect: if n is 1, clear from beginning of line to cursor 65 * Effect: if n is 2, clear entire line 83 * When multi line mode is enabled, we also use an additional escape 84 * sequence. However multi line editing is disabled by default. 116 static int mlmode = 1; /* Multi line mode. Default is single line. */ 121 /* The linenoiseState structure represents the state during line editin 795 linenoiseHistoryAdd(const char *line) argument [all...] |
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | main.c | 229 * loader and kernel env vars to be passed on the command line. Convert 334 printf("Command line arguments:"); 458 char line[80]; local 490 snprintf(line, 80, "%23s %12s %12s %8s %4s\n", 493 rv = pager_output(line); 501 snprintf(line, 80, "%23s %012lx %012lx %08lx ", 506 rv = pager_output(line);
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | biosdisk.c | 286 static char line[80]; local 291 snprintf(line, sizeof (line), 297 ret = pager_output(line); 310 sprintf(line, " disk%d", i); 311 ret = disk_print(&dev, line, verbose);
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http.c | 52 * httpGets() - Get a line of text from a HTTP connection. 65 * blank line. 1273 * 'httpGets()' - Get a line of text from a HTTP connection. 1277 httpGets(char *line, /* I - Line to read into */ argument 1281 char *lineptr, /* Pointer into line */ 1287 DEBUG_printf(("httpGets(line=%p, length=%d, http=%p)\n", line, length, http)); 1289 if (http == NULL || line == NULL) 1337 * Nope, can't get a line this time... 1383 * Read a line fro 1554 char line[1024], /* Line from connection... */ local [all...] |
/illumos-gate/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode.c | 125 #define DICTMAXLINE 10240 /* maximum expected dictionary line length */ 150 char linebuf[DICTMAXLINE]; /* line read from dict */ 151 int line = 0; /* line number in dict */ local 235 /* pull in the header line and parse it */ 237 line++; 241 /* first non-comment, non-blank line must be header */ 246 "%sEINVAL: line %d: header expected.\n", 247 debugstr, line); 252 /* just wanted header line fo 381 int line = 0; /* line number in dict */ local 441 int line = 0; local [all...] |
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | server.c | 833 static char *grab_field(char *line, char **eofield) argument 838 while (isspace((int) *line)) line++; 841 while (line[d] && !isspace(((int) line[d]))) d++; 844 memcpy(field, line, d); 846 *eofield = line + d; 889 /* each line is:
|
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 44 #define HIST_LINE 32 /* typical length for history line */ 886 * each new-line character is replaced with string <nl>. 915 * find index for last line with given string 916 * If flag==0 then line must begin with string 931 /* leading ^ means beginning of line unless escaped */ 976 * If coffset==0 then line must begin with string 977 * returns the line number of the match if successful, otherwise -1 983 register int m,n,c=1,line=0; local 998 return(line); 1003 line 1025 hist_copy(char *s1,int size,int command,int line) argument 1108 hist_locate(History_t *hp,register int command,register int line,int lines) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/include/ |
H A D | edit.h | 63 #define MAXLINE 1024 /* longest edit line permitted */ 67 unsigned short line; member in struct:_edit_pos 81 char e_crlf; /* zero if cannot return to beginning of line */ 82 char e_nocrnl; /* don't put a new-line with ^L */ 83 int e_llimit; /* line length limit */ 84 int e_hline; /* current history line number */ 85 int e_hloff; /* line number offset for command */ 86 int e_hismin; /* minimum history line number */ 87 int e_hismax; /* maximum history line number */ 89 int e_cur; /* current line positio [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | lex.c | 81 char last_quote; /* last multi-line quote character */ 301 sfprintf(sfstderr,"line %d: %o:%s%s%s%s %s\n",shp->inlineno,tok,quoted, 439 /* skip one or more comment line(s) */ 620 /* check for \<new-line> */ 649 /* remove \new-line */ 702 /* skip new-line joining */ 755 /* check for multi-line single-quoted string */ 1486 register int line=lp->sh->inlineno; local 1561 lp->lastline = line; 1591 lp->lastline = line; 2305 int line; member in struct:alias [all...] |
H A D | parse.c | 96 static unsigned long writedefs(Lex_t *lexp,struct argnod *arglist, int line, int type, struct argnod *cmd) argument 153 r=kiaentity(lexp,argp->argval,n,type,line,eline,parent,justify,width,atbuff); 154 sfprintf(lexp->kiatmp,"p;%..64d;v;%..64d;%d;%d;s;\n",lexp->current,r,line,eline); 161 static void typeset_order(const char *str,int line) argument 181 errormsg(SH_DICT,ERROR_warn(0),e_lextypeset,line,str); 365 if((flag&SH_NL) && (shp->inlineno=error_info.line+shp->st.firstline)==0) 399 int line = lp->sh->inlineno; local 400 lp->sh->inlineno = error_info.line+lp->sh->st.firstline; 432 lp->sh->inlineno = line; 1299 /* set command line numbe 1456 int line = t->comline; local 1819 int line = lexp->sh->inlineno- (lexp->token==NL); local 1857 int line = lexp->sh->inlineno- (lexp->token==NL); local 1878 int line = lexp->sh->inlineno-(lexp->token==NL); local [all...] |