/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | uniq.c | 151 count++; in uniq() 154 next = count; in uniq() 161 if(((mode&D_FLAG)&&count==0) || ((mode&U_FLAG)&&count)) in uniq() 170 if(count<9) in uniq() 175 outp[f++] = '0' + count + 1; in uniq() 178 else if(count<MAXCNT) in uniq() 180 count++; in uniq() 185 outp[f--] = '0' + (count % 10); in uniq() 186 } while (count /= 10); in uniq() 203 sfprintf(fdout,"%4d ",count+1); in uniq() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_vss.c | 79 uint32_t count = 0; in smb_vss_enum_snapshots() local 101 count = smb_vss_get_count(sr->tid_tree, root_path); in smb_vss_enum_snapshots() 102 if (smb_mbc_encodef(fsctl->out_mbc, "lllw", count, 0, in smb_vss_enum_snapshots() 103 (count * SMB_VSS_GMT_NET_SIZE(sr) + in smb_vss_enum_snapshots() 111 count, &snaps); in smb_vss_enum_snapshots() 290 if (returned_count > count) in smb_vss_encode_gmttokens() 348 uint32_t count = 0; in smb_vss_get_count() local 355 &path, smb_string_xdr, &count, xdr_uint32_t); in smb_vss_get_count() 358 count = 0; in smb_vss_get_count() 360 return (count); in smb_vss_get_count() [all …]
|
/illumos-gate/usr/src/cmd/zinject/ |
H A D | zinject.c | 375 *count += 1; in print_data_handler() 409 *count += 1; in print_device_handler() 436 *count += 1; in print_delay_handler() 460 *count += 1; in print_panic_handler() 477 if (count > 0) { in print_all_handlers() 478 total += count; in print_all_handlers() 480 count = 0; in print_all_handlers() 484 if (count > 0) { in print_all_handlers() 485 total += count; in print_all_handlers() 487 count = 0; in print_all_handlers() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.agghist.d.out | 3 key ------------- Distribution ------------- count 9 key ------------- Distribution ------------- count 15 key ------------- Distribution ------------- count 22 key ------------- Distribution ------------- count 28 key ------------- Distribution ------------- count 34 key ------------- Distribution ------------- count
|
H A D | tst.negtruncquant.d.out | 3 value ------------- Distribution ------------- count 12 value ------------- Distribution ------------- count 21 value ------------- Distribution ------------- count 30 value ------------- Distribution ------------- count 39 value ------------- Distribution ------------- count
|
H A D | tst.truncquant.d.out | 3 value ------------- Distribution ------------- count 12 value ------------- Distribution ------------- count 21 value ------------- Distribution ------------- count 30 value ------------- Distribution ------------- count 39 value ------------- Distribution ------------- count
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | resolvepath.c | 36 resolvepath(char *path, char *buf, size_t count) in resolvepath() argument 42 if (count == 0) in resolvepath() 49 if (count > resolvepn.pn_pathlen) in resolvepath() 50 count = resolvepn.pn_pathlen; in resolvepath() 51 if (copyout(resolvepn.pn_path, buf, count)) in resolvepath() 59 return ((int)count); in resolvepath()
|
H A D | readlink.c | 54 readlinkat(int dfd, char *name, char *buf, size_t count) in readlinkat() argument 65 if ((cnt = (ssize_t)count) < 0) in readlinkat() 119 readlink(char *name, char *buf, size_t count) in readlink() argument 121 return (readlinkat(AT_FDCWD, name, buf, count)); in readlink() 131 readlinkat32(int dfd, caddr32_t name, caddr32_t buf, size32_t count) in readlinkat32() argument 134 (char *)(uintptr_t)buf, (ssize32_t)count)); in readlinkat32() 138 readlink32(caddr32_t name, caddr32_t buf, size32_t count) in readlink32() argument 141 (char *)(uintptr_t)buf, (ssize32_t)count)); in readlink32()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.rw.d | 39 @[rw_read_held((krwlock_t *)&`clock)] = count(); 40 @[rw_read_held((krwlock_t *)rand())] = count(); 46 @[rw_write_held((krwlock_t *)&`clock)] = count(); 47 @[rw_write_held((krwlock_t *)rand())] = count(); 53 @[rw_iswriter((krwlock_t *)&`clock)] = count(); 54 @[rw_iswriter((krwlock_t *)rand())] = count();
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | atexit.c | 198 _preexec_sig_unload(Lc_addr_range_t range[], uint_t count) in _preexec_sig_unload() argument 212 in_range((void *)handler, range, count)) { in _preexec_sig_unload() 256 in_range((void *)func, range, count)) || in _preexec_atfork_unload() 258 in_range((void *)func, range, count)) || in _preexec_atfork_unload() 260 in_range((void *)func, range, count))) { in _preexec_atfork_unload() 311 in_range((void *)func, range, count)) in _preexec_tsd_unload() 350 if (in_range((void *)p->hdlr, range, count)) { in _preexec_exit_handlers() 368 _preexec_tsd_unload(range, count); in _preexec_exit_handlers() 369 _preexec_atfork_unload(range, count); in _preexec_exit_handlers() 370 _preexec_sig_unload(range, count); in _preexec_exit_handlers() [all …]
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | hashserv.c | 60 int count = 0; local 113 count = 1; 123 if (count > 0) 134 if (count < dotpath) 151 return(-count); 400 int count = 1; in findpath() local 411 count = dotpath; in findpath() 412 while (--count) in findpath() 427 count = dotpath; in findpath() 441 count++; in findpath() [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/wide/ |
H A D | wio_put.c | 59 int count, mb_len; in m_wio_put() local 85 for (ptr = wio->_mb, count = 0; count < mb_len; ++ptr, ++count) in m_wio_put() 91 wio->_next = count; in m_wio_put() 93 return (count); in m_wio_put()
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | vsprintf.c | 59 ssize_t count; in _vsprintf_c89() local 66 count = _ndoprnt(format, ap, &siop, _F_INTMAX32); in _vsprintf_c89() 68 count = _ndoprnt(format, ap, &siop, 0); in _vsprintf_c89() 72 if (count == EOF) { in _vsprintf_c89() 76 if ((size_t)count > MAXINT) { in _vsprintf_c89() 80 return ((int)count); in _vsprintf_c89()
|
H A D | vprintf.c | 61 ssize_t count; in _vprintf_c89() local 82 count = _ndoprnt(format, ap, stdout, _F_INTMAX32); in _vprintf_c89() 84 count = _ndoprnt(format, ap, stdout, 0); in _vprintf_c89() 87 if (FERROR(stdout) || count == EOF) { in _vprintf_c89() 95 if ((size_t)count > MAXINT) { in _vprintf_c89() 99 return ((int)count); in _vprintf_c89()
|
H A D | vfprintf.c | 60 ssize_t count; in _vfprintf_c89() local 81 count = _ndoprnt(format, ap, iop, _F_INTMAX32); in _vfprintf_c89() 83 count = _ndoprnt(format, ap, iop, 0); in _vfprintf_c89() 87 if (FERROR(iop) || count == EOF) { in _vfprintf_c89() 95 if ((size_t)count > MAXINT) { in _vfprintf_c89() 99 return ((int)count); in _vfprintf_c89()
|
/illumos-gate/usr/src/cmd/adbgen/common/ |
H A D | adbgen3.c | 40 int c, quote, paren, savec, count, dispcmd; in main() local 42 savec = count = 0; in main() 59 count++; in main() 63 if (count > 1) { in main() 64 printf("%d", count); in main() 72 count = 1; in main()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sort.c | 82 size_t count, i; in ldap_keysort_entries() local 93 count = ldap_count_entries( ld, *chain ); in ldap_keysort_entries() 100 for ( i = 0; i < count; i++ ) { in ldap_keysort_entries() 101 kt[i] = i + (keything_t*)(kt + count); in ldap_keysort_entries() 122 for ( i = 0; i < count; i++ ) { in ldap_keysort_entries() 204 int i, count; in ldap_multisort_entries() local 214 count = ldap_count_entries( ld, *chain ); in ldap_multisort_entries() 216 if ( (et = (struct entrything *)NSLDAPI_MALLOC( count * in ldap_multisort_entries() 223 for ( i = 0; i < count; i++ ) { in ldap_multisort_entries() 261 XP_QSORT( (void *) et, (size_t) count, in ldap_multisort_entries() [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/wide/ |
H A D | wio_put.c | 58 int count, mb_len; local 83 for (ptr = wio->_mb, count = 0; count < mb_len; ++ptr, ++count) 89 wio->_next = count; 91 return count;
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_asp.c | 307 uint_t count; in ip6_asp_replace() local 323 count = new_size / ip6_asp_size; in ip6_asp_replace() 370 if (count == 0) { in ip6_asp_replace() 399 if ((dst = kmem_zalloc(count * sizeof (*dst), in ip6_asp_replace() 414 for (i = 0; i < count; i++) in ip6_asp_replace() 417 ip6_asp_copy(dst, tmp_table, count); in ip6_asp_replace() 418 kmem_free(dst, count * sizeof (*dst)); in ip6_asp_replace() 421 ip6_asp_copy(new_table, tmp_table, count); in ip6_asp_replace() 436 ipst->ips_ip6_asp_table_count = count; in ip6_asp_replace() 473 if (count == 1) in ip6_asp_copy() [all …]
|
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | interceptlib.c | 46 static volatile int count; variable 67 count++; in abilock() 72 count = 1; in abilock() 87 count--; in abiunlock() 88 if (count <= 0) { in abiunlock() 89 count = 0; in abiunlock()
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_object.c | 42 crypto_object_attribute_t *attrs, uint_t count, in crypto_object_create() argument 63 attrs, count, object_handle, KCF_SWFP_RHNDL(crq)); in crypto_object_create() 67 sid, 0, attrs, count, object_handle, 0, in crypto_object_create() 138 object_handle, attrs, count, new_handle, in crypto_object_copy() 143 sid, object_handle, attrs, count, in crypto_object_copy() 178 sid, object_handle, attrs, count, KCF_SWFP_RHNDL(crq)); in crypto_object_get_attribute_value() 183 attrs, count, NULL, 0, NULL, NULL, 0, NULL); in crypto_object_get_attribute_value() 222 attrs, count, NULL, 0, NULL, NULL, 0, NULL); in crypto_object_set_attribute_value() 296 sid, attrs, count, cookie, KCF_SWFP_RHNDL(crq)); in crypto_object_find_init() 300 sid, 0, attrs, count, NULL, 0, cookie, NULL, 0, NULL); in crypto_object_find_init() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | oid.c | 120 for (i = 0; i < set->count; i++) in __OID_is_member() 143 set->elements = New(gss_OID_desc, source->count); in __OID_copy_set() 149 set->count = source->count; in __OID_copy_set() 152 for (i = 0; i < source->count; i++) in __OID_copy_set() 158 if (i != source->count) { in __OID_copy_set() 197 set->count = nel; in __OID_copy_set_from_array() 200 for (i = 0; i < set->count; i++) in __OID_copy_set_from_array() 206 if (i != set->count) { in __OID_copy_set_from_array() 239 s->count = 1; in __OID_to_OID_set()
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | adr.c | 65 adr_char(adr_t *adr, char *cp, int count) in adr_char() argument 67 while (count-- > 0) in adr_char() 75 adr_short(adr_t *adr, short *sp, int count) in adr_short() argument 78 for (; count-- > 0; sp++) { in adr_short() 88 adr_int32(adr_t *adr, int32_t *lp, int count) in adr_int32() argument 93 for (; count-- > 0; lp++) { in adr_int32() 106 adr_int64(adr_t *adr, int64_t *lp, int count) in adr_int64() argument 111 for (; count-- > 0; lp++) { in adr_int64()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/llquantize/ |
H A D | tst.trunc.d.out | 3 value ------------- Distribution ------------- count 9 value ------------- Distribution ------------- count 15 value ------------- Distribution ------------- count 22 value ------------- Distribution ------------- count 29 value ------------- Distribution ------------- count
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | bcopy.c | 31 bcopy(from, to, count) in bcopy() argument 34 int count; 42 int count; 48 int count; 50 while ((count--) > 0)
|