Home
last modified time | relevance | path

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

123

/picolibc-latest/newlib/libc/posix/
Dregfree.c58 struct re_guts *g; in regfree() local
63 g = preg->re_g; in regfree()
64 if (g == NULL || g->magic != MAGIC2) /* oops again */ in regfree()
67 g->magic = 0; /* mark it invalid */ in regfree()
69 if (g->strip != NULL) in regfree()
70 free((char *)g->strip); in regfree()
71 if (g->sets != NULL) in regfree()
72 free((char *)g->sets); in regfree()
73 if (g->setbits != NULL) in regfree()
74 free((char *)g->setbits); in regfree()
[all …]
Dregcomp.c66 struct re_guts *g; member
109 static int isinsets(struct re_guts *g, int c);
110 static int samesets(struct re_guts *g, int c1, int c2);
111 static void categorize(struct parse *p, struct re_guts *g);
117 static void stripsnug(struct parse *p, struct re_guts *g);
118 static void findmust(struct parse *p, struct re_guts *g);
120 static void computejumps(struct parse *p, struct re_guts *g);
121 static void computematchjumps(struct parse *p, struct re_guts *g);
122 static sopno pluscount(struct parse *p, struct re_guts *g);
186 struct re_guts *g; in regcomp() local
[all …]
Dengine.c69 struct re_guts *g; member
90 static int matcher(struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
95 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int ch, states aft);
136 matcher(struct re_guts *g, in matcher() argument
147 const sopno gf = g->firststate+1; /* +1 for OEND */ in matcher()
148 const sopno gl = g->laststate; in matcher()
160 if (g->cflags&REG_NOSUB) in matcher()
173 if (g->must != NULL) { in matcher()
174 if (g->charjump != NULL && g->matchjump != NULL) { in matcher()
175 mustfirst = g->must; in matcher()
[all …]
Dregexec.c114 #define CLEAR(v) memset(v, 0, m->g->nstates)
118 #define ASSIGN(d, s) memcpy(d, s, m->g->nstates)
119 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
121 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
125 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
162 struct re_guts *g = preg->re_g; in regexec() local
169 if (preg->re_magic != MAGIC1 || g->magic != MAGIC2) in regexec()
171 assert(!(g->iflags&BAD)); in regexec()
172 if (g->iflags&BAD) /* backstop for no-debug case */ in regexec()
176 if (g->nstates <= (sopno) (CHAR_BIT*sizeof(states1)) && !(eflags&REG_LARGE)) in regexec()
[all …]
/picolibc-latest/newlib/libc/stdio/
Dfindfp.c144 struct glue_with_files *g; in sfmoreglue() local
146 g = (struct glue_with_files *) in sfmoreglue()
147 malloc (sizeof (*g) + n * sizeof (FILE)); in sfmoreglue()
148 if (g == NULL) in sfmoreglue()
150 g->glue._next = NULL; in sfmoreglue()
151 g->glue._niobs = n; in sfmoreglue()
152 g->glue._iobs = g->file; in sfmoreglue()
153 memset (g->file, 0, n * sizeof (FILE)); in sfmoreglue()
154 return &g->glue; in sfmoreglue()
183 struct _glue *g; in __sfp() local
[all …]
Dfwalk.c30 struct _glue *g) in _fwalk_sglue() argument
44 for (fp = g->_iobs, n = g->_niobs; --n >= 0; fp++) in _fwalk_sglue()
47 g = g->_next; in _fwalk_sglue()
48 } while (g != NULL); in _fwalk_sglue()
/picolibc-latest/newlib/libc/sys/rtems/include/
DREADME39 sed -i 's,include/arpa/inet.h,newlib/libc/sys/rtems/include/arpa/inet.h,g' *.patch
40 sed -i 's,include/netdb.h,newlib/libc/sys/rtems/include/netdb.h,g' *.patch
41 sed -i 's,include/termios.h,newlib/libc/sys/rtems/include/termios.h,g' *.patch
42 sed -i 's,sys/net/if.h,newlib/libc/sys/rtems/include/net/if.h,g' *.patch
43 sed -i 's,sys/netinet6/in6.h,newlib/libc/sys/rtems/include/netinet6/in6.h,g' *.patch
44 sed -i 's,sys/netinet/in.h,newlib/libc/sys/rtems/include/netinet/in.h,g' *.patch
45 sed -i 's,sys/netinet/tcp.h,newlib/libc/sys/rtems/include/netinet/tcp.h,g' *.patch
46 sed -i 's,sys/sys/filio.h,newlib/libc/sys/rtems/include/sys/filio.h,g' *.patch
47 sed -i 's,sys/sys/ioccom.h,newlib/libc/sys/rtems/include/sys/ioccom.h,g' *.patch
48 sed -i 's,sys/sys/_iovec.h,newlib/libc/sys/rtems/include/sys/_iovec.h,g' *.patch
[all …]
/picolibc-latest/test/
Dtest-memset.c93 char g = b[p]; in check() local
97 if (g != e) { in check()
99 label, start, end, p, (uint8_t) e, (uint8_t) g); in check()
/picolibc-latest/scripts/
Dcross-powerpc64-linux-gnu.txt3 cpp = ['powerpc64-linux-gnu-g++', '-fno-pic', '-static']
Dcross-powerpc64le-linux-gnu.txt3 cpp = ['powerpc64le-linux-gnu-g++', '-fno-pic', '-static']
Dcross-msp430.txt7 cpp = ['msp430-elf-g++', '-nostdlib']
Dcross-m68k-linux-gnu.txt3 cpp = ['m68k-linux-gnu-g++', '-march=68020', '-static', '-nostdlib', '-Wl,--build-id=none']
Dcross-power9.txt3 cpp = ['powerpc64-linux-gnu-g++', '-fno-pic', '-fno-pie', '-static', '-mfloat128-hardware', '-mvsx'…
Dcross-microblazeel-zephyr-elf.txt7 cpp = ['microblazeel-zephyr-elf-g++', '-nostdlib']
Dcross-mips64-linux-gnuabi64.txt7 cpp = ['mips64-linux-gnuabi64-g++', '-nostdlib']
Dcross-mipsel-linux-gnu.txt7 cpp = ['mipsel-linux-gnu-g++', '-nostdlib']
Dcross-sparc64-linux-gnu.txt7 cpp = ['sparc64-linux-gnu-g++', '-nostdlib']
Dcross-arc64-zephyr-elf.txt7 cpp = ['arc64-zephyr-elf-g++', '-nostdlib']
Dcross-mips-linux-gnu.txt7 cpp = ['mips-linux-gnu-g++', '-nostdlib', '-Wl,--build-id=none']
Dcross-riscv64-zephyr-elf.txt7 cpp = ['riscv64-zephyr-elf-g++', '-nostdlib']
Dcross-rv32imac.txt3 cpp = ['riscv64-unknown-elf-g++', '-nostdlib']
Dcross-rv32imac_zicsr_zbb.txt3 cpp = ['riscv64-unknown-elf-g++', '-nostdlib']
Dcross-sh-unknown-elf.txt7 cpp = ['sh-unknown-elf-g++', '-nostdlib']
/picolibc-latest/newlib/libc/machine/cris/include/
Dpthread.h58 struct { long int e; int f; } g; member
/picolibc-latest/newlib/libc/tinystdio/
Dstdio.h164 #define fdev_setup_stream(stream, p, g, fl, f) \ argument
168 (stream)->get = g; \
190 #define FDEV_SETUP_STREAM(p, g, fl, f) \ argument
194 .get = (g), \

123