Searched refs:count (Results 376 - 400 of 878) sorted by relevance

<<11121314151617181920>>

/osnet-11/usr/src/cmd/hal/addons/network-devices/
H A Dcommon.c313 int count; local
318 count = number_of_interfaces(s);
323 c.lifc_buf = calloc(count, sizeof (struct lifreq));
324 c.lifc_len = (count * sizeof (struct lifreq));
329 for (count = c.lifc_len / sizeof (struct lifreq);
330 count > 0; count--, r++) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dperlio.c831 int count = 0; local
847 ST(count) = ST(i);
848 count++;
852 XSRETURN(count);
1562 Perl_PerlIO_read(pTHX_ PerlIO *f, void *vbuf, Size_t count) argument
1564 Perl_PerlIO_or_Base(f, Read, read, -1, (aTHX_ f, vbuf, count));
1568 Perl_PerlIO_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument
1570 Perl_PerlIO_or_Base(f, Unread, unread, -1, (aTHX_ f, vbuf, count));
1574 Perl_PerlIO_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument
1576 Perl_PerlIO_or_fail(f, Write, -1, (aTHX_ f, vbuf, count));
2023 PerlIOBase_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument
2037 PerlIOBase_read(pTHX_ PerlIO *f, void *vbuf, Size_t count) argument
2474 PerlIOUnix_read(pTHX_ PerlIO *f, void *vbuf, Size_t count) argument
2500 PerlIOUnix_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument
2961 PerlIOStdio_read(pTHX_ PerlIO *f, void *vbuf, Size_t count) argument
2991 PerlIOStdio_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument
3049 PerlIOStdio_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument
3483 SSize_t count = PerlIO_write(n, p, b->ptr - p); local
3594 PerlIOBuf_read(pTHX_ PerlIO *f, void *vbuf, Size_t count) argument
3606 PerlIOBuf_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument
3666 PerlIOBuf_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument
3959 PerlIOPending_read(pTHX_ PerlIO *f, void *vbuf, Size_t count) argument
4055 PerlIOCrlf_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument
4230 PerlIOCrlf_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument
4503 PerlIOMmap_unread(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument
4534 PerlIOMmap_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count) argument
4747 SSize_t count = PerlIO_read(f, buf, 1); local
[all...]
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dfs_mount_defaults.c254 int count = 0; local
275 &temp_vfstab, vfstab_line, &count, errp)) {
314 &temp_vfstab, new_line, &count, errp)) {
323 &temp_vfstab, orig_line, &count, errp)) {
336 for (i = 0; i < count; i++) {
342 fileutil_free_string_array(temp_vfstab, count);
375 int count = 0; local
397 &temp_vfstab, vfstab_line, &count, errp)) {
436 &temp_vfstab, orig_line, &count, errp)) {
451 for (i = 0; i < count;
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cvt.c199 int count, *lunnump, devlen, local
294 count = di_prop_bytes(prop, &port_wwn_data);
295 if (count != WWN_SIZE) {
331 count = di_path_prop_lookup_bytes(path, PORT_WWN_PROP,
333 if (count != WWN_SIZE) {
353 count = di_path_prop_lookup_ints(path,
387 count = di_prop_strings(
436 int count, devlen; local
442 count = di_prop_ints(prop_lun, &lunp);
443 if (count <
587 int count; local
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dreferral.c33 int count; local
53 count = 1;
56 count++;
58 if ((refs = (char **)calloc(count + 1, sizeof(char *))) == NULL){
62 count = 0;
67 refs[count++] = strdup(ref);
99 chase_referrals( LDAP *ld, LDAPRequest *lr, char **refs, int *count, int samerequest ) argument
112 *count = 0;
192 ++*count;
/osnet-11/usr/src/lib/libgss/
H A Doid_ops.c160 if (((*oid_set)->elements = (gss_OID) malloc(((*oid_set)->count+1) *
165 ((*oid_set)->count * sizeof (gss_OID_desc)));
168 lastel = &(*oid_set)->elements[(*oid_set)->count];
178 /* Update count */
179 (*oid_set)->count++;
211 for (i = 0; i < set->count; i++) {
503 calloc(oidset->count, sizeof (*copy->elements))) == NULL) {
507 copy->count = oidset->count;
509 for (index = 0; index < copy->count; inde
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Doid_ops.c144 if (((*oid_set)->elements = (gss_OID) malloc(((*oid_set)->count+1) *
150 ((*oid_set)->count * sizeof(gss_OID_desc)));
153 lastel = &(*oid_set)->elements[(*oid_set)->count];
162 /* Update count */
163 (*oid_set)->count++;
196 for (i=0; i<set->count; i++) {
534 calloc(oidset->count, sizeof (*copy->elements))) == NULL) {
538 copy->count = oidset->count;
540 for (i = 0; i < copy->count;
[all...]
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c3 * pppstats [-a|-d] [-v|-r|-z] [-c count] [-w wait] [interface]
101 static int interval, count; variable
134 "Usage: %s [-a|-d] [-v|-r|-z] [-c count] [-w wait] [interface]\n",
456 count--;
457 if (!infinite && !count)
513 count = atoi(optarg);
514 if (count <= 0)
529 if (!interval && count)
531 if (interval && !count)
533 if (!interval && !count)
[all...]
/osnet-11/usr/src/lib/libproc/i386/
H A DPisadep.c140 ulong_t count, max; local
152 case 0x81: /* count is a longword */
153 count = instr[2]+(instr[3]<<8)+(instr[4]<<16)+(instr[5]<<24);
155 case 0x83: /* count is a byte */
156 count = instr[2];
162 count /= sizeof (long);
163 return (MIN(count, max));
/osnet-11/usr/src/lib/libnisdb/yptol/
H A Ddit_access.c123 int count; local
131 for (count = 0; count < ypDomains.numDomains; count++) {
132 if (0 == ypDomains.domainLabels[count])
134 if (0 == strcasecmp(domain, ypDomains.domainLabels[count])) {
136 ypDomains.domains[count];
144 for (count = retrieveRetry->attempts; (0 <= count) ||
145 (-1 == retrieveRetry->attempts); count
200 int count; local
[all...]
H A Dshim.c219 int count; local
238 for (count = 0; has_map_expired(map) &&
239 (MAX_UPDATE_ATTEMPTS > count); count++) {
279 if (MAX_UPDATE_ATTEMPTS < count)
/osnet-11/usr/src/lib/libipmi/common/
H A Dipmi_fru.c55 uint8_t count, devid; local
105 (void) memcpy(&count, resp->ic_data, sizeof (uint8_t));
106 if (count != cmd_data_in.ifr_count) {
112 (void) memcpy(tmp+offset, (char *)(resp->ic_data)+1, count);
113 offset += count;
/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Dcharset.c57 grub_utf8_process (grub_uint8_t c, grub_uint32_t *code, int *count) argument
59 if (*count)
63 *count = 0;
71 (*count)--;
83 *count = 1;
89 *count = 2;
95 *count = 3;
114 int count = 0; local
122 int was_count = count;
125 if (!grub_utf8_process (*src++, &code, &count))
271 int count = 0; local
323 int count = 0; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/script/
H A Dlexer.c67 int count; local
78 count = lexer->recordpos - offset;
79 result = grub_script_malloc (parser, count + 1);
81 grub_strncpy (result, lexer->recording + offset, count);
82 result[count] = '\0';
/osnet-11/usr/src/lib/libdhcpsvc/modules/files/
H A Ddhcp_network.c168 find_dn(int fd, uint_t flags, uint_t query, int count, const dn_rec_t *targetp, argument
213 for (nrecords = 0; count < 0 || nrecords < count; ent = entend + 1) {
274 * Caller just wants a count of the number of matching
339 lookup_dn(void *handle, boolean_t partial, uint_t query, int count, argument
355 retval = find_dn(fd, partial ? FIND_PARTIAL : 0, query, count, targetp,
635 unsigned int i, count = 0; local
675 (sizeof (char **)) * (count + 1));
681 listpp[count] = strdup(ipaddr);
682 if (listpp[count]
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dlockout.c74 int count = 0; local
77 &policy, &count);
78 if (code == 0 && count == 1) {
H A Dldap_services.c181 int i=0, j=0, count=0; local
265 count = ldap_count_values(values);
266 if ((st=copy_arrays(values, &oldrealmrefs, count)) != 0)
291 /* get the count of the new list of krbrealmreferences */
410 int i=0, count=0, objectmask=0; local
468 count = ldap_count_values(values);
469 if ((st=copy_arrays(values, &(lservice->krbhostservers), count)) != 0)
476 count = ldap_count_values(values);
477 if ((st=copy_arrays(values, &(lservice->krbrealmreferences), count)) != 0)
/osnet-11/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c158 ssize_t count; local
201 if (count = readlink(node, buf, sizeof (buf))) {
204 buf[count] = '\0';
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dnetnamer.c313 int count; local
360 for (count = 0; count < ngroups; count++) {
361 (argp->gidlist[count]) = groups[count];
/osnet-11/usr/src/lib/libparted/common/libparted/
H A Ddevice.c218 * called multiple times -- it's a ref-count-like mechanism)
317 * \internal Read count sectors from dev into buffer, beginning with sector
324 PedSector count)
331 return (ped_architecture->dev_ops->read) (dev, buffer, start, count);
335 * \internal Write count sectors from buffer to dev, starting at sector
345 PedSector count)
352 return (ped_architecture->dev_ops->write) (dev, buffer, start, count);
357 PedSector count)
363 return (ped_architecture->dev_ops->check) (dev, buffer, start, count);
323 ped_device_read(const PedDevice* dev, void* buffer, PedSector start, PedSector count) argument
344 ped_device_write(PedDevice* dev, const void* buffer, PedSector start, PedSector count) argument
356 ped_device_check(PedDevice* dev, void* buffer, PedSector start, PedSector count) argument
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/via/
H A Dvia.xs77 IV count;
104 count = call_sv((SV *) cv, flags);
105 if (count) {
391 PerlIOVia_unread(pTHX_ PerlIO * f, const void *vbuf, Size_t count)
394 SV *buf = sv_2mortal(newSVpvn((char *) vbuf, count));
400 return PerlIOBase_unread(aTHX_ f, vbuf, count);
405 PerlIOVia_read(pTHX_ PerlIO * f, void *vbuf, Size_t count)
410 rd = PerlIOBase_read(aTHX_ f, vbuf, count);
414 SV *buf = sv_2mortal(newSV(count));
415 SV *n = sv_2mortal(newSViv(count));
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlotToken.c229 CK_ULONG specified_count, count = 0; local
344 (count < specified_count))
345 pMechanismList[count] = type;
347 count++;
352 if (pMechanismList != NULL && (count > specified_count))
355 *pulCount = count;
423 * reference count.
/osnet-11/usr/src/lib/libproject/common/
H A Dsetproject.c199 int count = 0; local
225 count++;
228 if ((count == 0) || ((ablk =
229 (rctlblk_t *)malloc(rctlblk_size() * count)) == NULL)) {
301 if (valuecount > count) {
306 if (valuecount != count) {
426 if (pr_setprojrctl(Pr, ctl_name, blk, count, flags) == -1)
430 while (valuecount < count) {
/osnet-11/usr/src/lib/libsip/common/
H A Dsip_ui.c964 int count = 0; local
996 count = snprintf(p, slen, "%s", sb->sb_val);
998 count = snprintf(p, slen, "%c%s", SIP_COMMA,
1001 p += count;
1002 slen -= count;
1019 int count = 0; local
1053 count++;
1065 sip_sent_by_count += count;
1070 for (; count > 0; count
1089 int count = 0; local
1129 int count; local
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpbkdf2.c51 unsigned long count,
105 params.iterations = count;
48 krb5int_pbkdf2_hmac_sha1( krb5_context context, const krb5_data *out, unsigned long count, krb5_enctype enctype, const krb5_data *pass, const krb5_data *salt) argument

Completed in 61 milliseconds

<<11121314151617181920>>