Home
last modified time | relevance | path

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

12345678910>>...87

/NextBSD/contrib/apr/random/unix/
HDapr_random.c66 #define K_size(g) ((g)->key_hash->size) argument
68 #define B_size(g) ((g)->prng_hash->size) argument
72 #define H_size(g) (B_size(g)+K_size(g)) argument
73 #define H_current(g) (((g)->insecure_started && !(g)->secure_started) \ argument
74 ? (g)->H_waiting : (g)->H)
106 APR_DECLARE(void) apr_random_init(apr_random_t *g,apr_pool_t *p, in apr_random_init() argument
113 g->apr_pool = p; in apr_random_init()
115 g->pool_hash = pool_hash; in apr_random_init()
116 g->key_hash = key_hash; in apr_random_init()
117 g->prng_hash = prng_hash; in apr_random_init()
[all …]
/NextBSD/contrib/compiler-rt/lib/asan/
HDasan_globals.cc33 const Global *g; member
43 Global g; member
58 ALWAYS_INLINE void PoisonShadowForGlobal(const Global *g, u8 value) { in PoisonShadowForGlobal() argument
59 FastPoisonShadow(g->beg, g->size_with_redzone, value); in PoisonShadowForGlobal()
62 ALWAYS_INLINE void PoisonRedZones(const Global &g) { in PoisonRedZones() argument
63 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); in PoisonRedZones()
64 FastPoisonShadow(g.beg + aligned_size, g.size_with_redzone - aligned_size, in PoisonRedZones()
66 if (g.size != aligned_size) { in PoisonRedZones()
68 g.beg + RoundDownTo(g.size, SHADOW_GRANULARITY), in PoisonRedZones()
69 g.size % SHADOW_GRANULARITY, in PoisonRedZones()
[all …]
/NextBSD/contrib/compiler-rt/lib/sanitizer_common/tests/
HDsanitizer_bvgraph_test.cc33 void PrintGraph(const G &g) { in PrintGraph() argument
34 for (uptr i = 0; i < g.size(); i++) { in PrintGraph()
35 for (uptr j = 0; j < g.size(); j++) { in PrintGraph()
36 fprintf(stderr, "%d", g.hasEdge(i, j)); in PrintGraph()
53 void checkSameAs(G *g) { in checkSameAs() argument
57 EXPECT_TRUE(g->removeEdge(from, to)); in checkSameAs()
59 EXPECT_TRUE(g->empty()); in checkSameAs()
71 BVGraph<BV> g; in BasicTest() local
72 g.clear(); in BasicTest()
82 uptr idx = (uptr)my_rand() % g.size(); in BasicTest()
[all …]
/NextBSD/contrib/binutils/gas/
HDdep-in.sed5 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 …]
/NextBSD/tools/tools/netmap/
HDpkt-gen.c217 struct glob_arg *g; member
306 p = index(targ->g->src_mac, '-'); in extract_mac_range()
310 bcopy(ether_aton(targ->g->dst_mac), targ->dst_mac, 6); in extract_mac_range()
312 p = index(targ->g->dst_mac, '-'); in extract_mac_range()
564 update_addresses(struct pkt *pkt, struct glob_arg *g) in update_addresses() argument
573 if (g->options & OPT_RANDOM_SRC) { in update_addresses()
578 if (p < g->src_ip.port1) { /* just inc, no wrap */ in update_addresses()
582 udp->uh_sport = htons(g->src_ip.port0); in update_addresses()
585 if (a < g->src_ip.end) { /* just inc, no wrap */ in update_addresses()
589 ip->ip_src.s_addr = htonl(g->src_ip.start); in update_addresses()
[all …]
/NextBSD/contrib/ntp/sntp/scripts/
HDmansec2subst.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 …]
/NextBSD/contrib/gcc/
HDddg.c61 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 …]
HDcfgloopanal.c88 dump_graph (FILE *f, struct graph *g) in dump_graph() argument
93 for (i = 0; i < g->n_vertices; i++) in dump_graph()
95 if (!g->vertices[i].pred in dump_graph()
96 && !g->vertices[i].succ) in dump_graph()
99 fprintf (f, "%d (%d)\t<-", i, g->vertices[i].component); in dump_graph()
100 for (e = g->vertices[i].pred; e; e = e->pred_next) in dump_graph()
105 for (e = g->vertices[i].succ; e; e = e->succ_next) in dump_graph()
116 struct graph *g = XNEW (struct graph); in new_graph() local
118 g->n_vertices = n_vertices; in new_graph()
119 g->vertices = XCNEWVEC (struct vertex, n_vertices); in new_graph()
[all …]
/NextBSD/sys/mips/rt305x/
HDrt305x_gpio.h75 #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 …]
/NextBSD/contrib/gcc/config/
HDdarwin-crt3.c331 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 …]
/NextBSD/contrib/ntp/sntp/libevent/
HDbufferevent_ratelim.c148 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 …]
/NextBSD/contrib/binutils/bfd/
HDdep-in.sed3 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 …]
/NextBSD/lib/libc/regex/
HDregfree.c60 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 …]
HDregcomp.c77 struct re_guts *g; member
118 static void stripsnug(struct parse *p, struct re_guts *g);
119 static void findmust(struct parse *p, struct re_guts *g);
121 static void computejumps(struct parse *p, struct re_guts *g);
122 static void computematchjumps(struct parse *p, struct re_guts *g);
123 static sopno pluscount(struct parse *p, struct re_guts *g);
191 struct re_guts *g; in regcomp() local
214 g = (struct re_guts *)malloc(sizeof(struct re_guts)); in regcomp()
215 if (g == NULL) in regcomp()
228 free((char *)g); in regcomp()
[all …]
/NextBSD/lib/libc/stdio/
HDfindfp.c97 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 …]
/NextBSD/contrib/subversion/subversion/svn/
HDmergeinfo-cmd.c105 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 …]
/NextBSD/contrib/wpa/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 …]
HDfst_group.c143 static struct wpabuf * fst_group_create_mb_ie(struct fst_group *g, in fst_group_create_mb_ie() argument
154 foreach_fst_group_iface(g, f) { in fst_group_create_mb_ie()
161 foreach_fst_group_iface(g, f) { in fst_group_create_mb_ie()
180 foreach_fst_group_iface(g, f) { in fst_group_create_mb_ie()
196 fst_dump_mb_ies(fst_group_get_id(g), fst_iface_get_name(i), in fst_group_create_mb_ie()
226 fst_group_get_new_iface_by_mbie_and_band_id(struct fst_group *g, in fst_group_get_new_iface_by_mbie_and_band_id() argument
243 foreach_fst_group_iface(g, iface) { in fst_group_get_new_iface_by_mbie_and_band_id()
266 struct fst_iface * fst_group_get_iface_by_name(struct fst_group *g, in fst_group_get_iface_by_name() argument
271 foreach_fst_group_iface(g, f) { in fst_group_get_iface_by_name()
282 u8 fst_group_assign_dialog_token(struct fst_group *g) in fst_group_assign_dialog_token() argument
[all …]
/NextBSD/contrib/libstdc++/libsupc++/
Dguard.cc67 __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 …]
/NextBSD/contrib/nvi/regex/
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 …]
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 …]
/NextBSD/contrib/llvm/lib/Support/
HDregcomp.c72 struct re_guts *g; member
168 struct re_guts *g; in llvm_regcomp() local
190 g = (struct re_guts *)malloc(sizeof(struct re_guts) + in llvm_regcomp()
192 if (g == NULL) in llvm_regcomp()
198 free((char *)g); in llvm_regcomp()
203 p->g = g; in llvm_regcomp()
212 g->csetsize = NC; in llvm_regcomp()
213 g->sets = NULL; in llvm_regcomp()
214 g->setbits = NULL; in llvm_regcomp()
215 g->ncsets = 0; in llvm_regcomp()
[all …]
/NextBSD/contrib/netbsd-tests/lib/libc/regex/
HDdebug.c60 struct re_guts *g = r->re_g; in regprint() local
65 fprintf(d, "%ld states, %zu categories", (long)g->nstates, in regprint()
66 g->ncategories); in regprint()
67 fprintf(d, ", first %ld last %ld", (long)g->firststate, in regprint()
68 (long)g->laststate); in regprint()
69 if (g->iflags&USEBOL) in regprint()
71 if (g->iflags&USEEOL) in regprint()
73 if (g->iflags&BAD) in regprint()
75 if (g->nsub > 0) in regprint()
76 fprintf(d, ", nsub=%ld", (long)g->nsub); in regprint()
[all …]
/NextBSD/contrib/groff/src/devices/grohtml/
HDpost-html.cpp548 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 …]
/NextBSD/contrib/jemalloc/include/jemalloc/internal/
HDbitmap.h126 bitmap_t g; in bitmap_get() local
130 g = bitmap[goff]; in bitmap_get()
131 return (!(g & (1LU << (bit & BITMAP_GROUP_NBITS_MASK)))); in bitmap_get()
139 bitmap_t g; in bitmap_set() local
145 g = *gp; in bitmap_set()
146 assert(g & (1LU << (bit & BITMAP_GROUP_NBITS_MASK))); in bitmap_set()
147 g ^= 1LU << (bit & BITMAP_GROUP_NBITS_MASK); in bitmap_set()
148 *gp = g; in bitmap_set()
151 if (g == 0) { in bitmap_set()
157 g = *gp; in bitmap_set()
[all …]

12345678910>>...87