/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regfree.c | 106 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 …]
|
D | regcomp.c | 116 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 …]
|
D | engine.c | 108 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®_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 …]
|
D | regexec.c | 158 #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®_LARGE)) [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fwalk.c | 44 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/ |
D | b_log.c | 367 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/ |
D | findfp.c | 80 struct glue *g; in moreglue() local 86 data = malloc(sizeof(*g) + ALIGNBYTES + n * sizeof(FILE) in moreglue() 90 g = (struct glue *)data; in moreglue() 91 p = (FILE *)ALIGN(data + sizeof(*g)); in moreglue() 93 (ALIGN(data + sizeof(*g)) + n * sizeof(FILE)); in moreglue() 94 g->next = NULL; in moreglue() 95 g->niobs = n; in moreglue() 96 g->iobs = p; in moreglue() 103 return (g); in moreglue() 114 struct glue *g; in __sfp() local [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | map_to_7segment.h | 39 …ne _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/ |
D | README.txt | 5 This code is imported from: ftp://g.oswego.edu/pub/misc/
|
/bionic/linker/ |
D | linker.cpp | 471 unsigned h = 0, g; in elfhash() local 475 g = h & 0xf0000000; in elfhash() 476 h ^= g; in elfhash() 477 h ^= g >> 24; in elfhash() 1579 size_t g = 0; in mips_relocate_got() local 1580 got[g++] = reinterpret_cast<ElfW(Addr)*>(0xdeadbeef); in mips_relocate_got() 1581 if (reinterpret_cast<intptr_t>(got[g]) < 0) { in mips_relocate_got() 1582 got[g++] = reinterpret_cast<ElfW(Addr)*>(0xdeadfeed); in mips_relocate_got() 1585 for (; g < local_gotno; g++) { in mips_relocate_got() 1586 got[g] = reinterpret_cast<ElfW(Addr)*>(reinterpret_cast<uintptr_t>(got[g]) + si->load_bias); in mips_relocate_got() [all …]
|
/bionic/libc/kernel/ |
D | README.TXT | 11 reason (e.g. optimized CPU-specific byte-swapping routines).
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | kvm.h | 149 __u8 present, dpl, db, s, l, g, avl; member
|