Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 25 of 173) sorted by relevance

1234567

/titanic_50/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmvcur.c63 #define zero_seq(seq) ((seq)->end = (seq)->vec, (seq)->cost = 0) argument
98 add_op(seq, op, p1, p2) in add_op() argument
99 struct Sequence *seq; in add_op()
102 *(seq->end++) = op;
103 *(seq->end++) = p1;
104 *(seq->end++) = p2;
107 seq->cost = __MOVE_INFINITY;
110 seq->cost += cur_term->_move[op]._cost * p1;
113 seq->cost = cur_term->_move[op]._cost;
333 out_seq(seq, putout) in out_seq() argument
[all …]
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvcur.c67 #define zero_seq(seq) ((seq)->end = (seq)->vec, (seq)->cost = 0) argument
101 add_op(struct Sequence *seq, int op, int p1, int p2) in add_op() argument
103 *(seq->end++) = op; in add_op()
104 *(seq->end++) = p1; in add_op()
105 *(seq->end++) = p2; in add_op()
108 seq->cost = __MOVE_INFINITY; in add_op()
111 seq->cost += cur_term->_move[op]._cost * p1; in add_op()
114 seq->cost = cur_term->_move[op]._cost; in add_op()
331 out_seq(struct Sequence *seq, int (*putout)(int)) in out_seq() argument
336 if (__MOVE_INFINITY <= seq->cost) in out_seq()
[all …]
/titanic_50/usr/src/cmd/mandoc/
H A Dterm.c394 const char *seq, *cp; in term_word() local
440 esc = mandoc_escape(&word, &seq, &sz); in term_word()
446 uc = mchars_num2uc(seq + 1, sz - 1); in term_word()
449 uc = mchars_num2char(seq, sz); in term_word()
456 seq, sz, &ssz); in term_word()
460 uc = mchars_spec2cp(p->symtab, seq, sz); in term_word()
492 cp = seq + sz; in term_word()
493 while (seq < cp) { in term_word()
494 if (*seq == '\\') { in term_word()
495 mandoc_escape(&seq, NULL, NULL); in term_word()
[all …]
/titanic_50/usr/src/lib/libdscfg/common/
H A Dcfg_lockdmsg.c55 static uint8_t seq = 0; variable
64 message_buf.seq = seq; in send_cmd()
66 message_buf.seq = ++seq; in send_cmd()
128 } while (message_buf.seq != seq || message_buf.message != LOCK_LOCKED); in read_reply()
138 } while (message_buf.seq != seq || message_buf.message != LOCK_ACK); in read_ack()
/titanic_50/usr/src/cmd/bnu/
H A Dpk0.c130 int x,seq; in pkaccept() local
178 seq = (cntl>>3) & MOD8; in pkaccept()
179 if (m & mask[seq]) { in pkaccept()
180 if (pk->p_is[seq] & (B_COPY | B_MARK)) { in pkaccept()
186 if (x != seq) { in pkaccept()
188 pk->p_ib[x] = pk->p_ib[seq]; in pkaccept()
189 pk->p_is[x] = pk->p_is[seq]; in pkaccept()
190 pk->p_ib[seq] = p; in pkaccept()
192 pk->p_is[seq] = B_MARK; in pkaccept()
196 pk->p_is[seq] = B_MARK+B_SHORT; in pkaccept()
[all …]
/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Ddispatch.c42 dispatch_protocol_error(int type, u_int32_t seq, void *ctxt) in dispatch_protocol_error() argument
44 log("dispatch_protocol_error: type %d seq %u", type, seq); in dispatch_protocol_error()
48 packet_put_int(seq); in dispatch_protocol_error()
53 dispatch_protocol_ignore(int type, u_int32_t seq, void *ctxt) in dispatch_protocol_ignore() argument
55 log("dispatch_protocol_ignore: type %d seq %u", type, seq); in dispatch_protocol_ignore()
/titanic_50/usr/src/lib/libast/common/misc/
H A Dtranslate.c58 int seq; /* sequence number */ member
105 entry(Dt_t* dict, int set, int seq, const char* msg) in entry() argument
113 mp->seq = seq; in entry()
120 sfprintf(sfstderr, "AHA#%d:%s set %d seq %d msg `%s'\n", __LINE__, __FILE__, set, seq, msg); in entry()
376 sfprintf(state.tmp, "(%s,%d,%d)", cp->name, mp->set, mp->seq); in translate()
382 sfprintf(state.tmp, "(%s,%d,%d)%s", cp->name, mp->set, mp->seq, r); in translate()
392 r = catgets(cp->cat, mp->set, mp->seq, msg); in translate()
394 …g=%s set=%d seq=%d \"%s\" => \"%s\"\n", cp->locale, cp->name, mp->set, mp->seq, msg, r == (char*)m… in translate()
401 … %s message %d.%d \"%s\" does not match \"%s\"\n", cp->locale, cp->name, mp->set, mp->seq, r, msg); in translate()
408 sfprintf(state.tmp, "(%s,%d,%d)%s", cp->name, mp->set, mp->seq, r); in translate()
/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dasn1.c599 CK_BYTE ** seq, in ber_encode_SEQUENCE() argument
634 *seq = buf; in ber_encode_SEQUENCE()
646 *seq = buf; in ber_encode_SEQUENCE()
659 *seq = buf; in ber_encode_SEQUENCE()
673 *seq = buf; in ber_encode_SEQUENCE()
681 ber_decode_SEQUENCE(CK_BYTE * seq, in ber_decode_SEQUENCE() argument
688 if (! seq) { in ber_decode_SEQUENCE()
691 if (seq[0] != 0x30) { in ber_decode_SEQUENCE()
694 if ((seq[1] & 0x80) == 0) { in ber_decode_SEQUENCE()
695 len = seq[1] & 0x7F; in ber_decode_SEQUENCE()
[all …]
/titanic_50/usr/src/uts/common/avs/ns/rdc/
H A Drdc_svc.c755 ret2 = rdc_writemaxfba(krdc, urdc, dset, diskio.seq, nocache); in r_net_write5()
852 netret.seq = diskio.seq; in r_net_write6()
885 diskio.idx, diskio.seq, group->seq, in r_net_write6()
975 diskio.cd, diskio.idx, diskio.seq, group->seq); in r_net_write6()
995 if (diskio.seq == (RDC_NEWSEQ + 1)) { in r_net_write6()
999 if (diskio.seq == RDC_NEWSEQ) { in r_net_write6()
1014 if ((diskio.seq != RDC_NOSEQ) && (diskio.seq != RDC_NEWSEQ)) { in r_net_write6()
1021 if (diskio.seq != group->seq) { in r_net_write6()
1035 if (!RDC_INFRONT(diskio.seq, maxseq)) { in r_net_write6()
1041 diskio.seq, maxseq, group->seq); in r_net_write6()
[all …]
H A Drdc_prot.x203 int seq; member
224 unsigned int seq; member
234 unsigned int seq; member
255 unsigned int seq; member
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c195 int seq, int ttl, struct timeval *tp, int packlen) in send_probe() argument
231 outip->ip_id = htons(ident + seq); in send_probe()
260 outdata->seq = seq; in send_probe()
265 outicmp->icmp_seq = htons(seq); in send_probe()
267 outudp->uh_dport = htons((port + seq) % (MAX_PORT + 1)); in send_probe()
330 check_reply(struct msghdr *msg, int cc, int seq, uchar_t *type, uchar_t *code) in check_reply() argument
373 icp->icmp_seq == htons(seq)) in check_reply()
382 hicmp->icmp_seq == htons(seq)) { in check_reply()
396 up->uh_dport == htons((port + seq) % in check_reply()
H A Dtraceroute_aux6.c301 send_probe6(int sndsock, struct msghdr *msg6, struct ip *outip, int seq, in send_probe6() argument
339 outdata->seq = seq; in send_probe6()
344 outicmp->icmp_seq = htons(seq); in send_probe6()
347 to6->sin6_port = htons((port + seq) % (MAX_PORT + 1)); in send_probe6()
399 check_reply6(struct msghdr *msg, int cc, int seq, uchar_t *type, uchar_t *code) in check_reply6() argument
459 icp6->icmp6_seq == htons(seq)) { in check_reply6()
469 hicmp6->icmp6_seq == htons(seq)) { in check_reply6()
486 up->uh_dport == htons((port + seq) % in check_reply6()
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dk5seal.c58 krb5_keyblock *seq, in make_seal_token_v1() argument
99 context->kef_cipher_mt = get_cipher_mech_type(context, seq); in make_seal_token_v1()
100 context->kef_hash_mt = get_hash_mech_type(context, seq); in make_seal_token_v1()
101 if ((code = init_key_kef(context->kef_cipher_mt, seq))) { in make_seal_token_v1()
229 code = krb5_c_make_checksum(context, md5cksum.checksum_type, seq, in make_seal_token_v1()
244 if ((code = kg_encrypt(context, seq, KG_USAGE_SEAL, in make_seal_token_v1()
246 seq->contents : NULL), in make_seal_token_v1()
293 if ((code = kg_make_seq_num(context, seq, direction?0:0xff, seqnum32, in make_seal_token_v1()
427 code = make_seal_token_v1(context, ctx->enc, ctx->seq,
/titanic_50/usr/src/cmd/geniconvtbl/
H A Ditm_comp.l291 hexadecimal_data(int seqsize, char *seq) in hexadecimal_data() argument
314 low = *(seq); in hexadecimal_data()
327 high = *(seq + j); in hexadecimal_data()
328 low = *(seq + j + 1); in hexadecimal_data()
360 name_data(int size, char *seq) in name_data() argument
374 (void) memmove(&(data->place), seq, size); in name_data()
377 (void) memmove((char *)(data->place.itm_ptr), seq, size); in name_data()
/titanic_50/usr/src/cmd/avs/dscfglockd/
H A Ddscfglockd.c94 uint8_t seq; /* seq number of last lock request */ member
293 send_lockmsg(int cmd, pid_t pid, daemonaddr_t *dp, uint8_t seq) in send_lockmsg() argument
308 message_buf.seq = seq; in send_lockmsg()
572 send_lockmsg(GRANTED, (pid_t)0, addr, msg->seq); in queue_lock()
678 is_duplicate(cfglockd_t type, pid_t pid, uint8_t seq) in is_duplicate() argument
689 if (bufp->pid == pid && bufp->seq == seq) { in is_duplicate()
704 (*unlock_buf).seq = seq; in is_duplicate()
712 if (is_duplicate(type, msg->pid, msg->seq)) { in local_lock()
717 send_lockmsg(LOCK_LOCKED, (pid_t)0, client, msg->seq); in local_lock()
772 local_unlock(pid_t pid, uint8_t seq, int method) in local_unlock() argument
[all …]
/titanic_50/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_sbd.c797 ap_cm_stat(apd_t *a, int seq) in ap_cm_stat() argument
801 if (seq == CM_DFLT) in ap_cm_stat()
805 return (st->s_stat + seq); in ap_cm_stat()
809 ap_cm_devpath(apd_t *a, int seq) in ap_cm_devpath() argument
823 if (seq == CM_DFLT) in ap_cm_devpath()
828 dst = (sbd_io_stat_t *)st->s_stat + seq; in ap_cm_devpath()
846 DBG("ap_cm_path(%d)=%s\n", seq, devpath ? devpath : ""); in ap_cm_devpath()
852 ap_cm_id(apd_t *a, int seq, char *id, size_t bufsize) in ap_cm_id() argument
858 dst = ap_cm_stat(a, seq); in ap_cm_id()
873 DBG("ap_cm_id(%d)=%s\n", seq, id); in ap_cm_id()
[all …]
/titanic_50/usr/src/uts/common/fs/ufs/
H A Dlufs_top.c187 ushort_t seq; in top_begin_sync() local
221 seq = mtm->mtm_seq; in top_begin_sync()
224 } while (seq == mtm->mtm_seq); in top_begin_sync()
240 seq = mtm->mtm_seq; in top_begin_sync()
243 } while (seq == mtm->mtm_seq); in top_begin_sync()
271 seq = mtm->mtm_seq; in top_begin_sync()
274 } while (seq == mtm->mtm_seq); in top_begin_sync()
302 seq = mtm->mtm_seq; in top_begin_sync()
305 } while (seq == mtm->mtm_seq); in top_begin_sync()
466 ushort_t seq = mtm->mtm_seq; in top_end_sync() local
[all …]
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_encode.c332 get_nullterm_sequence_len(const void *valp, const struct atype_info *seq) in get_nullterm_sequence_len() argument
338 a = seq; in get_nullterm_sequence_len()
341 assert(seq->size != 0); in get_nullterm_sequence_len()
344 eltptr = (const char *) valp + i * seq->size; in get_nullterm_sequence_len()
370 const struct seq_info *seq,
386 assert(a->seq != NULL); in krb5int_asn1_encode_a_thing()
387 return just_encode_sequence(buf, val, a->seq, retlen); in krb5int_asn1_encode_a_thing()
611 const struct seq_info *seq, in just_encode_sequence() argument
614 const struct field_info *fields = seq->fields; in just_encode_sequence()
615 size_t nfields = seq->n_fields; in just_encode_sequence()
[all …]
/titanic_50/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_close.c158 status = (dbp->seq)(dbp, &key, &data, R_FIRST);
162 status = (dbp->seq)(dbp, &key, &data, R_NEXT);
168 status = (dbp->seq)(dbp, &key, &data, R_FIRST);
174 status = (dbp->seq)(dbp, &key, &data, R_NEXT);
/titanic_50/usr/src/cmd/isns/isnsd/
H A Dpdu.c186 (*pdu)->seq = ntohs(tmp_pdu_hdr->seq); in isns_rcv_pdu()
206 uint16_t seq; in isns_send_pdu() local
228 seq = 0; in isns_send_pdu()
237 pdu->seq = htons(0); in isns_send_pdu()
259 pdu->seq = htons(seq); in isns_send_pdu()
275 seq ++; in isns_send_pdu()
H A Dserver.c98 if (combined_pdu != NULL || pdu->seq != 0) { in isns_connection()
107 (combined_pdu->seq + 1) != pdu->seq) { in isns_connection()
127 new_combined_pdu->seq = pdu->seq; in isns_connection()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rpcsec.c144 int seq; in rpcsec_gss_pre_proto() local
158 seq = getxdr_u_long(); in rpcsec_gss_pre_proto()
162 seq); in rpcsec_gss_pre_proto()
165 "RPCSEC_GSS data seq_num = %u", seq); in rpcsec_gss_pre_proto()
257 int seq; in rpcsec_gss_control_proc() local
/titanic_50/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_recv.c426 rdsv3_ib_set_ack(struct rdsv3_ib_connection *ic, uint64_t seq, in rdsv3_ib_set_ack() argument
430 ic, seq, ack_required); in rdsv3_ib_set_ack()
433 ic->i_ack_next = seq; in rdsv3_ib_set_ack()
442 uint64_t seq; in rdsv3_ib_get_ack() local
449 seq = ic->i_ack_next; in rdsv3_ib_get_ack()
452 return (seq); in rdsv3_ib_get_ack()
459 uint64_t seq; in rdsv3_ib_send_ack() local
465 seq = rdsv3_ib_get_ack(ic); in rdsv3_ib_send_ack()
468 ic, (unsigned long long) seq); in rdsv3_ib_send_ack()
470 hdr->h_ack = htonll(seq); in rdsv3_ib_send_ack()
/titanic_50/usr/src/cmd/ssh/include/
H A Daltprivsep.h48 void altprivsep_rekey(int type, u_int32_t seq, void *ctxt);
58 void aps_input_altpriv_msg(int type, u_int32_t seq, void *ctxt);
/titanic_50/usr/src/cmd/lp/filter/postscript/common/
H A Dtempnam.c37 static int seq = 0; local
46 sprintf(tnm, "%s/%s%d%d", dir, pfx, pid, seq++);

1234567