Home
last modified time | relevance | path

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

12345678910>>...28

/titanic_52/usr/src/lib/libbc/libc/gen/common/
H A Dgetgraent.c78 struct gradata *g = gradata; in _gradata() local
80 if (g == 0) { in _gradata()
81 g = (struct gradata *)calloc(1, sizeof (struct gradata)); in _gradata()
82 gradata = g; in _gradata()
84 return (g); in _gradata()
90 struct gradata *g = _gradata(); in getgranam() local
95 if (g == 0) in getgranam()
97 if (!g->grfa) in getgranam()
99 while (fgets(line, BUFSIZ, g->grfa) != NULL) { in getgranam()
114 struct gradata *g in setgraent() local
133 struct gradata *g = _gradata(); endgraent() local
171 struct gradata *g = _gradata(); getgraent() local
234 struct gradata *g = _gradata(); interpret() local
261 struct gradata *g = _gradata(); freeminuslist() local
276 struct gradata *g = _gradata(); interpretwithsave() local
291 struct gradata *g = _gradata(); onminuslist() local
307 struct gradata *g = _gradata(); getnextfromyellow() local
331 struct gradata *g = _gradata(); getfirstfromyellow() local
354 struct gradata *g = _gradata(); getnamefromyellow() local
383 struct gradata *g = _gradata(); addtominuslist() local
405 struct gradata *g = _gradata(); save() local
[all...]
/titanic_52/usr/src/uts/common/os/
H A Dgroup.c45 group_create(group_t *g) in group_create() argument
47 bzero(g, sizeof (group_t)); in group_create()
55 group_destroy(group_t *g) in group_destroy() argument
57 ASSERT(g->grp_size == 0); in group_destroy()
59 if (g->grp_capacity > 0) { in group_destroy()
60 kmem_free(g->grp_set, g->grp_capacity * sizeof (void *)); in group_destroy()
61 g->grp_capacity = 0; in group_destroy()
63 g->grp_set = NULL; in group_destroy()
71 group_empty(group_t *g) in group_empty() argument
88 group_add(group_t * g,void * e,int gflag) group_add() argument
114 group_remove(group_t * g,void * e,int gflag) group_remove() argument
146 group_expand(group_t * g,uint_t n) group_expand() argument
156 group_grow_set(group_t * g) group_grow_set() argument
196 group_shrink_set(group_t * g) group_shrink_set() argument
282 group_iterate(group_t * g,group_iter_t * iter) group_iterate() argument
301 group_access_at(group_t * g,uint_t idx) group_access_at() argument
318 group_add_at(group_t * g,void * e,uint_t idx) group_add_at() argument
335 group_remove_at(group_t * g,uint_t idx) group_remove_at() argument
346 group_find(group_t * g,void * e) group_find() argument
[all...]
/titanic_52/usr/src/uts/common/klm/
H A Dklmmod.c74 struct nlm_globals *g; in lm_zone_init() local
76 g = kmem_zalloc(sizeof (*g), KM_SLEEP); in lm_zone_init()
78 avl_create(&g->nlm_hosts_tree, nlm_host_cmp, in lm_zone_init()
82 g->nlm_hosts_hash = mod_hash_create_idhash("nlm_host_by_sysid", in lm_zone_init()
85 TAILQ_INIT(&g->nlm_idle_hosts); in lm_zone_init()
86 TAILQ_INIT(&g->nlm_slocks); in lm_zone_init()
88 mutex_init(&g->lock, NULL, MUTEX_DEFAULT, NULL); in lm_zone_init()
89 cv_init(&g->nlm_gc_sched_cv, NULL, CV_DEFAULT, NULL); in lm_zone_init()
90 cv_init(&g in lm_zone_init()
104 struct nlm_globals *g = data; lm_zone_fini() local
183 struct nlm_globals *g; lm_svc() local
318 struct nlm_globals *g; lm_shutdown() local
429 struct nlm_globals *g; lm_get_sysid() local
453 struct nlm_globals *g; lm_rel_sysid() local
[all...]
H A Dnlm_impl.c130 static struct nlm_globals_list nlm_zones_list; /* (g) */
144 static ulong_t nlm_sysid_bmap[NLM_BMAP_WORDS]; /* (g) */
145 static int nlm_sysid_nidx; /* (g) */
171 static struct nlm_knc nlm_netconfigs[] = { /* (g) */
299 nlm_globals_register(struct nlm_globals *g) in nlm_globals_register() argument
302 TAILQ_INSERT_TAIL(&nlm_zones_list, g, nlm_link); in nlm_globals_register()
307 nlm_globals_unregister(struct nlm_globals *g) in nlm_globals_unregister() argument
310 TAILQ_REMOVE(&nlm_zones_list, g, nlm_link); in nlm_globals_unregister()
318 struct nlm_globals *g; in nlm_kmem_reclaim() local
321 TAILQ_FOREACH(g, in nlm_kmem_reclaim()
345 nlm_gc(struct nlm_globals * g) nlm_gc() argument
504 struct nlm_globals *g; nlm_reclaimer() local
601 nlm_suspend_zone(struct nlm_globals * g) nlm_suspend_zone() argument
663 nlm_resume_zone(struct nlm_globals * g) nlm_resume_zone() argument
1194 nlm_host_unregister(struct nlm_globals * g,struct nlm_host * hostp) nlm_host_unregister() argument
1344 struct nlm_globals *g; nlm_host_wait_grace() local
1411 nlm_host_cancel_slocks(struct nlm_globals * g,struct nlm_host * hostp) nlm_host_cancel_slocks() argument
1610 nlm_host_find_locked(struct nlm_globals * g,const char * netid,struct netbuf * naddr,avl_index_t * wherep) nlm_host_find_locked() argument
1647 nlm_host_find(struct nlm_globals * g,const char * netid,struct netbuf * addr) nlm_host_find() argument
1673 nlm_host_findcreate(struct nlm_globals * g,char * name,const char * netid,struct netbuf * addr) nlm_host_findcreate() argument
1747 nlm_host_find_by_sysid(struct nlm_globals * g,sysid_t sysid) nlm_host_find_by_sysid() argument
1792 nlm_host_release_locked(struct nlm_globals * g,struct nlm_host * hostp) nlm_host_release_locked() argument
1818 nlm_host_release(struct nlm_globals * g,struct nlm_host * hostp) nlm_host_release() argument
1833 nlm_host_unmonitor(struct nlm_globals * g,struct nlm_host * host) nlm_host_unmonitor() argument
1856 nlm_host_monitor(struct nlm_globals * g,struct nlm_host * host,int state) nlm_host_monitor() argument
1937 nlm_slock_register(struct nlm_globals * g,struct nlm_host * host,struct nlm4_lock * lock,struct vnode * vp) nlm_slock_register() argument
1963 nlm_slock_unregister(struct nlm_globals * g,struct nlm_slock * nslp) nlm_slock_unregister() argument
1988 nlm_slock_wait(struct nlm_globals * g,struct nlm_slock * nslp,uint_t timeo_secs) nlm_slock_wait() argument
2047 nlm_slock_grant(struct nlm_globals * g,struct nlm_host * hostp,struct nlm4_lock * alock) nlm_slock_grant() argument
2347 nlm_svc_starting(struct nlm_globals * g,struct file * fp,const char * netid,struct knetconfig * knc) nlm_svc_starting() argument
2438 nlm_svc_stopping(struct nlm_globals * g) nlm_svc_stopping() argument
2527 struct nlm_globals *g; nlm_vp_active() local
2567 struct nlm_globals *g; nlm_unexport() local
2763 struct nlm_globals *g; nlm_cprsuspend() local
2775 struct nlm_globals *g; nlm_cprresume() local
[all...]
H A Dnlm_service.c78 #define NLM_IN_GRACE(g) (ddi_get_lbolt() < (g)->grace_threshold) argument
282 struct nlm_globals *g; in nlm_do_notify1() local
286 g = zone_getspecific(nlm_zone_key, curzone); in nlm_do_notify1()
292 host = nlm_host_find_by_sysid(g, (sysid_t)sysid); in nlm_do_notify1()
298 nlm_host_release(g, host); in nlm_do_notify1()
322 struct nlm_globals *g; in nlm_do_test() local
340 g = zone_getspecific(nlm_zone_key, curzone); in nlm_do_test()
341 host = nlm_host_findcreate(g, name, netid, addr); in nlm_do_test()
360 if (NLM_IN_GRACE(g)) { in nlm_do_test()
463 struct nlm_globals *g; nlm_do_lock() local
773 struct nlm_globals *g; nlm_do_cancel() local
870 struct nlm_globals *g; nlm_do_unlock() local
967 struct nlm_globals *g; nlm_do_granted() local
1022 struct nlm_globals *g; nlm_do_free_all() local
1127 struct nlm_globals *g; nlm_do_share() local
1195 struct nlm_globals *g; nlm_do_unshare() local
[all...]
/titanic_52/usr/src/lib/libfru/libfru/
H A Dyy-lsed28 s/yyback/fruback/g
29 s/yybgin/frubgin/g
30 s/yycrank/frucrank/g
31 s/yyerror/fruerror/g
32 s/yyestate/fruestate/g
33 s/yyextra/fruextra/g
34 s/yyfnd/frufnd/g
35 s/yyin/fruin/g
36 s/yyinput/fruinput/g
37 s/yyleng/fruleng/g
[all...]
H A Dyy-sed28 s/yyact/fruact/g
29 s/yychar/fruchar/g
30 s/yychk/fruchk/g
31 s/yydebug/frudebug/g
32 s/yydef/frudef/g
33 s/yyerrflag/fruerrflag/g
34 s/yyerror/fruerror/g
35 s/yyexca/fruexca/g
36 s/yylex/frulex/g
37 s/yylval/frulval/g
[all...]
/titanic_52/usr/src/lib/libc/port/locale/
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()
69 g->magic = 0; /* mark it invalid */ in regfree()
71 if (g->strip != NULL) in regfree()
72 free((char *)g->strip); in regfree()
73 if (g->sets != NULL) { in regfree()
74 for (i = 0; i < g->ncsets; i++) { in regfree()
75 free(g in regfree()
[all...]
H A Dregcomp.c70 struct re_guts *g; member
111 static void stripsnug(struct parse *p, struct re_guts *g);
112 static void findmust(struct parse *p, struct re_guts *g);
114 static void computejumps(struct parse *p, struct re_guts *g);
115 static void computematchjumps(struct parse *p, struct re_guts *g);
116 static sopno pluscount(struct parse *p, struct re_guts *g);
172 struct re_guts *g; in regcomp() local
195 g = (struct re_guts *)malloc(sizeof (struct re_guts)); in regcomp()
196 if (g == NULL) in regcomp()
202 free((char *)g); in regcomp()
1342 stripsnug(struct parse * p,struct re_guts * g) stripsnug() argument
1362 findmust(struct parse * p,struct re_guts * g) findmust() argument
1613 computejumps(struct parse * p,struct re_guts * g) computejumps() argument
1658 computematchjumps(struct parse * p,struct re_guts * g) computematchjumps() argument
1734 pluscount(struct parse * p,struct re_guts * g) pluscount() argument
[all...]
H A Dengine.c79 struct re_guts *g; member
150 matcher(struct re_guts *g, in matcher() argument
161 const sopno gf = g->firststate+1; /* +1 for OEND */ in matcher()
162 const sopno gl = g->laststate; in matcher()
174 if (g->cflags&REG_NOSUB) in matcher()
189 if (g->must != NULL) { in matcher()
190 if (g->charjump != NULL && g->matchjump != NULL) { in matcher()
191 mustfirst = g->must; in matcher()
192 mustlast = g in matcher()
955 step(struct re_guts * g,sopno start,sopno stop,states bef,wint_t ch,states aft) step() argument
1074 struct re_guts *g = m-&gt;g; print() local
[all...]
/titanic_52/usr/src/cmd/vi/misc/
H A Dcxref.sh31 g/STATIC/d
32 g/\<static\>/d
33 g/\<long\>/d
34 g/\<short\>/d
35 g/\<line\>/d
36 g/\<switch\>/d
37 g/\<unsigned\>/d
38 g/\<return\>/d
39 g/\<break\>/d
40 g/\<boo
[all...]
/titanic_52/usr/src/cmd/refer/
H A Dhunt2.c42 int nf = 0, best = 0, nterm = 0, i, g, j; in doquery() local
142 g = j = 0; in doquery()
181 assert(g < lmaster); in doquery()
183 master.b[g] = prevdrop.b[j]; in doquery()
185 master.a[g] = prevdrop.a[j]; in doquery()
186 coord[g++] = prevcoord[j++]; in doquery()
189 fprintf(stderr, " not skip g " in doquery()
191 "%d\n", g, master.b[g-1], in doquery()
192 coord[g in doquery()
[all...]
/titanic_52/usr/src/cmd/sendmail/libmilter/
H A Dengine.c828 ** g -- generic argument structure
835 st_optionneg(g) in st_optionneg() argument
836 genarg *g; in st_optionneg()
849 if (g == NULL || g->a_ctx->ctx_smfi == NULL)
851 ctx = g->a_ctx;
852 mi_clr_macros(ctx, g->a_idx + 1);
856 if (g->a_len < MILTER_OPTLEN)
861 (long) ctx->ctx_id, (int) g->a_len,
867 (void) memcpy((void *) &i, (void *) &(g
1165 st_connectinfo(g) st_connectinfo() argument
1287 st_eoh(g) st_eoh() argument
1311 st_data(g) st_data() argument
1336 st_helo(g) st_helo() argument
1366 st_header(g) st_header() argument
1411 st_sender(g) st_sender() argument
1428 st_rcpt(g) st_rcpt() argument
1445 st_unknown(g) st_unknown() argument
1473 st_macros(g) st_macros() argument
1531 st_quit(g) st_quit() argument
1556 st_bodychunk(g) st_bodychunk() argument
1584 st_bodyend(g) st_bodyend() argument
1629 st_abortfct(g) st_abortfct() argument
[all...]
/titanic_52/usr/src/cmd/ipf/tools/
H A Dipfcomp.c155 frgroup_t *g; local
177 for (g = groups; g != NULL; g = g->fg_next)
178 if ((strncmp(g->fg_name, f->fr_group, FR_GROUPLEN) == 0) &&
179 (g->fg_flags == (f->fr_flags & FR_INOUT)))
182 if (g == NULL) {
183 g = (frgroup_t *)calloc(1, sizeof(*g));
300 frgroup_t *g; global() local
351 frgroup_t *g; global() local
403 frgroup_t *g; emittail() local
452 frgroup_t *g; global() local
965 frgroup_t *g; global() local
[all...]
/titanic_52/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dlog.c382 double F, f, g, q, u, u2, v, zero = 0.0, one = 1.0; local
401 /* Argument reduction: 1 <= g < 2; x/2^m = g; */
405 g = ldexp(x, -m);
407 j = logb(g), m += j;
408 g = ldexp(g, -j);
410 j = N*(g-1) + .5;
412 f = g - F;
415 g
459 double F, f, g, q, u, v, u2, one = 1.0; global() local
[all...]
/titanic_52/usr/src/common/crypto/sha2/
H A Dsha2.c107 #define SHA256ROUND(a, b, c, d, e, f, g, h, i, w) \ argument
108 T1 = h + BIGSIGMA1_256(e) + Ch(e, f, g) + SHA256_CONST(i) + w; \
118 #define SHA512ROUND(a, b, c, d, e, f, g, h, i, w) \ argument
119 T1 = h + BIGSIGMA1(e) + Ch(e, f, g) + SHA512_CONST(i) + w; \
165 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, in SHA256Transform()
375 uint64_t g = ctx-&gt;state.s64[6]; SHA512Transform() local
[all...]
/titanic_52/usr/src/lib/libm/common/C/
H A Datan.c88 static const double g[] = { variable
107 #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[
[all...]
H A Dlgamma.c37 double g; in lgamma() local
42 g = rint(x); in lgamma()
43 if (x == g && x <= 0.0) { in lgamma()
48 g = __k_lgamma(x, &signgam); in lgamma()
49 if (!finite(g)) in lgamma()
50 g = _SVID_libm_err(x, x, 14); in lgamma()
51 return (g); in lgamma()
H A Dlgamma_r.c35 double g; in lgamma_r() local
40 g = rint(x); in lgamma_r()
41 if (x == g && x <= 0.0) { in lgamma_r()
46 g = __k_lgamma(x, signgamp); in lgamma_r()
47 if (!finite(g)) in lgamma_r()
48 g = _SVID_libm_err(x, x, 14); in lgamma_r()
49 return (g); in lgamma_r()
/titanic_52/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, (floa in init_color()
125 _rgb_to_hls(float r,float g,float b,int * hh,int * ll,int * ss) _rgb_to_hls() argument
[all...]
/titanic_52/usr/src/cmd/audio/utilities/
H A DAudioGain.cc102 double g; in WeightedGain() local
106 g = weighted_avgsum / gain_cache_size; in WeightedGain()
107 g /= weighted_cnt; in WeightedGain()
108 g -= NoSigWeight; in WeightedGain()
109 if (g > HiSigWeightRange) { in WeightedGain()
110 g = 1.; in WeightedGain()
111 } else if (g < 0.) { in WeightedGain()
112 g = 0.; in WeightedGain()
114 g /= HiSigWeightRange; in WeightedGain()
117 g in WeightedGain()
127 double g; WeightedPeak() local
[all...]
/titanic_52/usr/src/cmd/ypcmd/mknetid/
H A Dmknetid.c434 struct group_list *g; local
439 for (g = groups[val]; g != NULL && strcmp(g->user, user); g = g->next)
441 if (g == NULL) {
442 g = (struct group_list *)malloc(sizeof (struct group_list));
443 g->user = malloc((unsigned)strlen(user) + 1);
444 (void) strcpy(g
472 struct group_list *g; global() local
[all...]
/titanic_52/usr/src/contrib/ast/src/lib/libsum/
H A Dsum-sha2.c461 #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ argument
463 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \
472 #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ argument
473 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \
481 #define ROUND256(a,b,c,d,e,f,g,h) \ argument
486 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + K256[j] + \
493 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; in SHA256_Transform() local
506 g = sha->state[6]; in SHA256_Transform()
512 ROUND256_0_TO_15(a,b,c,d,e,f,g,h); in SHA256_Transform()
513 ROUND256_0_TO_15(h,a,b,c,d,e,f,g); in SHA256_Transform()
551 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; SHA256_Transform() local
829 ROUND512_0_TO_15(a,b,c,d,e,f,g,h) global() argument
840 ROUND512_0_TO_15(a,b,c,d,e,f,g,h) global() argument
849 ROUND512(a,b,c,d,e,f,g,h) global() argument
861 sha2_word64 a, b, c, d, e, f, g, h, s0, s1; SHA512_Transform() local
916 sha2_word64 a, b, c, d, e, f, g, h, s0, s1; SHA512_Transform() local
[all...]
/titanic_52/usr/src/boot/sys/sys/
H A Dioccom.h56 #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) argument
57 #define _IOWINT(g,n) _IOC(IOC_VOID, (g), (n), sizeof(int)) argument
58 #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) argument
59 #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) argument
61 #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), ( argument
[all...]
/titanic_52/usr/src/cmd/fm/notify/smtp-notify/common/
H A Dprocess_msg_template.sh58 cat $1 | sed s/\%\<CODE\>/$3/g > $tmpfile1
59 cat $tmpfile1 | sed s/\%\<UUID\>/\%\<uuid\>/g > $tmpfile2
60 cat $tmpfile2 | sed s/\%\<CLASS\>/\%\<class\>/g > $tmpfile1
61 cat $tmpfile1 | sed s/\%\<SEVERITY\>/$4/g > $tmpfile2
62 cat $tmpfile2 | sed s/\%\<FMRI\>/svc\:\\/\%\<attr.svc.svc-name\>\:\%\<attr.svc.svc-instance\>/g > $tmpfile1
63 cat $tmpfile1 | sed s/\%\<FROM-STATE\>/\%\<attr.from-state\>/g > $tmpfile2
64 cat $tmpfile2 | sed s/\%\<TO-STATE\>/\%\<attr.to-state\>/g > $tmpfile1
65 cat $tmpfile1 | sed s/\%\<HOSTNAME\>/\%h/g > $tmpfile2
66 cat $tmpfile2 | sed s/\%\<URL\>/\%s/g > $tmpfile1

12345678910>>...28