/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | door.c | 240 req->count = 0; in process_get_request_from_doc() 254 req->req_data.data[req->count] = in process_get_request_from_doc() 445 req->count = 0; in process_getAssociated_request_from_doc() 524 req->count = 0; in process_delete_request_from_doc() 578 req->count = 0; in process_delete_request_from_doc() 630 req->count = 0; in process_delete_request_from_doc() 714 req->count = 0; in process_createModify_request_from_doc() 767 req->count = 0; in process_createModify_request_from_doc() 821 req->count = 0; in process_createModify_request_from_doc() 1197 for (i = 0; i < req.count; i++) { in cleanup_request() [all …]
|
H A D | sched.c | 122 fk->count = k->count - c + 1; in il_shift() 127 k->count = c; in il_shift() 202 k->count = 1; in el_init() 235 k->count = 1; in el_init() 264 k->count = 1; in el_init() 415 k->count ++; in el_add() 508 (kl->count + k->count) <= NLIM) { in el_remove() 510 k->count += kl->count; in el_remove() 516 (kr->count + k->count) <= NLIM) { in el_remove() 518 kr->count += k->count; in el_remove() [all …]
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | fwrite.c | 44 _fwrite_unlocked(const void *ptr, size_t size, size_t count, FILE *iop); 47 fwrite(const void *ptr, size_t size, size_t count, FILE *iop) in fwrite() argument 56 retval = _fwrite_unlocked(ptr, size, count, iop); in fwrite() 63 _fwrite_unlocked(const void *ptr, size_t size, size_t count, FILE *iop) in _fwrite_unlocked() argument 75 if (count == 1) in _fwrite_unlocked() 78 s = count; in _fwrite_unlocked() 80 s = size * count; in _fwrite_unlocked() 98 if (size < 1 || count < 1) in _fwrite_unlocked() 181 return (count); in _fwrite_unlocked() 188 return (count); in _fwrite_unlocked() [all …]
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | microcode_amd.c | 118 int count, offset = 0; in ucode_equiv_cpu_amd() local 130 if (count != sizeof (eqtbl)) { in ucode_equiv_cpu_amd() 135 offset += count; in ucode_equiv_cpu_amd() 150 int count; in ucode_equiv_cpu_amd() local 182 if (count != size) { in ucode_equiv_cpu_amd() 307 int count; in ucode_locate_amd() local 356 int count; in ucode_extract_amd() local 364 count = *ptr++; size -= 4; in ucode_extract_amd() 378 ptr += count >> 2; size -= count; in ucode_extract_amd() 384 count = *ptr++; size -= 4; in ucode_extract_amd() [all …]
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | usage.c | 566 int count; in clear_pe() local 568 for (count = 0; count < entries; count++) { in clear_pe() 582 int count; in update_pe() local 584 for (count = 0; count < nentries; count++) { in update_pe() 612 for (count = 0; count < entries; count++) { in add_pe_to_file() 637 for (count = 0; count < net_table->net_entries; count++) { in get_ne_from_table() 654 for (count = 0; count < net_table->net_entries; count++) { in get_ndesc() 779 for (count = 0; count < nobjs; count++) { in add_desc() 884 for (count = 0; count < nobjs; count++) { in add_stats() 1234 for (count = 0; count < nentries; count++) { in dladm_walk_usage_time() [all …]
|
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_cr_6722134_background_CHLD_trap.sh | 83 integer count 84 (( count=$(fgrep "got_child" <<< "$s" | wc -l) )) || err_exit "counting failed." 85 (( count == 2 )) || err_exit "Expected count==2, got count==${count}." 117 (( count=$(fgrep "got_child" <<< "$s" | wc -l) )) || err_exit "counting failed." 118 (( count == 3 )) || err_exit "Expected count==3, got count==${count}."
|
/illumos-gate/usr/src/cmd/fm/eversholt/esc/common/ |
H A D | escmain.c | 102 int count; in main() local 116 count = 0; in main() 120 if (count < MAXARGS - 1) in main() 121 Args[count++] = ' '; in main() 123 while (count < MAXARGS - 1 && *ptr) in main() 124 Args[count++] = *ptr++; in main() 127 Args[count] = '\0'; in main() 213 if (count = out_errcount()) in main() 215 OUTS(count)); in main()
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postreverse/ |
H A D | postreverse.c | 195 int count; in StdinToFile() local 204 if (write(fd, buf, count) != count) { in StdinToFile() 206 count, strerror(errno)); in StdinToFile() 293 int count = 0; in PageIsListed() local 298 for (count = 0; pageList[count] != NULL; count++) in PageIsListed() 380 int count = 0; in WriteDocument() local 403 count = reverse ? count - 1 : count + 1; in WriteDocument() 466 int count = 0; in DocumentGlobals() local 475 count++; in DocumentGlobals() 630 int count = 0; in PrintDocumentInfo() local [all …]
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | server_init.c | 65 int count = 0; in dup_db_args() local 68 for (count=0; db_args && db_args[count]; count++); in dup_db_args() 69 if (count == 0) { in dup_db_args() 80 for (count=0; db_args[count]; count++) { in dup_db_args() 81 handle->db_args[count] = strdup(db_args[count]); in dup_db_args() 82 if (handle->db_args[count] == NULL) { in dup_db_args() 90 for (count=0; handle->db_args[count]; count++) in dup_db_args() 91 free(handle->db_args[count]); in dup_db_args() 101 int count; in free_db_args() local 104 for (count=0; handle->db_args[count]; count++) in free_db_args() [all …]
|
/illumos-gate/usr/src/common/ficl/softcore/ |
H A D | string.fr | 19 c-cell obj: .count 24 : get-count ( 2:this -- count ) my=[ .count get ] ; 25 : set-count ( count 2:this -- ) my=[ .count set ] ; 27 : ?empty ( 2:this -- flag ) --> get-count 0= ; 41 0 -rot my=> set-count 83 u this --> set-count 89 this --> get-count 94 this --> get-count u + dup >r 96 c-addr this --> get-buf this --> get-count + u move 97 r> this --> set-count [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | select5.test | 42 execsql {SELECT y, count(*) FROM t1 GROUP BY y ORDER BY y} 45 execsql {SELECT y, count(*) FROM t1 GROUP BY y ORDER BY count(*), y} 48 execsql {SELECT count(*), y FROM t1 GROUP BY y ORDER BY count(*), y} 55 SELECT y, count(*) FROM t1 GROUP BY z ORDER BY y 61 SELECT y, count(*) FROM t1 GROUP BY z(y) ORDER BY y 67 SELECT y, count(*) FROM t1 GROUP BY y HAVING count(*)<3 ORDER BY y 73 SELECT y, count(*) FROM t1 GROUP BY y HAVING z(y)<3 ORDER BY y 79 SELECT y, count(*) FROM t1 GROUP BY y HAVING count(*)<z ORDER BY y 88 SELECT x, count(*), avg(y) FROM t1 GROUP BY x HAVING x<4 ORDER BY x 92 # Run various aggregate functions when the count is zero. [all …]
|
H A D | select3.test | 41 execsql {SELECT count(*) FROM t1} 95 SELECT log, count(*) FROM t1 GROUP BY 0 ORDER BY log; 115 # SELECT log, count(*) FROM t1 GROUP BY count(*) ORDER BY log; 133 SELECT log, count(*) FROM t1 135 HAVING count(*)>=4 141 SELECT log, count(*) FROM t1 143 HAVING count(*)>=4 149 SELECT log AS x, count(*) AS y FROM t1 159 HAVING count(*)>=4 166 SELECT log, count(*), avg(n), max(n+log*2) FROM t1 [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_mindex.cc | 172 *count = 0; in satisfy_query() 279 *count = 0; in satisfy_query_dbonly() 289 *count = 0; in satisfy_query_dbonly() 299 *count = 0; in satisfy_query_dbonly() 306 *count = 0; in satisfy_query_dbonly() 310 *count = num_old; in satisfy_query_dbonly() 551 long count; in first() local 691 *count = 0; in all() 706 *count = how_many; in all() 831 long count = 0; in remove() local [all …]
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_acquire_cred.c | 42 create_actual_mechs(mechs_array, count) in create_actual_mechs() argument 44 int count; 61 actual_mechs->count = 0; 63 for (i = 0; i < count; i++) { 71 actual_mechs->count++; 182 default_OID_set.count = 1; 189 if (mechs->count == 0) 231 if (creds->count < 1) { 242 creds->count)) == NULL) { 493 union_cred->count + 1); [all …]
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | getipnodeby.c | 882 ++count; in __mapv4tov6() 889 count = 0; in __mapv4tov6() 933 ++count; in __mapv4tov6() 959 ++count; in __mapv4tov6() 982 ++count; in __mapv4tov6() 992 count = 0; in __mapv4tov6() 1010 ++count; in __mapv4tov6() 1027 ++count; in __mapv4tov6() 1124 ++count; in __mappedtov4() 1131 count = 0; in __mappedtov4() [all …]
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_vss.c | 103 smbd_vss_get_count(const char *path, uint32_t *count) in smbd_vss_get_count() argument 111 *count = 0; in smbd_vss_get_count() 132 *count = vss_count.vc_count; in smbd_vss_get_count() 161 if (count == 0) in smbd_vss_get_snapshots() 164 if (count > SMBD_VSS_SNAPSHOT_MAX) in smbd_vss_get_snapshots() 165 count = SMBD_VSS_SNAPSHOT_MAX; in smbd_vss_get_snapshots() 167 vss_uint64_date.gd_count = count; in smbd_vss_get_snapshots() 345 int count; in smbd_vss_iterate_get_uint64_date() local 347 count = vss_data->gd_return_count; in smbd_vss_iterate_get_uint64_date() 349 if (count < vss_data->gd_count) { in smbd_vss_iterate_get_uint64_date() [all …]
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | nfs2ops.c | 83 read_args.count = size; in nfsread() 85 read_args.count = nfs_readsize; in nfsread() 95 if ((count + read_args.count) > size) in nfsread() 96 read_args.count = size - count; in nfsread() 107 read_args.count); in nfsread() 120 read_args.count -= NFS_READ_DECR; in nfsread() 152 if (readcnt < read_args.count) { in nfsread() 157 readcnt, read_args.count); in nfsread() 163 count += readcnt; in nfsread() 173 } while (count < size && !done); in nfsread() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_elf_load_headers.c | 355 Dwarf_Unsigned count, 400 *count_out = count; 416 Dwarf_Unsigned count, 461 *count_out = count; 477 Dwarf_Unsigned count, in generic_shdr_from_shdr32() argument 527 *count_out = count; in generic_shdr_from_shdr32() 593 *count_out = count; in generic_shdr_from_shdr64() 787 &count,errcode); 814 &count,errcode); in _dwarf_load_elf_symtab_symbols() 1112 if(count == 0) { in elf_load_sectheaders32() [all …]
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | rmtlib.c | 318 rmtread(char *buf, uint_t count) in rmtread() argument 328 if (n > count) { in rmtread() 331 count, n); in rmtread() 347 rmtwrite(char *buf, uint_t count) in rmtwrite() argument 357 retval = rmtpush(buf, count); in rmtwrite() 365 rmtpush(char *buf, uint_t count) in rmtpush() argument 370 retval = write(rmtape, buf, count); in rmtpush() 372 count -= retval; in rmtpush() 373 } while (count && retval > 0); in rmtpush() 388 rmtioctl(int cmd, long count) in rmtioctl() argument [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_rip.c | 52 int len, count; in interpret_rip() local 101 count = len / sizeof (*nip); in interpret_rip() 121 count = 0; in interpret_rip() 129 count++; in interpret_rip() 235 count = strlen(addrstr); in interpret_rip() 327 for (count = ntohl(rsep->rip_count); count > 0; in interpret_rip() 328 count--) { in interpret_rip() 423 long count; in rip_next_sec_entry() local 427 count = ntohl(rsep->rip_count); in rip_next_sec_entry() 428 while (count > 0) { in rip_next_sec_entry() [all …]
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | AvgValue.java | 47 private final long count; field in AvgValue 78 count = averagedValueCount; in AvgValue() 85 if (count < 0) { in validate() 89 if (count == 0) { in validate() 96 if (average != (total / count)) { in validate() 100 count); in validate() 139 return count; in getCount()
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | writev.c | 40 int i, rcode = 0, count = 0; in __writev() local 48 count += rcode; in __writev() 51 if (count == 0) in __writev() 54 return (count); in __writev() 66 int count = 0; local 73 count += written; 78 return (count);
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_miscapi.c | 133 count += p->ce_count; in crypto_get_mech_list() 148 count++; in crypto_get_mech_list() 161 count = 0; in crypto_get_mech_list() 194 count++; in crypto_get_mech_list() 222 for (j = 0; j < count; j++) { in crypto_get_mech_list() 240 count++; in crypto_get_mech_list() 272 *countp = count; in crypto_get_mech_list() 816 uint_t count; in crypto_get_provider() local 827 if (count == 0) in crypto_get_provider() 832 for (i = 0; i < count; i++) { in crypto_get_provider() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/privs/ |
H A D | tst.noprivdrop.ksh | 33 count=$(/usr/sbin/dtrace -q -s /dev/stdin <<EOF 37 @ = count(); 47 @ = count(); 66 if [[ $count -gt $max ]]; then 67 echo "count ($count) is greater than allowed max ($max)" 71 echo "count ($count) is within allowed max ($max)"
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | gb2312.c | 70 return (ps == NULL || ((const _GB2312State *)ps)->count == 0); in _GB2312_mbsinit() 107 if (gs->count < 0 || gs->count > sizeof (gs->bytes)) { in _GB2312_mbrtowc() 118 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof (gs->bytes) - gs->count); in _GB2312_mbrtowc() 119 (void) memcpy(gs->bytes + gs->count, s, ncopy); in _GB2312_mbrtowc() 120 ocount = gs->count; in _GB2312_mbrtowc() 121 gs->count += ncopy; in _GB2312_mbrtowc() 123 n = gs->count; in _GB2312_mbrtowc() 133 gs->count = 0; in _GB2312_mbrtowc() 149 if (gs->count != 0) { in _GB2312_wcrtomb()
|