/bionic/tests/ |
H A D | regex_test.cpp | 24 regex_t re; local 25 ASSERT_EQ(0, regcomp(&re, "ab*c", 0)); 26 ASSERT_EQ(0, regexec(&re, "abbbc", 0, NULL, 0)); 27 ASSERT_EQ(REG_NOMATCH, regexec(&re, "foo", 0, NULL, 0)); 30 regerror(REG_NOMATCH, &re, buf, sizeof(buf)); 37 regfree(&re);
|
/bionic/libc/tools/ |
H A D | check-symbols-glibc.py | 5 import re namespace 11 arch = re.sub(r'.*/linux-x86/([^/]+)/.*', r'\1', toolchain) 20 r = re.compile(r' +\d+: [0-9a-f]+ +\d+ (I?FUNC|OBJECT) +\S+ +\S+ +\d+ (\S+)') 30 symbol = re.sub('@.*', '', symbol) 110 # Some standard stuff isn't yet in the versions of glibc we're using.
|
H A D | check-symbols.py | 5 import re namespace 11 arch = re.sub(r'.*/linux-x86/([^/]+)/.*', r'\1', toolchain) 38 r = re.compile(r' +\d+: [0-9a-f]+ +\d+ (FUNC|OBJECT) +\S+ +\S+ +\d+ (\S+)')
|
H A D | genserv.py | 4 import sys, os, string, re namespace 14 re_service = re.compile(r"([\d\w\-_]+)\s+(\d+)/(tcp|udp)(.*)") 15 re_alias = re.compile(r"([\d\w\-_]+)(.*)")
|
H A D | genlibgcc_compat.py | 72 import re namespace 103 prog=re.compile("(?<=undefined reference to ')\w+")
|
H A D | generate-NOTICE.py | 9 import re namespace 80 line = re.sub("^ \* ", "", line)
|
H A D | gensyscalls.py | 11 import re namespace 427 pattern = re.compile(r'^#define __NR_([a-z]\S+) .*') 430 m = re.search(pattern, line) 494 D("re-generating stubs and support files...")
|
/bionic/libc/arch-x86_64/bionic/ |
H A D | __bionic_clone.S | 41 # They're flipped for x86-64 compared to all our other architectures and __bionic_clone. 65 # We're in the child now, so call __start_thread 74 # We're the parent; nothing to do.
|
/bionic/libc/kernel/tools/ |
H A D | clean_header.py | 77 import sys, cpp, kernel, glob, os, re, getopt namespace 120 m = re.match(r"asm-([\w\d_\+\.\-]+)(/.*)", src_path) 129 m_uapi = re.match(r"(uapi)/([\w\d_\+\.\-]+)(/.*)", src_path) 132 m_uapi_arch = re.match(r"asm-([\w\d_\+\.\-]+)", m_uapi.group(2))
|
H A D | kernel.py | 7 import sys, cpp, re, os.path, string, time namespace 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+)=(.*)$")
|
H A D | update_all.py | 3 import sys, cpp, kernel, glob, os, re, getopt, clean_header, subprocess namespace
|
H A D | cpp.py | 3 import sys, re, string namespace 573 re_cpp_constant = re.compile(r"((\d|\w|_)+)") 755 # The "classic" algorithm would be fine if we were using a tool to generate the parser, but we're not. 1292 # small optimization to re-generate #ifdef and #ifndef 1458 # We're going to parse the next tokens of the same block 1498 # We're going to skip the tokens for this declaration
|
/bionic/benchmarks/ |
H A D | benchmark_main.cpp | 76 regex_t re; local 77 if (regcomp(&re, argv[i], 0) != 0) { 81 int match = regexec(&re, name_, 0, NULL, 0); 82 regfree(&re);
|
/bionic/libc/arch-x86/bionic/ |
H A D | __bionic_clone.S | 46 # We're the parent; nothing to do.
|
/bionic/libc/tools/zoneinfo/ |
H A D | update-tzdata.py | 9 import re namespace 156 new_version = re.search('(tzdata.+)\\.tar\\.gz', data_filename).group(1) 203 m = re.compile('.*href="/time-zones/repository/releases/(tzdata20\d\d\c\.tar\.gz)".*').match(line) 207 # If you're several releases behind, we'll walk you through the upgrades
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
H A D | inst.h | 484 BITFIELD_FIELD(unsigned int re : 5, 495 BITFIELD_FIELD(unsigned int re : 5, 507 BITFIELD_FIELD(unsigned int re : 5,
|
/bionic/libm/ |
H A D | Android.mk | 232 # TODO: re-enable i387/e_sqrtf.S for x86, and maybe others.
|