Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 2066) sorted by relevance

12345678910>>...83

/illumos-gate/usr/src/cmd/acpi/iasl/
H A Daslcompiler.l189 count (int type);
218 [ ] { count (0); }
219 [\n] { count (0); } /* Handle files with both LF and CR/LF */
220 [\r] { count (0); } /* termination on both Unix and Windows */
221 [ \t] { count (0); }
229 ";" { count (0); return(';'); }
233 "~" { count (3); return (PARSEOP_EXP_NOT); }
234 "!" { count (3); return (PARSEOP_EXP_LOGICAL_NOT); }
235 "*" { count (3); return (PARSEOP_EXP_MULTIPLY); }
236 "/" { count (3); return (PARSEOP_EXP_DIVIDE); }
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.lquantzero.d.out4 value ------------- Distribution ------------- count
9 value ------------- Distribution ------------- count
14 value ------------- Distribution ------------- count
19 value ------------- Distribution ------------- count
24 value ------------- Distribution ------------- count
29 value ------------- Distribution ------------- count
34 value ------------- Distribution ------------- count
39 value ------------- Distribution ------------- count
44 value ------------- Distribution ------------- count
49 value ------------- Distribution ------------- count
[all …]
H A Dtst.negorder.d.out4 value ------------- Distribution ------------- count
10 value ------------- Distribution ------------- count
16 value ------------- Distribution ------------- count
22 value ------------- Distribution ------------- count
28 value ------------- Distribution ------------- count
34 value ------------- Distribution ------------- count
40 value ------------- Distribution ------------- count
46 value ------------- Distribution ------------- count
52 value ------------- Distribution ------------- count
58 value ------------- Distribution ------------- count
[all …]
H A Dtst.quantmany.d.out3 value ------------- Distribution ------------- count
10 value ------------- Distribution ------------- count
21 value ------------- Distribution ------------- count
34 value ------------- Distribution ------------- count
49 value ------------- Distribution ------------- count
66 value ------------- Distribution ------------- count
85 value ------------- Distribution ------------- count
106 value ------------- Distribution ------------- count
129 value ------------- Distribution ------------- count
154 value ------------- Distribution ------------- count
[all …]
H A Dtst.quantzero.d.out3 value ------------- Distribution ------------- count
9 value ------------- Distribution ------------- count
15 value ------------- Distribution ------------- count
21 value ------------- Distribution ------------- count
27 value ------------- Distribution ------------- count
33 value ------------- Distribution ------------- count
39 value ------------- Distribution ------------- count
45 value ------------- Distribution ------------- count
51 value ------------- Distribution ------------- count
57 value ------------- Distribution ------------- count
[all …]
H A Dtst.signature.d33 @stk[ustack()] = count();
34 @symmy[sym(0)] = count();
35 @usymmy[usym(0)] = count();
36 @funky[func(0)] = count();
37 @ufunky[ufunc(0)] = count();
38 @moddy[mod(0)] = count();
39 @umoddy[umod(0)] = count();
44 @stk[ustack()] = count();
45 @symmy[sym(0)] = count();
46 @usymmy[usym(0)] = count();
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/llquantize/
H A Dtst.negorder.d.out4 value ------------- Distribution ------------- count
10 value ------------- Distribution ------------- count
16 value ------------- Distribution ------------- count
22 value ------------- Distribution ------------- count
28 value ------------- Distribution ------------- count
34 value ------------- Distribution ------------- count
40 value ------------- Distribution ------------- count
46 value ------------- Distribution ------------- count
52 value ------------- Distribution ------------- count
58 value ------------- Distribution ------------- count
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_debug.h106 #define QL_DUMP_1(bp, wdsize, count) \ argument
107 ql_dump_buffer((uint8_t *)bp, (uint8_t)wdsize, (uint32_t)count)
110 #define QL_DUMP_1(bp, wdsize, count) argument
116 #define QL_DUMP_2(bp, wdsize, count) \ argument
117 ql_dump_buffer((uint8_t *)bp, (uint8_t)wdsize, (uint32_t)count)
120 #define QL_DUMP_2(bp, wdsize, count) argument
126 #define QL_DUMP_3(bp, wdsize, count) \ argument
127 ql_dump_buffer((uint8_t *)bp, (uint8_t)wdsize, (uint32_t)count)
130 #define QL_DUMP_3(bp, wdsize, count) argument
136 #define QL_DUMP_4(bp, wdsize, count) \ argument
[all …]
/illumos-gate/usr/src/lib/libsec/common/
H A Daclcheck.c47 int count; member
84 if (tally.user_obj.count > 0) { in aclent_aclcheck()
90 tally.user_obj.count = 1; in aclent_aclcheck()
95 if (tally.group_obj.count > 0) { in aclent_aclcheck()
101 tally.group_obj.count = 1; in aclent_aclcheck()
106 if (tally.other_obj.count > 0) { in aclent_aclcheck()
112 tally.other_obj.count = 1; in aclent_aclcheck()
117 if (tally.class_obj.count > 0) { in aclent_aclcheck()
123 tally.class_obj.count = 1; in aclent_aclcheck()
132 cnt = (tally.def_user.count)++; in aclent_aclcheck()
[all …]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dadrm.c46 adrm_char(adr_t *adr, char *cp, int count) in adrm_char() argument
48 while (count-- > 0) in adrm_char()
56 adrm_short(adr_t *adr, short *sp, int count) in adrm_short() argument
58 while (count-- > 0) { in adrm_short()
67 void adrm_int(adr_t *adr, int32_t *lp, int count);
68 void adrm_long(adr_t *adr, int32_t *lp, int count);
73 adrm_int32(adr_t *adr, int32_t *lp, int count) in adrm_int32() argument
77 for (; count-- > 0; lp++) { in adrm_int32()
87 adrm_uid(adr_t *adr, uid_t *up, int count) in adrm_uid() argument
91 for (; count-- > 0; up++) { in adrm_uid()
[all …]
H A Dadrf.c51 adrf_char(adrf_t *adrf, char *cp, int count) in adrf_char() argument
55 if (count < 0) in adrf_char()
57 while (count--) { in adrf_char()
70 adrf_short(adrf_t *adrf, short *sp, int count) in adrf_short() argument
74 if (count < 0) in adrf_short()
76 while (count--) { in adrf_short()
91 int adrf_int(adrf_t *adrf, int32_t *lp, int count);
92 int adrf_long(adrf_t *adrf, int32_t *lp, int count);
98 adrf_int32(adrf_t *adrf, int32_t *lp, int count) in adrf_int32() argument
103 if (count < 0) in adrf_int32()
[all …]
/illumos-gate/usr/src/lib/libc/port/print/
H A Dwprintf.c62 ssize_t count; in wprintf() local
85 count = _wndoprnt(format, ap, stdout, 0); in wprintf()
87 if (FERROR(stdout) || count == EOF) { in wprintf()
93 if ((size_t)count > MAXINT) { in wprintf()
97 return ((int)count); in wprintf()
104 ssize_t count; in fwprintf() local
128 count = _wndoprnt(format, ap, iop, 0); in fwprintf()
130 if (FERROR(iop) || count == EOF) { in fwprintf()
136 if ((size_t)count > MAXINT) { in fwprintf()
140 return ((int)count); in fwprintf()
[all …]
H A Dvwprintf.c65 ssize_t count; in _vwprintf_c89() local
85 count = _wndoprnt(format, ap, stdout, _F_INTMAX32); in _vwprintf_c89()
87 count = _wndoprnt(format, ap, stdout, 0); in _vwprintf_c89()
90 if (FERROR(stdout) || count == EOF) { in _vwprintf_c89()
96 if ((size_t)count > MAXINT) { in _vwprintf_c89()
100 return ((int)count); in _vwprintf_c89()
111 ssize_t count; in _vfwprintf_c89() local
132 count = _wndoprnt(format, ap, iop, _F_INTMAX32); in _vfwprintf_c89()
134 count = _wndoprnt(format, ap, iop, 0); in _vfwprintf_c89()
136 if (FERROR(iop) || count == EOF) { in _vfwprintf_c89()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dlist.c43 int count; in list_append() local
55 for (count = 0; (*list)[count] != NULL; count++) in list_append()
58 if ((count + 1) % __list_increment == 0) { /* expand the list */ in list_append()
60 int new_size = LIST_SIZE(count + 1); in list_append()
66 for (count = 0; (*list)[count] != NULL; count++) in list_append()
67 new_list[count] = (*list)[count]; in list_append()
72 (*list)[count] = item; in list_append()
110 int count = 0; in list_concatenate() local
114 (*result)[count++] = list1[size1]; in list_concatenate()
117 (*result)[count++] = list2[size2]; in list_concatenate()
[all …]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcryptoadm.c245 uint_t count; in get_dev_list() local
252 if (crypto_get_dev_list(&count, &entries) != 0) { in get_dev_list()
261 if (count > dev_list.dl_dev_count) { in get_dev_list()
262 dev_list.dl_dev_count = count; in get_dev_list()
264 crypto_free_dev_list(entries, count); in get_dev_list()
271 dev_list.dl_dev_count = count; in get_dev_list()
274 copyout_size = count * sizeof (crypto_dev_list_entry_t); in get_dev_list()
278 crypto_free_dev_list(entries, count); in get_dev_list()
284 if (count > 0 && copyout(entries, arg + offset, copyout_size) != 0) { in get_dev_list()
285 crypto_free_dev_list(entries, count); in get_dev_list()
[all …]
/illumos-gate/usr/src/cmd/praudit/
H A Dprio.c41 pr_adr_char(pr_context_t *context, char *cp, int count) in pr_adr_char() argument
48 err = adrf_char(adrf, cp, count); in pr_adr_char()
57 if (!pr_input_remaining(context, (sizeof (char) * count))) { in pr_adr_char()
62 adrm_char(adr, cp, count); in pr_adr_char()
70 pr_adr_short(pr_context_t *context, short *sp, int count) in pr_adr_short() argument
77 err = adrf_short(adrf, sp, count); in pr_adr_short()
86 if (!pr_input_remaining(context, (sizeof (short) * count))) { in pr_adr_short()
91 adrm_short(adr, sp, count); in pr_adr_short()
99 pr_adr_int32(pr_context_t *context, int32_t *lp, int count) in pr_adr_int32() argument
106 err = adrf_int32(adrf, lp, count); in pr_adr_int32()
[all …]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsema.c39 return (sp->count == 0); in sema_held()
44 sema_init(sema_t *sp, unsigned int count, int type, void *arg __unused) in sema_init() argument
49 (count > _semvaluemax)) in sema_init()
52 sp->count = count; in sema_init()
87 uint_t count; in sema_wait_impl() local
106 if (ssp && lsp->count == 0) { in sema_wait_impl()
108 if (lsp->count == 0) /* still looks like sleep */ in sema_wait_impl()
123 lsp->count != 0) { /* and non-blocking */ in sema_wait_impl()
130 lsp->count--; in sema_wait_impl()
138 while (error == 0 && lsp->count == 0) { in sema_wait_impl()
[all …]
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfksmbfs_rwlock.c71 l->count--; in smbfs_rw_enter_sig()
79 while (l->count < 0 || l->waiters > 0) { in smbfs_rw_enter_sig()
86 ASSERT(l->count < INT_MAX); in smbfs_rw_enter_sig()
88 if ((l->count % 10000) == 9999) in smbfs_rw_enter_sig()
90 "rwlock @ %p\n", l->count, (void *)&l); in smbfs_rw_enter_sig()
92 l->count++; in smbfs_rw_enter_sig()
103 while (l->count > 0 || l->owner != NULL) { in smbfs_rw_enter_sig()
118 l->count--; in smbfs_rw_enter_sig()
143 l->count--; in smbfs_rw_tryenter()
149 if (l->count < 0 || l->waiters > 0) { in smbfs_rw_tryenter()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dreplica.c58 free_replica(struct replica *list, int count) in free_replica() argument
62 for (i = 0; i < count; i++) { in free_replica()
72 parse_replica(char *special, int *count) in parse_replica() argument
80 *count = 0; in parse_replica()
110 if ((list = realloc(list, (*count + 1) * in parse_replica()
113 bzero(&list[(*count)++], sizeof (struct replica)); in parse_replica()
115 list[*count-1].host = strdup(proot); in parse_replica()
116 if (!list[*count-1].host) in parse_replica()
143 if ((list = realloc(list, (*count + 1) * in parse_replica()
146 bzero(&list[(*count)++], in parse_replica()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_rwlock.c69 l->count--; in smbfs_rw_enter_sig()
77 while (l->count < 0 || l->waiters > 0) { in smbfs_rw_enter_sig()
94 ASSERT(l->count < INT_MAX); in smbfs_rw_enter_sig()
96 if ((l->count % 10000) == 9999) in smbfs_rw_enter_sig()
98 "rwlock @ %p\n", l->count, (void *)&l); in smbfs_rw_enter_sig()
100 l->count++; in smbfs_rw_enter_sig()
111 while (l->count > 0 || l->owner != NULL) { in smbfs_rw_enter_sig()
133 l->count--; in smbfs_rw_enter_sig()
158 l->count--; in smbfs_rw_tryenter()
164 if (l->count < 0 || l->waiters > 0) { in smbfs_rw_tryenter()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/multiaggs/
H A Dtst.zero2.d.out5 value ------------- Distribution ------------- count
11 value ------------- Distribution ------------- count
17 value ------------- Distribution ------------- count
23 value ------------- Distribution ------------- count
29 value ------------- Distribution ------------- count
34 value ------------- Distribution ------------- count
40 value ------------- Distribution ------------- count
45 value ------------- Distribution ------------- count
51 value ------------- Distribution ------------- count
56 value ------------- Distribution ------------- count
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dsortmap.c149 int count; in client_refer() local
151 for (count = 0; ext[count] != (struct cfextra *)NULL; count++) { in client_refer()
152 ext[count]->cf_ent.path = ext[count]->client_path; in client_refer()
153 ext[count]->cf_ent.ainfo.local = ext[count]->client_local; in client_refer()
162 int count; in server_refer() local
164 for (count = 0; ext[count] != (struct cfextra *)NULL; count++) { in server_refer()
165 ext[count]->cf_ent.path = ext[count]->server_path; in server_refer()
166 ext[count]->cf_ent.ainfo.local = ext[count]->server_local; in server_refer()
/illumos-gate/usr/src/uts/common/os/
H A Dddi_nodeid.c49 uint32_t count; member
159 if ((np->nodeid + np->count) == xp->nodeid) { in np_coalesce()
160 np->count += xp->count; in np_coalesce()
200 --np->count; in impl_ddi_alloc_nodeid()
201 if (np->count == 0) { in impl_ddi_alloc_nodeid()
246 ++np->count; in impl_ddi_free_nodeid()
255 if (nodeid == (np->nodeid + np->count)) { in impl_ddi_free_nodeid()
256 ++np->count; in impl_ddi_free_nodeid()
267 fp->count = 1; in impl_ddi_free_nodeid()
272 if (nodeid < (np->nodeid + np->count)) in impl_ddi_free_nodeid()
[all …]
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dinject.c42 static int count = 0; in read() local
44 if ((count++ >= 263 && count <= 267) || in read()
45 (count >= 381 && count <= 385) || in read()
46 (count >= 1014 && count <= 1019) || in read()
47 (count >= 1119 && count <= 1123) || in read()
48 (count >= 1888 && count <= 1892)) { in read()
/illumos-gate/usr/src/test/crypto-tests/tests/longhash/
H A Dlonghash.c69 VERIFY3U(0, ==, ctx.count[0]); in test_update_sha1()
70 VERIFY3U(0, ==, ctx.count[1]); in test_update_sha1()
79 VERIFY3U(c0, ==, ctx.count[0]); in test_update_sha1()
80 VERIFY3U(c1, ==, ctx.count[1]); in test_update_sha1()
93 VERIFY3U(0, ==, ctx.count[0]); in test_update_sha1()
94 VERIFY3U(pagesize * 8, ==, ctx.count[1]); in test_update_sha1()
103 VERIFY3U(c0, ==, ctx.count[0]); in test_update_sha1()
104 VERIFY3U(c1, ==, ctx.count[1]); in test_update_sha1()
115 VERIFY3U(0, ==, ctx.count.c32[0]); in test_update_32()
116 VERIFY3U(0, ==, ctx.count.c32[1]); in test_update_32()
[all …]

12345678910>>...83