Home
last modified time | relevance | path

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

12345678910>>...38

/dragonfly/sys/crypto/serpent/
HDserpent.c42 #define sb0(a,b,c,d,e,f,g,h) \ argument
54 g = t4 ^ t8; \
61 #define ib0(a,b,c,d,e,f,g,h) \ argument
69 g = t2 ^ t5; \
71 t9 = g & t8; \
81 #define sb1(a,b,c,d,e,f,g,h) \ argument
87 g = d ^ t5; \
89 t8 = t2 ^ g; \
100 #define ib1(a,b,c,d,e,f,g,h) \ argument
114 g = t12 ^ t13; \
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
HDddg.c48 static void add_edge_to_ddg (ddg_ptr g, ddg_edge_ptr);
173 create_ddg_dep_from_intra_loop_link (ddg_ptr g, ddg_node_ptr src_node, in create_ddg_dep_from_intra_loop_link() argument
218 struct df_rd_bb_info *bb_info = DF_RD_BB_INFO (g->bb); in create_ddg_dep_from_intra_loop_link()
220 first_def = df_bb_regno_first_def_find (g->bb, regno); in create_ddg_dep_from_intra_loop_link()
230 add_edge_to_ddg (g, e); in create_ddg_dep_from_intra_loop_link()
235 create_ddg_dep_no_link (ddg_ptr g, ddg_node_ptr from, ddg_node_ptr to, in create_ddg_dep_no_link() argument
263 add_backarc_to_ddg (g, e); in create_ddg_dep_no_link()
265 add_edge_to_ddg (g, e); in create_ddg_dep_no_link()
276 add_cross_iteration_register_deps (ddg_ptr g, df_ref last_def) in add_cross_iteration_register_deps() argument
282 ddg_node_ptr last_def_node = get_node_of_insn (g, def_insn); in add_cross_iteration_register_deps()
[all …]
HDgraphds.c29 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 …]
HDtree-outof-ssa.c410 clear_elim_graph (elim_graph *g) in clear_elim_graph() argument
412 g->nodes.truncate (0); in clear_elim_graph()
413 g->edge_list.truncate (0); in clear_elim_graph()
414 g->edge_locus.truncate (0); in clear_elim_graph()
421 elim_graph_size (elim_graph *g) in elim_graph_size() argument
423 return g->nodes.length (); in elim_graph_size()
430 elim_graph_add_node (elim_graph *g, int node) in elim_graph_add_node() argument
435 FOR_EACH_VEC_ELT (g->nodes, x, t) in elim_graph_add_node()
438 g->nodes.safe_push (node); in elim_graph_add_node()
445 elim_graph_add_edge (elim_graph *g, int pred, int succ, source_location locus) in elim_graph_add_edge() argument
[all …]
HDubsan.c641 gimple *g; in ubsan_instrument_unreachable() local
645 g = gimple_build_call (builtin_decl_explicit (BUILT_IN_TRAP), 0); in ubsan_instrument_unreachable()
653 g = gimple_build_call (fn, 1, data); in ubsan_instrument_unreachable()
655 gimple_set_location (g, loc); in ubsan_instrument_unreachable()
656 gsi_replace (gsi, g, false); in ubsan_instrument_unreachable()
710 gimple *g = gimple_build_cond (GT_EXPR, index, bound, NULL_TREE, NULL_TREE); in ubsan_expand_bounds_ifn() local
711 gimple_set_location (g, loc); in ubsan_expand_bounds_ifn()
712 gsi_insert_after (&cond_insert_point, g, GSI_NEW_STMT); in ubsan_expand_bounds_ifn()
717 g = gimple_build_call (builtin_decl_explicit (BUILT_IN_TRAP), 0); in ubsan_expand_bounds_ifn()
734 g = gimple_build_call (fn, 2, data, val); in ubsan_expand_bounds_ifn()
[all …]
HDtarget-globals.c67 struct target_globals *g = ggc_cleared_alloc <target_globals> (); in save_target_globals() local
68 g->flag_state = XCNEW (struct target_flag_state); in save_target_globals()
69 g->regs = XCNEW (struct target_regs); in save_target_globals()
70 g->rtl = ggc_cleared_alloc<target_rtl> (); in save_target_globals()
71 g->recog = XCNEW (struct target_recog); in save_target_globals()
72 g->hard_regs = XCNEW (struct target_hard_regs); in save_target_globals()
73 g->reload = XCNEW (struct target_reload); in save_target_globals()
74 g->expmed = XCNEW (struct target_expmed); in save_target_globals()
75 g->optabs = XCNEW (struct target_optabs); in save_target_globals()
76 g->libfuncs = ggc_cleared_alloc<target_libfuncs> (); in save_target_globals()
[all …]
HDtarget-globals.h70 restore_target_globals (struct target_globals *g) in restore_target_globals() argument
72 this_target_flag_state = g->flag_state; in restore_target_globals()
73 this_target_regs = g->regs; in restore_target_globals()
74 this_target_rtl = g->rtl; in restore_target_globals()
75 this_target_recog = g->recog; in restore_target_globals()
76 this_target_hard_regs = g->hard_regs; in restore_target_globals()
77 this_target_reload = g->reload; in restore_target_globals()
78 this_target_expmed = g->expmed; in restore_target_globals()
79 this_target_optabs = g->optabs; in restore_target_globals()
80 this_target_libfuncs = g->libfuncs; in restore_target_globals()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
HDddg.c62 static void add_edge_to_ddg (ddg_ptr g, ddg_edge_ptr);
190 create_ddg_dep_from_intra_loop_link (ddg_ptr g, ddg_node_ptr src_node, in create_ddg_dep_from_intra_loop_link() argument
235 struct df_rd_bb_info *bb_info = DF_RD_BB_INFO (g->bb); in create_ddg_dep_from_intra_loop_link()
237 first_def = df_bb_regno_first_def_find (g->bb, regno); in create_ddg_dep_from_intra_loop_link()
247 add_edge_to_ddg (g, e); in create_ddg_dep_from_intra_loop_link()
252 create_ddg_dep_no_link (ddg_ptr g, ddg_node_ptr from, ddg_node_ptr to, in create_ddg_dep_no_link() argument
280 add_backarc_to_ddg (g, e); in create_ddg_dep_no_link()
282 add_edge_to_ddg (g, e); in create_ddg_dep_no_link()
293 add_cross_iteration_register_deps (ddg_ptr g, df_ref last_def) in add_cross_iteration_register_deps() argument
299 ddg_node_ptr last_def_node = get_node_of_insn (g, def_insn); in add_cross_iteration_register_deps()
[all …]
HDgraphds.c33 dump_graph (FILE *f, struct graph *g) in dump_graph() argument
38 for (i = 0; i < g->n_vertices; i++) in dump_graph()
40 if (!g->vertices[i].pred in dump_graph()
41 && !g->vertices[i].succ) in dump_graph()
44 fprintf (f, "%d (%d)\t<-", i, g->vertices[i].component); in dump_graph()
45 for (e = g->vertices[i].pred; e; e = e->pred_next) in dump_graph()
50 for (e = g->vertices[i].succ; e; e = e->succ_next) in dump_graph()
61 struct graph *g = XNEW (struct graph); in new_graph() local
63 g->n_vertices = n_vertices; in new_graph()
64 g->vertices = XCNEWVEC (struct vertex, n_vertices); in new_graph()
[all …]
HDtree-outof-ssa.c344 elim_graph g = (elim_graph) xmalloc (sizeof (struct _elim_graph)); in new_elim_graph() local
346 g->nodes = VEC_alloc (int, heap, 30); in new_elim_graph()
347 g->const_dests = VEC_alloc (int, heap, 20); in new_elim_graph()
348 g->const_copies = VEC_alloc (tree, heap, 20); in new_elim_graph()
349 g->copy_locus = VEC_alloc (source_location, heap, 10); in new_elim_graph()
350 g->edge_list = VEC_alloc (int, heap, 20); in new_elim_graph()
351 g->edge_locus = VEC_alloc (source_location, heap, 10); in new_elim_graph()
352 g->stack = VEC_alloc (int, heap, 30); in new_elim_graph()
354 g->visited = sbitmap_alloc (size); in new_elim_graph()
356 return g; in new_elim_graph()
[all …]
HDtarget-globals.c65 struct target_globals *g; in save_target_globals() local
67 g = ggc_alloc_target_globals (); in save_target_globals()
68 g->flag_state = XCNEW (struct target_flag_state); in save_target_globals()
69 g->regs = XCNEW (struct target_regs); in save_target_globals()
70 g->rtl = ggc_alloc_cleared_target_rtl (); in save_target_globals()
71 g->hard_regs = XCNEW (struct target_hard_regs); in save_target_globals()
72 g->reload = XCNEW (struct target_reload); in save_target_globals()
73 g->expmed = XCNEW (struct target_expmed); in save_target_globals()
74 g->optabs = XCNEW (struct target_optabs); in save_target_globals()
75 g->libfuncs = ggc_alloc_cleared_target_libfuncs (); in save_target_globals()
[all …]
HDtarget-globals.h61 restore_target_globals (struct target_globals *g) in restore_target_globals() argument
63 this_target_flag_state = g->flag_state; in restore_target_globals()
64 this_target_regs = g->regs; in restore_target_globals()
65 this_target_rtl = g->rtl; in restore_target_globals()
66 this_target_hard_regs = g->hard_regs; in restore_target_globals()
67 this_target_reload = g->reload; in restore_target_globals()
68 this_target_expmed = g->expmed; in restore_target_globals()
69 this_target_optabs = g->optabs; in restore_target_globals()
70 this_target_libfuncs = g->libfuncs; in restore_target_globals()
71 this_target_cfgloop = g->cfgloop; in restore_target_globals()
[all …]
/dragonfly/contrib/gcc-4.7/libgcc/config/
HDdarwin-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 …]
/dragonfly/contrib/gcc-4.7/libstdc++-v3/libsupc++/
Dguard.cc112 __test_and_acquire (__cxxabiv1::__guard *g) in __test_and_acquire() argument
114 bool b = _GLIBCXX_GUARD_TEST (g); in __test_and_acquire()
123 __set_and_release (__cxxabiv1::__guard *g) in __set_and_release() argument
126 _GLIBCXX_GUARD_SET (g); in __set_and_release()
197 init_in_progress_flag(__guard* g) in init_in_progress_flag() argument
198 { return ((char *)g)[1]; } in init_in_progress_flag()
201 set_init_in_progress_flag(__guard* g, int v) in set_init_in_progress_flag() argument
202 { ((char *)g)[1] = v; } in set_init_in_progress_flag()
218 acquire(__guard *g) in acquire() argument
221 if (_GLIBCXX_GUARD_TEST(g)) in acquire()
[all …]
/dragonfly/contrib/gcc-8.0/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 …]
/dragonfly/contrib/grep/lib/
HDargmatch.h177 const argmatch_##Name##_group_type *g = &argmatch_##Name##_group; \
185 for (size_t i = 0; g->args[i].arg; i++) \
186 if (!strncmp (g->args[i].arg, arg, arglen)) \
188 if (strlen (g->args[i].arg) == arglen) \
194 else if (memcmp (&g->args[res].val, &g->args[i].val, size)) \
206 const argmatch_##Name##_group_type *g = &argmatch_##Name##_group; \
208 for (size_t i = 0; g->args[i].arg; i++) \
209 if (!memcmp (val, &g->args[i].val, size)) \
210 return g->args[i].arg; \
218 const argmatch_##Name##_group_type *g = &argmatch_##Name##_group; \
[all …]
/dragonfly/contrib/nvi2/regex/
HDregcomp.c69 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 …]
HDregfree.c56 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 …]
HDengine.c70 struct re_guts *g; member
91 static int matcher(struct re_guts *g, const RCHAR_T *string, size_t nmatch, regmatch_t pmatch[], in…
96 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int flag, RCHAR_T ch, st…
132 matcher(struct re_guts *g, const RCHAR_T *string, size_t nmatch, in matcher() argument
140 const sopno gf = g->firststate+1; /* +1 for OEND */ in matcher()
141 const sopno gl = g->laststate; in matcher()
146 if (g->cflags&REG_NOSUB) in matcher()
159 if (g->must != NULL) { in matcher()
161 if (*dp == g->must[0] && (size_t)(stop - dp) >= g->mlen && in matcher()
162 MEMCMP(dp, g->must, g->mlen) == 0) in matcher()
[all …]
/dragonfly/contrib/gmp/mpz/
HDgcd.c31 mpz_gcd (mpz_ptr g, mpz_srcptr u, mpz_srcptr v) in mpz_gcd() argument
33 gcd (mpz_srcptr u, mpz_srcptr v, mpz_ptr g) in mpz_gcd()
49 g->_mp_size = vsize; in mpz_gcd()
50 if (g == v) in mpz_gcd()
52 if (g->_mp_alloc < vsize) in mpz_gcd()
53 _mpz_realloc (g, vsize); in mpz_gcd()
54 MPN_COPY (g->_mp_d, vp, vsize); in mpz_gcd()
61 g->_mp_size = usize; in mpz_gcd()
62 if (g == u) in mpz_gcd()
64 if (g->_mp_alloc < usize) in mpz_gcd()
[all …]
/dragonfly/contrib/wpa_supplicant/src/fst/
HDfst_group.h22 #define foreach_fst_group_iface(g, i) \ argument
23 dl_list_for_each((i), &(g)->ifaces, struct fst_iface, group_lentry)
26 void fst_group_attach_iface(struct fst_group *g, struct fst_iface *i);
27 void fst_group_detach_iface(struct fst_group *g, struct fst_iface *i);
28 void fst_group_delete(struct fst_group *g);
30 void fst_group_update_ie(struct fst_group *g);
32 static inline Boolean fst_group_has_ifaces(struct fst_group *g) in fst_group_has_ifaces() argument
34 return !dl_list_empty(&g->ifaces); in fst_group_has_ifaces()
37 static inline struct fst_iface * fst_group_first_iface(struct fst_group *g) in fst_group_first_iface() argument
39 return dl_list_first(&g->ifaces, struct fst_iface, group_lentry); in fst_group_first_iface()
[all …]
/dragonfly/crypto/libressl/crypto/sha/
HDsha256.c154 unsigned MD32_REG_T a,b,c,d,e,f,g,h,s0,s1,T1,T2; in sha256_block_data_order() local
162 e = ctx->h[4]; f = ctx->h[5]; g = ctx->h[6]; h = ctx->h[7]; in sha256_block_data_order()
167 T1 += h + Sigma1(e) + Ch(e,f,g) + K256[i]; in sha256_block_data_order()
169 h = g; g = f; f = e; e = d + T1; in sha256_block_data_order()
179 T1 += h + Sigma1(e) + Ch(e,f,g) + K256[i]; in sha256_block_data_order()
181 h = g; g = f; f = e; e = d + T1; in sha256_block_data_order()
186 ctx->h[4] += e; ctx->h[5] += f; ctx->h[6] += g; ctx->h[7] += h; in sha256_block_data_order()
193 #define ROUND_00_15(i,a,b,c,d,e,f,g,h) do { \ argument
194 T1 += h + Sigma1(e) + Ch(e,f,g) + K256[i]; \
198 #define ROUND_16_63(i,a,b,c,d,e,f,g,h,X) do { \ argument
[all …]
/dragonfly/lib/libc/stdio/
HDfindfp.c95 struct glue *g; in moreglue() local
99 g = (struct glue *)malloc(sizeof(*g) + ALIGNBYTES + n * sizeof(FILE)); in moreglue()
100 if (g == NULL) in moreglue()
102 p = (FILE *)ALIGN(g + 1); in moreglue()
103 g->next = NULL; in moreglue()
104 g->niobs = n; in moreglue()
105 g->iobs = p; in moreglue()
108 return (g); in moreglue()
119 struct glue *g; in __sfp() local
127 for (g = &__sglue; g != NULL; g = g->next) { in __sfp()
[all …]
/dragonfly/sys/crypto/sha2/
HDsha2.c340 #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ argument
342 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \
351 #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ argument
352 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \
360 #define ROUND256(a,b,c,d,e,f,g,h) \ argument
365 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + K256[j] + \
372 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; in SHA256_Transform() local
385 g = context->state[6]; in SHA256_Transform()
391 ROUND256_0_TO_15(a,b,c,d,e,f,g,h); in SHA256_Transform()
392 ROUND256_0_TO_15(h,a,b,c,d,e,f,g); in SHA256_Transform()
[all …]
/dragonfly/contrib/ldns/
HDsha2.c330 #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ argument
332 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \
341 #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ argument
342 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \
350 #define ROUND256(a,b,c,d,e,f,g,h) \ argument
355 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + K256[j] + \
363 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; in ldns_sha256_Transform() local
376 g = context->state[6]; in ldns_sha256_Transform()
382 ROUND256_0_TO_15(a,b,c,d,e,f,g,h); in ldns_sha256_Transform()
383 ROUND256_0_TO_15(h,a,b,c,d,e,f,g); in ldns_sha256_Transform()
[all …]

12345678910>>...38