Searched refs:count (Results 576 - 600 of 878) sorted by relevance

<<21222324252627282930>>

/osnet-11/usr/src/lib/libsldap/common/
H A Dns_common.c1034 int count = 0; local
1046 for (count = 0; srvlist[count] != NULL; count++) {
1047 if (!__s_api_isipv4(srvlist[count]))
1050 count++;
1053 retsrvs = (char **)calloc(count, sizeof (char *));
1060 retsrvs[count - 1] = NULL;
1063 psrvs = (char **)calloc(count, sizeof (char *));
1309 int count; local
[all...]
/osnet-11/usr/src/lib/libproc/amd64/
H A DPisadep.c179 ulong_t count, max; local
193 case 0x81: /* count is a longword */
194 count = instr[2]+(instr[3]<<8)+(instr[4]<<16)+(instr[5]<<24);
196 case 0x83: /* count is a byte */
197 count = instr[2];
203 count /= sizeof (uint32_t);
204 return (MIN(count, max));
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_name.c1035 int value = 0, count = 0, tbcount = 0, blen = 0; local
1059 if (count)
1083 count += 4;
1087 if (count == 8) {
1089 count = 0;
/osnet-11/usr/src/lib/libsip/common/
H A Dsip_xaction.c480 * Delete a transaction if the reference count is 0. Passed to
487 int count = 0; local
531 for (count = 0; count <= SIP_SRV_NONINV_TERMINATED; count++) {
532 msg_chain = tmp->sip_xaction_log[count].sip_msgs;
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_krb.c83 const char *master_kdc, const char **kdcs, uint32_t count)
112 cfg->kc_kdcs = smb_krb5_dup_servers(kdcs, count);
777 smb_krb5_dup_servers(const char **orig, uint32_t count) argument
785 dup = calloc(count + 1, sizeof (char *));
789 for (i = 0; i < count; i++) {
82 smb_krb5_cfg_init(smb_krb5_cfg_t *cfg, const char *fqdn, const char *master_kdc, const char **kdcs, uint32_t count) argument
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dresize.c22 #include "count.h"
804 PedSector count; local
812 count = last - first + 1;
814 PED_ASSERT (count < BUFFER_SIZE, return 0);
817 first, count))
820 first, count))
/osnet-11/usr/src/lib/libdhcpsvc/modules/binfiles/
H A Ddhcptab.c173 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, argument
189 retval = find_dt(fd, partial ? FIND_PARTIAL : 0, query, count, targetp,
203 find_dt(int fd, uint_t flags, uint_t query, int count, argument
222 for (; (recoff < st.st_size) && (count < 0 || nrecords < count);
237 * Caller just wants a count of the number of matching
H A Ddhcp_network.c317 lookup_dn(void *handle, boolean_t partial, uint_t query, int count, argument
359 for (n = 0, nrecords = 0; count < 0 || nrecords < count; n++) {
447 * Caller just wants a count of the number of matching
1109 unsigned int i, count = 0; local
1150 (sizeof (char **)) * (count + 1));
1156 listpp[count] = strdup(ipaddr);
1157 if (listpp[count] == NULL) {
1161 count++;
1167 *countp = count;
[all...]
/osnet-11/usr/src/lib/libdhcpsvc/private/
H A Dprivate.c237 * modules stored in the module directory. A count of the available
345 * 'location' in listppp. Return the number of list elements in 'count'.
349 uint_t *count)
360 error = api.list_dt(ddp->d_location, listppp, count);
362 error = api.list_dn(ddp->d_location, listppp, count);
524 * clear). Unused bits in both 16 bit fields must be 0. The count argument
525 * specifies the maximum number of matching records to return. A count
535 int count, const void *targetp, void **recordsp, uint_t *nrecordsp)
568 error = lookup(hand->d_hand, partial, query, count, targetp, recordsp,
348 list_dd(dsvc_datastore_t *ddp, dsvc_contype_t type, char ***listppp, uint_t *count) argument
534 lookup_dd(dsvc_handle_t hand, boolean_t partial, uint_t query, int count, const void *targetp, void **recordsp, uint_t *nrecordsp) argument
/osnet-11/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c461 uint8_t offset = IPMI_SDR_HDR_SZ, count = 0, chunksz = 16, sdr_sz; local
512 while (count < sdr_sz) {
514 if (chunksz > (sdr_sz - count))
515 chunksz = sdr_sz - count;
520 count += chunksz;
/osnet-11/usr/src/lib/libipp/
H A Dlibipp.c714 int count; local
785 count = 0;
815 DBG2(DBG_IO, "data[%d]: length = %d\n", count, dbuflen);
846 if (count == 0) {
877 count++;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/x2p/
H A Ds2p.t111 # count Xs in decimal
112 : count
124 t count
727 t count
728 : count
740 t count
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/utils/
H A Ddprofpp.PL234 calling level then it is displayed once with a repeat count.
243 the next level. A repeat count is output together with combined
304 don't count on that in this version.
371 # -A count autoloaded to *AUTOLOAD
372 # -R count anonyms separately even if from the same package
373 # -g subr count only those who are SUBR or called from SUBR
440 local $deep_times = {count => 0 , kids => {}, incl_time => 0};
595 print ' ' x (2*$level), "$name x $deep_times->{count} \t${time}s\n"
596 if $deep_times->{count};
640 $dest_kid->{count}
[all...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Derror.c88 unsigned long count; member in struct:State_s
114 "count", OPT_COUNT,
172 error_state.count = strtol(v, NiL, 0);
174 error_state.count = 0;
590 if (level >= error_state.breakpoint && error_state.breakpoint && (!error_state.match || !regexec(error_state.match, s ? s : format, 0, NiL, 0)) && (!error_state.count || !--error_state.count))
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dm_cc.c214 int i, bytes, count, last; local
239 if ((count = m_wio_put('\0', &convert)) < 0) {
247 for (count = i = 0; i < cc->_n; ++i, count += bytes)
254 return count;
/osnet-11/usr/src/lib/libadr/common/
H A Dadr.c1307 size_t count = strcspn(loc, sep); local
1308 if (empties || count > 0)
1310 adr_data_new_nstring(loc, count));
1311 loc += count + 1;
1318 adr_rad_strarray(const char **str, int count, adr_lifetime_t lt) argument
1322 if (count == -1) {
1323 count = 0;
1325 count++;
1328 result = adr_data_new_array(&adr_t_array_string, count);
1329 for (int i = 0; i < count;
[all...]
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfsundelete.c171 /* get count */
904 int count = 0; local
923 count = -1;
962 count++;
966 ntfs_log_debug("File has %d names.\n", count);
967 return count;
989 int count = 0; local
1004 count = -1;
1044 count++;
1048 ntfs_log_debug("File has %d data streams.\n", count);
[all...]
/osnet-11/usr/src/lib/libpp/common/
H A Dpplex.c208 count(pplex);
258 count(terminal);
278 count(token);
341 count(token);
1131 count(token);
1322 count(token);
1325 count(candidate);
1581 count(candidate);
1639 count(token);
1651 count(toke
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A Drelocator.c1494 grub_size_t count[257]; local
1497 grub_memset (count, 0, sizeof (count));
1507 count[(chunk->src & 0xff) + 1]++;
1520 count[j+1] += count[j];
1525 from[count[chunk->src & 0xff]++] = *chunk;
1530 grub_memset (count, 0, sizeof (count));
1532 count[((fro
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/
H A DStorable.xs1381 cxt->tagnum = 0; /* Have to count objects... */
1693 int count;
1718 count = perl_call_sv(hook, flags); /* Go back to Perl code */
1719 TRACEME(("count = %d", count));
1723 if (count) {
1748 int count;
1762 count = perl_call_sv(hook, G_ARRAY); /* Go back to Perl code */
1767 for (i = count - 1; i >= 0; i--) {
2489 int count, realle
[all...]
/osnet-11/usr/src/lib/libc/port/threads/
H A Dsynch.c88 * The default spin count of 1000 is experimentally determined.
92 * _THREAD_ADAPTIVE_SPIN=count
93 * can be used to override and set the count in the range [0 .. 1,000,000].
104 * _THREAD_QUEUE_SPIN=count
105 * can be used to override and set the count in the range [0 .. 1,000,000].
368 * Increment the spinners count in the mutex lock word.
369 * Return 0 on success. Return -1 if the count would overflow.
388 * Decrement the spinners count in the mutex lock word.
1284 int count = 0; local
1333 for (count
1435 int count = curthread->ul_queue_spin; local
1472 int count = 0; local
2939 int count = 0; local
[all...]
/osnet-11/usr/src/lib/libradproto/common/
H A Dradproto_adr.c863 int i, count; local
866 if (!xdr_int(xdrs, &count))
871 count > bytes.xc_num_avail / 4) {
874 count);
878 if ((*data = adr_data_new_array(type, count)) == NULL)
880 for (i = 0; i < count; i++)
886 if (i < count) {
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_debug.c1160 int i, len, count; local
1163 for (i = 0, count = 0; i < len; i++) {
1166 count++;
1169 /* don't count initial wildcard */
1171 if (count)
1172 count--;
1174 /* don't count the null label for root. */
1176 /* count to include last label */
1178 count++;
1179 return (count);
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Class/
H A DStruct.pm492 additional checking of values, etc. Here, we want the C<count>
493 element always to be nonnegative, so we redefine the C<count>
500 struct ( 'MyObj', { count => '$', stuff => '%' } );
502 # override the default accessor method for 'count'
503 sub count {
506 die 'count must be nonnegative' if $_[0] < 0;
507 $self->{'MyObj::count'} = shift;
508 warn "Too many args to count" if @_;
510 return $self->{'MyObj::count'};
515 print "\$x->count(
[all...]
/osnet-11/usr/src/lib/libvscan/common/
H A Dlibvscan.c1478 * On input, count specifies the maximum number of engine ids to
1479 * return. engids must be an array with count entries.
1480 * On return, count specifies the number of engine ids being
1486 vs_props_get_engines(char *engids[], int *count) argument
1501 for (i = 0; i < *count; i++)
1517 if (++i == *count)
1524 *count = i;
1535 int count = 0; local
1547 ++count;
1551 return (count);
[all...]

Completed in 81 milliseconds

<<21222324252627282930>>