Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 860) sorted by relevance

12345678910>>...35

/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/
H A Dt.fun223 g
25 g 17379
27 g 16693
29 g 16116
31 g 15713
33 g 11895
39 g 9853
41 g 9748
43 g 9492
45 g 9190
[all …]
H A Dt.fun31 g /dev/rrp3:
2 g
7 g 17379
12 g 16693
17 g 16116
22 g 15713
27 g 11895
32 g 10409
41 g 9853
45 g 9748
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlgc.c304 markobject(g, g->mt[i]); in markmt()
338 g->gray = g->grayagain = NULL; in restartcollection()
339 g->weak = g->allweak = g->ephemeron = NULL; in restartcollection()
340 markobject(g, g->mainthread); in restartcollection()
341 markvalue(g, &g->l_registry); in restartcollection()
567 while (g->gray) propagatemark(g); in propagateall()
586 g->weak = g->grayagain = g->ephemeron = NULL; in retraversegrays()
1006 markvalue(g, &g->l_registry); in atomic()
1018 clearvalues(g, g->weak, NULL); in atomic()
1134 setpause(g, gettotalbytes(g)); in generationalcollection()
[all …]
H A Dlstate.c70 global_State g; member
105 g->totalbytes -= (debt - g->GCdebt); in luaE_setdebt()
203 G(L) = g; in preinit_state()
271 g = &l->g; in lua_newstate()
279 g->ud = ud; in lua_newstate()
282 g->uvhead.u.l.prev = &g->uvhead; in lua_newstate()
283 g->uvhead.u.l.next = &g->uvhead; in lua_newstate()
297 g->sweepgc = g->sweepfin = NULL; in lua_newstate()
298 g->gray = g->grayagain = NULL; in lua_newstate()
299 g->weak = g->ephemeron = g->allweak = NULL; in lua_newstate()
[all …]
H A Dlgc.h47 #define issweepphase(g) \ argument
48 (GCSsweepstring <= (g)->gcstate && (g)->gcstate <= GCSsweep)
50 #define isgenerational(g) ((g)->gckind == KGC_GEN) argument
61 #define keepinvariant(g) (isgenerational(g) || g->gcstate <= GCSatomic) argument
68 #define keepinvariantout(g) \ argument
69 check_exp(g->gcstate == GCSpropagate || !isgenerational(g), \
70 g->gcstate <= GCSatomic)
110 #define otherwhite(g) (g->currentwhite ^ WHITEBITS) argument
112 #define isdead(g,v) isdeadm(otherwhite(g), (v)->gch.marked) argument
119 #define luaC_white(g) cast(lu_byte, (g)->currentwhite & WHITEBITS) argument
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dgroup.c60 kmem_free(g->grp_set, g->grp_capacity * sizeof (void *)); in group_destroy()
63 g->grp_set = NULL; in group_destroy()
76 g->grp_size = 0; in group_empty()
93 g->grp_size == g->grp_capacity) in group_add()
96 ASSERT(g->grp_size != g->grp_capacity || (gflag & GRP_RESIZE)); in group_add()
99 if (g->grp_size > g->grp_capacity) in group_add()
100 group_grow_set(g); in group_add()
131 group_pack_set(g->grp_set, g->grp_size); in group_remove()
132 g->grp_size--; in group_remove()
135 g->grp_size > GRP_SET_SIZE_DEFAULT && ISP2(g->grp_size)) in group_remove()
[all …]
/illumos-gate/usr/src/uts/common/klm/
H A Dklmmod.c73 struct nlm_globals *g; in lm_zone_init() local
75 g = kmem_zalloc(sizeof (*g), KM_SLEEP); in lm_zone_init()
92 g->lockd_pid = 0; in lm_zone_init()
94 g->nlm_zoneid = zoneid; in lm_zone_init()
97 return (g); in lm_zone_init()
118 kmem_free(g, sizeof (*g)); in lm_zone_fini()
184 struct nlm_globals *g; in lm_svc() local
304 mutex_exit(&g->lock); in lm_svc()
333 pid = g->lockd_pid; in lm_shutdown()
334 mutex_exit(&g->lock); in lm_shutdown()
[all …]
H A Dnlm_impl.c318 struct nlm_globals *g; in nlm_kmem_reclaim() local
351 mutex_enter(&g->lock); in nlm_gc()
357 (void) cv_timedwait(&g->nlm_gc_sched_cv, &g->lock, in nlm_gc()
491 mutex_exit(&g->lock); in nlm_gc()
504 struct nlm_globals *g; in nlm_reclaimer() local
641 mutex_exit(&g->lock); in nlm_suspend_zone()
743 mutex_exit(&g->lock); in nlm_resume_zone()
2394 stat = nlm_nsm_stat(&g->nlm_nsm, &g->nsm_state); in nlm_svc_starting()
2419 nlm_svc_stopping(g); in nlm_svc_starting()
2456 cv_wait(&g->nlm_gc_finish_cv, &g->lock); in nlm_svc_stopping()
[all …]
/illumos-gate/usr/src/lib/libfru/libfru/
H A Dyy-lsed26 s/yyback/fruback/g
27 s/yybgin/frubgin/g
32 s/yyfnd/frufnd/g
33 s/yyin/fruin/g
35 s/yyleng/fruleng/g
36 s/yylex/frulex/g
38 s/yylook/frulook/g
39 s/yylsp/frulsp/g
41 s/yytext/frutext/g
46 s/yyout/fruout/g
[all …]
H A Dyy-sed26 s/yyact/fruact/g
28 s/yychk/fruchk/g
30 s/yydef/frudef/g
34 s/yylex/frulex/g
39 s/yypgo/frupgo/g
40 s/yyps/frups/g
41 s/yypv/frupv/g
42 s/yyr1/frur1/g
43 s/yyr2/frur2/g
45 s/yys/frus/g
[all …]
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dregfree.c54 struct re_guts *g; in regfree() local
60 g = preg->re_g; in regfree()
61 if (g == NULL || g->magic != MAGIC2) /* oops again */ in regfree()
66 if (g->strip != NULL) in regfree()
67 free((char *)g->strip); in regfree()
68 if (g->sets != NULL) { in regfree()
74 free((char *)g->sets); in regfree()
76 if (g->must != NULL) in regfree()
77 free(g->must); in regfree()
81 free(g->matchjump); in regfree()
[all …]
H A Dregcomp.c270 p->g = g; in regcomp()
331 g->nplus = pluscount(p, g); in regcomp()
1275 cs = &p->g->sets[p->g->ncsets++]; in allocset()
1287 cset *top = &p->g->sets[p->g->ncsets]; in freeset()
1700 g->must = malloc((size_t)g->mlen + 1); in findmust()
1709 while (cp < g->must + g->mlen) { in findmust()
1716 assert(cp == g->must + g->mlen); in findmust()
1816 g->charjump = &g->charjump[-(CHAR_MIN)]; in computejumps()
1823 g->charjump[ch] = g->mlen; in computejumps()
1832 g->charjump[(int)g->must[mindex]] = g->mlen - mindex - 1; in computejumps()
[all …]
H A Dengine.c83 struct re_guts *g; member
222 if (g->charjump != NULL && g->matchjump != NULL) { in matcher()
224 mustlast = g->must + g->mlen - 1; in matcher()
259 memcmp(dp, g->must, (size_t)g->mlen) == 0) in matcher()
267 m->g = g; in matcher()
286 nstart = stepback(start, dp, g->moffset, g->mb_cur_max); in matcher()
693 s = m->g->strip[ss]; in backref()
840 i = m->g->nbol; in walk()
845 i += m->g->neol; in walk()
921 s = g->strip[pc]; in step()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Dhunt2.c140 g = j = 0; in doquery()
189 "%d\n", g, master.b[g-1], in doquery()
194 "%d\n", g, master.a[g-1], in doquery()
212 master.b[g-1], coord[g-1], in doquery()
217 master.a[g-1], coord[g-1], in doquery()
226 coord[g++] = 1; in doquery()
246 master.b[g-1], coord[g-1]); in doquery()
250 master.a[g-1], coord[g-1]); in doquery()
253 nf = g; in doquery()
270 nf = g; in doquery()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dengine.c849 if (g == NULL || g->a_ctx->ctx_smfi == NULL)
1177 mi_clr_macros(g->a_ctx, g->a_idx + 1);
1272 return (*fi_connect)(g->a_ctx, g->a_buf,
1287 st_eoh(g) in st_eoh() argument
1343 mi_clr_macros(g->a_ctx, g->a_idx + 1);
1348 if (g->a_len == 0 || g->a_buf[g->a_len - 1] != '\0')
1350 return (*fi_helo)(g->a_ctx, g->a_buf);
1390 mi_clr_macros(g->a_ctx, g->a_idx + 1); \
1479 if (g == NULL || g->a_len < 1)
1515 g->a_ctx->ctx_mac_buf[i] = g->a_buf;
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarfstring.c83 g->s_data = ""; in dwarfstring_constructor()
84 g->s_size = 0; in dwarfstring_constructor()
85 g->s_avail = 0; in dwarfstring_constructor()
95 g->s_size - g->s_avail; in dwarfstring_resize_to()
112 g->s_data = b; in dwarfstring_resize_to()
123 if (!g->s_size) { in dwarfstring_reset()
127 g->s_avail = g->s_size; in dwarfstring_reset()
156 g->s_size = len; in dwarfstring_constructor_static()
181 unsigned long lastpos = g->s_size - g->s_avail; in dwarfstring_append_length()
198 g->s_data[g->s_size - g->s_avail] = 0; in dwarfstring_append_length()
[all …]
/illumos-gate/usr/src/uts/common/io/mlxcx/
H A Dmlxcx_ring.c531 mlxcx_remove_all_umcast_entries(mlxp, g->mlg_port, g); in mlxcx_teardown_rx_group()
645 kmem_free(g->mlg_wqs, g->mlg_wqs_size); in mlxcx_teardown_rx_group()
683 kmem_free(g->mlg_wqs, g->mlg_wqs_size); in mlxcx_teardown_tx_group()
767 g->mlg_wqs_size = g->mlg_nwqs * sizeof (mlxcx_work_queue_t); in mlxcx_rx_group_setup()
768 g->mlg_wqs = kmem_zalloc(g->mlg_wqs_size, KM_SLEEP); in mlxcx_rx_group_setup()
773 while (g->mlg_rqt->mlrqt_max < g->mlg_nwqs) in mlxcx_rx_group_setup()
775 g->mlg_rqt->mlrqt_rq_size = g->mlg_rqt->mlrqt_max * in mlxcx_rx_group_setup()
812 g->mlg_rqt->mlrqt_rq[g->mlg_rqt->mlrqt_used++] = rq; in mlxcx_rx_group_setup()
1340 g->mlg_wqs_size = g->mlg_nwqs * sizeof (mlxcx_work_queue_t); in mlxcx_tx_group_setup()
1341 g->mlg_wqs = kmem_zalloc(g->mlg_wqs_size, KM_SLEEP); in mlxcx_tx_group_setup()
[all …]
/illumos-gate/usr/src/tools/smatch/src/gvpr/
H A Dsubg-rev12 for (g1 = fstsubg(g); g1; g1 = nxtsubg(g1))
21 graph_t target, g, g2;
28 for (g = fstsubg($G); g; g = nxtsubg(g)) {
29 if(g.fun == ARGV[0]) {
31 n = node($,g.ep);
34 target = g;
48 calls[sprintf("%s%d", g2.name, ++i)] = g;
57 g = find_owner(head, $G);
80 g = find_owner(e.tail, $G);
91 for (g = fstsubg($G); g; g = nxtsubg(g)) {
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/optim/
H A Dcanonical-fcmp.c1 extern double g;
3 int fcmp_eq(double a) { return (g == a); } in fcmp_eq()
4 int fcmp_ne(double a) { return (g != a); } in fcmp_ne()
6 int fcmp_gt(double a) { return (g > a); } in fcmp_gt()
7 int fcmp_ge(double a) { return (g >= a); } in fcmp_ge()
8 int fcmp_le(double a) { return (g <= a); } in fcmp_le()
9 int fcmp_lt(double a) { return (g < a); } in fcmp_lt()
11 int nfcmp_ne(double a) { return !(g == a); } in nfcmp_ne()
12 int nfcmp_eq(double a) { return !(g != a); } in nfcmp_eq()
14 int nfcmp_le(double a) { return !(g > a); } in nfcmp_le()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfcomp.c176 for (g = groups; g != NULL; g = g->fg_next)
203 g->fg_name, g->fg_ref);
219 for (g = groups; g != NULL; g = g->fg_next)
299 for (g = groups; g != NULL; g = g->fg_next) {
319 for (g = groups; g != NULL; g = g->fg_next) {
366 for (g = groups; g != grp; g = g->fg_next)
383 for (g = groups; g != grp; g = g->fg_next)
406 for (g = groups; g != NULL; g = g->fg_next) in emittail()
422 for (g = groups; g != NULL; g = g->fg_next) in emittail()
492 for (g = groups; g != NULL; g = g->fg_next) {
[all …]
/illumos-gate/usr/src/common/crypto/sha2/
H A Dsha2.c165 uint32_t g = ctx->state.s32[6]; in SHA256Transform() local
206 SHA256ROUND(a, b, c, d, e, f, g, h, 0, w0); in SHA256Transform()
209 SHA256ROUND(h, a, b, c, d, e, f, g, 1, w1); in SHA256Transform()
212 SHA256ROUND(g, h, a, b, c, d, e, f, 2, w2); in SHA256Transform()
215 SHA256ROUND(f, g, h, a, b, c, d, e, 3, w3); in SHA256Transform()
218 SHA256ROUND(e, f, g, h, a, b, c, d, 4, w4); in SHA256Transform()
221 SHA256ROUND(d, e, f, g, h, a, b, c, 5, w5); in SHA256Transform()
224 SHA256ROUND(c, d, e, f, g, h, a, b, 6, w6); in SHA256Transform()
358 ctx->state.s32[6] += g; in SHA256Transform()
375 uint64_t g = ctx->state.s64[6]; in SHA512Transform() local
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dlog.c405 g = ldexp(x, -m);
408 g = ldexp(g, -j);
410 j = N*(g-1) + .5;
412 f = g - F;
415 g = 1/(2*F+f);
416 u = 2*f*g;
467 g = ldexp(x, -m);
470 g = ldexp(g, -j);
474 f = g - F;
476 g = 1/(2*F+f);
[all …]
/illumos-gate/usr/src/lib/libm/common/C/
H A Datan.c107 #define one g[0]
108 #define p1 g[1]
109 #define p2 g[2]
110 #define p3 g[3]
111 #define p4 g[4]
112 #define p5 g[5]
113 #define p6 g[6]
114 #define q1 g[7]
115 #define q2 g[8]
116 #define q3 g[9]
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dinit_color.c51 init_color(short color, short r, short g, short b) in init_color() argument
65 if (g > 1000) g = 1000; in init_color()
68 if (g < 0) g = 0; in init_color()
76 if (ctp[color].r == r && ctp[color].g == g && ctp[color].b == b) in init_color()
81 ctp[color].r = r; ctp[color].g = g; ctp[color].b = b; in init_color()
92 _rgb_to_hls((float)r, (float)g, (float)b, &h, &l, &s); in init_color()
128 r /= 1000; g /= 1000; b /= 1000; in _rgb_to_hls()
130 max = MAX(r, g, b); in _rgb_to_hls()
131 min = MIN(r, g, b); in _rgb_to_hls()
151 gc = (max - g) / (max - min); in _rgb_to_hls()
[all …]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioGain.cc100 double g; in WeightedGain() local
106 g -= NoSigWeight; in WeightedGain()
108 g = 1.; in WeightedGain()
110 g = 0.; in WeightedGain()
115 g = 0.; in WeightedGain()
117 return (g); in WeightedGain()
125 double g; in WeightedPeak() local
132 g = 1.; in WeightedPeak()
134 g = 0.; in WeightedPeak()
139 g = 0.; in WeightedPeak()
[all …]

12345678910>>...35