/illumos-gate/usr/src/uts/common/klm/ |
H A D | nlm_service.c | 78 #define NLM_IN_GRACE(g) (ddi_get_lbolt() < (g)->grace_threshold) argument 283 struct nlm_globals *g; in nlm_do_notify1() local 328 struct nlm_globals *g; in nlm_do_test() local 366 if (NLM_IN_GRACE(g)) { in nlm_do_test() 478 struct nlm_globals *g; in nlm_do_lock() local 841 struct nlm_globals *g; in nlm_do_cancel() local 873 if (NLM_IN_GRACE(g)) { in nlm_do_cancel() 938 struct nlm_globals *g; in nlm_do_unlock() local 976 if (NLM_IN_GRACE(g)) { in nlm_do_unlock() 1035 struct nlm_globals *g; in nlm_do_granted() local [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/mknetid/ |
H A D | mknetid.c | 435 struct group_list *g; local 440 for (g = groups[val]; g != NULL && strcmp(g->user, user); g = g->next) 442 if (g == NULL) { 446 g->group_len = 1; 447 g->groups[0] = gid; 448 g->next = groups[val]; 449 groups[val] = g; 461 g->groups[g->group_len++] = gid; 473 struct group_list *g; local 478 for (g = groups[val]; g != NULL && strcmp(g->user, user); g = g->next) [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libsum/ |
H A D | sum-sha2.c | 506 g = sha->state[6]; in SHA256_Transform() 564 g = sha->state[6]; in SHA256_Transform() 579 h = g; in SHA256_Transform() 580 g = f; in SHA256_Transform() 602 h = g; in SHA256_Transform() 603 g = f; in SHA256_Transform() 872 g = sha->state[6]; in SHA512_Transform() 942 h = g; in SHA512_Transform() 943 g = f; in SHA512_Transform() 965 h = g; in SHA512_Transform() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/gvpr/ |
H A D | subg-fwd | 13 for (g1 = fstsubg(g); g1; g1 = nxtsubg(g1)) 22 graph_t target, g, g2; 30 for (g = fstsubg($G); g; g = nxtsubg(g)) { 31 if(g.fun == ARGV[0]) { 32 n = node($,g.ep); 35 target = g; 71 g = find_owner($, $G); 72 if(g && g != sg)
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | ioccom.h | 56 #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), (n), sizeof(t)) argument
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarfstring.h | 60 int dwarfstring_constructor(struct dwarfstring_s *g); 61 int dwarfstring_constructor_fixed(struct dwarfstring_s *g, 63 int dwarfstring_constructor_static(struct dwarfstring_s *g, 66 void dwarfstring_destructor(struct dwarfstring_s *g); 67 int dwarfstring_reset(struct dwarfstring_s *g); 70 int dwarfstring_append(struct dwarfstring_s *g,char *str); 74 int dwarfstring_append_length(struct dwarfstring_s *g, 84 char * dwarfstring_string(struct dwarfstring_s *g); 85 unsigned long dwarfstring_strlen(struct dwarfstring_s *g);
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | out.c | 202 g = mandoc_malloc(sizeof(*g)); in tblcalc() 203 g->next = *gp; in tblcalc() 207 *gp = g; in tblcalc() 242 for (icol = g->startcol; icol <= g->endcol; icol++) { in tblcalc() 253 *gp = g->next; in tblcalc() 254 free(g); in tblcalc() 283 for (g = first_group; g != NULL; g = g->next) { in tblcalc() 285 for (icol = g->startcol; icol <= g->endcol; icol++) in tblcalc() 302 for (icol = g->startcol; icol <= g->endcol; icol++) { in tblcalc() 314 *gp = g->next; in tblcalc() [all …]
|
/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/ |
H A D | process_msg_template.sh | 58 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 > $… 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
|
/illumos-gate/usr/src/cmd/bc/ |
H A D | lib.b.data | 61 g = c/d 63 g = g/1 65 g = g*g 75 e=g 119 g=c/d 120 if(g==e){ 125 e=g 203 g=c/d 209 e=g 241 g=b/c [all …]
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | compat.c | 145 if (g != NULL) in DSA_get0_pqg() 146 *g = d->g; in DSA_get0_pqg() 157 (d->g == NULL && g == NULL)) in DSA_set0_pqg() 168 if (g != NULL) { in DSA_set0_pqg() 169 BN_free(d->g); in DSA_set0_pqg() 170 d->g = g; in DSA_set0_pqg() 265 if (g != NULL) in DH_get0_pqg() 266 *g = dh->g; in DH_get0_pqg() 287 if (g != NULL) { in DH_set0_pqg() 288 BN_free(dh->g); in DH_set0_pqg() [all …]
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | lgamma.c | 37 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 D | lgamma_r.c | 35 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()
|
H A D | gamma.c | 37 double g; in gamma() local 42 g = rint(x); in gamma() 43 if (x == g && x <= 0.0) { in gamma() 48 g = __k_lgamma(x, &signgam); in gamma() 49 if (!finite(g)) in gamma() 50 g = _SVID_libm_err(x, x, 40); in gamma() 51 return (g); in gamma()
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lmem.c | 77 global_State *g = G(L); in luaM_realloc_() local 81 if (nsize > realosize && g->gcrunning) in luaM_realloc_() 84 newblock = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_() 88 if (g->gcrunning) { in luaM_realloc_() 90 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */ in luaM_realloc_() 96 g->GCdebt = (g->GCdebt + nsize) - realosize; in luaM_realloc_()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | heredoc.sh | 35 g=$tmp/here2 42 cat > $g <<\! 46 cat > $g <<- ! 50 cat > $g <<- \! 55 cat > $g <<! 58 cmp $f $g 2> /dev/null || err_exit "'$x world' here doc not working" 59 cat > $g <<! 72 cmp $f $g 2> /dev/null || err_exit "unquoted here doc not working" 84 cat >$g << : 87 cmp /dev/null $g 2> /dev/null || err_exit "empty here doc not working" [all …]
|
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | getgrent.c | 114 return (g->gr_name); 143 return (g->gr_gid == argp->key.gid); 169 struct group *g; local 189 g = (struct group *)gb->result; 198 for (mem = g->gr_mem; *mem != 0; mem++) { 200 int gid = g->gr_gid; 260 g->gr_name, 261 fields[1] != 0 ? fields[1] : g->gr_passwd, 262 g->gr_gid); 270 for (memp = g->gr_mem; *memp != 0; memp++) { [all …]
|
/illumos-gate/usr/src/uts/common/io/mlxcx/ |
H A D | mlxcx_gld.c | 633 mlxcx_ring_group_t *g; in mlxcx_mac_setpromisc() local 677 ft = g->mlg_rx_vlan_ft; in mlxcx_mac_setpromisc() 719 mutex_exit(&g->mlg_mtx); in mlxcx_mac_multicast() 737 mutex_exit(&g->mlg_mtx); in mlxcx_group_add_mac() 760 mutex_exit(&g->mlg_mtx); in mlxcx_group_add_vlan() 782 mutex_exit(&g->mlg_mtx); in mlxcx_group_remove_vlan() 815 ASSERT(g != NULL); in mlxcx_mac_ring_start() 965 mlxcx_ring_group_t *g; in mlxcx_mac_fill_tx_ring() local 1057 mlxcx_ring_group_t *g; in mlxcx_mac_fill_rx_ring() local 1099 mlxcx_ring_group_t *g; in mlxcx_mac_fill_rx_group() local [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ |
H A D | pipeio2.ok | 1 'echo January 1997 | sed "s/[0-9]/./g"' 3 'echo S M Tu W Th F S | sed "s/[0-9]/./g"' 5 'echo 1 2 3 4 | sed "s/[0-9]/./g"' 7 'echo 5 6 7 8 9 10 11 | sed "s/[0-9]/./g"' 9 'echo 12 13 14 15 16 17 18 | sed "s/[0-9]/./g"' 11 'echo 19 20 21 22 23 24 25 | sed "s/[0-9]/./g"' 13 'echo 26 27 28 29 30 31 | sed "s/[0-9]/./g"'
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | sm_compare3.c | 6 int e, f, g; variable 24 g = e + f; in main() 26 __smatch_implied(g); in main() 28 __smatch_compare(g, e); in main() 29 __smatch_compare(e, g); in main() 30 __smatch_implied(g - e); in main() 31 __smatch_implied(g - f); in main()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | fwalk.c | 40 register struct sm_glue *g; variable 44 for (g = &smglue; g != NULL; g = g->gl_next) 46 for (fp = g->gl_iobs, n = g->gl_niobs; --n >= 0; fp++)
|
H A D | findfp.c | 119 register struct sm_glue *g; local 122 g = (struct sm_glue *) sm_pmalloc_x(sizeof(*g) + SM_ALIGN_BITS + 124 p = (SM_FILE_T *) SM_ALIGN(g + 1); 125 g->gl_next = NULL; 126 g->gl_niobs = n; 127 g->gl_iobs = p; 130 return g; 155 register struct sm_glue *g; local 168 for (g = &smglue;; g = g->gl_next) 170 for (fp = g->gl_iobs, n = g->gl_niobs; --n >= 0; fp++) [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | frexp.c | 51 double g; 53 g = 1; 56 pow2tab[x] = g; 57 g *= 2; 75 double g; 86 g = 1.0L / f; 90 if (g < pow2(x)) 92 else if (k == 1 && g < pow2(x+1)) 97 if (g == pow2(x))
|
H A D | frexpl.c | 55 _ast_fltmax_t g; 57 g = 1; 60 pow2tab[x] = g; 61 g *= 2; 81 _ast_fltmax_t g; 92 g = 1.0L / f; 96 if (g < pow2(x)) 98 else if (k == 1 && g < pow2(x+1)) 103 if (g == pow2(x))
|
/illumos-gate/usr/src/tools/smatch/src/validation/mem2reg/ |
H A D | alias-mixed.c | 1 extern int g; 7 g = 2; in foo() 13 g = 1; in bar() 15 return g == 1; in bar() 20 foo(&g); in test() 21 bar(&g); in test()
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | regexec.c | 145 #define CLEAR(v) (void) memset(v, 0, m->g->nstates) 149 #define ASSIGN(d, s) (void) memcpy(d, s, m->g->nstates) 150 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0) 199 struct re_guts *g = preg->re_g; in regexec() local 210 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2) in regexec() 212 assert(!(g->iflags&BAD)); in regexec() 213 if (g->iflags&BAD) /* backstop for no-debug case */ in regexec() 217 if (g->mb_cur_max > 1) in regexec() 218 return (mmatcher(g, string, nmatch, pmatch, eflags)); in regexec() 220 return (smatcher(g, string, nmatch, pmatch, eflags)); in regexec() [all …]
|