| /freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
| HD | lgc.c | 59 #define makewhite(g,x) \ argument 60 (gch(x)->marked = cast_byte((gch(x)->marked & maskcolors) | luaC_white(g))) 75 #define markvalue(g,o) { checkconsistency(o); \ argument 76 if (valiswhite(o)) reallymarkobject(g,gcvalue(o)); } 78 #define markobject(g,t) { if ((t) && iswhite(obj2gco(t))) \ argument 79 reallymarkobject(g, obj2gco(t)); } 81 static void reallymarkobject (global_State *g, GCObject *o); 121 static int iscleared (global_State *g, const TValue *o) { in iscleared() argument 124 markobject(g, rawtsvalue(o)); /* strings are `values', so are never weak */ in iscleared() 136 global_State *g = G(L); in luaC_barrier_() local [all …]
|
| HD | lstate.c | 70 global_State g; member 104 void luaE_setdebt (global_State *g, l_mem debt) { in luaE_setdebt() argument 105 g->totalbytes -= (debt - g->GCdebt); in luaE_setdebt() 106 g->GCdebt = debt; in luaE_setdebt() 163 static void init_registry (lua_State *L, global_State *g) { in init_registry() argument 167 sethvalue(L, &g->l_registry, registry); in init_registry() 182 global_State *g = G(L); in f_luaopen() local 185 init_registry(L, g); in f_luaopen() 190 g->memerrmsg = luaS_newliteral(L, MEMERRMSG); in f_luaopen() 191 luaS_fix(g->memerrmsg); /* it should never be collected */ in f_luaopen() [all …]
|
| /freebsd-11-stable/contrib/lua/src/ |
| HD | lgc.c | 67 #define makewhite(g,x) \ argument 68 (x->marked = cast_byte((x->marked & maskcolors) | luaC_white(g))) 83 #define markvalue(g,o) { checkconsistency(o); \ argument 84 if (valiswhite(o)) reallymarkobject(g,gcvalue(o)); } 86 #define markobject(g,t) { if (iswhite(t)) reallymarkobject(g, obj2gco(t)); } argument 92 #define markobjectN(g,t) { if (t) markobject(g,t); } argument 94 static void reallymarkobject (global_State *g, GCObject *o); 139 static int iscleared (global_State *g, const TValue *o) { in iscleared() argument 142 markobject(g, tsvalue(o)); /* strings are 'values', so are never weak */ in iscleared() 156 global_State *g = G(L); in luaC_barrier_() local [all …]
|
| HD | lstate.c | 65 global_State g; member 98 void luaE_setdebt (global_State *g, l_mem debt) { in luaE_setdebt() argument 99 l_mem tb = gettotalbytes(g); in luaE_setdebt() 103 g->totalbytes = tb - debt; in luaE_setdebt() 104 g->GCdebt = debt; in luaE_setdebt() 184 static void init_registry (lua_State *L, global_State *g) { in init_registry() argument 188 sethvalue(L, &g->l_registry, registry); in init_registry() 204 global_State *g = G(L); in f_luaopen() local 207 init_registry(L, g); in f_luaopen() 211 g->gcrunning = 1; /* allow gc */ in f_luaopen() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
| HD | asan_globals.cpp | 34 const Global *g; member 44 Global g; member 59 ALWAYS_INLINE void PoisonShadowForGlobal(const Global *g, u8 value) { in PoisonShadowForGlobal() argument 60 FastPoisonShadow(g->beg, g->size_with_redzone, value); in PoisonShadowForGlobal() 63 ALWAYS_INLINE void PoisonRedZones(const Global &g) { in PoisonRedZones() argument 64 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); in PoisonRedZones() 65 FastPoisonShadow(g.beg + aligned_size, g.size_with_redzone - aligned_size, in PoisonRedZones() 67 if (g.size != aligned_size) { in PoisonRedZones() 69 g.beg + RoundDownTo(g.size, SHADOW_GRANULARITY), in PoisonRedZones() 70 g.size % SHADOW_GRANULARITY, in PoisonRedZones() [all …]
|
| /freebsd-11-stable/contrib/binutils/gas/ |
| HD | dep-in.sed | 5 s! \.\./! !g 6 s! \./! !g 7 s!@INCDIR@!$(INCDIR)!g 8 s!@TOPDIR@/include!$(INCDIR)!g 9 s!@BFDDIR@!$(BFDDIR)!g 10 s!@TOPDIR@/bfd!$(BFDDIR)!g 11 s!@SRCDIR@/config!$(srcdir)/config!g 12 s!@SRCDIR@/\.\./opcodes!$(srcdir)/../opcodes!g 13 s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g 14 s!@SRCDIR@/!!g [all …]
|
| /freebsd-11-stable/contrib/gcc/ |
| HD | ddg.c | 61 static void add_edge_to_ddg (ddg_ptr g, ddg_edge_ptr); 150 create_ddg_dependence (ddg_ptr g, ddg_node_ptr src_node, in create_ddg_dependence() argument 186 add_backarc_to_ddg (g, e); in create_ddg_dependence() 193 add_edge_to_ddg (g, e); in create_ddg_dependence() 198 create_ddg_dep_no_link (ddg_ptr g, ddg_node_ptr from, ddg_node_ptr to, in create_ddg_dep_no_link() argument 215 add_backarc_to_ddg (g, e); in create_ddg_dep_no_link() 217 add_edge_to_ddg (g, e); in create_ddg_dep_no_link() 225 add_deps_for_def (ddg_ptr g, struct df *df, struct df_ref *rd) in add_deps_for_def() argument 228 struct df_ru_bb_info *bb_info = DF_RU_BB_INFO (df, g->bb); in add_deps_for_def() 232 ddg_node_ptr src_node = get_node_of_insn (g, def_insn); in add_deps_for_def() [all …]
|
| /freebsd-11-stable/contrib/ntp/sntp/scripts/ |
| HD | mansec2subst.sed | 1 s/1ntp-keygenman/@NTP_KEYGEN_MS@/g 2 s/1ntp-keygenmdoc/@NTP_KEYGEN_MS@/g 3 s/1ntp-waitman/@NTP_WAIT_MS@/g 4 s/1ntp-waitmdoc/@NTP_WAIT_MS@/g 5 s/1ntpdateman/@NTPDATE_MS@/g 6 s/1ntpdatemdoc/@NTPDATE_MS@/g 7 s/1ntpdcman/@NTPDC_MS@/g 8 s/1ntpdcmdoc/@NTPDC_MS@/g 9 s/1ntpdman/@NTPD_MS@/g 10 s/1ntpdmdoc/@NTPD_MS@/g [all …]
|
| /freebsd-11-stable/sys/mips/rt305x/ |
| HD | rt305x_gpio.h | 75 #define GPIO_REG(g, n) \ argument 76 ((g<24)?(GPIO23_00_##n):(g<40)?(GPIO39_24_##n):(GPIO51_40_##n)) 77 #define GPIO_MASK(g) \ argument 78 ((g<24)?(1<<g):(g<40)?(1<<(g-24)):(1<<(g-40))) 79 #define GPIO_BIT_SHIFT(g) ((g<24)?(g):(g<40)?(g-24):(g-40)) argument 81 #define GPIO_READ(r, g, n) \ argument 82 bus_read_4(r->gpio_mem_res, GPIO_REG(g, n)) 83 #define GPIO_WRITE(r, g, n, v) \ argument 84 bus_write_4(r->gpio_mem_res, GPIO_REG(g, n), v) 95 #define GPIO_BIT_CLR(r, g, n) \ argument [all …]
|
| /freebsd-11-stable/tools/tools/netmap/ |
| HD | pkt-gen.c | 321 struct glob_arg *g; member 501 p = index(targ->g->src_mac, '-'); in extract_mac_range() 505 bcopy(ether_aton(targ->g->dst_mac), targ->dst_mac, 6); in extract_mac_range() 507 p = index(targ->g->dst_mac, '-'); in extract_mac_range() 517 get_if_mtu(const struct glob_arg *g) in get_if_mtu() argument 523 if (!strncmp(g->ifname, "netmap:", 7) && !strchr(g->ifname, '{') in get_if_mtu() 524 && !strchr(g->ifname, '}')) { in get_if_mtu() 527 strncpy(ifname, g->ifname+7, IFNAMSIZ-1); in get_if_mtu() 799 struct glob_arg *g = t->g; in update_ip() local 812 if (g->options & OPT_RANDOM_SRC) { in update_ip() [all …]
|
| /freebsd-11-stable/contrib/gcc/config/ |
| HD | darwin-crt3.c | 331 add_routine (struct keymgr_atexit_list * g, in add_routine() argument 340 _keymgr_set_and_unlock_processwide_ptr (KEYMGR_ATEXIT_LIST, g); in add_routine() 344 s->next = g->l; in add_routine() 345 g->l = s; in add_routine() 346 result = _keymgr_set_and_unlock_processwide_ptr (KEYMGR_ATEXIT_LIST, g); in add_routine() 352 run_routines (struct keymgr_atexit_list *g, in run_routines() argument 357 struct atexit_routine_list * cur = g->l; in run_routines() 360 g->l = cur->next; in run_routines() 361 _keymgr_set_and_unlock_processwide_ptr (KEYMGR_ATEXIT_LIST, g); in run_routines() 376 g = _keymgr_get_and_lock_processwide_ptr (KEYMGR_ATEXIT_LIST); in run_routines() [all …]
|
| /freebsd-11-stable/contrib/ntp/sntp/libevent/ |
| HD | bufferevent_ratelim.c | 148 struct timeval g; in ev_token_bucket_cfg_new() local 150 g.tv_sec = 1; in ev_token_bucket_cfg_new() 151 g.tv_usec = 0; in ev_token_bucket_cfg_new() 152 tick_len = &g; in ev_token_bucket_cfg_new() 185 #define LOCK_GROUP(g) EVLOCK_LOCK((g)->lock, 0) argument 186 #define UNLOCK_GROUP(g) EVLOCK_UNLOCK((g)->lock, 0) argument 188 static int bev_group_suspend_reading_(struct bufferevent_rate_limit_group *g); 189 static int bev_group_suspend_writing_(struct bufferevent_rate_limit_group *g); 190 static void bev_group_unsuspend_reading_(struct bufferevent_rate_limit_group *g); 191 static void bev_group_unsuspend_writing_(struct bufferevent_rate_limit_group *g); [all …]
|
| /freebsd-11-stable/contrib/binutils/bfd/ |
| HD | dep-in.sed | 3 s/\\\n */ /g 7 s! \./! !g 8 s! @BFD_H@!!g 9 s!@SRCDIR@/../include!$(INCDIR)!g 10 s!@TOPDIR@/include!$(INCDIR)!g 11 s!@SRCDIR@/../opcodes!$(srcdir)/../opcodes!g 12 s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g 13 s!@SRCDIR@/!!g 14 s! hosts/[^ ]*\.h! !g 15 s! sysdep.h!!g [all …]
|
| /freebsd-11-stable/lib/libc/regex/ |
| HD | regfree.c | 60 struct re_guts *g; in regfree() local 66 g = preg->re_g; in regfree() 67 if (g == NULL || g->magic != MAGIC2) /* oops again */ in regfree() 70 g->magic = 0; /* mark it invalid */ in regfree() 72 if (g->strip != NULL) in regfree() 73 free((char *)g->strip); in regfree() 74 if (g->sets != NULL) { in regfree() 75 for (i = 0; i < g->ncsets; i++) { in regfree() 76 free(g->sets[i].ranges); in regfree() 77 free(g->sets[i].wides); in regfree() [all …]
|
| HD | regcomp.c | 95 struct re_guts *g; member 147 static void stripsnug(struct parse *p, struct re_guts *g); 148 static void findmust(struct parse *p, struct re_guts *g); 150 static void computejumps(struct parse *p, struct re_guts *g); 151 static void computematchjumps(struct parse *p, struct re_guts *g); 152 static sopno pluscount(struct parse *p, struct re_guts *g); 221 struct re_guts *g; in regcomp() local 244 g = (struct re_guts *)malloc(sizeof(struct re_guts)); in regcomp() 245 if (g == NULL) in regcomp() 258 free((char *)g); in regcomp() [all …]
|
| /freebsd-11-stable/lib/libc/stdio/ |
| HD | findfp.c | 97 struct glue *g; in moreglue() local 103 g = (struct glue *)malloc(sizeof(*g) + align + n * sizeof(FILE)); in moreglue() 104 if (g == NULL) in moreglue() 106 p = (FILE *)roundup((uintptr_t)(g + 1), align); in moreglue() 107 g->next = NULL; in moreglue() 108 g->niobs = n; in moreglue() 109 g->iobs = p; in moreglue() 112 return (g); in moreglue() 123 struct glue *g; in __sfp() local 131 for (g = &__sglue; g != NULL; g = g->next) { in __sfp() [all …]
|
| /freebsd-11-stable/contrib/sendmail/libmilter/ |
| HD | engine.c | 843 st_optionneg(g) in st_optionneg() argument 844 genarg *g; in st_optionneg() 857 if (g == NULL || g->a_ctx->ctx_smfi == NULL) 859 ctx = g->a_ctx; 860 mi_clr_macros(ctx, g->a_idx + 1); 864 if (g->a_len < MILTER_OPTLEN) 869 (long) ctx->ctx_id, (int) g->a_len, 875 (void) memcpy((void *) &i, (void *) &(g->a_buf[0]), MILTER_LEN_BYTES); 895 (void) memcpy((void *) &i, (void *) &(g->a_buf[MILTER_LEN_BYTES]), 905 (void) memcpy((void *) &i, (void *) &(g->a_buf[MILTER_LEN_BYTES * 2]), [all …]
|
| /freebsd-11-stable/contrib/subversion/subversion/svn/ |
| HD | mergeinfo-cmd.c | 105 const char *g[ROWS][COLS] = {{0}}; in mergeinfo_diagram() local 111 g[0][0] = apr_psprintf(pool, " %-8ld ", yca_rev); in mergeinfo_diagram() 112 g[1][0] = " | "; in mergeinfo_diagram() 115 g[2][0] = "-------| |--"; in mergeinfo_diagram() 116 g[3][0] = " \\ "; in mergeinfo_diagram() 117 g[4][0] = " \\ "; in mergeinfo_diagram() 118 g[5][0] = " --| |--"; in mergeinfo_diagram() 122 g[2][0] = " --| |--"; in mergeinfo_diagram() 123 g[3][0] = " / "; in mergeinfo_diagram() 124 g[4][0] = " / "; in mergeinfo_diagram() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
| HD | regcomp.c | 200 struct re_guts *g; member 296 struct re_guts *g; in llvm_regcomp() local 318 g = (struct re_guts *)malloc(sizeof(struct re_guts) + in llvm_regcomp() 320 if (g == NULL) in llvm_regcomp() 326 free((char *)g); in llvm_regcomp() 331 p->g = g; in llvm_regcomp() 340 g->csetsize = NC; in llvm_regcomp() 341 g->sets = NULL; in llvm_regcomp() 342 g->setbits = NULL; in llvm_regcomp() 343 g->ncsets = 0; in llvm_regcomp() [all …]
|
| /freebsd-11-stable/contrib/libstdc++/libsupc++/ |
| D | guard.cc | 67 __test_and_acquire (__cxxabiv1::__guard *g) in __test_and_acquire() argument 69 bool b = _GLIBCXX_GUARD_TEST (g); in __test_and_acquire() 78 __set_and_release (__cxxabiv1::__guard *g) in __set_and_release() argument 81 _GLIBCXX_GUARD_SET (g); in __set_and_release() 116 recursion_push (__guard* g) in recursion_push() argument 117 { return ((char *)g)[1]++; } in recursion_push() 120 recursion_pop (__guard* g) in recursion_pop() argument 121 { --((char *)g)[1]; } in recursion_pop() 124 acquire (__guard *g) in acquire() argument 126 if (_GLIBCXX_GUARD_TEST (g)) in acquire() [all …]
|
| /freebsd-11-stable/contrib/nvi/regex/ |
| HD | regfree.c | 56 struct re_guts *g; in regfree() local 61 g = preg->re_g; in regfree() 62 if (g == NULL || g->magic != MAGIC2) /* oops again */ in regfree() 65 g->magic = 0; /* mark it invalid */ in regfree() 67 if (g->strip != NULL) in regfree() 68 free((char *)g->strip); in regfree() 69 if (g->stripdata != NULL) in regfree() 70 free((char *)g->stripdata); in regfree() 71 if (g->sets != NULL) in regfree() 72 free((char *)g->sets); in regfree() [all …]
|
| HD | regcomp.c | 69 struct re_guts *g; member 113 static int isinsets(struct re_guts *g, int c); 114 static int samesets(struct re_guts *g, int c1, int c2); 116 static void categorize(struct parse *p, struct re_guts *g); 122 static void stripsnug(struct parse *p, struct re_guts *g); 123 static void findmust(struct parse *p, struct re_guts *g); 124 static sopno pluscount(struct parse *p, struct re_guts *g); 171 ((p)->ncsalloc / CHAR_BIT * (p)->g->csetsize + \ 183 struct re_guts *g; in regcomp() local 205 g = (struct re_guts *)malloc(sizeof(struct re_guts) + in regcomp() [all …]
|
| /freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/ |
| HD | bitmap.h | 157 bitmap_t g; in bitmap_get() local 161 g = bitmap[goff]; in bitmap_get() 162 return (!(g & (ZU(1) << (bit & BITMAP_GROUP_NBITS_MASK)))); in bitmap_get() 170 bitmap_t g; in bitmap_set() local 176 g = *gp; in bitmap_set() 177 assert(g & (ZU(1) << (bit & BITMAP_GROUP_NBITS_MASK))); in bitmap_set() 178 g ^= ZU(1) << (bit & BITMAP_GROUP_NBITS_MASK); in bitmap_set() 179 *gp = g; in bitmap_set() 183 if (g == 0) { in bitmap_set() 189 g = *gp; in bitmap_set() [all …]
|
| /freebsd-11-stable/contrib/netbsd-tests/lib/libc/regex/ |
| HD | debug.c | 55 struct re_guts *g = r->re_g; in regprint() local 60 fprintf(d, "%ld states, %zu categories", (long)g->nstates, in regprint() 61 g->ncategories); in regprint() 62 fprintf(d, ", first %ld last %ld", (long)g->firststate, in regprint() 63 (long)g->laststate); in regprint() 64 if (g->iflags&USEBOL) in regprint() 66 if (g->iflags&USEEOL) in regprint() 68 if (g->iflags&BAD) in regprint() 70 if (g->nsub > 0) in regprint() 71 fprintf(d, ", nsub=%ld", (long)g->nsub); in regprint() [all …]
|
| /freebsd-11-stable/contrib/groff/src/devices/grohtml/ |
| HD | post-html.cpp | 548 text_glob *g = new text_glob(s, str, length, in text_glob_html() local 551 *this = *g; in text_glob_html() 552 delete g; in text_glob_html() 566 text_glob *g = new text_glob(s, str, length, in text_glob_special() local 569 *this = *g; in text_glob_special() 570 delete g; in text_glob_special() 582 text_glob *g = new text_glob(s, "", 0, in text_glob_line() local 585 *this = *g; in text_glob_line() 586 delete g; in text_glob_line() 616 text_glob *g = new text_glob(s, str, length, in text_glob_auto_image() local [all …]
|