/illumos-gate/usr/src/cmd/compress/ |
H A D | compress.c | 328 char line[LINE_MAX]; local 769 line[cin] = 0; 770 (void) read(2, line, LINE_MAX); 772 if (yes_check(line) == 0) {
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | drvsubr.c | 135 char *line, *one_entry; local 161 line = calloc(line_len, 1); 162 if (line == NULL) { 174 bzero(line, line_len); 180 (void) snprintf(line, line_len, 184 if ((fputs(line, fp)) == EOF) { 201 free(line); 223 char *line, *one_entry; local 246 line = calloc(line_len, 1); 247 if (line 293 match_entry(char *line, char *match) argument 353 char line[MAX_DBFILE_ENTRY]; local 604 char line[MAX_N2M_ALIAS_LINE], *cp; local 1401 char line[MAX_DBFILE_ENTRY]; local 1601 char line[MAX_DBFILE_ENTRY], *cp; local 1914 char line[MAX_N2M_ALIAS_LINE + 1], *cp; local 2007 char line[MAX_N2M_ALIAS_LINE + 1], *cp; local 2354 char line[MAX_N2M_ALIAS_LINE + 1], *cp; local 2434 is_blank(char *line) argument [all...] |
/illumos-gate/usr/src/cmd/more/ |
H A D | more.c | 196 off_t chrctr, line; member in struct:__anon962 359 context.line = context.chrctr = 0; 410 screen_start.line = screen_start.chrctr = 0LL; 411 context.line = context.chrctr = 0LL; 500 int length; /* length of current line */ 501 static int prev_len = 1; /* length of previous line */ 517 /* must clear before drawing line since tabs on some terminals 558 screen_start.line = Currline; 723 ** Get a logical line 788 the current line b [all...] |
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | xgettext.c | 66 * linenum : line number in the file. 158 * is_last_comment_line : Means the current line is the last line 181 * This variable contains the first line of gettext(), dgettext(), or 184 * the starting line. 194 * curr_line : Contains the current line processed. 211 * Each node contains one line of comment. 427 "-n\t\t\tline# file name and line number info in output\n"); 439 * Extract file name and line number information from macro line 980 trim_line(char *line) argument 1057 char line [MAX_STRING_LEN]; local 1728 char line [MAX_STRING_LEN]; local [all...] |
/illumos-gate/usr/src/cmd/dtrace/ |
H A D | dtrace.c | 459 int nmods, line; local 466 for (line = 0; g_etc[line] != NULL; line++) 467 oprintf("%s\n", g_etc[line]); 477 for (line = 0; line < nmods; line++) 478 oprintf("forceload: drv/%s\n", mods[line]); 1534 * In our third pass we handle any command-line option [all...] |
/illumos-gate/usr/src/cmd/sa/ |
H A D | sadp.c | 955 long line; local 957 line = 50; 960 line = 52; 962 pline(line--, array, mrow, BLOB); 964 pline(line--, array, mrow, BRK); 966 line = 51; 967 while (line > 0) { 968 if ((line & 07) == 0) { 969 printf("\n%2ld%% -|", line/scale); 973 pline(line [all...] |
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfedit.c | 116 * The elfedit_cpl_*() functions are used for command line completion. 126 const char *ecpl_line; /* raw input line */ 127 int ecpl_word_start; /* start offset within line */ 330 * the cursor to the beginning of the next line so that our output 332 * tecla will re-enter raw mode and redraw the current command line. 868 * buf_cur_col - Address of current output column for current line 972 /* Wrap line, or insert blank separator */ 1059 * all output is on a single line. 1149 * This function allows the loadable modules to get the command line 2233 * inc_null_final - If the line end 3124 cmd_match_fcn(WordCompletion *cpl, void *data, const char *line, int word_end) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | utilities.c | 125 char line[80]; local 158 if (getaline(stdin, line, sizeof (line)) == EOF) 161 if (line[0] == 'y' || line[0] == 'Y') {
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap.c | 337 length = strlen(pos->line); 340 while (length > 0 && isspace(pos->line[length - 1])) 344 gettext("Error at line %d: %.*s\n"), 347 pos->line); 381 free(positions->pos[i]->line); 414 positions->pos[positions->last]->line = strdup(pos->line); 415 if (positions->pos[positions->last]->line == NULL) 1804 /* Does the line start with USERMAP_CFG IP qualifier? */ 1806 ucp_is_IP_qualifier(char *line) argument 1819 ucp_qm_interior(char **line, cmd_pos_t *pos) argument 1841 ucp_grab_token(char **line, cmd_pos_t *pos, const char *terminators) argument 1863 ucp_line2nm(char *line, cmd_pos_t *pos, name_mapping_t *nm) argument 1998 sup_line2nm(char *line, cmd_pos_t *pos, name_mapping_t *nm) argument 2044 line2nm(char *line, cmd_pos_t *pos, name_mapping_t *nm, format_t f) argument 2117 char line[MAX_INPUT_LINE_SZ]; local 3140 char line[MAX_INPUT_LINE_SZ]; local [all...] |
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | setkey.c | 92 test_debug(debug_level level, char *file, int line) argument 96 fprintf(stderr, "file %s,\tline %d :\t", file, line); 278 syslog(LOG_ERR, "file %s line %d: malloc failed", 291 syslog(LOG_ERR, "file %s line %d: malloc failed", 379 syslog(LOG_ERR, "file %s line %d: malloc failed", 393 syslog(LOG_ERR, "file %s line %d: malloc failed", 504 syslog(LOG_ERR, "file %s line %d: malloc failed", 842 syslog(LOG_ERR, "file %s line %d: malloc failed", 1441 "file %s line %d: malloc failed",
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 66 /* routine to turn line into ldap entries */ 69 int (*filedbmline)(); /* routine to turn file line into dbm line */ 196 blankline(char *line) argument 200 for (p = line; *p; p++) 225 line_buf_expand(struct line_buf *line) argument 227 line->alloc += BUFSIZ; 228 line->str = (char *)realloc(line->str, line 238 line_buf_init(struct line_buf *line) argument 598 genent_hosts(char *line, int (*cback)()) argument 855 genent_rpc(char *line, int (*cback)()) argument 1066 genent_protocols(char *line, int (*cback)()) argument 1287 genent_networks(char *line, int (*cback)()) argument 1507 genent_services(char *line, int (*cback)()) argument 1752 genent_group(char *line, int (*cback)()) argument 1957 genent_ethers(char *line, int (*cback)()) argument 2069 genent_aliases(char *line, int (*cback)()) argument 2192 genent_publickey(char *line, int (*cback)()) argument 2477 genent_netmasks(char *line, int (*cback)()) argument 2582 genent_netgroup(char *line, int (*cback)()) argument 2819 genent_automount(char *line, int (*cback)()) argument 2928 genent_passwd(char *line, int (*cback)()) argument 3166 genent_shadow(char *line, int (*cback)()) argument 3509 genent_bootparams(char *line, int (*cback)()) argument 3643 genent_project(char *line, int (*cback)()) argument 3906 fget_line_at(struct line_buf *line, int n, FILE *fp) argument 3940 filedbmline_comment(struct line_buf *line, FILE *etcf, int *lineno, struct file_loc *loc) argument 4000 filedbmline_plus(struct line_buf *line, FILE *etcf, int *lineno, struct file_loc *loc) argument 4093 struct line_buf line; local [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/ |
H A D | main.c | 369 * parse command line options 671 * passwords on the command line are highly 804 * provided on the command line. 856 * validate command line options 1296 * error if there are packages on the command line and a category 2150 * - the -G option is specified on the pkgadd command line 2565 char line[LINE_MAX]; local 2668 while (fgets(line, LINE_MAX, pkgmapFP) != NULL) { 2669 if (strstr(line, " i request") != NULL) { 3318 /* use stream passed in on command line */ [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_mm.c | 498 const unsigned long line, 545 pMem->fileLine = line; 564 const unsigned long line, 655 pMem->fileLine = line; 686 const unsigned long line, 691 sz_file, line, cli_idx); 698 const unsigned long line, 701 return mm_alloc_mem_imp(pDev, memSize, sz_file, line, cli_idx); 710 const unsigned long line, 714 sz_file, line, cli_id 495 mm_alloc_mem_imp(lm_device_t * pLM, u32_t memSize, const char * sz_file, const unsigned long line, u8_t cli_idx) argument 558 mm_alloc_phys_mem_align_imp(lm_device_t * pLM, u32_t memSize, lm_address_t * pPhysAddr, u32_t alignment, u8_t memType, const char * sz_file, const unsigned long line, u8_t cli_idx) argument 681 mm_alloc_phys_mem_imp(lm_device_t * pLM, u32_t memSize, lm_address_t * pPhysAddr, u8_t memType, const char * sz_file, const unsigned long line, u8_t cli_idx) argument 695 mm_rt_alloc_mem_imp(lm_device_t * pDev, u32_t memSize, const char * sz_file, const unsigned long line, u8_t cli_idx) argument 705 mm_rt_alloc_phys_mem_imp(lm_device_t * pDev, u32_t memSize, lm_address_t * pPhysAddr, u8_t flushType, const char * sz_file, const unsigned long line, u8_t cli_idx) argument [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | optget.c | 27 * command line option parser and usage formatter 426 * skip over line space to the next token 1567 trace_textout(Sfio_t* sp, register char* p, int style, int level, int bump, Sfio_t* ip, int version, char* id, char* catalog, int line) argument 1571 message((-21, "opthelp: txt#%d +++ %2d \"%s\" style=%d level=%d bump=%d", line, ++depth, show(p), style, level, bump)); 1573 message((-21, "opthelp: txt#%d --- %2d \"%s\"", line, depth--, show(p))); 3837 * argv: command line argv where argv[0] is command name 3853 * or after blank line
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmhdr.h | 285 int line; /* for line number in Vmdebug */ member in union:_head_s::__anon2680 418 (ln) = (vm)->line, (vm)->line = 0 , \ 436 ** seg_ size file size seg_ magi ----data---- --magi-- magi line 446 ** line: the line number in the file where it was created. 459 #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) 466 /* set file and line number, note that DBLN > 0 so that DBISBAD will work */
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ds_common.c | 1952 * each line. Append each line with the ASCII equivalent of 1962 char line[LINEWIDTH]; local 1968 /* walk the buffer one line at a time */ 1971 bzero(line, LINEWIDTH); 1973 curr = line; 1974 aoff = line + ASCIIOFFSET; 1977 * Walk the bytes in the current line, storing 1981 * the line. 1993 * this is the last line an [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | mc-us3.c | 941 uint64_t base, size, line, remainder; local 951 * a cache line. 970 * Compute the line within the half-dimm. This is the same as the line 972 * 144 bits (18 bytes) to a cache line. 974 line = off / QWORD_SIZE_BYTES; 979 * Compute the line within the segment. 988 line = (line * ifactor) + bank->lm; 992 * in a cache line 1007 uint64_t base, size, line, remainder; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_kutil.c | 1182 * Logs the file name, function name and line number passed in and panics the 1186 smb_panic(char *file, const char *func, int line) argument 1188 cmn_err(CE_PANIC, "%s:%s:%d\n", file, func, line);
|
/illumos-gate/usr/src/cmd/man/ |
H A D | man.c | 722 char *line = NULL; local 748 while (getline(&line, &linecap, fp) > 0) { 749 if (regexec(&preg, line, 0, NULL, 0) == 0) { 755 if (strstr(line, s) != NULL) { 756 (void) printf("%s", line); 761 (void) printf("%s", line); 1296 char *line = NULL; local 1305 while (getline(&line, &linecap, fp) > 0) { 1306 if ((rc = strstr(line, "MANSECTS=")) != NULL)
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | itree.c | 210 int line; local 216 line = namep->line; 219 struct node *newnp = newnode(T_NAME, file, line); 235 newnode(T_NUM, file, line); 242 npc->u.name.it, file, line); 326 oldepname->line); 335 oldepname->line); 369 ret = newnode(T_EVENT, oldnode->file, oldnode->line); 390 nrhs = newnode(T_SERD, orhs->file, orhs->line); [all...] |
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
H A D | sysevent_conf_mod.c | 32 * associated command line to be invoked for each matching event. 34 * generating arbitrary command line formats from event-associated 191 * next_field() will not check any characters on next line. 192 * Each entry is composed of a single line. 415 fstrgets(str_t *line, FILE *fp) argument 419 resetstr(line); 421 if (strcatc(line, c)) 426 if (line->s_len == 0) 428 return (line->s_str); 453 * '#' (number sign) at the beginning of a line indicate 497 str_t *line; local 1414 expand_macros(sysevent_t *ev, nvlist_t *nvlist, syseventtab_t *sep, str_t *line, sysevent_hdr_info_t *hdr) argument 1660 str_t *line; local [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | eqn.c | 331 eqn_alloc(int pos, int line, struct mparse *parse) argument 338 p->eqn.ln = line;
|
H A D | mdoc.h | 180 int line; member in struct:mdoc_argv
|
/illumos-gate/usr/src/common/ficl/emu/ |
H A D | loader_emu.c | 314 printf("fail at line %d\n", __LINE__); \ 501 char *name, *line, *tail, *cp; local 533 line = malloc(strlen(name) + len + 1); 534 strcpy(line, name); 542 strcat(line, " "); 543 strncat(line, cp, len); 552 line = malloc(strlen(name) + len + 2); 553 strcpy(line, name); 555 strcat(line, " "); 556 strncat(line, tai 852 bf_run(char *line) argument 1069 char line[81], *cp, *ep; local 1447 char line[80]; local 1659 int line; member in struct:includeline 1668 int prevsrcid, fd, line; local [all...] |
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_utils.c | 608 * the title line for this BEs entry. 622 char line[BUFSIZ]; local 708 while (fgets(line, BUFSIZ, menu_fp)) { 711 (void) strlcpy(temp_line, line, BUFSIZ); 712 tok = strtok(line, BE_WHITE_SPACE); 749 * Store the new title line 757 * and the bootfs line store these. Also 767 * Store the new bootfs line. 780 if (strstr(line, BE_GRUB_COMMENT) != NULL || 781 strstr(line, "BOOTAD 1370 char line[BUFSIZ]; local 1526 char line[BUFSIZ]; local 1760 char line[BUFSIZ]; local 2040 char line[BUFSIZ]; local [all...] |