/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | error.c | 312 if (cp->line > ((cp->flags & ERROR_INTERACTIVE) != 0)) 315 sfprintf(sp, ": \"%s\", %s %d", cp->file, ERROR_translate(NiL, NiL, ast.id, "line"), cp->line); 317 sfprintf(sp, "[%d]", cp->line); 366 int line; local 472 if (level > 0 && error_info.line > ((flags & ERROR_INTERACTIVE) != 0)) 476 sfprintf(stkstd, "%s %d: ", ERROR_translate(NiL, NiL, ast.id, "line"), error_info.line); 517 * source ([version], file, line) message 521 line [all...] |
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmdebug.c | 100 const char* file, int line, const Void_t* func, int type) 102 static void dbwarn(vm, data, where, file, line, func, type) 107 int line; /* line number of call */ 173 if(file && file[0] && line > 0 && (bufp + strlen(file) + SLOP) < endbuf) 176 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(LONGV(line),-1), ','); 189 const char* file, int line, const Void_t* func, int type) 191 static void dbwatch(vm, data, file, line, func, type) 195 int line; 204 { dbwarn(vm,data,type,file,line,fun 99 dbwarn(Vmalloc_t* vm, Void_t* data, int where, const char* file, int line, const Void_t* func, int type) argument 188 dbwatch(Vmalloc_t* vm, Void_t* data, const char* file, int line, const Void_t* func, int type) argument 212 dbsetinfo(Vmuchar_t* data, size_t size, const char* file, int line) argument 385 reg int line; local 440 int line; local 510 int line, oldline; local 707 reg int line; local [all...] |
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | vmalloc.h | 77 int line; /* line number */ member in struct:_vmalloc_s 211 #define _VMLINE_(vm) (_VM_(vm)->line = __LINE__) 213 #define _VMLINE_(vm) (_VM_(vm)->line = 0)
|
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | vmalloc.h | 77 int line; /* line number */ member in struct:_vmalloc_s 211 #define _VMLINE_(vm) (_VM_(vm)->line = __LINE__) 213 #define _VMLINE_(vm) (_VM_(vm)->line = 0)
|
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | vmalloc.h | 77 int line; /* line number */ member in struct:_vmalloc_s 211 #define _VMLINE_(vm) (_VM_(vm)->line = __LINE__) 213 #define _VMLINE_(vm) (_VM_(vm)->line = 0)
|
/illumos-gate/usr/src/uts/common/io/lvm/raid/ |
H A D | raid_resync.c | 396 raid_resync_fillin_cs(diskaddr_t line, uint_t line_count, md_raidcs_t *cs) argument 400 ASSERT(line < un->un_segsincolumn); 402 cs->cs_line = line; 403 cs->cs_blkno = line * un->un_segsize; 408 return (line + line_count); 421 diskaddr_t line, 442 off = line * un->un_segsize; 511 /* for each column, read line and xor into write buf */ 577 * DESCRIPTION: Resync the component. Iterate through the raid unit a line at 589 * releases Line Reader Lock for per-line 419 raid_resync_region( md_raidcs_t *cs, diskaddr_t line, uint_t line_count, int *single_read, hs_cmds_t *hs_state, int *err_col, md_dev64_t dev_to_write, diskaddr_t write_dev_start) argument 611 diskaddr_t line; local [all...] |
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | dconf.c | 125 int line; local 160 for (line = 1; fgets(buf, BUFSIZ, dcp->dc_conf_fp) != NULL; line++) { 171 * side, terminated by a newline, and consuming the whole line. 183 warn(gettext("\"%s\", line %d: " 185 fpath, line, name); 196 warn(gettext("\"%s\", line %d: warning: " 197 "invalid token: %s\n"), fpath, line, name); 201 warn(gettext("\"%s\", line %d: syntax error\n"), 202 fpath, line); [all...] |
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | display.c | 50 int *displine; /* screen line of displayed reference */ 56 int nextline; /* next line to be shown */ 57 int topline = 1; /* top line of page */ 58 int bottomline; /* bottom line of page */ 63 static int fldline; /* input field line */ 70 static int lastdispline; /* last displayed reference line */ 72 static int numlen; /* line number display field length */ 137 /* allocate the displayed line array */ 150 char linenum[NUMLEN + 1]; /* line number */ 151 int screenline; /* screen line numbe 608 seekline(int line) argument [all...] |
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | implicit.cc | 64 static Boolean dependency_exists(Name target, Property line); 118 register Property line; local 330 line = maybe_append_prop(target, line_prop); 331 enter_dependency(line, source, false); 332 line->body.line.target = true_target; 365 line = maybe_append_prop(target, line_prop); 367 *command = line; 369 if ((source->stat.time > (*command)->body.line.dependency_time) && 379 body.line 500 Property line; local 701 register Property line; local 800 register Property line; local 1305 Property line = maybe_append_prop(target, line_prop); local 1431 dependency_exists(Name target, Property line) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | sw.c | 370 int64_t line; local 400 * Prefer 'token' to file/func/line 405 * If no token then try file, func, line - but 406 * func and line are meaningless without file. 413 FM_FMRI_SW_SITE_LINE, &line) == 0) 434 * :file=<site.file>[:func=<site.func>][:line=<site.line>] 486 /* :line=... */ 490 "%lld", line);
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_dtime.c | 190 * Get a line from the file and handle the continued lines. 193 getaline(FILE *fp, char *line, int llen) argument 198 if (!fp || !line) 201 *(save = line) = '\0'; 203 if (fgets(line, llen, fp) != line) 206 /* comment line? */ 207 if (*line == '#') 210 len = strlen(line); 211 /* short line */ [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | read.c | 67 int line; /* line number in the file */ member in struct:mparse 117 "missing description line, using \"\"", 136 "line scope broken", 177 "blank line in fill mode, using .sp", 179 "whitespace at end of input line", 185 "tbl line starts with span", 267 * If neither command line arguments -mdoc or -man select 314 * It assumes encoding and line numbering are already set up. 316 * macros, inline equations, and input line trap [all...] |
H A D | term.h | 56 size_t line; /* Current output line number. */ member in struct:termp 66 size_t viscol; /* Chars on current line. */ 84 #define TERMP_NOSPLIT (1 << 13) /* Do not break line before .An. */ 85 #define TERMP_SPLIT (1 << 14) /* Break line before .An. */ 86 #define TERMP_NONEWLINE (1 << 15) /* No line break in nofill mode. */
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_upgrade.c | 244 * Simply allocate a new line and copy in cmd + sep + arg 252 BAM_DPRINTF(("%s: line before update: %s\n", fcn, linep->line)); 253 free(linep->line); 255 linep->line = s_calloc(1, size); 256 (void) snprintf(linep->line, size, "%s%s%s", linep->cmd, linep->sep, 258 BAM_DPRINTF(("%s: line after update: %s\n", fcn, linep->line)); 306 * The parse_kernel_line function examines a menu.lst kernel line. For 346 cvt_kernel_line(line_t *line, cons argument 523 cvt_module_line(line_t *line, entry_t *entry) argument 621 line_t *line; local 724 line_t *line; local 838 line_t *line; local [all...] |
/illumos-gate/usr/src/cmd/eeprom/i386/ |
H A D | benv.c | 347 add_comm(benv_des_t *bd, char *base, char *last, char **next, int *line) argument 366 *line += lines; 373 parse_cmd(benv_des_t *bd, char **next, int *line) argument 376 char *badeof = "unexpected EOF in %s line %d"; 377 char *syntax = "syntax error in %s line %d"; 381 * Skip spaces or tabs. New lines increase the line count. 385 (*line)++; 412 exit(_error(NO_PERROR, badeof, bd->name, *line)); 422 exit(_error(NO_PERROR, syntax, bd->name, *line)); 432 parse_name(benv_des_t *bd, char **next, int *line) argument 490 parse_value(benv_des_t *bd, char **next, int *line) argument 578 add_cmd(benv_des_t *bd, char *last, char **next, int *line) argument 600 int line; local 657 static char line[256]; local 725 char *line; local [all...] |
/illumos-gate/usr/src/common/ficl/ |
H A D | tools.c | 67 char *expressionString, char *filename, int line) 73 filename, line, expressionString); 82 FICL_IGNORE(line); 498 "x -- eXecute the rest of the line " 751 /* prevent line wrap due to long words */ 66 ficlCallbackAssert(ficlCallback *callback, int expression, char *expressionString, char *filename, int line) argument
|
/illumos-gate/usr/src/boot/sys/boot/i386/gptzfsboot/ |
H A D | zfsboot.c | 556 char line[80]; local 563 sprintf(line, "%s\n", d->d_name); 564 if (pager_output(line)) 577 char line[80]; local 635 sprintf(line, "\n%s devices:\n", devsw[i]->dv_name); 636 if (pager_output(line)) 641 sprintf(line, "%s: (unknown)\n", devsw[i]->dv_name); 642 if (pager_output(line))
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | bioscd.c | 183 char line[80]; local 187 sprintf(line, " cd%d: Device 0x%x\n", i, 189 ret = pager_output(line);
|
H A D | pxe.c | 376 char line[255]; local 380 snprintf(line, sizeof (line), " pxe0: %s:%s\n", inet_ntoa(rootip), 382 return (pager_output(line));
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mn_subr.c | 373 char line[MAX_LINE_SIZE]; local 425 while ((fp != NULL) && ((buf = fgets(line, sizeof (line) - 1, fp)) !=
|
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | interactive.c | 200 char *line; local 204 if ((line = pop_a_string(env, NULL)) == NULL) 207 env->input->scanptr = strcpy(env->input->buffer, line); 403 add_line_to_history(fcode_env_t *env, char *line) argument 408 history_lines[num_lines++] = STRDUP(line); 413 history_lines[MAX_LINE_BUF - 1] = STRDUP(line); 470 /* backup to beginning of previous line */ 473 /* overwrite new line */ 476 /* Output blanks to erase previous line chars if old line wa [all...] |
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | wrefresh.c | 51 * This routine may use insert/delete char/line and scrolling-region. 206 /* do line updating */ 214 /* this line is up-to-date */ 288 /* Shift appropriate portions of a line to leave space for cookies. */ 296 static chtype *line; local 299 /* allocate space for shifted line */ 301 if (line) 302 free((char *) line); 303 line = (chtype *) malloc(scrco * sizeof (chtype)); 304 length = line [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlflow.c | 125 * Parse one line of the link flowadm DB 129 dladm_flow_parse_db(char *line, dld_flowinfo_t *attr) argument 139 if ((token = strtok_r(line, " \t", &lasts)) == NULL) 327 char line[MAXLINELEN]; local 369 while (fgets(line, MAXLINELEN, fp) != NULL) { 372 if (BLANK_LINE(line)) { 373 if (fputs(line, nfp) == EOF) 377 (void) strtok(line, " \n"); 379 if ((status = dladm_flow_parse_db(line, &attr)) != 487 char line[MAXLINELE local 808 char line[MAXLINELEN]; local [all...] |
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | util.c | 58 void *sqliteMalloc_(int n, int bZero, char *zFile, int line){ argument 68 n, zFile,line); 89 ++memcnt, n, (int)p, zFile,line); 119 void sqliteFree_(void *p, char *zFile, int line){ argument 142 ++memcnt, n, (int)p, zFile,line); 153 void *sqliteRealloc_(void *oldP, int n, char *zFile, int line){ argument 157 return sqliteMalloc_(n,1,zFile,line); 160 sqliteFree_(oldP,zFile,line); 196 ++memcnt, oldN, n, (int)oldP, (int)p, zFile, line); 226 char *sqliteStrDup_(const char *z, char *zFile, int line){ argument 233 sqliteStrNDup_(const char *z, int n, char *zFile, int line) argument [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | cplmatch.c | 106 int escaped; /* If none-zero, backslashes in the input line are */ 114 int file_start; /* The index in the input line of the first character */ 118 /* an unescaped space, or the beginning of the line. */ 156 * Display a given line of a multi-column list of completions. 261 * special quoting to be valid when displayed in the input line, this 267 * line const char * The input line, as received by the callback 269 * word_start int The index within line[] of the start of the 271 * word_end int The index within line[] of the character which 295 int cpl_add_completion(WordCompletion *cpl, const char *line, argument 534 cpl_complete_word(WordCompletion *cpl, const char *line, int word_end, void *data, CplMatchFn *match_fn) argument [all...] |