Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 861) 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-lsed28 s/yyback/fruback/g
29 s/yybgin/frubgin/g
34 s/yyfnd/frufnd/g
35 s/yyin/fruin/g
37 s/yyleng/fruleng/g
38 s/yylex/frulex/g
40 s/yylook/frulook/g
41 s/yylsp/frulsp/g
43 s/yytext/frutext/g
48 s/yyout/fruout/g
[all …]
H A Dyy-sed28 s/yyact/fruact/g
30 s/yychk/fruchk/g
32 s/yydef/frudef/g
36 s/yylex/frulex/g
41 s/yypgo/frupgo/g
42 s/yyps/frups/g
43 s/yypv/frupv/g
44 s/yyr1/frur1/g
45 s/yyr2/frur2/g
47 s/yys/frus/g
[all …]
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dregfree.c54 struct re_guts *g; in regfree() local
65 g = preg->re_g; in regfree()
66 if (g == NULL || g->magic != MAGIC2) /* oops again */ in regfree()
71 if (g->strip != NULL) in regfree()
72 free((char *)g->strip); in regfree()
73 if (g->sets != NULL) { in regfree()
79 free((char *)g->sets); in regfree()
81 if (g->must != NULL) in regfree()
82 free(g->must); in regfree()
86 free(g->matchjump); in regfree()
[all …]
H A Dregcomp.c254 p->g = g; in regcomp()
315 g->nplus = pluscount(p, g); in regcomp()
1259 cs = &p->g->sets[p->g->ncsets++]; in allocset()
1271 cset *top = &p->g->sets[p->g->ncsets]; in freeset()
1669 g->must = malloc((size_t)g->mlen + 1); in findmust()
1678 while (cp < g->must + g->mlen) { in findmust()
1685 assert(cp == g->must + g->mlen); in findmust()
1785 g->charjump = &g->charjump[-(CHAR_MIN)]; in computejumps()
1792 g->charjump[ch] = g->mlen; in computejumps()
1801 g->charjump[(int)g->must[mindex]] = g->mlen - mindex - 1; in computejumps()
[all …]
H A Dengine.c82 struct re_guts *g; member
220 if (g->must != NULL) { in matcher()
221 if (g->charjump != NULL && g->matchjump != NULL) { in matcher()
223 mustlast = g->must + g->mlen - 1; in matcher()
258 memcmp(dp, g->must, (size_t)g->mlen) == 0) in matcher()
266 m->g = g; in matcher()
692 s = m->g->strip[ss]; in backref()
839 i = m->g->nbol; in walk()
844 i += m->g->neol; in walk()
920 s = g->strip[pc]; in step()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Dhunt2.c142 g = j = 0; in doquery()
191 "%d\n", g, master.b[g-1], in doquery()
196 "%d\n", g, master.a[g-1], in doquery()
214 master.b[g-1], coord[g-1], in doquery()
219 master.a[g-1], coord[g-1], in doquery()
228 coord[g++] = 1; in doquery()
248 master.b[g-1], coord[g-1]); in doquery()
252 master.a[g-1], coord[g-1]); in doquery()
255 nf = g; in doquery()
272 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);
220 for (g = groups; g != NULL; g = g->fg_next)
302 for (g = groups; g != NULL; g = g->fg_next) {
322 for (g = groups; g != NULL; g = g->fg_next) {
369 for (g = groups; g != grp; g = g->fg_next)
386 for (g = groups; g != grp; g = g->fg_next)
409 for (g = groups; g != NULL; g = g->fg_next) in emittail()
425 for (g = groups; g != NULL; g = g->fg_next) in emittail()
495 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.c53 init_color(short color, short r, short g, short b) in init_color() argument
67 if (g > 1000) g = 1000; in init_color()
70 if (g < 0) g = 0; in init_color()
78 if (ctp[color].r == r && ctp[color].g == g && ctp[color].b == b) in init_color()
83 ctp[color].r = r; ctp[color].g = g; ctp[color].b = b; in init_color()
94 _rgb_to_hls((float)r, (float)g, (float)b, &h, &l, &s); in init_color()
130 r /= 1000; g /= 1000; b /= 1000; in _rgb_to_hls()
132 max = MAX(r, g, b); in _rgb_to_hls()
133 min = MIN(r, g, b); in _rgb_to_hls()
153 gc = (max - g) / (max - min); in _rgb_to_hls()
[all …]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioGain.cc102 double g; in WeightedGain() local
108 g -= NoSigWeight; in WeightedGain()
110 g = 1.; in WeightedGain()
112 g = 0.; in WeightedGain()
117 g = 0.; in WeightedGain()
119 return (g); in WeightedGain()
127 double g; in WeightedPeak() local
134 g = 1.; in WeightedPeak()
136 g = 0.; in WeightedPeak()
141 g = 0.; in WeightedPeak()
[all …]

12345678910>>...35