Searched refs:inp (Results 1 - 25 of 33) sorted by relevance

12

/osnet-11/usr/src/lib/libcurses/screen/
H A Dwgetch.c60 int inp; local
92 inp = (int)tgetch((int)(win->_use_keypad ? 1 + win->_notimeout : 0));
95 if (SP->fl_echoit && (inp < 0200) && (inp >= 0) && !(win->_flags &
97 (void) wechochar(win, (chtype) inp);
104 if (inp == '\r' && !SP->fl_nonl)
105 inp = '\n';
110 return (inp);
H A Dtgetch.c65 chtype inp; local
84 inp = -inputQ[0];
90 inp = _readchar();
92 inp = (chtype) _pk();
93 if ((int)inp == ERR) {
105 inp = inputQ[0];
109 fprintf(outf, "TGETCH read '%s'\n", unctrl(inp));
113 if (interpret && cur_term->funckeystarter[inp])
114 collapse = _getkey(interpret - 1, &inp);
124 return (inp);
189 _getkey(int blockpeek, chtype *inp) argument
606 _map_button(chtype *inp) argument
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dstrings.c132 register unsigned char* inp; local
152 while ((inp = (unsigned char*)sfgetr(in, sep, 0)) || (inp = (unsigned char*)sfgetr(in, sep, -1)))
155 inend = inp+c;
159 if (inp >= inend || !(c = *inp++) || !isprint(c) && (!(flags & MULTILINE) || !special(c)))
167 if (sfprintf(out, fmt, sizeof(offset), offset - (inend - inp) - n) < 0)
169 n = outstring(out, (char*)inp - ((flags & MULTIBYTE) + 1) * n - 1, n, flags);
172 n = sfprintf(out, fmt, sizeof(offset), offset - (inend - inp) - n, n, inp
[all...]
H A Dtr.c430 register unsigned char* inp = 0; local
450 inend = (inp = inbuff) + c;
456 while (inp < inend)
479 c = code[*inp++];
486 sfread(ip, inbuff, inp - inbuff);
487 inp = inbuff;
489 if (inbuff && (c = inp - inbuff) > 0)
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfvscanf.c63 int inp; /* last input character read */ member in struct:_scan_s
72 #define SCinit(sc,ds) ((sc)->inp = (sc)->error = -1, (sc)->f = f, \
76 #define SCend(sc,ds) (inp = (sc)->inp, f = (sc)->f, \
98 { sc->inp = -1;
113 { sc->inp = -1;
119 return (sc->inp = (int)(*sc->d++));
310 reg int inp, shift, base, width; local
363 n_assign = n_input = 0; inp = -1;
383 { if(SFgetc(f,inp) <
[all...]
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_conv.c128 M_16_SWAP(h->inp[i]);
165 * The offsets in the inp array are used to determine
172 M_16_SWAP(h->inp[i]);
179 M_16_SWAP(h->inp[i]);
195 M_16_SWAP(h->inp[i]);
201 M_16_SWAP(h->inp[i]);
220 M_16_SWAP(h->inp[i]);
226 M_16_SWAP(h->inp[i]);
233 M_16_SWAP(h->inp[i]);
H A Ddb_dup.c313 np->inp[nindex++] = HOFFSET(np) -= s;
329 tp->inp[nindex++] = HOFFSET(tp) -= s;
429 memmove(from + nbytes, from, pagep->inp[indx] - HOFFSET(pagep));
433 offset = pagep->inp[indx];
435 if (pagep->inp[cnt] < offset)
436 pagep->inp[cnt] += nbytes;
441 memmove(&pagep->inp[indx], &pagep->inp[indx + 1],
507 memmove(&pagep->inp[indx + 1], &pagep->inp[ind
[all...]
/osnet-11/usr/src/lib/brand/solaris10/s10_support/
H A Ds10_support.c152 char *inp; local
162 inp = start;
163 while ((p = fgets(inp, PKGINFO_RD_LEN, fp)) != NULL) {
166 len = strlen(inp);
167 if (inp[len - 1] == '\n' &&
168 (len == 1 || inp[len - 2] != '\\')) {
173 if (inp[len - 1] == '\n' && inp[len - 2] == '\\')
184 inp = start + char_cnt;
/osnet-11/usr/src/lib/libdisasm/sparc/
H A Ddis_sparc.c236 const inst_t *inp = NULL; local
262 inp = &tp->tbl_inp[idx];
264 inp = dis_get_overlay(dhp, tp, idx);
266 if ((inp->in_type == INST_NONE) ||
267 ((inp->in_arch & dhp->dh_flags) == 0))
270 if (inp->in_type == INST_TBL) {
271 tp = inp->in_data.in_tbl;
278 if (tp->tbl_fmt(dhp, instr, inp, idx) == 0)
H A Ddis_sparc_fmt.c754 fmt_call(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
770 prt_name(dhp, inp->in_data.in_def.in_name, 1);
789 fmt_sethi(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
802 prt_name(dhp, inp->in_data.in_def.in_name, 1);
814 prt_name(dhp, inp->in_data.in_def.in_name, 1);
827 fmt_branch(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
829 const char *name = inp->in_data.in_def.in_name;
840 uint32_t flags = inp->in_data.in_def.in_flags;
1055 fmt_ls(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
1061 const char *iname = inp
1299 fmt_cpop(dis_handle_t *dhp, uint32_t instr, const inst_t *inp) argument
1323 dis_fmt_rdwr(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
1540 fmt_trap(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
1583 prt_shift(dis_handle_t *dhp, uint32_t instr, const inst_t *inp) argument
1616 prt_jmpl(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
1655 fmt_alu(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
1957 fmt_regwin(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
1965 fmt_trap_ret(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
1980 fmt_movcc(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
2026 fmt_movr(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
2047 fmt_fpop1(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
2070 fmt_fpop2(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
2165 fmt_vis(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
2199 fmt_fused(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
2216 fmt_cbcond(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
2266 fmt_crypto(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
2287 fmt_crypto4op(dis_handle_t *dhp, uint32_t instr, const inst_t *inp, int idx) argument
[all...]
/osnet-11/usr/src/cmd/sendmail/db/btree/
H A Dbt_search.c266 h->inp[indx] == h->inp[indx + P_INDX])
270 h->inp[indx] == h->inp[indx - P_INDX])
281 h->inp[indx] == h->inp[indx - P_INDX])
286 h->inp[indx] == h->inp[indx + P_INDX])
H A Dbt_delete.c192 h->inp[indx] == h->inp[indx + P_INDX])
200 if (indx > 0 && h->inp[indx] == h->inp[indx - P_INDX])
269 copy = h->inp[indx_copy];
271 memmove(&h->inp[indx + O_INDX], &h->inp[indx],
273 h->inp[indx] = copy;
278 memmove(&h->inp[indx], &h->inp[ind
[all...]
H A Dbt_put.c536 h->inp[indx] += nbytes;
541 off = h->inp[indx];
543 if (h->inp[cnt] <= off)
544 h->inp[cnt] += nbytes;
582 while (indx > 0 && h->inp[indx] == h->inp[indx - P_INDX])
585 if (indx >= NUM_ENT(h) || h->inp[first] != h->inp[indx])
H A Dbt_split.c895 pp->inp[splitp] == pp->inp[splitp - adjust])
899 pp->inp[splitp] != pp->inp[off]) {
906 if (pp->inp[splitp] != pp->inp[off]) {
956 pp->inp[nxt] == pp->inp[nxt - P_INDX]) {
957 cp->inp[off] = cp->inp[of
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Dcontrol.c275 char inp[MAXLINE]; local
306 if (sm_io_fgets(s, SM_TIME_DEFAULT, inp, sizeof(inp)) == NULL)
314 fixcrlf(inp, true);
316 sm_setproctitle(false, e, "control: %s", inp);
319 for (p = inp; isascii(*p) && isspace(*p); p++)
H A Dsrvrsmtp.c540 qid_printname(e), CurSmtpClient, inp); \
582 char inp[MAXINPLINE]; local
1099 (void) sm_snprintf(inp, sizeof(inp),
1102 expand(SmtpGreeting, inp, sizeof(inp), e);
1104 p = strchr(inp, '\n');
1107 id = strchr(inp, ' ');
1109 id = &inp[strlen(inp)];
4886 char inp[MAXLINE]; local
[all...]
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Ddb_page.h128 * For hash and btree leaf pages, index items are paired, e.g., inp[0] is the
129 * key for inp[1]'s data. All other types of pages only contain single items.
160 db_indx_t inp[1]; /* Variable length index of items. */ member in struct:_db_page
213 #define P_OVERHEAD (SSZA(PAGE, inp))
222 #define P_ENTRY(pg, indx) ((u_int8_t *)pg + ((PAGE *)pg)->inp[indx])
299 (((indx) == 0 ? pgsize : pg->inp[indx - 1]) - pg->inp[indx])
302 (((indx) == 0 ? psize : pg->inp[indx - 1]) - \
303 pg->inp[indx] - HKEYDATA_SIZE(0))
/osnet-11/usr/src/lib/libpp/common/
H A Dppcall.c447 struct ppinstk* inp; local
449 for (inp = pp.in; inp->type != IN_FILE && inp->prev; inp = inp->prev);
450 sfsprintf(pp.hidebuf, MAXTOKEN, "_%d_%s_hIDe", inp->index, sym->name);
H A Dppcontrol.c276 struct ppinstk* inp; member in union:__anon2350
942 for (var.inp = pp.in; var.inp->type != IN_FILE && var.inp->prev; var.inp = var.inp->prev);
943 p += sfsprintf(p, MAXTOKEN, "_%d_%s_hIDe", var.inp->hide, pp.token);
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_pragma.c371 dt_node_t *inp = fnp ? fnp->dn_list : NULL; local
375 (inp != NULL && inp->dn_kind != DT_NODE_INT)) {
402 if (inp != NULL) {
403 if (inp->dn_value == 1)
405 else if (inp->dn_value == 2 && yypcb->pcb_idepth != 0)
H A Ddt_ident.c517 dt_idnode_t *inp = idp->di_iarg; local
519 if (inp != NULL) {
520 dt_node_link_free(&inp->din_list);
522 if (inp->din_hash != NULL)
523 dt_idhash_destroy(inp->din_hash);
525 free(inp->din_argv);
526 free(inp);
H A Ddt_parser.c893 const dt_idnode_t *inp = dnp->dn_ident->di_iarg; local
894 return (inp->din_root ? dt_node_is_dynamic(inp->din_root) : 0);
1271 dt_idnode_t *inp = idp->di_iarg; local
1273 if (inp->din_root != NULL &&
1274 inp->din_root->dn_kind == DT_NODE_INT) {
1279 dnp->dn_value = inp->din_root->dn_value;
1280 dt_node_type_propagate(inp->din_root, dnp);
2165 dt_idnode_t *inp; local
2227 if ((inp
4121 dt_idnode_t *inp = dnp->dn_ident->di_iarg; local
4624 const dt_idnode_t *inp; local
[all...]
H A Ddt_decl.c698 dt_idnode_t *inp; local
784 if ((inp = malloc(sizeof (dt_idnode_t))) == NULL)
795 bzero(inp, sizeof (dt_idnode_t));
796 inp->din_list = dnp;
797 inp->din_root = dnp;
799 idp->di_iarg = inp;
/osnet-11/usr/src/cmd/sendmail/db/hash/
H A Dhash_page.c535 HOFFSET(p) = p->inp[n] = off;
539 HOFFSET(p) = p->inp[n] = off;
567 (ndx == 0 ? psize : p->inp[H_DATAINDEX(ndx - 1)]) - HOFFSET(p);
578 p->inp[i + 2] = p->inp[i] - newbytes;
584 p->inp[H_KEYINDEX(ndx)] =
585 (ndx == 0 ? psize : p->inp[H_DATAINDEX(ndx - 1)]) - key->size;
586 p->inp[H_DATAINDEX(ndx)] = p->inp[H_KEYINDEX(ndx)] - data->size;
1033 len = pagep->inp[nd
[all...]
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_data.c214 res_isourserver(const struct sockaddr_in *inp) { argument
215 return (res_ourserver_p(&_res, inp));

Completed in 1246 milliseconds

12