Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 30) sorted by relevance

12

/bionic/tests/
Dregex_test.cpp24 regex_t re; in TEST() local
25 ASSERT_EQ(0, regcomp(&re, "ab*c", 0)); in TEST()
26 ASSERT_EQ(0, regexec(&re, "abbbc", 0, nullptr, 0)); in TEST()
27 ASSERT_EQ(REG_NOMATCH, regexec(&re, "foo", 0, nullptr, 0)); in TEST()
30 regerror(REG_NOMATCH, &re, buf, sizeof(buf)); in TEST()
37 regfree(&re); in TEST()
41 regex_t re; in TEST() local
43 ASSERT_EQ(0, regcomp(&re, "b", 0)); in TEST()
44 ASSERT_EQ(0, regexec(&re, "abc", 1, matches, 0)); in TEST()
47 regfree(&re); in TEST()
[all …]
/bionic/benchmarks/linker_relocation/regen/
Ddump_relocs.py38 import re
71 m = re.search(r'\(SONAME\)\s+Library soname: \[(.+)\]$', line)
85 m = re.search(r'\(NEEDED\)\s+Shared library: \[(.+)\]$', line)
91 kSymbolMatcher = re.compile(r'''
102 ''', re.VERBOSE)
139 kRelocationMatcher = re.compile(r'''
149 ''', re.VERBOSE)
Dgen_bench.py36 import re
271 self._names = {x : re.sub(r'\.so$', '', x.soname) for x in all_libs}
/bionic/libc/tools/
Dgenserv.py4 import sys, os, string, re
14 re_service = re.compile(r"([\d\w\-_]+)\s+(\d+)/(tcp|udp)(.*)")
15 re_alias = re.compile(r"([\d\w\-_]+)(.*)")
Dsymbols.py18 import re
39 r = re.compile(
52 symbol = re.sub('@.*', '', symbol)
Dgenfunctosyscallnrs.py6 import re
60 m = re.search(r"libseccomp_gen_syscall_nrs_([^/]+)", filename)
Dcheck-symbols-glibc.py20 import re
31 arch = re.sub(r'.*/linux-x86/([^/]+)/.*', r'\1', toolchain)
Dgenseccomp.py7 import re
41 format_re = re.compile(r'^\s*([A-Za-z_][A-Za-z0-9_]+)\s*$')
88 constant_re = re.compile(
90 token_re = re.compile(r'\b[A-Za-z_][A-Za-z0-9_]+\b')
306 m = re.search(r"libseccomp_gen_syscall_nrs_([^/]+)", filename)
Dgenerate_notice.py7 import re
116 line = re.sub(r"^ \* ", "", line)
Dgensyscalls.py10 import re
/bionic/libc/kernel/tools/
Dupdate_all.py3 import sys, cpp, kernel, glob, os, re, getopt, clean_header, shutil
84 pattern = re.compile(r'^\s*#\s*define\s*__NR_([a-z_]\S+)')
94 m = re.search(pattern, line)
Dkernel.py7 import sys, cpp, re, os.path, time
61 re_combined = re.compile(re_combined_str)
65 re_rel_dir = re.compile(r'^.*"([\d\w_\+\.\-/]+)".*$')
296 re_CONFIG_ = re.compile(r"^(CONFIG_\w+)=(.*)$")
Dclean_header.py72 import sys, cpp, kernel, glob, os, re, getopt
97 m = re.search(r"(^|/)asm-([\w\d_\+\.\-]+)/.*", rel_path)
Dcpp.py7 import re
1138 result += re.sub(r'(\w+) \(', r'\1(', expr)
1471 result = re.sub(r'(\w+) \(', r'\1(', result)
/bionic/libc/arch-x86_64/bionic/
D__bionic_clone.S74 # We're the parent; nothing to do.
/bionic/docs/
D32-bit-abi.md9 `fseeko` and `ftello` available. Instead they're always available from API
29 the situation becomes complicated. If you're targeting an API before 21, almost
36 later, if you're using Clang we'll inline an `mmap64` implementation in the
63 in the 64-bit ABI even though they're identical to the non-`64` names.
81 in the 64-bit ABI even though they're identical to the non-`64` names.
Ddefines.md27 `__ANDROID_API__` to test which version you're building against. This is
55 the NDK you're being built with. Usually only `__NDK_MAJOR__` will be necessary.
Dstatus.md170 …* re-introduced various <resolv.h> functions: `ns_format_ttl`, `ns_get16`, `ns_get32`, `ns_initpar…
281 `pthread_t`, if you're targeting O or above, they'll abort with the
306 won't actually exit and unmap until it's joined. If you're joining an
307 unjoinable thread, the fix is to stop marking it detached. If you're
315 signal). That's still not completely safe because if you're too late
350 build system they're using. The exact subset of FORTIFY available to
Delf-tls.md408 > exactly for this kind of thing. So this patch simply reads that metadata in, and re-implements
731 * Use an `--android-tls-variant2` flag (or `--bionic-tls-variant2`, we're trying to make [Bionic
787 This workaround doesn't help with statically-linked executables, but they're probably less of a
847 * It looks like glibc's ld.so re-relocates itself after loading a program, so a program's symbols
Dfdsan.md138 This implies that either we're accidentally closing out file descriptor too early, or someone else …
/bionic/libc/arch-x86/bionic/
D__bionic_clone.S53 # We're the parent; nothing to do.
/bionic/
Dandroid-changes-for-ndk-developers.md34 is loaded, even if you're not yet targeting that API level.
271 with the NDK, but if you're generating ELF files yourself make sure
272 you're not generating ELF files that claim to have text relocations,
347 default. Ensure you're using the current NDK and that you haven't
386 *Resolution*: we're aware of one middleware product that introduces these
419 have reported, even if the code you're debugging doesn't actually call
DREADME.md126 # These are legacy files of dubious provenance. We're working to clean
172 an invalid argument helps check that we're generating the right symbol
186 Note that if you're actually just trying to expose device-specific headers to
/bionic/libc/kernel/
DREADME.md42 Contains various Python and shell scripts used to get and re-generate
/bionic/linker/
DAndroid.bp520 // Parts of the linker that we're testing.

12