Home
last modified time | relevance | path

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

/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregfree.c106 struct re_guts *g; in __weak_alias() local
114 g = preg->re_g; in __weak_alias()
115 if (g == NULL || g->magic != MAGIC2) /* oops again */ in __weak_alias()
118 g->magic = 0; /* mark it invalid */ in __weak_alias()
120 if (g->strip != NULL) in __weak_alias()
121 free(g->strip); in __weak_alias()
122 if (g->sets != NULL) in __weak_alias()
123 free(g->sets); in __weak_alias()
124 if (g->setbits != NULL) in __weak_alias()
125 free(g->setbits); in __weak_alias()
[all …]
Dregcomp.c116 struct re_guts *g; member
159 static int isinsets(struct re_guts *g, int c);
160 static int samesets(struct re_guts *g, int c1, int c2);
161 static void categorize(struct parse *p, struct re_guts *g);
167 static void stripsnug(struct parse *p, struct re_guts *g);
168 static void findmust(struct parse *p, struct re_guts *g);
169 static sopno pluscount(struct parse *p, struct re_guts *g);
216 ((p)->ncsalloc / CHAR_BIT * (p)->g->csetsize + \
240 struct re_guts *g; in regcomp() local
265 g = (struct re_guts *)malloc(sizeof(struct re_guts) + in regcomp()
[all …]
Dengine.c108 struct re_guts *g; member
129 static int matcher(struct re_guts *g, const char *string, size_t nmatch, regmatch_t pmatch[], int e…
134 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int ch, states aft);
177 struct re_guts *g, in matcher() argument
188 const sopno gf = g->firststate+1; /* +1 for OEND */ in matcher()
189 const sopno gl = g->laststate; in matcher()
194 _DIAGASSERT(g != NULL); in matcher()
199 if (g->cflags&REG_NOSUB) in matcher()
213 if (g->must != NULL) { in matcher()
215 if (*dp == g->must[0] && (size_t)(stop - dp) >= g->mlen && in matcher()
[all …]
Dregexec.c158 #define CLEAR(v) memset(v, 0, (size_t)m->g->nstates) in __weak_alias()
162 #define ASSIGN(d, s) memcpy(d, s, (size_t)m->g->nstates) in __weak_alias()
163 #define EQ(a, b) (memcmp(a, b, (size_t)m->g->nstates) == 0) in __weak_alias()
166 if (((m)->space = malloc((size_t)((nv)*(m)->g->nstates))) == NULL) \
172 #define SETUP(v) ((v) = &m->space[(size_t)(m->vn++ * m->g->nstates)])
210 struct re_guts *g = preg->re_g; local
221 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2)
223 assert(!(g->iflags&BAD));
224 if (g->iflags&BAD) /* backstop for no-debug case */
230 if (g->nstates <= (sopno)(CHAR_BIT*sizeof(states1)) && !(eflags&REG_LARGE))
[all …]
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfwalk.c44 struct glue *g; in _fwalk() local
47 for (g = &__sglue; g != NULL; g = g->next) in _fwalk()
48 for (fp = g->iobs, n = g->niobs; --n >= 0; fp++) { in _fwalk()
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
Db_log.c367 double F, f, g, q, u, u2, v, zero = 0.0, one = 1.0;
383 g = ldexp(x, -m);
385 j = logb(g), m += j;
386 g = ldexp(g, -j);
388 j = N*(g-1) + .5;
390 f = g - F;
393 g = 1/(2*F+f);
394 u = 2*f*g;
410 u2 = (2.0*(f - F*u1) - u1*f) * g;
436 double F, f, g, q, u, v, u2; local
[all …]
/bionic/libc/stdio/
Dfindfp.c76 struct glue *g; in moreglue() local
82 data = malloc(sizeof(*g) + ALIGNBYTES + n * sizeof(FILE) in moreglue()
86 g = (struct glue *)data; in moreglue()
87 p = (FILE *)ALIGN(data + sizeof(*g)); in moreglue()
89 (ALIGN(data + sizeof(*g)) + n * sizeof(FILE)); in moreglue()
90 g->next = NULL; in moreglue()
91 g->niobs = n; in moreglue()
92 g->iobs = p; in moreglue()
99 return (g); in moreglue()
110 struct glue *g; in __sfp() local
[all …]
/bionic/linker/
Dlinker_mips.cpp140 size_t g = 0; in mips_relocate_got() local
141 got[g++] = reinterpret_cast<ElfW(Addr)*>(0xdeadbeef); in mips_relocate_got()
142 if (reinterpret_cast<intptr_t>(got[g]) < 0) { in mips_relocate_got()
143 got[g++] = reinterpret_cast<ElfW(Addr)*>(0xdeadfeed); in mips_relocate_got()
146 for (; g < mips_local_gotno_; g++) { in mips_relocate_got()
147 got[g] = reinterpret_cast<ElfW(Addr)*>(reinterpret_cast<uintptr_t>(got[g]) + load_bias); in mips_relocate_got()
Dlinker.cpp659 uint32_t h = 0, g; in elf_hash() local
663 g = h & 0xf0000000; in elf_hash()
664 h ^= g; in elf_hash()
665 h ^= g >> 24; in elf_hash()
/bionic/libc/kernel/uapi/linux/
Dmap_to_7segment.h39 …_SEG7(l,a,b,c,d,e,f,g) (a << BIT_SEG7_A | b << BIT_SEG7_B | c << BIT_SEG7_C | d << BIT_SEG7_D | e … argument
/bionic/libc/upstream-dlmalloc/
DREADME.txt5 This code is imported from: ftp://g.oswego.edu/pub/misc/
/bionic/libc/kernel/
DREADME.TXT11 reason (e.g. optimized CPU-specific byte-swapping routines).
/bionic/libc/kernel/uapi/asm-x86/asm/
Dkvm.h152 __u8 present, dpl, db, s, l, g, avl; member