Searched refs:count (Results 351 - 375 of 878) sorted by relevance

<<11121314151617181920>>

/osnet-11/usr/src/lib/libshell/common/sh/
H A Denv.c44 int count; member in struct:_env_
94 if(ep->count > ep->max)
98 if(!(ep->env = (char**)malloc(sizeof(char*)*(ep->count+1))))
101 ep->max = ep->count;
151 ep->count++;
210 ep->count = ep->extra = extra;
/osnet-11/usr/src/lib/libnisdb/
H A Ddb_log.cc78 int count = 0; local
87 if ((*func)(j, arg, &count) == FALSE) done = TRUE;
94 WRITEUNLOCK(this, count, "wu db_log::execute_on_log");
96 return (count);
100 print_log_entry(db_log_entry *j, char * /* dummy */, int *count) argument
103 ++ *count;
H A Ddb_scheme.cc107 int count = 0, i; local
117 ++count;
119 if (count == 0) {
125 keys.keys_len = count;
126 db_key_desc * scols = keys.keys_val = new db_key_desc[count];
158 if (keynum != count) { /* something is wrong */
/osnet-11/usr/src/lib/libdns_sd/common/
H A Ddnssd_clientlib.c329 uint16_t count = 0; local
332 while (p<e) { p += 1 + p[0]; count++; }
333 return((p>e) ? (uint16_t)0 : count);
347 uint16_t count = 0; local
350 while (p<e && count<index) { p += 1 + p[0]; count++; } // Find requested item
/osnet-11/usr/src/lib/libdscp/
H A Dlibdscp.c363 int count; local
390 count = 0;
393 i = read(fd, &ifname[count], size - count);
398 count += i;
399 } while (count < size);
/osnet-11/usr/src/lib/krb5/ss/
H A Dlisten.c54 unsigned int count; member in struct:_ss_commands
61 * count reflects the number of commands cmd holds. Memory must
70 commands->count = 0;
79 commands->cmd[commands->count] = *cmd;
80 commands->count++;
110 /* Don't bother if the arg count is not 1 or 0 */
115 for (i = 0; i < commands->count; i++) {
175 commands.cmd = malloc(sizeof (char *) * commands.count);
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dsearch.c50 int count = 0; local
132 if (!is_cache && found && count == 0)
159 count++;
211 if (!count)
274 if (grub_errno == GRUB_ERR_NONE && count == 0)
280 if (grub_errno == GRUB_ERR_NONE && count == 0)
/osnet-11/usr/src/grub/grub2/grub-core/video/emu/
H A Dsdl.c37 grub_video_sdl_set_palette (unsigned int start, unsigned int count,
163 grub_video_sdl_set_palette (unsigned int start, unsigned int count, argument
169 SDL_Color *tmp = grub_malloc (count * sizeof (tmp[0]));
170 for (i = 0; i < count; i++)
177 SDL_SetColors (window, tmp, start, count);
181 return grub_video_fb_set_palette (start, count, palette_data);
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
H A Dj_calltime.d77 @num[pid, "method", this->name] = count();
78 @num[0, "total", "-"] = count();
99 @num[pid, "gc", self->full == B_FALSE ? "GC" : "Full GC"] = count();
H A Dj_cputime.d77 @num[pid, "method", this->name] = count();
78 @num[0, "total", "-"] = count();
99 @num[pid, "gc", self->full == B_FALSE ? "GC" : "Full GC"] = count();
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Java/
H A Dj_calltime.d77 @num[pid, "method", this->name] = count();
78 @num[0, "total", "-"] = count();
99 @num[pid, "gc", self->full == B_FALSE ? "GC" : "Full GC"] = count();
H A Dj_cputime.d77 @num[pid, "method", this->name] = count();
78 @num[0, "total", "-"] = count();
99 @num[pid, "gc", self->full == B_FALSE ? "GC" : "Full GC"] = count();
/osnet-11/usr/src/cmd/hal/utils/
H A Dfsutils.c100 int count; member in struct:part_find_s
167 if (++p->count == p->num) {
191 if (p.count == num) {
212 int count = 0; local
214 walk_partitions(fd, 0, secsz, get_num_dos_drives_cb, &count);
216 return (count);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dpriv_str_xlate.c212 * in that case (or any other where the token count is the same),
223 int count; local
251 count = present + 1 - presentbasic + missingbasic;
254 count = present;
256 if (count >= 1 + missing) {
258 count = 1 + missing;
261 if (present == presentzone && 1 + missingzone < count) {
/osnet-11/usr/src/lib/libdhcpsvc/modules/files0/
H A Ddhcp_network.c114 find_dn(FILE *fp, uint_t flags, uint_t query, int count, argument
130 for (nrecords = 0; count < 0 || nrecords < count; ) {
203 * Caller just wants a count of the number of matching
269 lookup_dn(void *handle, boolean_t partial, uint_t query, int count, argument
285 retval = find_dn(fp, partial ? FIND_PARTIAL : 0, query, count, targetp,
538 unsigned int i, count = 0; local
568 (sizeof (char **)) * (count + 1));
574 listpp[count] = strdup(ipaddr);
575 if (listpp[count]
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_tkt_policy.c311 /* Checking for policy count for 0 and will not permit delete if
345 int i, j, count; local
362 count = i;
364 *policy = (char **) calloc ((unsigned) count + 1, sizeof(char *));
420 int i=0, count=0, filterlen=0; local
449 count = ldap_count_entries(ld, result);
450 if (count == -1) {
455 *list = (char **) calloc ((unsigned) count+1, sizeof(char *));
461 for (ent=ldap_first_entry(ld, result), count=0; ent != NULL; ent=ldap_next_entry(ld, ent), ++count) {
[all...]
/osnet-11/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c130 int i, j, res, numVals, oldlen, count; local
146 count = 0;
176 rvq = growRuleValue(count, count + 1, rvq, 0);
187 count++;
194 &rvq[count - 1]);
203 freeRuleValue(rvq, count);
236 freeRuleValue(rvq, count);
241 *nv = count;
258 int valueLen, comLen, numVals, nr, count local
651 int numItems, splitname, count, statP; local
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c1247 krb5_int16 count;
1293 if (!fread(&count, sizeof(count), 1, KTFILEP(id)))
1296 count -= 1; /* V1 includes the realm in the count */
1298 count = ntohs(count);
1300 if (!count || (count < 0))
1306 u_count = count;
1244 krb5_int16 count; local
1474 krb5_int16 count, size, enctype; local
1616 krb5_int16 count; local
[all...]
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dhistory.c625 register off_t count = hp->histcnt; local
628 if(last < count)
631 count = 2+HIST_MARKSZ;
637 sfseek(hp->histfp,count,SEEK_SET);
649 count += (cp-first);
652 if(count==hp->histcmds[n])
654 sfprintf(sfstderr,"count match n=%d\n",n);
663 hp->histcmds[n] = count;
671 hp->histmarker=count+2;
710 count
1057 register int count = 0; local
1147 register int count; local
[all...]
/osnet-11/usr/src/lib/liblgrp/common/
H A Dlgrp.c51 processorid_t **cpuids, uint_t *count);
157 uint_t count)
172 args.nlgrps = count;
299 int count; local
332 for (count = 0; count < lgrp_ncpus; count++) {
666 uint_t count)
699 if (parents == NULL || count < 1)
728 if (parents != NULL && nparents < count) {
156 lgrp_device_lgrps(const char *device_path, lgrp_id_t *lgrpids, uint_t count) argument
665 lgrp_parents(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *parents, uint_t count) argument
742 lgrp_children(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *children, uint_t count) argument
816 lgrp_cpus_hier(lgrp_snapshot_header_t *snap, lgrp_id_t lgrp, processorid_t **cpuids, uint_t *count) argument
888 lgrp_cpus(lgrp_cookie_t cookie, lgrp_id_t lgrp, processorid_t *cpuids, uint_t count, lgrp_content_t content) argument
1075 lgrp_resources(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *lgrps, uint_t count, lgrp_rsrc_t type) argument
[all...]
/osnet-11/usr/src/lib/libnsl/netselect/
H A Dnetselect.c269 int count; /* the number of entries in file */ local
276 count = 0;
279 ++count;
284 if (count == 0) {
289 if ((listpp = malloc((count + 1) *
391 int count; /* the number of entries in NETPATH */ local
419 * count the number of entries while doing it).
429 count = 0;
444 count++;
478 count
716 unsigned int count; /* the number of tokens in the string */ local
[all...]
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_prop_decode.c932 di_slot_names_free(int count, di_slot_name_t *slot_names) argument
937 while (--count >= 0) {
938 if (slot_names[count].name != NULL)
939 free(slot_names[count].name);
964 int count, i; local
981 count = 0;
984 count++;
987 maxcount = count;
994 count = 0;
1003 slot_names[count]
[all...]
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dfs_dfstab.c318 int count = 0; local
324 &temp_dfstab, cmd, &count, err)) {
346 &temp_dfstab, new_cmd, &count,
358 &temp_dfstab, cmd, &count, err)) {
373 for (i = 0; i < count; i++) {
379 fileutil_free_string_array(temp_dfstab, count);
383 fileutil_free_string_array(temp_dfstab, count);
389 fileutil_free_string_array(temp_dfstab, count);
671 int count = 0; local
675 count
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dgetfilter.c425 int count; local
430 count = 0;
431 words[ count ] = NULL;
436 ( count + 2 ) * sizeof( char * ))) == NULL ) {
440 words[ count ] = word;
441 words[ ++count ] = NULL;
446 return( count );
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/BSM/
H A D_BSMparse.pm98 my $count = 0;
213 $count++;
268 $count++;
272 print STDERR "found $count audit attribute entries\n" if ($obj->{'debug'});
291 my $count = 0;
349 $count++;
353 print STDERR "found $count audit events\n" if ($obj->{'debug'});
370 my $count = 0;
379 $count++;
382 print STDERR "found $count audi
[all...]

Completed in 76 milliseconds

<<11121314151617181920>>