/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | winsdel.c | 55 winsdelln(w, n) in winsdelln() argument 57 int n; 62 __m_trace("winsdelln(%p, %d)", w, n); 66 if (w->_maxy < w->_cury + abs(n)) 67 n = (w->_maxy - w->_cury + 1) * (n < 0 ? -1 : 1); 70 if (n < 0) { 74 w->_cury, w->_cury - (n+1), w->_maxy 78 row = w->_maxy + n; 83 w->_maxy - n, w->_maxy-1, w->_cury 91 (void) __m_cc_erase(w, row, 0, row + abs(n), w->_maxx-1); [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zrlock.c | 77 while (n != ZRL_LOCKED) { in zrl_add_impl() 79 (uint32_t *)&zrl->zr_refcount, n, n + 1); in zrl_add_impl() 80 if (cas == n) { in zrl_add_impl() 81 ASSERT3S((int32_t)n, >=, 0); in zrl_add_impl() 85 zrlock_t *, zrl, uint32_t, n); in zrl_add_impl() 92 n = cas; in zrl_add_impl() 106 uint32_t n; in zrl_remove() local 115 ASSERT3S((int32_t)n, >=, 0); in zrl_remove() 123 if (n == 0) { in zrl_tryenter() 161 int n = (int)zrl->zr_refcount; in zrl_refcount() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | recfmt.c | 52 unsigned int n; in recfmt() local 81 …memchr((void*)s, k = terminators[i], size / 2)) && (n = t - s + 1) > 1 && (total <= 0 || !(total %… in recfmt() 83 for (j = n - 1; j < size; j += n) in recfmt() 86 n = 0; in recfmt() 89 if (n) in recfmt() 112 n = 0; in recfmt() 129 n = i; in recfmt() 135 n = 0; in recfmt() 139 n++; in recfmt() 140 n = n ? 0 : total; in recfmt() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tmxmake.c | 48 uint32_t n; in tmxtm() local 64 t = tmxsns(n - lp->total, tmxnsec(t)); in tmxtm() 83 n = x - z * (24 * 60 * 60); in tmxtm() 84 tm->tm_sec = n % 60 + leapsec; in tmxtm() 85 n /= 60; in tmxtm() 86 tm->tm_min = n % 60; in tmxtm() 87 n /= 60; in tmxtm() 88 tm->tm_hour = n % 24; in tmxtm() 100 n = tm->tm_year - 1; in tmxtm() 101 …x -= n * 365 + n / 4 - n / 100 + (n + (1900 - 1600)) / 400 - (1970 - 1901) * 365 - (1970 - 1901) /… in tmxtm() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_util.c | 48 u32_t count_bits(u32_t n) in count_bits() argument 50 n = (n & MASK_01010101) + ((n >> 1) & MASK_01010101) ; in count_bits() 51 n = (n & MASK_00110011) + ((n >> 2) & MASK_00110011) ; in count_bits() 52 n = (n & MASK_00001111) + ((n >> 4) & MASK_00001111) ; in count_bits() 54 return n % 255 ; in count_bits() 60 unsigned long _n = n >> 1; in log2_align() 68 if (ret < n) in log2_align() 86 if(0 == n) in power2_lower_align() 91 if(TRUE == POWER_OF_2(n)) in power2_lower_align() 94 return n; in power2_lower_align() [all …]
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Kstat/t/ |
H A D | Kstat.t | 55 print "ok 1\n"; 63 print("ok $test\n"); 71 print("ok $test\n"); 81 print("ok $test\n"); 90 print("ok $test\n"); 98 print("ok $test\n"); 100 print("ok $test\n"); 121 print("ok $test\n"); 143 print("ok $test\n"); 166 print("ok $test\n"); [all …]
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | chg_char.c | 297 if (n) { in _scr_fpage() 298 Y(f) += n; in _scr_fpage() 299 T(f) += n; in _scr_fpage() 314 if (n) { in _scr_bpage() 315 Y(f) -= n; in _scr_bpage() 332 if (n) { in _scr_fhpage() 350 if (n) { in _scr_bhpage() 394 if (n) { in _scr_hfline() 410 if (n) { in _scr_hbline() 427 if (n) { in _scr_hfhalf() [all …]
|
H A D | ty_num.c | 80 NUMERIC * n; in make_num() local 82 if (Alloc(n, NUMERIC)) { in make_num() 83 n -> prec = va_arg(*ap, int); in make_num() 87 return ((char *) n); in make_num() 93 NUMERIC *n; in copy_num() local 95 if (Alloc(n, NUMERIC)) in copy_num() 96 *n = *((NUMERIC *) arg); in copy_num() 97 return ((char *) n); in copy_num() 110 double vmin = n -> vmin; in fcheck_num() 111 double vmax = n -> vmax; in fcheck_num() [all …]
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | policy.c | 76 xmlNodePtr n; in parseOCSPValidation() local 120 n = n->next; in parseOCSPValidation() 132 xmlNodePtr n; in parseValidation() local 185 n = n->next; in parseValidation() 252 xmlNodePtr n; in parseKeyUsageSet() local 267 n = n->next; in parseKeyUsageSet() 326 xmlNodePtr n; in parseExtKeyUsage() local 360 n = n->next; in parseExtKeyUsage() 382 n = n->next; in parseExtKeyUsage() 393 n = node; in parseMapper() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/ |
H A D | t.gsub4 | 285 (5)(d)(a)(e)(m)(o)(n)(:)(*)(:)(1)(:)(1)(:)(d)(a)(e)(m)(o)(n)(s)(:)(/)(:)(/)(b)(i)(n)(/)(s)(h) 287 (6)(b)(i)(n)(:)(*)(:)(2)(:)(2)(:)(S)(y)(s)(t)(e)(m) Tool(s) Ow(n)(e)r(:)/(b)(i)(n)(:)/d(e)v/(n)ull 295 …)(a)(d)(m)(:)(*)(:)(5)(:)(3)(:)(A)(c)(c)(o)(u)(n)(t)(i)(n)(g) F(i)les Ow(n)er(:)/(u)sr/(a)(d)(m)(:… 297 (1)(1)(l)(p)(:)(*)(:)(9)(:)(9)(:)(P)(r)(i)(n)(t) S(p)oo(l)e(r) Ow(n)e(r)(:)/va(r)/s(p)oo(l)/(l)(p)(… 301 …(b)(a)(d)(m)(i)(n)(:)(*)(:)(1)(2)(:)(0)(:)(S)(e)(c)(u)(r)(i)(t)(y) D(a)(t)(a)(b)(a)s(e) Ow(n)(e)(r… 307 (1)(6)(r)(f)(i)(n)(d)(d)(:)(*)(:)(6)(6)(:)(1)(:)(R)(f)(i)(n)(d) Daemo(n) a(n)(d) Fs(d)ump(:)/va(r)/… 321 (2)(3)(n)(o)(b)(o)(d)(y)(:)(*)(:)(6)(0)(0)(0)(1)(:)(6)(0)(0)(0)(1)(:)(S)(V)(R)(4) (n)(o)(b)(o)(d)(y… 323 (2)(4)(n)(o)(a)(c)(c)(e)(s)(s)(:)(*)(:)(6)(0)(0)(0)(2)(:)(6)(0)(0)(0)(2)(:)(u)(i)(d) (n)(o) (a)(c)(… 325 (2)(5)(n)(o)(b)(o)(d)(y)(:)(*)(:)-(2)(:)-(2)(:)(o)(r)(i)(g)(i)(n)(a)(l) (n)(o)(b)(o)(d)(y) u(i)(d)(… 333 (2)(9)(m)(a)(n)(:)(*)(:)(9)(9)(:)(9)(9)(5)(:)(O)(n)-l(i)(n)(e) M(a)(n)u(a)l (O)w(n)(e)r(:)/(:) [all …]
|
/illumos-gate/usr/src/cmd/fm/dicts/ |
H A D | NIC.po | 24 …n\n NIC data link: %<fault-list[0].resource.hc-specific.link-name> (%<fault-list[0].resource.hc-s… 28 …fic will pass through the data link or network interfaces associated with this transceiver slot.\n" 30 msgstr "Replace the transceiver module with one of a supported type.\n" 41 …n\n NIC data link: %<fault-list[0].resource.hc-specific.link-name> (%<fault-list[0].resource.hc-s… 45 …ic will pass through the data link or network\ninterfaces associated with this transceiver slot.\n" 47 msgstr "Replace the transceiver module with one of a supported type.\n" 58 …n\n NIC data link: %<fault-list[0].resource.hc-specific.link-name> (%<fault-list[0].resource.hc-s… 62 …fic will pass through the data link or network interfaces associated with this transceiver slot.\n" 75 …n\n NIC data link: %<fault-list[0].resource.hc-specific.link-name> (%<fault-list[0].resource.hc-s… 79 …ic will pass through the data link or network\ninterfaces associated with this transceiver slot.\n" [all …]
|
/illumos-gate/usr/src/lib/brand/solaris10/cmd/ |
H A D | s10_isaexec_wrapper.sh | 43 n=/.SUNWnative 50 LC_ALL=C /usr/bin/file $n/$dname/$bname | /usr/bin/grep "64-bit" \ 55 if [ ! -f $n$dname/$bname ]; then 60 exec $n/usr/lib/brand/solaris10/s10_native \ 61 $n/lib${arch64}ld.so.1 \ 66 -e LD_LIBRARY_PATH_32="$n/lib:$n/usr/lib:$n/usr/lib/mps" \ 67 -e LD_LIBRARY_PATH_64="$n/lib/64:$n/usr/lib/64:$n/usr/lib/mps/64" \ 68 $n$dname/$bname "$@"
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lua.h | 252 #define lua_call(L,n,r) lua_callk(L, (n), (r), 0, NULL) argument 258 #define lua_pcall(L,n,r,f) lua_pcallk(L, (n), (r), (f), 0, NULL) argument 272 #define lua_yield(L,n) lua_yieldk(L, (n), 0, NULL) argument 322 #define lua_pop(L,n) lua_settop(L, -(n)-1) argument 330 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION) argument 331 #define lua_istable(L,n) (lua_type(L, (n)) == LUA_TTABLE) argument 333 #define lua_isnil(L,n) (lua_type(L, (n)) == LUA_TNIL) argument 334 #define lua_isboolean(L,n) (lua_type(L, (n)) == LUA_TBOOLEAN) argument 335 #define lua_isthread(L,n) (lua_type(L, (n)) == LUA_TTHREAD) argument 336 #define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE) argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | nameref.sh | 551 exp=$'(\n\t[4]=(\n\t\ttypeset -a ar=(\n\t\t\t1\n\t\t\t2\n\t\t)\n\t\tb=1\n\t)\n)' 566 exp=$'(\n\t[9]=(\n\t\tfish=4\n\t)\n)' 605 exp=$'(\n\t[5]=(\n\t\t[9]=(\n\t\t\t[2]=(\n\t\t\t\ttypeset -i x=36\n\t\t\t)\n\t\t)\n\t)\n)' 618 exp=$'(\n\t[5]=(\n\t\t[9]=(\n\t\t\t[2]=(\n\t\t\t\ttypeset -i x=36\n\t\t\t)\n\t\t)\n\t)\n)' 639 …exp=$'(\n\ttypeset -C -A l=(\n\t\t[4]=(\n\t\t\ttypeset -a ar=(\n\t\t\t\t1\n\t\t\t\t2\n\t\t\t\t3\n\…
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/ |
H A D | tst.list_children.ksh | 45 n = 0 47 n = n + 1 49 assert(n == 0) 54 n = 0 57 n = n + 1 59 assert(n == 1) 67 n = 0 70 n = n + 1 72 assert(n == 1) 87 n = 0 [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcprefix.c | 52 register size_t n; 68 e = s + n; 76 n = t - s + 1; 81 w += sfwr(f, s, n, dp); 123 size_t n; local 137 pfx->length = n; 138 memcpy(pfx->prefix, prefix, n); 139 s = (char*)prefix + n; 141 n = s - (char*)prefix; 143 n++; [all …]
|
H A D | sfdcunion.c | 75 m = n; 88 if(sfeof(f) && un->c < un->n-1) 91 return n-m; 114 for(i = 0; i < un->n; ++i) 126 for(i = 0; i < un->n-1; ++i) 140 for(i += 1; i < un->n; ++i) 166 int sfdcunion(f, array, n) in sfdcunion() 169 int n; 175 if(n <= 0) 186 un->n = n; [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | paste.c | 93 for(n=more-1,more=0; n < nstream;) in paste() 95 if(fp=streams[n]) in paste() 99 if(n==0) in paste() 119 more = n+1; in paste() 125 streams[n] = 0; in paste() 138 else if(n==nstream && !streams[n-1] && more) in paste() 177 register int n, sflag=0; in b_paste() local 253 n = 1; in b_paste() 258 n = 0; in b_paste() 274 streams[n++] = fp; in b_paste() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | misc.c | 68 while (n = optget(argv, sh_optexec)) switch (n) in b_exec() 221 while (n = optget(argv,sh_optdot)) switch (n) in b_dot_cmd() 361 if(n<0 || shp->st.dolc<n) in b_shift() 374 while((n = optget(argv,sh_optwait))) switch(n) in b_wait() 405 while((n = optget(argv,optstr))) switch(n) in b_bg() 527 while(n = optget(argv, optstr)) switch(n) in b_vpath() 554 n = mount(*argv,vend,flag|FS3D_SIZE(n),0); in b_vpath() 569 n = !n; in b_vpath() 573 if(n) in b_vpath() 583 for(n=0;n<argc;n+=2) in b_vpath() [all …]
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_string.c | 41 prom_strncpy(register char *s1, register char *s2, size_t n) in prom_strncpy() argument 45 n++; in prom_strncpy() 46 while (--n != 0 && (*s1++ = *s2++) != '\0') in prom_strncpy() 48 if (n != 0) in prom_strncpy() 49 while (--n != 0) in prom_strncpy() 74 n++; in prom_strncmp() 77 while (--n != 0 && *s1 == *s2++) in prom_strncmp() 80 return ((n == 0) ? 0: (*s1 - s2[-1])); in prom_strncmp() 101 register int n = 0; in prom_strlen() local 104 n++; in prom_strlen() [all …]
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_defs.h | 445 #define FUNC_VALID(n) (n < MAX_PORTS_PER_NXGE) argument 454 #define SUBREGION_VALID(n) (n < VIR_SUB_REGIONS) argument 455 #define VIR_PAGE_INDEX_VALID(n) (n < VIR_PAGE_INDEX_MAX) argument 456 #define VRXDMA_CHANNEL_VALID(n) (n < NXGE_MAX_RDCS) argument 473 #define LDG_VALID(n) (n < NXGE_INT_MAX_LDG) argument 474 #define LD_VALID(n) (n < NXGE_INT_MAX_LD) argument 475 #define LD_RXDMA_LD_VALID(n) (n < NXGE_MAX_RDCS) argument 476 #define LD_TXDMA_LD_VALID(n) (n >= NXGE_MAX_RDCS && \ argument 478 #define LD_MAC_VALID(n) (IS_PORT_NUM_VALID(n)) argument 481 #define LD_INTTIMER_VALID(n) (n <= LD_TIMER_MAX) argument [all …]
|
/illumos-gate/usr/src/lib/libxcurses/h/ |
H A D | curses.h | 856 #define addnstr(s,n) waddnstr(stdscr,s,n) argument 918 #define insdelln(n) winsdelln(stdscr,n) argument 941 #define getnstr(s,n) wgetnstr(stdscr,s,n) argument 971 #define hline(ch,n) whline(stdscr,ch,n) argument 972 #define vline(ch,n) wvline(stdscr,ch,n) argument 1009 #define innstr(s,n) winnstr(stdscr,s,n) argument 1017 #define innwstr(wcs,n) winnwstr(stdscr,wcs,n) argument 1033 #define insnstr(s,n) winsnstr(stdscr,s,n) argument 1062 #define timeout(n) wtimeout(stdscr, n) argument 1069 #define scrl(n) wscrl(stdscr, n) argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libsum/ |
H A D | sumlib.c | 39 #define SCALE(n,m) (((n)+(m)-1)/(m)) argument 121 register size_t n; in long_print() local 128 if ((flags & SUM_SCALE) && ((n = scale) || (n = x->method->scale))) in long_print() 129 z = SCALE(z, n); in long_print() 274 register int n; in sumopen() local 278 for (n = 0; n < elementsof(maps); n++) in sumopen() 281 name = maps[n].map; in sumopen() 284 for (n = 0; n < elementsof(methods); n++) in sumopen() 286 return (*methods[n].open)(&methods[n], name); in sumopen() 363 register int n; in sumusage() local [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ |
H A D | rebt8b1.ok | 1 [an]*n bANas ANd ANases iAN cAN 2 [an�]*n bANas ANd ANases iAN cAN 4 [a�]*n bANANas ANd ANANases iAN cANAN 6 [an]n bANANas ANd ANANases in cANaAN 7 [a�]n bANANas ANd ANANases in cANaAN 8 [an�]n bANANas ANd ANANases in cANaAN 10 [an]?n bANANas ANd ANANases iAN cANaAN 11 [a�]?n bANANas ANd ANANases iAN cANaAN 14 [an]+n bANas ANd ANases in cAN 15 [a�]+n bANANas ANd ANANases in cANAN [all …]
|
/illumos-gate/usr/src/lib/libcpc/sparc/ |
H A D | conf_ultra.c | 430 n = US12_names[regno]; in getnametable() 433 n = US3_names[regno]; in getnametable() 445 n = NULL; in getnametable() 448 return (n); in getnametable() 459 for (; n->ver != V_END; n++) in cpc_walk_names() 461 action(arg, regno, n->name, n->bits); in cpc_walk_names() 471 for (; n->ver != V_END; n++) in __cpc_reg_to_name() 472 if (bits == n->bits && versionmatch(cpuver, regno, n)) in __cpc_reg_to_name() 473 return (n->name); in __cpc_reg_to_name() 490 for (; n->ver != V_END; n++) in __cpc_name_to_reg() [all …]
|