Home
last modified time | relevance | path

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

12345678910>>...113

/netbsd/src/external/mit/lua/dist/src/
Dlgc.c74 #define makewhite(g,x) \ argument
75 (x->marked = cast_byte((x->marked & ~maskcolors) | luaC_white(g)))
97 #define markvalue(g,o) { checkliveness(g->mainthread,o); \ argument
98 if (valiswhite(o)) reallymarkobject(g,gcvalue(o)); }
100 #define markkey(g, n) { if keyiswhite(n) reallymarkobject(g,gckey(n)); } argument
102 #define markobject(g,t) { if (iswhite(t)) reallymarkobject(g, obj2gco(t)); } argument
108 #define markobjectN(g,t) { if (t) markobject(g,t); } argument
110 static void reallymarkobject (global_State *g, GCObject *o);
188 static int iscleared (global_State *g, const GCObject *o) { in iscleared() argument
191 markobject(g, o); /* strings are 'values', so are never weak */ in iscleared()
[all …]
Dlstate.c50 global_State g; member
93 void luaE_setdebt (global_State *g, l_mem debt) { in luaE_setdebt() argument
94 l_mem tb = gettotalbytes(g); in luaE_setdebt()
98 g->totalbytes = tb - debt; in luaE_setdebt()
99 g->GCdebt = debt; in luaE_setdebt()
220 static void init_registry (lua_State *L, global_State *g) { in init_registry() argument
223 sethvalue(L, &g->l_registry, registry); in init_registry()
236 global_State *g = G(L); in f_luaopen() local
239 init_registry(L, g); in f_luaopen()
243 g->gcstp = 0; /* allow gc */ in f_luaopen()
[all …]
/netbsd/src/external/zlib/pigz/dist/
Dpigz.c507 } g; variable
514 if (g.verbosity > 0) { in complain()
515 fprintf(stderr, "%s: ", g.prog); in complain()
521 g.warned = 1; in complain()
529 if (g.outd != -1 && g.outf != NULL) in bail()
530 unlink(g.outf); in bail()
785 if (g.verbosity > 2) { \
814 bail("read error on ", g.inf); in readn()
833 bail("write error on ", g.outf); in writen()
872 if (g.form > 1) { /* zip */ in put_header()
[all …]
/netbsd/src/common/dist/zlib/examples/
Denough.c234 } g; variable
239 (left >> 1) - 1) * (g.max - 1) + in map()
245 if (g.done != NULL) { in cleanup()
246 for (size_t n = 0; n < g.size; n++) in cleanup()
247 if (g.done[n].len) in cleanup()
248 free(g.done[n].vec); in cleanup()
249 g.size = 0; in cleanup()
250 free(g.done); g.done = NULL; in cleanup()
252 free(g.num); g.num = NULL; in cleanup()
253 free(g.code); g.code = NULL; in cleanup()
[all …]
/netbsd/src/external/gpl3/binutils/dist/gas/
Ddep-in.sed3 s/\\\n */ /g
6 s! \.\./! !g
7 s! \./! !g
8 s!@INCDIR@!$(INCDIR)!g
9 s!@TOPDIR@/include!$(INCDIR)!g
10 s!@BFDDIR@!$(BFDDIR)!g
11 s!@TOPDIR@/bfd!$(BFDDIR)!g
12 s!@SRCDIR@/config!$(srcdir)/config!g
13 s!@SRCDIR@/\.\./opcodes!$(srcdir)/../opcodes!g
14 s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
[all …]
/netbsd/src/external/lgpl3/mpfr/dist/tests/
Dtget_flt.c30 equal_flt (float f, float g) in equal_flt() argument
33 return f == g; in equal_flt()
34 else if (g != 0) in equal_flt()
44 mpfr_set_flt (z, g, MPFR_RNDN); in equal_flt()
55 float f, g; in main() local
219 g = 0.0; in main()
223 g = -g; in main()
226 if (!equal_flt (f, g)) in main()
229 printf ("expected %.8e, got %.8e\n", g, f); in main()
233 if (!equal_flt (f, g)) in main()
[all …]
/netbsd/src/external/lgpl3/gmp/dist/tests/cxx/
Dt-prec.cc52 mpf_class g(1 / f, very_large_prec); in check_mpf() local
54 (g, "0.33333 33333 33333 33333 33333 33333 33333 33333 33333 33333" in check_mpf()
59 mpf_class g(0.0, very_large_prec); in check_mpf() local
60 g = 1 / f; in check_mpf()
62 (g, "0.11111 11111 11111 11111 11111 11111 11111 11111 11111 11111" in check_mpf()
67 mpf_class g(0.0, very_large_prec); in check_mpf() local
68 g = 1 / f; in check_mpf()
70 (g, "0.06666 66666 66666 66666 66666 66666 66666 66666 66666 66666" in check_mpf()
77 mpf_class g(-(-(-1 / f)), very_large_prec); in check_mpf() local
79 (g, "-0.33333 33333 33333 33333 33333 33333 33333 33333 33333 33333" in check_mpf()
[all …]
/netbsd/src/external/lgpl3/gmp/dist/tests/devel/
Dprimes.c102 mpz_t g; variable
116 *(g->_mp_d) = begin; in check_pprime()
118 if (mpz_probab_prime_p (g, REPS)) in check_pprime()
119 STOP (something_wrong (g, 0)); in check_pprime()
123 *(g->_mp_d) = begin; in check_pprime()
125 if (!composites && !mpz_probab_prime_p (g, REPS)) in check_pprime()
126 STOP (something_wrong (g, 1)); in check_pprime()
135 mpz_set_ui (g, end); in check_pprime()
136 mpz_sqrt (g, g); in check_pprime()
137 start = mpz_get_ui (g) + GMP_LIMB_BITS; in check_pprime()
[all …]
/netbsd/src/share/man/tools/
Dckfrefs38 /g
40 /g
42 /g
44 g/:$/s///
45 g/\\\\(\*/s///g
46 g/\\\\s+1/s///g
47 g/\\\\s-1/s///g
48 g/\\\\s0/s///g
49 g/\\\\f./s///g
50 g/\\\\\*S/s///g
[all …]
Dckcrefs25 g/ *\(([1-9][CMSGXJVcmsgxjv]*)\)/s//\1/
27 /g
29 /g
31 /g
33 g/\\\\\^/s///
34 g/\\\\\|/s///
35 g/([1-9][cgmsxjv])/p
36 g//d
37 g/^(/d
38 g/(/s//./
[all …]
/netbsd/src/external/gpl3/gcc/dist/libgcc/config/rs6000/
Dfloat128-sed1 s/__addtf3/__addkf3/g
2 s/__divtf3/__divkf3/g
3 s/__eqtf2/__eqkf2/g
4 s/__extenddftf2/__extenddfkf2/g
5 s/__extendsftf2/__extendsfkf2/g
6 s/__fixtfdi/__fixkfdi/g
7 s/__fixtfsi/__fixkfsi/g
8 s/__fixunstfdi/__fixunskfdi/g
9 s/__fixunstfsi/__fixunskfsi/g
10 s/__floatditf/__floatdikf/g
[all …]
Dfloat128-sed-hw1 s/__addtf3/__addkf3_sw/g
2 s/__divtf3/__divkf3_sw/g
3 s/__eqtf2/__eqkf2_sw/g
4 s/__extenddftf2/__extenddfkf2_sw/g
5 s/__extendsftf2/__extendsfkf2_sw/g
6 s/__fixtfdi/__fixkfdi_sw/g
7 s/__fixtfsi/__fixkfsi_sw/g
8 s/__fixunstfdi/__fixunskfdi_sw/g
9 s/__fixunstfsi/__fixunskfsi_sw/g
10 s/__floatditf/__floatdikf_sw/g
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dddg.cc45 static void add_edge_to_ddg (ddg_ptr g, ddg_edge_ptr);
170 create_ddg_dep_from_intra_loop_link (ddg_ptr g, ddg_node_ptr src_node, in create_ddg_dep_from_intra_loop_link() argument
212 class df_rd_bb_info *bb_info = DF_RD_BB_INFO (g->bb); in create_ddg_dep_from_intra_loop_link()
214 first_def = df_bb_regno_first_def_find (g->bb, regno); in create_ddg_dep_from_intra_loop_link()
224 add_edge_to_ddg (g, e); in create_ddg_dep_from_intra_loop_link()
229 create_ddg_dep_no_link (ddg_ptr g, ddg_node_ptr from, ddg_node_ptr to, in create_ddg_dep_no_link() argument
254 add_backarc_to_ddg (g, e); in create_ddg_dep_no_link()
256 add_edge_to_ddg (g, e); in create_ddg_dep_no_link()
267 add_cross_iteration_register_deps (ddg_ptr g, df_ref last_def) in add_cross_iteration_register_deps() argument
272 ddg_node_ptr last_def_node = get_node_of_insn (g, DF_REF_INSN (last_def)); in add_cross_iteration_register_deps()
[all …]
Dgraphds.cc29 dump_graph (FILE *f, struct graph *g) in dump_graph() argument
34 for (i = 0; i < g->n_vertices; i++) in dump_graph()
36 if (!g->vertices[i].pred in dump_graph()
37 && !g->vertices[i].succ) in dump_graph()
40 fprintf (f, "%d (%d)\t<-", i, g->vertices[i].component); in dump_graph()
41 for (e = g->vertices[i].pred; e; e = e->pred_next) in dump_graph()
46 for (e = g->vertices[i].succ; e; e = e->succ_next) in dump_graph()
57 struct graph *g = XNEW (struct graph); in new_graph() local
59 gcc_obstack_init (&g->ob); in new_graph()
60 g->n_vertices = n_vertices; in new_graph()
[all …]
Dubsan.cc650 gimple *g; in ubsan_instrument_unreachable() local
654 g = gimple_build_call (builtin_decl_explicit (BUILT_IN_TRAP), 0); in ubsan_instrument_unreachable()
662 g = gimple_build_call (fn, 1, data); in ubsan_instrument_unreachable()
664 gimple_set_location (g, loc); in ubsan_instrument_unreachable()
665 gsi_replace (gsi, g, false); in ubsan_instrument_unreachable()
719 gimple *g = gimple_build_cond (GT_EXPR, index, bound, NULL_TREE, NULL_TREE); in ubsan_expand_bounds_ifn() local
720 gimple_set_location (g, loc); in ubsan_expand_bounds_ifn()
721 gsi_insert_after (&cond_insert_point, g, GSI_NEW_STMT); in ubsan_expand_bounds_ifn()
726 g = gimple_build_call (builtin_decl_explicit (BUILT_IN_TRAP), 0); in ubsan_expand_bounds_ifn()
743 g = gimple_build_call (fn, 2, data, val); in ubsan_expand_bounds_ifn()
[all …]
/netbsd/src/external/bsd/ntp/dist/sntp/scripts/
Dmansec2subst.sed1 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 …]
/netbsd/src/usr.sbin/mrouted/
Dprune.c58 static void update_kernel(struct gtable *g);
107 struct listaddr *g; in grplst_mem() local
112 for (g = v->uv_groups; g != NULL; g = g->al_next) in grplst_mem()
113 if (mcastgrp == g->al_addr) in grplst_mem()
361 update_kernel(struct gtable *g) in update_kernel() argument
365 for (st = g->gt_srctbl; st; st = st->st_next) in update_kernel()
366 k_add_rg(st->st_origin, g); in update_kernel()
674 struct gtable *g; in add_table_entry() local
676 g = gtp ? gtp->gt_gnext : kernel_table; in add_table_entry()
679 inet_fmt(g->gt_mcastgrp), in add_table_entry()
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/
Dtemplates.cc48 char g(char, const char, volatile char) in g() function
50 char g(R, char&, const char&, volatile char&) in g() function
52 char g(char*, const char*, volatile char*) in g() function
54 char g(S, char*&, const char*&, volatile char*&) in g() function
57 signed char g(T,signed char, const signed char, volatile signed char) in g() function
59 signed char g(T, R, signed char&, const signed char&, volatile signed char&) in g() function
61 signed char g(T, signed char*, const signed char*, volatile signed char*) in g() function
63 signed char g(T, S, signed char*&, const signed char*&, volatile signed char*&) in g() function
66 unsigned char g(unsigned char, const unsigned char, volatile unsigned char) in g() function
68 unsigned char g(R, unsigned char&, const unsigned char&, volatile unsigned char&) in g() function
[all …]
/netbsd/src/external/bsd/ntp/dist/sntp/libevent/
Dbufferevent_ratelim.c150 struct timeval g; in ev_token_bucket_cfg_new() local
152 g.tv_sec = 1; in ev_token_bucket_cfg_new()
153 g.tv_usec = 0; in ev_token_bucket_cfg_new()
154 tick_len = &g; in ev_token_bucket_cfg_new()
187 #define LOCK_GROUP(g) EVLOCK_LOCK((g)->lock, 0) argument
188 #define UNLOCK_GROUP(g) EVLOCK_UNLOCK((g)->lock, 0) argument
190 static int bev_group_suspend_reading_(struct bufferevent_rate_limit_group *g);
191 static int bev_group_suspend_writing_(struct bufferevent_rate_limit_group *g);
192 static void bev_group_unsuspend_reading_(struct bufferevent_rate_limit_group *g);
193 static void bev_group_unsuspend_writing_(struct bufferevent_rate_limit_group *g);
[all …]
/netbsd/src/external/bsd/libevent/dist/
Dbufferevent_ratelim.c150 struct timeval g; in ev_token_bucket_cfg_new() local
152 g.tv_sec = 1; in ev_token_bucket_cfg_new()
153 g.tv_usec = 0; in ev_token_bucket_cfg_new()
154 tick_len = &g; in ev_token_bucket_cfg_new()
187 #define LOCK_GROUP(g) EVLOCK_LOCK((g)->lock, 0) argument
188 #define UNLOCK_GROUP(g) EVLOCK_UNLOCK((g)->lock, 0) argument
190 static int bev_group_suspend_reading_(struct bufferevent_rate_limit_group *g);
191 static int bev_group_suspend_writing_(struct bufferevent_rate_limit_group *g);
192 static void bev_group_unsuspend_reading_(struct bufferevent_rate_limit_group *g);
193 static void bev_group_unsuspend_writing_(struct bufferevent_rate_limit_group *g);
[all …]
/netbsd/src/external/gpl3/gcc/dist/libgcc/config/
Ddarwin-crt3.c322 add_routine (struct keymgr_atexit_list * g, in add_routine() argument
331 _keymgr_set_and_unlock_processwide_ptr (KEYMGR_ATEXIT_LIST, g); in add_routine()
335 s->next = g->l; in add_routine()
336 g->l = s; in add_routine()
337 result = _keymgr_set_and_unlock_processwide_ptr (KEYMGR_ATEXIT_LIST, g); in add_routine()
343 run_routines (struct keymgr_atexit_list *g, in run_routines() argument
348 struct atexit_routine_list * cur = g->l; in run_routines()
351 g->l = cur->next; in run_routines()
352 _keymgr_set_and_unlock_processwide_ptr (KEYMGR_ATEXIT_LIST, g); in run_routines()
367 g = _keymgr_get_and_lock_processwide_ptr (KEYMGR_ATEXIT_LIST); in run_routines()
[all …]
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/
Dguard.cc116 __test_and_acquire (__cxxabiv1::__guard *g) in __test_and_acquire() argument
119 unsigned char *__p = reinterpret_cast<unsigned char *>(g); in __test_and_acquire()
132 __set_and_release (__cxxabiv1::__guard *g) in __set_and_release() argument
134 unsigned char *__p = reinterpret_cast<unsigned char *>(g); in __set_and_release()
208 init_in_progress_flag(__guard* g) in init_in_progress_flag() argument
209 { return ((char *)g)[1]; } in init_in_progress_flag()
212 set_init_in_progress_flag(__guard* g, int v) in set_init_in_progress_flag() argument
213 { ((char *)g)[1] = v; } in set_init_in_progress_flag()
229 acquire(__guard *g) in acquire() argument
232 if (_GLIBCXX_GUARD_TEST(g)) in acquire()
[all …]
/netbsd/src/lib/libc/regex/
Dregfree.c72 struct re_guts *g; in __weak_alias() local
81 g = preg->re_g; in __weak_alias()
82 if (g == NULL || g->magic != MAGIC2) /* oops again */ in __weak_alias()
85 g->magic = 0; /* mark it invalid */ in __weak_alias()
87 if (g->strip != NULL) in __weak_alias()
88 free(g->strip); in __weak_alias()
89 if (g->sets != NULL) { in __weak_alias()
90 for (i = 0; i < g->ncsets; i++) { in __weak_alias()
91 free(g->sets[i].ranges); in __weak_alias()
92 free(g->sets[i].wides); in __weak_alias()
[all …]
/netbsd/src/external/gpl3/gdb/dist/bfd/
Ddep-in.sed3 s/\\\n */ /g
6 s! \./! !g
7 s! @BFD_H@!!g
8 s!@SRCDIR@/../include!$(INCDIR)!g
9 s!@TOPDIR@/include!$(INCDIR)!g
10 s!@SRCDIR@/../opcodes!$(srcdir)/../opcodes!g
11 s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
12 s!@SRCDIR@/!!g
13 s! hosts/[^ ]*\.h!!g
14 s! sysdep.h!!g
[all …]
/netbsd/src/external/gpl3/binutils/dist/bfd/
Ddep-in.sed3 s/\\\n */ /g
6 s! \./! !g
7 s! @BFD_H@!!g
8 s!@SRCDIR@/../include!$(INCDIR)!g
9 s!@TOPDIR@/include!$(INCDIR)!g
10 s!@SRCDIR@/../opcodes!$(srcdir)/../opcodes!g
11 s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
12 s!@SRCDIR@/!!g
13 s! hosts/[^ ]*\.h!!g
14 s! sysdep.h!!g
[all …]

12345678910>>...113