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(
51 symbol = re.sub('@.*', '', symbol)
Dcheck-symbols.py5 import re
11 arch = re.sub(r'.*/linux-x86/([^/]+)/.*', r'\1', toolchain)
54 r = re.compile(r' +\d+: [0-9a-f]+ +\d+ (FUNC|OBJECT) +\S+ +\S+ +\d+ (\S+)')
Dgenseccomp.py7 import re
42 format_re = re.compile(r'^\s*([A-Za-z_][A-Za-z0-9_]+)\s*$')
89 constant_re = re.compile(
91 token_re = re.compile(r'\b[A-Za-z_][A-Za-z0-9_]+\b')
298 m = re.search(r"libseccomp_gen_syscall_nrs_([^/]+)", filename)
Dgenfunctosyscallnrs.py7 import re
51 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)
Dgenerate-NOTICE.py7 import re
95 line = re.sub("^ \* ", "", line)
Dgensyscalls.py11 import re
/bionic/libc/kernel/tools/
Dupdate_all.py3 import sys, cpp, kernel, glob, os, re, getopt, clean_header, subprocess, 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, string, time
61 re_combined = re.compile(re_combined_str)
65 re_rel_dir = re.compile(r'^.*"([\d\w_\+\.\-/]+)".*$')
297 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/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
/bionic/libc/arch-x86_64/bionic/
D__bionic_clone.S74 # We're the parent; nothing to do.
/bionic/libc/arch-x86/bionic/
D__bionic_clone.S52 # We're the parent; nothing to do.
/bionic/benchmarks/
DAndroid.bp92 // useful. If you're trying to run the current benchmarks on an older
/bionic/
Dandroid-changes-for-ndk-developers.md29 is loaded, even if you're not yet targeting that API level.
268 with the NDK, but if you're generating ELF files yourself make sure
269 you're not generating ELF files that claim to have text relocations,
344 default. Ensure you're using the current NDK and that you haven't
383 *Resolution*: we're aware of one middleware product that introduces these
416 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.md30 Contains various Python and shell scripts used to get and re-generate
/bionic/linker/
DAndroid.bp451 // Parts of the linker that we're testing.

12