Home
last modified time | relevance | path

Searched refs:regs (Results 1 – 25 of 111) sorted by relevance

12345

/glibc-2.36/posix/
Dtransbug.c62 run_test (const char *pattern, struct re_registers *regs) in run_test() argument
73 memset (regs, '\0', 2 * sizeof (regs[0])); in run_test()
90 res = re_search (&pat, text, strlen (text), 0, strlen (text), &regs[0]); in run_test()
95 res, regs[0].start[0], regs[0].end[0]); in run_test()
97 if (regs[0].end == NULL) in run_test()
100 start2 = regs[0].end[0] + 1; in run_test()
101 regs[1] = regs[0]; in run_test()
102 res = re_search (&pat, text, strlen (text), start2, strlen (text), &regs[1]); in run_test()
107 res, regs[1].start[0], regs[1].end[0]); in run_test()
118 struct re_registers regs[4]; in do_test() local
[all …]
Dbug-regex7.c31 struct re_registers regs; in main() local
37 regs.start = regs.end = NULL; in main()
38 regs.num_regs = 0; in main()
47 match = re_search (&regex, "baobab", 6, 0, 6, &regs); in main()
54 else if (regs.num_regs <= n || regs.start[n] != -1 || regs.end[n] != -1) in main()
72 match = re_match (&regex, "apl", 3, 0, &regs); in main()
79 else if (regs.num_regs <= n || regs.start[n] != -1 || regs.end[n] != -1) in main()
Dtst-regex2.c163 struct re_registers regs; in do_test() local
165 memset (&regs, 0, sizeof (regs)); in do_test()
167 &regs); in do_test()
187 if (regs.num_regs != 2 + (i == 0 ? 0 : i == 1 ? 7 : 70)) in do_test()
189 printf ("\nincorrect num_regs %d\n", regs.num_regs); in do_test()
193 if (regs.start[0] != match || regs.end[0] != match + 13) in do_test()
196 regs.start[0], regs.end[0]); in do_test()
200 if (regs.start[regs.num_regs - 1] != -1 in do_test()
201 || regs.end[regs.num_regs - 1] != -1) in do_test()
210 if (regs.start[l] != match + j in do_test()
[all …]
Dbug-regex10.c28 struct re_registers regs; in main() local
33 regs.num_regs = 1; in main()
43 match = re_match (&regex, "foacabdxy", 9, 2, &regs); in main()
49 else if (regs.start[0] != 2 || regs.end[0] != 7) in main()
52 regs.start[0], regs.end[0]); in main()
Dregex.c49 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ argument
50 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
51 # define re_match(bufp, string, size, pos, regs) \ argument
52 __re_match (bufp, string, size, pos, regs)
53 # define re_search(bufp, string, size, startpos, range, regs) \ argument
54 __re_search (bufp, string, size, startpos, range, regs)
58 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ argument
59 __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop)
Druntests.c59 regmatch_t regs[10]; in run_a_test() local
90 err = regexec (&r, t->data, 10, regs, 0); in run_a_test()
100 regs[x].rm_so, in run_a_test()
101 regs[x].rm_eo, in run_a_test()
102 regs[x].rm_eo - regs[x].rm_so, in run_a_test()
103 t->data + regs[x].rm_so); in run_a_test()
Dbug-regex25.c37 struct re_registers regs; in main() local
38 memset (&regs, 0, sizeof (regs)); in main()
42 int ret = 0, r = re_search (&re, str1, 4, 0, 4, &regs); in main()
48 r = re_search (&re, str2, 4, 0, 4, &regs); in main()
/glibc-2.36/sysdeps/aarch64/
Dtst-auditmod27.c52 uintptr_t *defcook, La_aarch64_regs *regs, in la_aarch64_gnu_pltenter() argument
61 assert (regs->lr_vreg[0].s == FUNC_FLOAT_ARG0); in la_aarch64_gnu_pltenter()
62 assert (regs->lr_vreg[1].s == FUNC_FLOAT_ARG1); in la_aarch64_gnu_pltenter()
63 assert (regs->lr_vreg[2].s == FUNC_FLOAT_ARG2); in la_aarch64_gnu_pltenter()
64 assert (regs->lr_vreg[3].s == FUNC_FLOAT_ARG3); in la_aarch64_gnu_pltenter()
65 assert (regs->lr_vreg[4].s == FUNC_FLOAT_ARG4); in la_aarch64_gnu_pltenter()
66 assert (regs->lr_vreg[5].s == FUNC_FLOAT_ARG5); in la_aarch64_gnu_pltenter()
67 assert (regs->lr_vreg[6].s == FUNC_FLOAT_ARG6); in la_aarch64_gnu_pltenter()
68 assert (regs->lr_vreg[7].s == FUNC_FLOAT_ARG7); in la_aarch64_gnu_pltenter()
72 assert (regs->lr_vreg[0].d == FUNC_DOUBLE_ARG0); in la_aarch64_gnu_pltenter()
[all …]
Dtst-auditmod26.c53 La_aarch64_regs *regs, unsigned int *flags, in la_aarch64_gnu_pltenter() argument
61 assert (regs->lr_xreg[0] == ARG1); in la_aarch64_gnu_pltenter()
62 assert (regs->lr_xreg[1] == ARG2); in la_aarch64_gnu_pltenter()
63 assert (regs->lr_xreg[2] == ARG3); in la_aarch64_gnu_pltenter()
68 assert (regs->lr_vpcs == 0); in la_aarch64_gnu_pltenter()
/glibc-2.36/sysdeps/mips/
Dsotruss-lib.c30 La_mips_32_regs *regs, unsigned int *flags, in la_mips_o32_gnu_pltenter() argument
34 regs->lr_reg[0], regs->lr_reg[1], regs->lr_reg[2], in la_mips_o32_gnu_pltenter()
61 La_mips_64_regs *regs, unsigned int *flags, in la_mips_n32_gnu_pltenter() argument
65 regs->lr_reg[0], regs->lr_reg[1], regs->lr_reg[2], in la_mips_n32_gnu_pltenter()
92 La_mips_64_regs *regs, unsigned int *flags, in la_mips_n64_gnu_pltenter() argument
96 regs->lr_reg[0], regs->lr_reg[1], regs->lr_reg[2], in la_mips_n64_gnu_pltenter()
/glibc-2.36/sysdeps/powerpc/powerpc64/
DMakefile19 no-special-regs := $(sort $(foreach n,40 41 50 51 60 61 62 63 \
31 no-special-regs += -mabi=ibmlongdouble
36 CFLAGS-dl-runtime.os = $(no-special-regs)
37 CFLAGS-dl-lookup.os = $(no-special-regs)
38 CFLAGS-dl-misc.os = $(no-special-regs)
39 CFLAGS-rtld-mempcpy.os = $(no-special-regs)
40 CFLAGS-rtld-memmove.os = $(no-special-regs)
41 CFLAGS-rtld-memchr.os = $(no-special-regs)
42 CFLAGS-rtld-strnlen.os = $(no-special-regs)
53 CFLAGS-mcount.c += $(no-special-regs)
/glibc-2.36/sysdeps/x86_64/
Dtst-auditmod6c.c139 uintptr_t *defcook, La_regs *regs, unsigned int *flags, in pltenter() argument
155 if (memcmp (&regs->lr_xmm[i], &xmm, sizeof (xmm)) in pltenter()
156 || memcmp (&regs->lr_vector[i], &xmm, sizeof (xmm))) in pltenter()
158 regs->lr_xmm[i] = (La_x86_64_xmm) _mm_set1_epi32 (i + 0x100); in pltenter()
159 regs->lr_vector[i].xmm[0] = regs->lr_xmm[i]; in pltenter()
162 if (memcmp (&regs->lr_xmm[i + 1], in pltenter()
163 &regs->lr_vector[i + 1].xmm[0], sizeof (xmm)) in pltenter()
164 || memcmp (&regs->lr_vector[i + 1], &ymm, sizeof (ymm))) in pltenter()
166 regs->lr_vector[i + 1].ymm[0] in pltenter()
168 regs->lr_xmm[i + 1] = regs->lr_vector[i + 1].xmm[0]; in pltenter()
Dtst-auditmod5b.c114 uintptr_t *defcook, La_regs *regs, unsigned int *flags, in pltenter() argument
125 if (memcmp (&regs->lr_xmm[0], &zero, sizeof (zero)) in pltenter()
126 || memcmp (&regs->lr_xmm[1], &zero, sizeof (zero)) in pltenter()
127 || memcmp (&regs->lr_xmm[2], &zero, sizeof (zero)) in pltenter()
128 || memcmp (&regs->lr_xmm[3], &zero, sizeof (zero)) in pltenter()
129 || memcmp (&regs->lr_xmm[4], &zero, sizeof (zero)) in pltenter()
130 || memcmp (&regs->lr_xmm[5], &zero, sizeof (zero)) in pltenter()
131 || memcmp (&regs->lr_xmm[6], &zero, sizeof (zero)) in pltenter()
132 || memcmp (&regs->lr_xmm[7], &zero, sizeof (zero))) in pltenter()
136 regs->lr_xmm[i] = (La_x86_64_xmm) _mm_set1_epi32 (i + 1); in pltenter()
Dtst-auditmod4b.c139 uintptr_t *defcook, La_regs *regs, unsigned int *flags, in pltenter() argument
149 if (memcmp (&regs->lr_vector[0], &zero, sizeof (zero)) in pltenter()
150 || memcmp (&regs->lr_vector[1], &zero, sizeof (zero)) in pltenter()
151 || memcmp (&regs->lr_vector[2], &zero, sizeof (zero)) in pltenter()
152 || memcmp (&regs->lr_vector[3], &zero, sizeof (zero)) in pltenter()
153 || memcmp (&regs->lr_vector[4], &zero, sizeof (zero)) in pltenter()
154 || memcmp (&regs->lr_vector[5], &zero, sizeof (zero)) in pltenter()
155 || memcmp (&regs->lr_vector[6], &zero, sizeof (zero)) in pltenter()
156 || memcmp (&regs->lr_vector[7], &zero, sizeof (zero))) in pltenter()
160 regs->lr_vector[i].ymm[0] in pltenter()
Dtst-auditmod10b.c157 uintptr_t *defcook, La_regs *regs, unsigned int *flags, in pltenter() argument
167 if (memcmp (&regs->lr_vector[0], &zero, sizeof (zero)) in pltenter()
168 || memcmp (&regs->lr_vector[1], &zero, sizeof (zero)) in pltenter()
169 || memcmp (&regs->lr_vector[2], &zero, sizeof (zero)) in pltenter()
170 || memcmp (&regs->lr_vector[3], &zero, sizeof (zero)) in pltenter()
171 || memcmp (&regs->lr_vector[4], &zero, sizeof (zero)) in pltenter()
172 || memcmp (&regs->lr_vector[5], &zero, sizeof (zero)) in pltenter()
173 || memcmp (&regs->lr_vector[6], &zero, sizeof (zero)) in pltenter()
174 || memcmp (&regs->lr_vector[7], &zero, sizeof (zero))) in pltenter()
178 regs->lr_vector[i].zmm[0] in pltenter()
Dtst-auditmod6b.c139 uintptr_t *defcook, La_regs *regs, unsigned int *flags, in pltenter() argument
152 if (memcmp (&regs->lr_xmm[i], &xmm, sizeof (xmm)) in pltenter()
153 || memcmp (&regs->lr_vector[i], &xmm, sizeof (xmm))) in pltenter()
158 regs->lr_xmm[i] = (La_x86_64_xmm) _mm_set1_epi32 (i + 1); in pltenter()
159 regs->lr_vector[i].xmm[0] = regs->lr_xmm[i]; in pltenter()
160 regs->lr_vector[i + 1].ymm[0] in pltenter()
162 regs->lr_xmm[i + 1] = regs->lr_vector[i + 1].xmm[0]; in pltenter()
/glibc-2.36/elf/
Dsotruss-lib.c269 La_i86_regs *regs, unsigned int *flags, in la_i86_gnu_pltenter() argument
272 unsigned long int *sp = (unsigned long int *) regs->lr_esp; in la_i86_gnu_pltenter()
286 La_x86_64_regs *regs, unsigned int *flags, in la_x86_64_gnu_pltenter() argument
290 regs->lr_rdi, regs->lr_rsi, regs->lr_rdx, *flags); in la_x86_64_gnu_pltenter()
302 La_sparc32_regs *regs, unsigned int *flags, in la_sparc32_gnu_pltenter() argument
306 regs->lr_reg[0], regs->lr_reg[1], regs->lr_reg[2], in la_sparc32_gnu_pltenter()
319 La_sparc64_regs *regs, unsigned int *flags, in la_sparc64_gnu_pltenter() argument
323 regs->lr_reg[0], regs->lr_reg[1], regs->lr_reg[2], in la_sparc64_gnu_pltenter()
/glibc-2.36/sysdeps/generic/
Dunwind-dw2.c104 } regs; member
732 fs->regs.prev = NULL; in execute_cfa_program()
754 fs->regs.reg[reg].how = REG_SAVED_OFFSET; in execute_cfa_program()
755 fs->regs.reg[reg].loc.offset = offset; in execute_cfa_program()
760 fs->regs.reg[reg].how = REG_UNSAVED; in execute_cfa_program()
790 fs->regs.reg[reg].how = REG_SAVED_OFFSET; in execute_cfa_program()
791 fs->regs.reg[reg].loc.offset = offset; in execute_cfa_program()
796 fs->regs.reg[reg].how = REG_UNSAVED; in execute_cfa_program()
812 fs->regs.reg[reg].how = REG_SAVED_REG; in execute_cfa_program()
813 fs->regs.reg[reg].loc.reg = reg2; in execute_cfa_program()
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/nios2/
Dmakecontext.c59 ucp->uc_mcontext.regs[15] = (uintptr_t) ucp->uc_link; in __makecontext()
61 ucp->uc_mcontext.regs[23] = (uintptr_t) &__startcontext; in __makecontext()
63 ucp->uc_mcontext.regs[24] = (uintptr_t) 0; in __makecontext()
65 ucp->uc_mcontext.regs[27] = (uintptr_t) func; in __makecontext()
67 ucp->uc_mcontext.regs[28] = (uintptr_t) sp; in __makecontext()
72 ucp->uc_mcontext.regs[i + 3] = va_arg (ap, unsigned long); in __makecontext()
/glibc-2.36/sunrpc/
Dpmap_prot.c42 xdr_pmap (XDR *xdrs, struct pmap *regs) in xdr_pmap() argument
45 if (xdr_u_long (xdrs, &regs->pm_prog) && in xdr_pmap()
46 xdr_u_long (xdrs, &regs->pm_vers) && in xdr_pmap()
47 xdr_u_long (xdrs, &regs->pm_prot)) in xdr_pmap()
48 return xdr_u_long (xdrs, &regs->pm_port); in xdr_pmap()
/glibc-2.36/sysdeps/unix/sysv/linux/s390/
Dtst-ptrace-singleblock.c63 gregset_t regs; in tracer_func() local
81 parea.len = sizeof (regs); in tracer_func()
82 parea.process_addr = (unsigned long) &regs; in tracer_func()
96 TEST_VERIFY_EXIT (memcmp (&regs, &regs2, sizeof (regs)) == 0); in tracer_func()
99 (void *) regs[1], (void *) last_break); in tracer_func()
/glibc-2.36/include/
Dregex.h16 struct re_registers *regs);
21 int start, int range, struct re_registers *regs, int stop);
25 int length, int start, struct re_registers *regs);
30 int start, struct re_registers *regs, int stop);
33 (struct re_pattern_buffer *buffer, struct re_registers *regs,
/glibc-2.36/sysdeps/or1k/
Dsotruss-lib.c28 La_or1k_regs *regs, unsigned int *flags, in la_or1k_gnu_pltenter() argument
32 regs->lr_reg[0], regs->lr_reg[1], regs->lr_reg[2], in la_or1k_gnu_pltenter()
/glibc-2.36/sysdeps/sh/
Dsotruss-lib.c29 La_sh_regs *regs, unsigned int *flags, in la_sh_gnu_pltenter() argument
33 regs->lr_r4, regs->lr_r5, regs->lr_r6, *flags); in la_sh_gnu_pltenter()
/glibc-2.36/sysdeps/nios2/
Dsotruss-lib.c29 La_nios2_regs *regs, unsigned int *flags, in la_nios2_gnu_pltenter() argument
33 regs->lr_reg[0], regs->lr_reg[1], regs->lr_reg[2], in la_nios2_gnu_pltenter()

12345