Home
last modified time | relevance | path

Searched refs:s_type (Results 1 – 25 of 27) sorted by relevance

12

/titanic_44/usr/src/cmd/sort/common/
H A Dstreams_array.c41 str->s_type.LA.s_cur_index = MIN(0, str->s_type.LA.s_array_size - 1); in stream_array_prime()
42 if (str->s_type.LA.s_cur_index >= 0) in stream_array_prime()
44 str->s_type.LA.s_array[str->s_type.LA.s_cur_index], in stream_array_prime()
61 ASSERT(str->s_type.LA.s_cur_index < str->s_type.LA.s_array_size); in stream_array_fetch()
63 if (++str->s_type.LA.s_cur_index == str->s_type.LA.s_array_size - 1) in stream_array_fetch()
66 copy_line_rec(str->s_type.LA.s_array[str->s_type.LA.s_cur_index], in stream_array_fetch()
111 if (str->s_type.LA.s_cur_index + 1 >= str->s_type.LA.s_array_size) { in stream_array_eos()
H A Dstreams_stdio.c50 stream_simple_file_t *SF = &(str->s_type.SF); in stream_stdio_open_for_write()
82 stream_buffered_file_t *BF = &(str->s_type.BF); in stream_stdio_prime()
215 if (fgets(graft_pt, dist_to_buf_end, str->s_type.BF.s_fp) == NULL) { in stream_stdio_fetch()
216 if (feof(str->s_type.BF.s_fp)) in stream_stdio_fetch()
222 trip_eof(str->s_type.BF.s_fp); in stream_stdio_fetch()
239 if (!feof(str->s_type.BF.s_fp)) { in stream_stdio_fetch()
287 str->s_type.BF.s_fp) == NULL) { in stream_stdio_fetch_overwrite()
288 if (feof(str->s_type.BF.s_fp)) in stream_stdio_fetch_overwrite()
294 trip_eof(str->s_type.BF.s_fp); in stream_stdio_fetch_overwrite()
301 if (!feof(str->s_type.BF.s_fp)) { in stream_stdio_fetch_overwrite()
[all …]
H A Dstreams.c207 str->s_type.BF.s_fp = stdin; in stream_open_for_read()
234 str->s_type.SF.s_fd = fd; in stream_open_for_read()
251 if ((str->s_type.BF.s_fp = fopen(str->s_filename, "r")) == NULL) { in stream_open_for_read()
258 str->s_type.BF.s_vbuf = safe_realloc(NULL, STDIO_VBUF_SIZE); in stream_open_for_read()
259 if (setvbuf(str->s_type.BF.s_fp, str->s_type.BF.s_vbuf, _IOFBF, in stream_open_for_read()
261 safe_free(str->s_type.BF.s_vbuf); in stream_open_for_read()
262 str->s_type.BF.s_vbuf = NULL; in stream_open_for_read()
312 str->s_type.SF.s_fd = -1; in stream_add_file_to_chain()
458 ssize_t i = dest->s_type.LA.s_array_size; in stream_insert()
480 + dest->s_buffer_size) - dest->s_type.LA.s_array_size; in stream_insert()
[all …]
H A Dstreams_wide.c52 stream_buffered_file_t *BF = &(str->s_type.BF); in stream_wide_prime()
151 if (fgetws(graft_pt, dist_to_buf_end, str->s_type.BF.s_fp) == NULL) { in stream_wide_fetch()
152 if (feof(str->s_type.BF.s_fp)) in stream_wide_fetch()
158 trip_eof(str->s_type.BF.s_fp); in stream_wide_fetch()
172 if (!feof(str->s_type.BF.s_fp)) { in stream_wide_fetch()
206 str->s_type.BF.s_fp) == NULL) { in stream_wide_fetch_overwrite()
207 if (feof(str->s_type.BF.s_fp)) in stream_wide_fetch_overwrite()
213 trip_eof(str->s_type.BF.s_fp); in stream_wide_fetch_overwrite()
220 if (!feof(str->s_type.BF.s_fp)) { in stream_wide_fetch_overwrite()
243 if (wxwrite(str->s_type.SF.s_fd, w_crlf) < 0) in stream_wide_send_eol()
[all …]
H A Dstreams_mmap.c52 str->s_type.SF.s_release_origin = str->s_buffer; in stream_mmap_prime()
125 if (str->s_type.SF.s_fd > -1) { in stream_mmap_close()
126 (void) close(str->s_type.SF.s_fd); in stream_mmap_close()
193 caddr_t origin = str->s_type.SF.s_release_origin; in stream_mmap_release_line()
206 str->s_type.SF.s_release_origin += release; in stream_mmap_release_line()
H A Dinternal.c303 rqs_algorithm(C->s_type.LA.s_array, C->s_type.LA.s_array_size, in radix_quicksort()
306 rqs_algorithm(C->s_type.LA.s_array, C->s_type.LA.s_array_size, in radix_quicksort()
H A Dtypes.h212 stream_type_t s_type; /* type-specific attributes */ member
/titanic_44/usr/src/cmd/ipf/lib/common/
H A Dipft_sn.c47 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 Dsnoop.h17 int s_type; member
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dlookup.c26 int s_type; member
124 if (action != INSERT || s->s_type != CONST) {
145 s->s_type = action == INSERT ? VAR : CONST;
/titanic_44/usr/src/cmd/sendmail/db/log/
H A Dlog_register.c96 fnp->s_type = type;
186 0, LOG_CLOSE, &r_name, &fid_dbt, fid, fnp->s_type)) != 0)
H A Dlog_rec.c359 fname->ufid, name, fname->s_type, ndx)) != 0)
H A Dlog_put.c169 LOG_CHECKPOINT, &t, &fid_dbt, fnp->id, fnp->s_type))
/titanic_44/usr/src/uts/sun4u/serengeti/sys/
H A Dsbdp_mbox.h87 char s_type[12]; /* type of board */ member
/titanic_44/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_mbox.c90 (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()
/titanic_44/usr/src/cmd/sendmail/db/include/
H A Dlog.h192 DBTYPE s_type; /* Saved DB type. */ member
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c133 char s_type[16]; in emlxs_msi_init() local
211 (void) strlcpy(s_type, "TYPE_MSIX", sizeof (s_type)); in emlxs_msi_init()
226 (void) strlcpy(s_type, "TYPE_MSI", sizeof (s_type)); in emlxs_msi_init()
242 (void) strlcpy(s_type, "TYPE_FIXED", sizeof (s_type)); in emlxs_msi_init()
262 "MSI: %s: mode=%d types=0x%x nintrs=%d", s_type, in emlxs_msi_init()
290 "MSI: %s: count=%d actual=%d ret=%d", s_type, count, actual, ret); in emlxs_msi_init()
385 "MSI: %s: %d: cap=0x%x pri=0x%x hilevel=0x%x", s_type, i, in emlxs_msi_init()
/titanic_44/usr/src/uts/sun4u/sys/
H A Dsbd_ioctl.h193 char s_type[SBD_TYPE_LEN]; member
354 char s_type[SBD_TYPE_LEN]; member
/titanic_44/usr/src/uts/i86pc/sys/
H A Dsbd_ioctl.h196 char s_type[SBD_TYPE_LEN]; member
357 char s_type[SBD_TYPE_LEN]; member
/titanic_44/usr/src/uts/common/sys/rsm/
H A Drsm_in.h257 #define s_type s_hdr.rsmrc_type /* segment type */ macro
/titanic_44/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_sbd.c405 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()
/titanic_44/usr/src/lib/libproc/common/
H A DPsymtab.c2836 uint_t s_bind, s_type, type; in Psymbol_iter_com() local
2842 s_type = GELF_ST_TYPE(sym.st_info); in Psymbol_iter_com()
2852 if (s_bind < STB_NUM && s_type < STT_NUM) { in Psymbol_iter_com()
2853 type = (1 << (s_type + 8)) | (1 << s_bind); in Psymbol_iter_com()
/titanic_44/usr/src/cmd/mdb/common/mdb/
H A Dmdb_target.c1910 uchar_t s_type = GELF_ST_TYPE(sym->st_info); in mdb_tgt_sym_match() local
1919 if (s_bind < STB_NUM && s_type < STT_NUM) { in mdb_tgt_sym_match()
1920 uint_t type = (1 << (s_type + 8)) | (1 << s_bind); in mdb_tgt_sym_match()
/titanic_44/usr/src/uts/i86pc/io/dr/
H A Ddr.c2250 bcopy(&pstat.type[0], &dstatp->s_type[0], SBD_TYPE_LEN); in dr_dev_status()
2323 bcopy(&dstatp->s_type[0], &dstat32p->s_type[0], in dr_dev_status()
/titanic_44/usr/src/uts/sun4u/ngdr/io/
H A Ddr.c2282 bcopy(&pstat.type[0], &dstatp->s_type[0], SBD_TYPE_LEN); in dr_dev_status()
2356 bcopy(&dstatp->s_type[0], &dstat32p->s_type[0], in dr_dev_status()

12