| /onnv-gate/usr/src/common/openssl/crypto/asn1/ |
| H A D | tasn_new.c | 67 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 69 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 71 void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 73 ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it) in ASN1_item_new() argument 76 if (ASN1_item_ex_new(&ret, it) > 0) in ASN1_item_new() 83 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_new() argument 85 return asn1_item_ex_combine_new(pval, it, 0); in ASN1_item_ex_new() 88 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, in asn1_item_ex_combine_new() argument 94 const ASN1_AUX *aux = it->funcs; in asn1_item_ex_combine_new() 106 if (it->sname) in asn1_item_ex_combine_new() [all …]
|
| H A D | tasn_fre.c | 65 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine); 69 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it) in ASN1_item_free() argument 71 asn1_item_combine_free(&val, it, 0); in ASN1_item_free() 74 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_free() argument 76 asn1_item_combine_free(pval, it, 0); in ASN1_item_ex_free() 79 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine) in asn1_item_combine_free() argument 84 const ASN1_AUX *aux = it->funcs; in asn1_item_combine_free() 89 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) in asn1_item_combine_free() 96 switch(it->itype) in asn1_item_combine_free() 100 if (it->templates) in asn1_item_combine_free() [all …]
|
| H A D | tasn_enc.c | 68 const ASN1_ITEM *it, 77 const ASN1_ITEM *it, int flags); 84 const ASN1_ITEM *it) in ASN1_item_ndef_i2d() argument 86 return asn1_item_flags_i2d(val, out, it, ASN1_TFLG_NDEF); in ASN1_item_ndef_i2d() 89 int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it) in ASN1_item_i2d() argument 91 return asn1_item_flags_i2d(val, out, it, 0); in ASN1_item_i2d() 104 const ASN1_ITEM *it, int flags) in asn1_item_flags_i2d() argument 110 len = ASN1_item_ex_i2d(&val, NULL, it, -1, flags); in asn1_item_flags_i2d() 117 ASN1_item_ex_i2d(&val, &p, it, -1, flags); in asn1_item_flags_i2d() 122 return ASN1_item_ex_i2d(&val, out, it, -1, flags); in asn1_item_flags_i2d() [all …]
|
| H A D | tasn_utl.c | 76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_get_choice_selector() argument 78 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector() 86 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it) in asn1_set_choice_selector() argument 89 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector() 101 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) in asn1_do_lock() argument 105 if ((it->itype != ASN1_ITYPE_SEQUENCE) in asn1_do_lock() 106 && (it->itype != ASN1_ITYPE_NDEF_SEQUENCE)) in asn1_do_lock() 108 aux = it->funcs; in asn1_do_lock() 119 fprintf(stderr, "%s: Reference Count: %d\n", it->sname, *lck); in asn1_do_lock() 123 fprintf(stderr, "%s, bad reference count\n", it->sname); in asn1_do_lock() [all …]
|
| H A D | tasn_prn.c | 70 static int asn1_item_print_nm(BIO *out, void *fld, int indent, const ASN1_ITEM *it, const char *nam… 72 int ASN1_item_print(BIO *out, void *fld, int indent, const ASN1_ITEM *it) in ASN1_item_print() argument 74 return asn1_item_print_nm(out, fld, indent, it, it->sname); in ASN1_item_print() 77 static int asn1_item_print_nm(BIO *out, void *fld, int indent, const ASN1_ITEM *it, const char *nam… in asn1_item_print_nm() argument 87 switch(it->itype) { in asn1_item_print_nm() 90 if(it->templates) in asn1_item_print_nm() 91 return ASN1_template_print(out, fld, indent, it->templates); in asn1_item_print_nm() 92 return asn1_primitive_print(out, fld, it->utype, indent, name); in asn1_item_print_nm() 100 BIO_printf(out, "%*s%s:EXTERNAL TYPE %s %s\n", indent, "", name, it->sname, fld ? "" : "ABSENT"); in asn1_item_print_nm() 103 …BIO_printf(out, "%*s%s:COMPATIBLE TYPE %s %s\n", indent, "", name, it->sname, fld ? "" : "ABSENT"); in asn1_item_print_nm() [all …]
|
| H A D | x_bignum.c | 72 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 73 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 75 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it); 76 …VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it); 95 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start() 102 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_free() argument 105 if(it->size & BN_SENSITIVE) BN_clear_free((BIGNUM *)*pval); in bn_free() 110 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) in bn_i2c() argument 127 int utype, char *free_cont, const ASN1_ITEM *it) in bn_c2i() argument 130 if(!*pval) bn_new(pval, it); in bn_c2i() [all …]
|
| H A D | x_long.c | 69 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 70 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 72 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it); 73 …VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it); 92 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start() 94 *(long *)pval = it->size; in ASN1_ITEM_start() 98 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in long_free() argument 100 *(long *)pval = it->size; in long_free() 103 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) in long_i2c() argument 114 if(ltmp == it->size) return -1; in long_i2c() [all …]
|
| H A D | tasn_dec.c | 92 const ASN1_ITEM *it, 127 const unsigned char **in, long len, const ASN1_ITEM *it) in ASN1_item_d2i() argument 134 if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0) in ASN1_item_d2i() 153 const ASN1_ITEM *it, in ASN1_item_ex_d2i() argument 159 const ASN1_AUX *aux = it->funcs; in ASN1_item_ex_d2i() 176 switch(it->itype) in ASN1_item_ex_d2i() 179 if (it->templates) in ASN1_item_ex_d2i() 194 it->templates, opt, ctx); in ASN1_item_ex_d2i() 196 return asn1_d2i_ex_primitive(pval, in, len, it, in ASN1_item_ex_d2i() 222 if (!(ASN1_tag2bit(otag) & it->utype)) in ASN1_item_ex_d2i() [all …]
|
| /onnv-gate/usr/src/uts/common/os/ |
| H A D | timer.c | 64 timer_lock(proc_t *p, itimer_t *it) in timer_lock() argument 68 while (it->it_lock & ITLK_LOCKED) { in timer_lock() 69 it->it_blockers++; in timer_lock() 70 cv_wait(&it->it_cv, &p->p_lock); in timer_lock() 71 it->it_blockers--; in timer_lock() 74 it->it_lock |= ITLK_LOCKED; in timer_lock() 83 timer_unlock(proc_t *p, itimer_t *it) in timer_unlock() argument 86 ASSERT(it->it_lock & ITLK_LOCKED); in timer_unlock() 87 it->it_lock &= ~ITLK_LOCKED; in timer_unlock() 88 cv_signal(&it->it_cv); in timer_unlock() [all …]
|
| H A D | clock_realtime.c | 73 itimer_t *it = (itimer_t *)arg; in clock_realtime_fire() local 74 timeout_id_t *tidp = it->it_arg; in clock_realtime_fire() 77 proc_t *p = it->it_proc; in clock_realtime_fire() 83 timer_fire(it); in clock_realtime_fire() 85 val = &it->it_itime.it_value; in clock_realtime_fire() 86 interval = &it->it_itime.it_interval; in clock_realtime_fire() 137 *tidp = realtime_timeout(clock_realtime_fire, it, ticks); in clock_realtime_fire() 148 itimer_t *it = (itimer_t *)arg; in clock_realtime_fire_first() local 150 timespec_t *val = &it->it_itime.it_value; in clock_realtime_fire_first() 151 timeout_id_t *tidp = it->it_arg; in clock_realtime_fire_first() [all …]
|
| H A D | clock_highres.c | 67 clock_highres_timer_create(itimer_t *it, struct sigevent *ev) in clock_highres_timer_create() argument 76 it->it_arg = NULL; in clock_highres_timer_create() 80 it->it_arg = kmem_zalloc(sizeof (cyclic_id_t), KM_SLEEP); in clock_highres_timer_create() 88 itimer_t *it = (itimer_t *)arg; in clock_highres_fire() local 89 hrtime_t *addr = &it->it_hrtime; in clock_highres_fire() 96 timer_fire(it); in clock_highres_fire() 100 clock_highres_timer_settime(itimer_t *it, int flags, in clock_highres_timer_settime() argument 103 cyclic_id_t cyc, *cycp = it->it_arg; in clock_highres_timer_settime() 178 it->it_itime = *when; in clock_highres_timer_settime() 180 hrt2ts(cyctime.cyt_when, &it->it_itime.it_value); in clock_highres_timer_settime() [all …]
|
| /onnv-gate/usr/src/uts/sun4v/cpu/ |
| H A D | niagara2.c | 387 mem_node_iterator_t *it = cookie; in page_pfn_2_color_cpu() local 392 if (it == ((mem_node_iterator_t *)(-1))) { in page_pfn_2_color_cpu() 394 } else if (it != NULL) { in page_pfn_2_color_cpu() 395 ASSERT(pfn >= it->mi_mblock_base && pfn <= it->mi_mblock_end); in page_pfn_2_color_cpu() 396 pfn = pfn + it->mi_ra_to_pa; in page_pfn_2_color_cpu() 480 (((pfn) & it->mi_mnode_pfn_mask) >> it->mi_mnode_pfn_shift) 487 mem_node_iterator_t *it = cookie; in page_next_pfn_for_color_cpu() local 494 ASSERT(pfn >= it->mi_mblock_base && pfn <= it->mi_mblock_end); in page_next_pfn_for_color_cpu() 497 if (it->mi_init) { in page_next_pfn_for_color_cpu() 499 it->mi_hash_ceq_mask = in page_next_pfn_for_color_cpu() [all …]
|
| /onnv-gate/usr/src/cmd/lms/ |
| H A D | Protocol.cpp | 168 ChannelMap::iterator it = _openChannels.begin(); local 169 for (; it != _openChannels.end(); it++) { 170 if (it->second->GetSocket() == s) { 171 return it->second; 175 ChannelMap::iterator it = _openChannels.find(s); local 176 if (it != _openChannels.end()) { 177 return it->second; 210 ChannelMap::iterator it = _openChannels.begin(); local 212 for (; it != _openChannels.end(); it++) { 213 ATNetworkTool::CloseSocket(it->second->GetSocket()); [all …]
|
| H A D | ProtocolCompat.cpp | 122 ChannelMap::iterator it = _openChannels.find(msg->ConnectionId); in _LmeReceiveCompat() local 123 if (it != _openChannels.end()) { in _LmeReceiveCompat() 124 _closeMChannel(it->second); in _LmeReceiveCompat() 125 _openChannels.erase(it); in _LmeReceiveCompat() 137 ChannelMap::iterator it = _openChannels.find(msg->ConnectionId); in _LmeReceiveCompat() local 138 if (it != _openChannels.end()) { in _LmeReceiveCompat() 139 … connection %d to socket %d\n", ntohs(msg->DataLength), msg->ConnectionId, it->second->GetSocket()… in _LmeReceiveCompat() 140 if (-1 == _send(it->second->GetSocket(), (char *)msg->Data, ntohs(msg->DataLength), error)) { in _LmeReceiveCompat() 142 _closeMChannel(it->second); in _LmeReceiveCompat() 143 _openChannels.erase(it); in _LmeReceiveCompat()
|
| /onnv-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
| H A D | sbd_pgr.c | 82 static void sbd_pgr_do_reserve(sbd_pgr_t *, sbd_pgr_key_t *, sbd_it_data_t *it, 239 #define PGR_RESERVATION_HOLDER(pgr, key, it) ( \ argument 242 ((key)->pgr_key_it) && ((key)->pgr_key_it == (it)))) 556 sbd_it_data_t *it; in sbd_pgr_keylist_dealloc() local 560 for (it = slu->sl_it_list; it != NULL; it = it->sbd_it_next) { in sbd_pgr_keylist_dealloc() 561 it->pgr_key_ptr = NULL; in sbd_pgr_keylist_dealloc() 595 sbd_it_data_t *it; in sbd_pgr_remove_key() local 601 for (it = slu->sl_it_list; it != NULL; it = it->sbd_it_next) { in sbd_pgr_remove_key() 602 if (it->pgr_key_ptr == key) in sbd_pgr_remove_key() 603 it->pgr_key_ptr = NULL; in sbd_pgr_remove_key() [all …]
|
| /onnv-gate/usr/src/uts/i86pc/os/ |
| H A D | intr.c | 293 kthread_t *t, *volatile it; in intr_thread_prolog() local 327 it = cpu->cpu_intr_thread; in intr_thread_prolog() 328 cpu->cpu_intr_thread = it->t_link; in intr_thread_prolog() 329 it->t_intr = t; in intr_thread_prolog() 330 it->t_lwp = t->t_lwp; in intr_thread_prolog() 337 it->t_state = TS_ONPROC; in intr_thread_prolog() 339 cpu->cpu_thread = it; /* new curthread on this cpu */ in intr_thread_prolog() 340 it->t_pil = (uchar_t)pil; in intr_thread_prolog() 341 it->t_pri = intr_pri + (pri_t)pil; in intr_thread_prolog() 342 it->t_intr_start = now; in intr_thread_prolog() [all …]
|
| /onnv-gate/usr/src/uts/i86pc/io/apix/ |
| H A D | apix_intr.c | 230 kthread_t *t, *volatile it; in apix_do_softint_prolog() local 248 it = cpu->cpu_intr_thread; in apix_do_softint_prolog() 249 ASSERT(it != NULL); in apix_do_softint_prolog() 250 cpu->cpu_intr_thread = it->t_link; in apix_do_softint_prolog() 267 it->t_lwp = t->t_lwp; in apix_do_softint_prolog() 268 it->t_state = TS_ONPROC; in apix_do_softint_prolog() 280 it->t_intr = t; in apix_do_softint_prolog() 281 cpu->cpu_thread = it; in apix_do_softint_prolog() 292 it->t_pil = (uchar_t)pil; in apix_do_softint_prolog() 293 it->t_pri = (pri_t)pil + intr_pri; in apix_do_softint_prolog() [all …]
|
| /onnv-gate/usr/src/uts/common/sys/ |
| H A D | time_impl.h | 104 #define ITIMERSPEC32_TO_ITIMERSPEC(it, it32) { \ argument 105 TIMESPEC32_TO_TIMESPEC(&(it)->it_interval, &(it32)->it_interval); \ 106 TIMESPEC32_TO_TIMESPEC(&(it)->it_value, &(it32)->it_value); \ 109 #define ITIMERSPEC_TO_ITIMERSPEC32(it32, it) { \ argument 110 TIMESPEC_TO_TIMESPEC32(&(it32)->it_interval, &(it)->it_interval); \ 111 TIMESPEC_TO_TIMESPEC32(&(it32)->it_value, &(it)->it_value); \ 114 #define ITIMERSPEC_OVERFLOW(it) \ argument 115 (TIMESPEC_OVERFLOW(&(it)->it_interval) && \ 116 TIMESPEC_OVERFLOW(&(it)->it_value))
|
| /onnv-gate/usr/src/lib/libc/amd64/gen/ |
| H A D | strchr.s | 33 cmpb %sil,%dl / find it? 35 testb %dl,%dl / is it null? 39 cmpb %sil,%dl / find it? 41 testb %dl,%dl / is it null? 45 cmpb %sil,%dl / find it? 47 testb %dl,%dl / is it null? 51 cmpb %sil,%dl / find it? 54 testb %dl,%dl / is it null?
|
| H A D | wschr.s | 46 cmpl %esi,%edx / find it? 48 testl %edx,%edx / is it null? 52 cmpl %esi,%edx / find it? 54 testl %edx,%edx / is it null? 58 cmpl %esi,%edx / find it? 60 testl %edx,%edx / is it null? 64 cmpl %esi,%edx / find it? 67 testl %edx,%edx / is it null?
|
| /onnv-gate/usr/src/cmd/hal/tools/ |
| H A D | lshal.c | 93 LibHalPropertySetIterator it; in print_props() local 111 for (libhal_psi_init (&it, props); libhal_psi_has_more (&it); libhal_psi_next (&it)) { in print_props() 112 type = libhal_psi_get_type (&it); in print_props() 116 libhal_psi_get_key (&it), in print_props() 117 libhal_psi_get_string (&it)); in print_props() 122 libhal_psi_get_key (&it), in print_props() 123 libhal_psi_get_int (&it), in print_props() 124 libhal_psi_get_int (&it)); in print_props() 129 libhal_psi_get_key (&it), in print_props() 130 (long long unsigned int) libhal_psi_get_uint64 (&it), in print_props() [all …]
|
| /onnv-gate/usr/src/lib/libc/i386/gen/ |
| H A D | wschr.s | 47 cmpl %ecx,%edx / find it? 49 testl %edx,%edx / is it null? 53 cmpl %ecx,%edx / find it? 55 testl %edx,%edx / is it null? 59 cmpl %ecx,%edx / find it? 61 testl %edx,%edx / is it null? 65 cmpl %ecx,%edx / find it? 68 testl %edx,%edx / is it null?
|
| /onnv-gate/usr/src/lib/libbc/libc/gen/common/ |
| H A D | _sprintf_sup.c | 249 int iz, it; in _unpacked_to_big_float() local 253 for (it = 0; it <= iz; it++) { in _unpacked_to_big_float() 254 pb->bsignificand[2 * (iz - it)] = pu->significand[it] & 0xffff; in _unpacked_to_big_float() 255 pb->bsignificand[2 * (iz - it) + 1] = pu->significand[it] >> 16; in _unpacked_to_big_float() 260 for (it = 1; it < pb->blength; it++) in _unpacked_to_big_float() 261 pb->bsignificand[it - 1] = pb->bsignificand[it]; in _unpacked_to_big_float()
|
| /onnv-gate/usr/src/cmd/tcpd/ |
| H A D | README.IRIX | 11 to inetd and that's it. With IRIX evil things happen: inetd is too 12 stupid to remember that it is already listening on a port. 14 In order to modify an entry in inetd.conf, first comment it out 22 I find it hard to believe, it but the best thing to do with IRIX is 25 (2) When tcpd is built according to the irix4 Makefile rules, it 31 have spent several hours looking for ways to work around it. No 34 services cannot be wrapped until SGI fixes their system so that it 39 (5) When an IRIX 5.2 system is a NIS client, it can have problems with 45 (6) IRIX 5.2 is not System V.4, and it shows. Do not link with the 49 that it works the way it is supposed to.
|
| /onnv-gate/usr/src/cmd/ypcmd/ |
| H A D | getlist.c | 51 listofnames *it; local 59 it = (listofnames *) malloc(sizeof (listofnames)); 60 if (it == NULL) { 64 it->name = copy; 65 it->nextname = NULL; 66 return (it);
|