Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 32) 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/
Dgenseccomp.py7 import re
42 format_re = re.compile(r'^\s*([A-Za-z_][A-Za-z0-9_]+)\s*$')
96 line_re = re.compile(r'^# \d+ ".*".*')
97 undef_re = re.compile(r'^#undef\s.*')
98 define_re = re.compile(r'^\s*#define\s+([A-Za-z0-9_(,)]+)(?:\s+(.+))?\s*$')
99 token_re = re.compile(r'\b[A-Za-z_][A-Za-z0-9_]+\b')
311 m = re.search(r"libseccomp_gen_syscall_nrs_([^/]+)", filename)
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)
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
90 pattern = re.compile(r'^\s*#\s*define\s*__NR_([a-z_]\S+)')
99 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
1143 result += re.sub(r'(\w+) \(', r'\1(', expr)
1504 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.
DEINTR.md26 ignored or will kill your process... Unless you're a small single-threaded
29 `EINTR`. And if you're an Android app, the zygote has already installed a whole
87 can end up with your 1 minute timeout being indefinite if you're receiving
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.md205 …* re-introduced various <resolv.h> functions: `ns_format_ttl`, `ns_get16`, `ns_get32`, `ns_initpar…
316 `pthread_t`, if you're targeting O or above, they'll abort with the
341 won't actually exit and unmap until it's joined. If you're joining an
342 unjoinable thread, the fix is to stop marking it detached. If you're
350 signal). That's still not completely safe because if you're too late
385 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-riscv64/bionic/
D__bionic_clone.S57 # We're in the child now. Set the end of the frame record chain.
/bionic/libc/arch-x86/bionic/
D__bionic_clone.S53 # We're the parent; nothing to do.
/bionic/
DREADME.md126 # These are legacy files of dubious provenance. We're working to clean
198 documentation; we're trying to minimize the amount of English readers
207 be near the end of the file. You may need to add a new section if you're
219 that we're generating the right symbol and have the right declaration in
226 want to check that external/ltp does contain tests for the syscall you're
287 Note that if you're actually just trying to expose device-specific headers to
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
/bionic/libc/kernel/
DREADME.md42 Contains various Python and shell scripts used to get and re-generate
/bionic/linker/
DAndroid.bp531 // Parts of the linker that we're testing.

12