Home
last modified time | relevance | path

Searched refs:n (Results 226 – 250 of 4395) sorted by relevance

12345678910>>...176

/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_defs.h122 #define LDG_VALID(n) (n < HXGE_INT_MAX_LDG) argument
123 #define LD_VALID(n) (n < HXGE_INT_MAX_LD) argument
124 #define LD_RXDMA_LD_VALID(n) (n < HXGE_MAX_RDCS) argument
125 #define LD_TXDMA_LD_VALID(n) (n >= HXGE_MAX_RDCS && \ argument
126 ((n - HXGE_MAX_RDCS) < HXGE_MAX_TDCS)))
129 #define LD_INTTIMER_VALID(n) (n <= LD_TIMER_MAX) argument
133 #define SID_VECTOR_VALID(n) (n <= SID_VECTOR_MAX) argument
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c164 int n; in main() local
222 for (n = 0; n < nps; n++) { in main()
230 for (n = 0; n < nctps; n++) { in main()
255 int n; in main() local
276 for (n = 0; n < nps; n++) { in main()
433 int n; in ctsort() local
437 for (n = 0; n < nctps; n++) in ctsort()
493 int n; in prsort() local
500 for (n = 0; n < nps; n++) { in prsort()
594 for (n = 0; n < nps; n++) { in fakepid0()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlauxlib.h104 #define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL)) argument
105 #define luaL_optstring(L,n,d) (luaL_optlstring(L, (n), (d), NULL)) argument
106 #define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n))) argument
107 #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d))) argument
108 #define luaL_checklong(L,n) ((long)luaL_checkinteger(L, (n))) argument
109 #define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, (n), (d))) argument
119 #define luaL_getmetatable(L,n) (lua_getfield(L, LUA_REGISTRYINDEX, (n))) argument
121 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n))) argument
123 #define luaL_loadbuffer(L,s,sz,n) luaL_loadbufferx(L,s,sz,n,NULL) argument
143 ((B)->b[(B)->n++] = (c)))
[all …]
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dconv.c220 n; local
233 for (n = 0; n < nitems; n++)
234 dst[n] = s_to_type(src[n]);
257 n; local
270 for (n = 0; n < nitems; n++) {
271 dst[n] = s_to_template(src[n]);
371 register int n; local
385 for (n = 0; n < nitems; n++)
386 dst[n] = type_to_s(src[n]);
424 for (n = 0; n < nitems; n++)
[all …]
/illumos-gate/usr/src/cmd/gencat/
H A Dgencat.c67 #define MALLOC(n) malloc((unsigned)(n)) argument
71 #define MSG(n) gettext(MSG ## n) argument
167 int n; in new_set()
414 int n;
613 n = 0;
620 n = 10 * n + (*t - '0');
631 int n; local
668 n = 8 * n + (c - '0');
671 n = 8 * n + (c - '0');
759 n = 8 * n + (c - '0');
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_sign.c91 int n; in ns_sign2() local
115 if (n < 0) in ns_sign2()
117 cp += n; in ns_sign2()
135 if (n < 0) in ns_sign2()
138 cp += n; in ns_sign2()
154 int n; in ns_sign2() local
280 int n; in ns_sign_tcp2() local
314 if (n < 0) in ns_sign_tcp2()
316 cp += n; in ns_sign_tcp2()
328 if (n < 0) in ns_sign_tcp2()
[all …]
/illumos-gate/usr/src/cmd/eqn/eqnchar.d/
H A Deqnchar2 tdefine ciplus % "\(pl\h'-\w'\(pl\^'u'\v'.3n'\(ci\v'-.3n'" %
4 tdefine citimes % "\(mu\h'-\w'\(mu\^'u'\v'.3n'\(ci\v'-.3n'" %
8 tdefine bigstar %{ roman "\v'.5n'\s+4*\s-4\v'-.5n'"}%
16 tdefine =del % "\v'.3m'\z=\v'-.6m'\h'.3n'\s-2\(*D\s+2\v'.3m'" %
18 tdefine oppA % "\v'-.3n'\z\(mi\v'.3n'\e\s+1\(sl\s-1" %
28 tdefine star %{ roman "\v'.5n'\s+2*\s-2\v'-.5n'"}%
35 tdefine langle % "\v'-.3n'\s-1\z\(sl\s-1\v'1n'\e\v'-1n'\s+2\v'.3n'" %
37 tdefine rangle % "\v'-.3n'\s-2\z\e\s+1\v'1n'\(sl\v'-1n'\s+1\v'.3n'" %
51 tdefine ang % "\z\(sl\v'-.1n'\(ru\v'.1n'" %
53 tdefine rang % "\v'-.2n'\(or\v'.1n'\(ru\v'.1n'" %
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_query.c116 int n; in res_nquery() local
132 n = res_nopt(statp, n, buf, sizeof(buf), anslen); in res_nquery()
135 n = res_nopt_rdata(statp, n, buf, sizeof(buf), rdata, in res_nquery()
146 return (n); in res_nquery()
149 n = res_nsend(statp, buf, n, answer, anslen); in res_nquery()
150 if (n < 0) { in res_nquery()
166 return (n); in res_nquery()
197 return (n); in res_nquery()
362 int n, d; in res_nquerydomain() local
379 n--; in res_nquerydomain()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetprotoent_r.c39 int n = 0; in getprotobyname_r() local
46 return (n); in getprotobyname_r()
59 int n = 0; in getprotobynumber_r() local
66 return (n); in getprotobynumber_r()
85 int n = 0; in getprotoent_r() local
92 return (n); in getprotoent_r()
137 int i, n; in copy_protoent() local
163 cp += n; in copy_protoent()
171 cp += n; in copy_protoent()
181 int i, n; in copy_protoent() local
[all …]
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_cr_6855875_typeset_hexfloat_has_too_few_digits.sh126 …_restored1 )) || err_exit "no match,"$'\n\t'"$(printf "%a\n" y)"$'\n'"!="$'\n\t'"$(printf "%a\n" y…
127 …_restored2 )) || err_exit "no match,"$'\n\t'"$(printf "%a\n" y)"$'\n'"!="$'\n\t'"$(printf "%a\n" y…
128 …_restored3 )) || err_exit "no match,"$'\n\t'"$(printf "%a\n" y)"$'\n'"!="$'\n\t'"$(printf "%a\n" y…
134 …_restored1 )) || err_exit "no match,"$'\n\t'"$(printf "%a\n" y)"$'\n'"!="$'\n\t'"$(printf "%a\n" y…
135 …_restored2 )) || err_exit "no match,"$'\n\t'"$(printf "%a\n" y)"$'\n'"!="$'\n\t'"$(printf "%a\n" y…
136 …_restored3 )) || err_exit "no match,"$'\n\t'"$(printf "%a\n" y)"$'\n'"!="$'\n\t'"$(printf "%a\n" y…
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dman.TraceNames29 * Using -n option.
36 * /usr/sbin/dtrace -n profile
40 * /usr/sbin/dtrace -n genunix
44 * /usr/sbin/dtrace -n read
48 * /usr/sbin/dtrace -n BEGIN
52 * /usr/sbin/dtrace -n begin
77 * /usr/sbin/dtrace -n :genunix:
81 * /usr/sbin/dtrace -n ::read:
90 * /usr/sbin/dtrace -n read: -n write:
94 * /usr/sbin/dtrace -n read: -n fight:
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Domitted9 ssize_t n;
22 while ((n = _read(fd, buf, sizeof(buf))) > 0 && _write(td, buf, n) == n);
25 return n ? -1 : 0;
46 fix++,printf("#define _win32_botch_chmod 1\n");
48 fix++,printf("#define _win32_botch_copy 1\n");
53 fix++,printf("#define _win32_botch_link 1\n");
58 fix++,printf("#define _win32_botch_open 1\n");
69 fix++,printf("#define _win32_botch_stat 1\n");
71 printf("#define _stat _stat64\n");
81 printf("#define _win32_botch_execve 1\n");
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dstk.c112 # define count(x,n) (_stkstats.x += (n)) argument
125 NoP(n); in overflow()
344 int n; in stkset() local
400 stkinit(n); in stkalloc()
402 n = roundof(n,STK_ALIGN); in stkalloc()
403 if(stkleft(stream) <= (int)n && !stkgrow(stream,n)) in stkalloc()
416 stkinit(n); in _stkseek()
418 if(stkleft(stream) <= n && !stkgrow(stream,n)) in _stkseek()
477 if(stkleft(stream) <= n && !stkgrow(stream,n)) in stkcopy()
514 n = roundof(n,STK_FSIZE/16); in stkgrow()
[all …]
/illumos-gate/usr/src/cmd/sort/
H A Dinternal.c33 while (n-- > 0) { in swap_range()
105 if (n <= 1) in tqs_algorithm()
116 le = rand() % n; in tqs_algorithm()
120 r = re = n - 1; in tqs_algorithm()
160 n = p; in tqs_algorithm()
164 X = &X[n - q]; in tqs_algorithm()
165 n = q; in tqs_algorithm()
202 if (n <= 1) in rqs_algorithm()
213 le = rand() % n; in rqs_algorithm()
218 r = re = n - 1; in rqs_algorithm()
[all …]
/illumos-gate/usr/src/lib/libscf/common/
H A Dscf_type.c39 #define UTF8_TOP_N(n) \ argument
42 #define UTF8_BOTTOM_N(n) \ argument
67 ((n) == 1)? 7 : \
68 (7 - (n) + 6 * ((n) - 1))
74 (((c) & UTF8_TOP_N((n) + 1)) == UTF8_TOP_N(n))
108 int i, n; in valid_utf8() local
114 for (n = 2; n <= UTF8_MAX_BYTES; n++) in valid_utf8()
115 if (UTF8_HEAD_CHECK(c, n)) in valid_utf8()
118 if (n > UTF8_MAX_BYTES) in valid_utf8()
121 v = UTF8_HEAD_VALUE(c, n); in valid_utf8()
[all …]
/illumos-gate/usr/src/cmd/mail/
H A Dcopymt.c48 int n, newline = 1; local
67 while ((n = getaline(line, sizeof line, f1)) > 0) {
74 if (clen < n) { /* read too much */
92 n -= clen;
111 if (fwrite(line,1,n,f2) != n) {
117 clen -= n;
121 n = clen < sizeof line ? clen : sizeof line;
122 if ((n = fread (line, 1, n, f1)) <= 0) {
176 nextadr += n;
182 if (fwrite(line,1,n,f2) != n) {
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Ddeliv2.c21 int c, n; in hash() local
22 for (n = 0; c = *s; s++) in hash()
23 n += (c*n+ c << (n%4)); in hash()
24 return (n > 0 ? n : -n); in hash()
58 zalloc(size_t m, size_t n) in zalloc() argument
63 fprintf(stderr, "calling calloc for %d*%d bytes\n", m, n); in zalloc()
65 t = calloc(m, n); in zalloc()
/illumos-gate/usr/src/cmd/awk/
H A Dlib.c347 getargv(int n) in getargv() argument
390 int i, j, n; in fldbld() local
397 n = strlen(r); in fldbld()
518 lastfld = n; in newfld()
525 if (n < 0) in setlastfld()
535 lastfld = n; in setlastfld()
541 if (n < 0) in fieldadr()
554 if (n > nf) in growfldtab()
555 nf = n; in growfldtab()
682 fpecatch(int n) in fpecatch() argument
[all …]
/illumos-gate/usr/src/lib/libresolv/
H A Dres_send.c75 #define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS))) argument
76 #define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS))) argument
77 #define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS))) argument
140 register int n; local
243 cp += n;
244 len -= n;
285 cp += n;
286 len -= n;
317 if ((n = read(s, junk, n)) > 0)
318 len -= n;
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dccmap.c633 register int n; in _ccmap() local
671 for (n = 0; n < MAP; n++) in _ccmap()
672 m[n] = n; in _ccmap()
673 for (n = MAP - 1; n >= 0; n--) in _ccmap()
674 m[n] = a[z[n]]; in _ccmap()
681 _ccmapcpy(register unsigned char* m, void* b, const void* a, size_t n) in _ccmapcpy() argument
690 ue = ub + n; in _ccmapcpy()
696 memcpy(b, a, n); in _ccmapcpy()
701 _ccmapstr(register unsigned char* m, void* b, size_t n) in _ccmapstr() argument
707 for (e = (s = (unsigned char*)b) + n; s < e; s++) in _ccmapstr()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtminit.c133 register int n; in tzwest() local
161 if (n = tp->tm_yday - n) in tzwest()
163 if (n > 1) in tzwest()
164 n = -1; in tzwest()
166 n = 1; in tzwest()
186 …tm_info.deformat = (n && (n = strlen(v)) > 0 && (n < 2 || v[n-2] != '%' || v[n-1] != '?')) ? strdu… in tmopt()
192 if (n) in tmopt()
277 isdst = n; in tmlocal()
278 n = m; in tmlocal()
281 m -= n; in tmlocal()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dnetwork.c140 register int n, n1; in netflush() local
145 if ((n1 = n = ring_full_consecutive(&netoring)) > 0) { in netflush()
148 n = send(net, netoring.consume, n, 0); in netflush()
158 n = send(net, netoring.consume, 1, MSG_OOB); in netflush()
161 if (n < 0) { in netflush()
169 n = 0; in netflush()
171 if (netdata && n) { in netflush()
172 Dump('>', netoring.consume, n); in netflush()
174 if (n) { in netflush()
175 ring_consumed(&netoring, n); in netflush()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dputerror.c48 size_t n; in puterror() local
52 n = (defmesg ? strlen(defmesg) : strlen(INVINP)); in puterror()
53 tmp = calloc(MS+n+1, sizeof (char)); in puterror()
58 n = strlen(error); in puterror()
61 tmp = calloc(MS+n+strlen(defmesg)+2, sizeof (char)); in puterror()
67 } else if (n && (error[n-1] == '~')) { in puterror()
69 tmp = calloc(MS+n+strlen(defmesg)+2, sizeof (char)); in puterror()
73 tmp[MS-1+n-1] = '\0'; in puterror()
77 tmp = calloc(MS+n+1, sizeof (char)); in puterror()
82 n = strlen(error); in puterror()
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPFindAttrs.c469 if (!(n = malloc(sizeof (*n)))) { in parens_attr()
475 free(n); in parens_attr()
479 n->val = NULL; in parens_attr()
485 free(n->tag); free(n); in parens_attr()
519 if (!(n = malloc(sizeof (*n)))) { in collate_attrs()
525 free(n); in collate_attrs()
529 n->val = NULL; in collate_attrs()
533 free(n->tag); free(n); in collate_attrs()
574 (void) strcpy(p, n->tag); p += strlen(n->tag); in collect_attrs()
576 (void) strcpy(p, n->val); p += strlen(n->val); in collect_attrs()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dregcmp.c65 register size_t n; in regcmp() local
85 n = 0; in regcmp()
128 paren[p] = ++n; in regcmp()
162 n = 0; in regcmp()
165 if ((n += INC) > TOT || !(re = newof(re, Regex_t, 0, n))) in regcmp()
193 register int n; in regex() local
206 for (n = 0; n < re->nsub; n++) in regex()
207 sub[n] = va_arg(ap, char*); in regex()
214 for (n = 0; n < re->nsub; n++) in regex()
215 if (i = re->sub[n]) in regex()
[all …]

12345678910>>...176