/illumos-gate/usr/src/cmd/sort/ |
H A D | streams_array.c | 39 str->s_type.LA.s_cur_index = MIN(0, str->s_type.LA.s_array_size - 1); in stream_array_prime() 40 if (str->s_type.LA.s_cur_index >= 0) in stream_array_prime() 42 str->s_type.LA.s_array[str->s_type.LA.s_cur_index], in stream_array_prime() 59 ASSERT(str->s_type.LA.s_cur_index < str->s_type.LA.s_array_size); in stream_array_fetch() 61 if (++str->s_type.LA.s_cur_index == str->s_type.LA.s_array_size - 1) in stream_array_fetch() 64 copy_line_rec(str->s_type.LA.s_array[str->s_type.LA.s_cur_index], in stream_array_fetch() 109 if (str->s_type.LA.s_cur_index + 1 >= str->s_type.LA.s_array_size) { in stream_array_eos()
|
H A D | streams_stdio.c | 48 stream_simple_file_t *SF = &(str->s_type.SF); in stream_stdio_open_for_write() 80 stream_buffered_file_t *BF = &(str->s_type.BF); in stream_stdio_prime() 213 if (fgets(graft_pt, dist_to_buf_end, str->s_type.BF.s_fp) == NULL) { in stream_stdio_fetch() 214 if (feof(str->s_type.BF.s_fp)) in stream_stdio_fetch() 220 trip_eof(str->s_type.BF.s_fp); in stream_stdio_fetch() 237 if (!feof(str->s_type.BF.s_fp)) { in stream_stdio_fetch() 285 str->s_type.BF.s_fp) == NULL) { in stream_stdio_fetch_overwrite() 286 if (feof(str->s_type.BF.s_fp)) in stream_stdio_fetch_overwrite() 292 trip_eof(str->s_type.BF.s_fp); in stream_stdio_fetch_overwrite() 299 if (!feof(str->s_type.BF.s_fp)) { in stream_stdio_fetch_overwrite() [all …]
|
H A D | streams.c | 205 str->s_type.BF.s_fp = stdin; in stream_open_for_read() 232 str->s_type.SF.s_fd = fd; in stream_open_for_read() 249 if ((str->s_type.BF.s_fp = fopen(str->s_filename, "r")) == NULL) { in stream_open_for_read() 256 str->s_type.BF.s_vbuf = safe_realloc(NULL, STDIO_VBUF_SIZE); in stream_open_for_read() 257 if (setvbuf(str->s_type.BF.s_fp, str->s_type.BF.s_vbuf, _IOFBF, in stream_open_for_read() 259 safe_free(str->s_type.BF.s_vbuf); in stream_open_for_read() 260 str->s_type.BF.s_vbuf = NULL; in stream_open_for_read() 310 str->s_type.SF.s_fd = -1; in stream_add_file_to_chain() 456 ssize_t i = dest->s_type.LA.s_array_size; in stream_insert() 478 + dest->s_buffer_size) - dest->s_type.LA.s_array_size; in stream_insert() [all …]
|
H A D | streams_wide.c | 50 stream_buffered_file_t *BF = &(str->s_type.BF); in stream_wide_prime() 149 if (fgetws(graft_pt, dist_to_buf_end, str->s_type.BF.s_fp) == NULL) { in stream_wide_fetch() 150 if (feof(str->s_type.BF.s_fp)) in stream_wide_fetch() 156 trip_eof(str->s_type.BF.s_fp); in stream_wide_fetch() 170 if (!feof(str->s_type.BF.s_fp)) { in stream_wide_fetch() 204 str->s_type.BF.s_fp) == NULL) { in stream_wide_fetch_overwrite() 205 if (feof(str->s_type.BF.s_fp)) in stream_wide_fetch_overwrite() 211 trip_eof(str->s_type.BF.s_fp); in stream_wide_fetch_overwrite() 218 if (!feof(str->s_type.BF.s_fp)) { in stream_wide_fetch_overwrite() 241 if (wxwrite(str->s_type.SF.s_fd, w_crlf) < 0) in stream_wide_send_eol() [all …]
|
H A D | streams_mmap.c | 50 str->s_type.SF.s_release_origin = str->s_buffer; in stream_mmap_prime() 123 if (str->s_type.SF.s_fd > -1) { in stream_mmap_close() 124 (void) close(str->s_type.SF.s_fd); in stream_mmap_close() 191 caddr_t origin = str->s_type.SF.s_release_origin; in stream_mmap_release_line() 204 str->s_type.SF.s_release_origin += release; in stream_mmap_release_line()
|
H A D | internal.c | 301 rqs_algorithm(C->s_type.LA.s_array, C->s_type.LA.s_array_size, in radix_quicksort() 304 rqs_algorithm(C->s_type.LA.s_array, C->s_type.LA.s_array_size, in radix_quicksort()
|
H A D | types.h | 210 stream_type_t s_type; /* type-specific attributes */ member
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ipft_sn.c | 47 static int sfd = -1, s_type = -1; variable 72 s_type = (int)ntohl(sh.s_type); 75 s_type < 0 || s_type > SDL_MAX) { 82 printf("\tid: %8.8s version: %d type: %d\n", sh.s_id, s_v, s_type); 177 l = &llcs[s_type];
|
H A D | snoop.h | 17 int s_type; member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | lookup.c | 25 int s_type; member 123 if (action != INSERT || s->s_type != CONST) { 144 s->s_type = action == INSERT ? VAR : CONST;
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_register.c | 96 fnp->s_type = type; 186 0, LOG_CLOSE, &r_name, &fid_dbt, fid, fnp->s_type)) != 0)
|
H A D | log_rec.c | 359 fname->ufid, name, fname->s_type, ndx)) != 0)
|
H A D | log_put.c | 169 LOG_CHECKPOINT, &t, &fid_dbt, fnp->id, fnp->s_type))
|
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/ |
H A D | sbdp_mbox.h | 87 char s_type[12]; /* type of board */ member
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mbox.c | 90 (void) strcpy(stp->s_type, shbp->s_type); in sbdp_showbd_2_sbd_stat() 98 (void) strcpy(stp->s_type, UNKNOWN); in sbdp_showbd_2_sbd_stat() 227 shbp->s_ledstatus, shbp->s_type, shbp->s_info); in sbdp_get_board_status()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_hba.c | 135 char s_type[16]; in emlxs_msi_init() local 213 (void) strlcpy(s_type, "TYPE_MSIX", sizeof (s_type)); in emlxs_msi_init() 228 (void) strlcpy(s_type, "TYPE_MSI", sizeof (s_type)); in emlxs_msi_init() 244 (void) strlcpy(s_type, "TYPE_FIXED", sizeof (s_type)); in emlxs_msi_init() 264 "MSI: %s: mode=%d types=0x%x nintrs=%d", s_type, in emlxs_msi_init() 292 "MSI: %s: count=%d actual=%d ret=%d", s_type, count, actual, ret); in emlxs_msi_init() 387 "MSI: %s: %d: cap=0x%x pri=0x%x hilevel=0x%x", s_type, i, in emlxs_msi_init()
|
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | log.h | 192 DBTYPE s_type; /* Saved DB type. */ member
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | sbd_ioctl.h | 199 char s_type[SBD_TYPE_LEN]; member 360 char s_type[SBD_TYPE_LEN]; member
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | sbd_ioctl.h | 196 char s_type[SBD_TYPE_LEN]; member 357 char s_type[SBD_TYPE_LEN]; member
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mfi/ |
H A D | mfi_ld.h | 85 uint8_t s_type; member
|
/illumos-gate/usr/src/uts/common/sys/rsm/ |
H A D | rsm_in.h | 255 #define s_type s_hdr.rsmrc_type /* segment type */ macro
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_sbd.c | 405 a->bnum, st->s_rstate, st->s_ostate, st->s_type); in ap_init() 407 parsable_strncpy(ap->ap_type, st->s_type, sizeof (ap->ap_type)); in ap_init()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_target.c | 1903 uchar_t s_type = GELF_ST_TYPE(sym->st_info); in mdb_tgt_sym_match() local 1912 if (s_bind < STB_NUM && s_type < STT_NUM) { in mdb_tgt_sym_match() 1913 uint_t type = (1 << (s_type + 8)) | (1 << s_bind); in mdb_tgt_sym_match()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab.c | 3238 uint_t s_bind, s_type, type; in Psymbol_iter_com() local 3244 s_type = GELF_ST_TYPE(sym.st_info); in Psymbol_iter_com() 3254 if (s_bind < STB_NUM && s_type < STT_NUM) { in Psymbol_iter_com() 3255 type = (1 << (s_type + 8)) | (1 << s_bind); in Psymbol_iter_com()
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr.c | 2251 bcopy(&pstat.type[0], &dstatp->s_type[0], SBD_TYPE_LEN); in dr_dev_status() 2324 bcopy(&dstatp->s_type[0], &dstat32p->s_type[0], in dr_dev_status()
|