Searched refs:re (Results 1 - 15 of 15) sorted by relevance

/bionic/tests/
H A Dregex_test.cpp24 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);
H A Dbenchmark_main.cpp73 regex_t re; local
74 if (regcomp(&re, argv[i], 0) != 0) {
78 int match = regexec(&re, name_, 0, NULL, 0);
79 regfree(&re);
/bionic/libc/tools/
H A Dcheck-symbols.py5 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 Dgenserv.py4 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 Dgensyscalls.py8 import sys, os.path, glob, re, commands, filecmp, shutil namespace
307 pattern = re.compile(r'^#define __NR_([a-z]\S+) .*')
310 m = re.search(pattern, line)
405 D( "re-generating stubs and support files" )
H A Dgenerate-NOTICE.py9 import re namespace
/bionic/libc/kernel/tools/
H A Dfind_users.py8 import sys, cpp, glob, os, re, getopt namespace
H A Dkernel.py7 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_\+\.\-/]+)".*$')
298 re_CONFIG_ = re.compile(r"^(CONFIG_\w+)=(.*)$")
H A Dclean_header.py4 import sys, cpp, kernel, glob, os, re, getopt namespace
46 re_asm_arch = re.compile( r"asm-([\w\d_\+\.\-]+)(/.*)" )
H A Dupdate_all.py3 import sys, cpp, kernel, glob, os, re, getopt, clean_header namespace
H A Dfind_headers.py8 import sys, cpp, glob, os, re, getopt, kernel namespace
90 # if we're using the 'kernel_headers' directory, there is only asm/
95 # this can happen when we're using the 'kernel_headers' directory
H A Dcpp.py3 import sys, re, string namespace
848 re_octal = re.compile(r"\s*\(0[0-7]+\).*")
849 re_decimal = re.compile(r"\s*\(\d+[ulUL]*\).*")
850 re_hexadecimal = re.compile(r"\s*\(0[xX][0-9a-fA-F]*\).*")
987 re_cpp_constant = re.compile(r"((\d|\w|_)+)")
1717 # small optimization to re-generate #ifdef and #ifndef
1889 # We're going to parse the next tokens of the same block
1929 # We're going to skip the tokens for this declaration
/bionic/libc/tools/zoneinfo/
H A Dupdate-tzdata.py8 import re namespace
110 new_version = re.search('(tzdata.+)\\.tar\\.gz', data_filename).group(1)
167 m = re.compile('.*href="/time-zones/repository/releases/(tzdata20\d\d\c\.tar\.gz)".*').match(line)
171 # If you're several releases behind, we'll walk you through the upgrades
/bionic/libc/arch-x86/bionic/
H A Dclone.S42 # we're in the child thread now, call __thread_entry
49 # we're the parent; nothing to do.
102 # we're in the child now, call __bionic_clone_entry
109 # we're the parent; nothing to do.
/bionic/libm/
H A DAndroid.mk218 # TODO: re-enable i387/e_sqrtf.S for x86, and maybe others.

Completed in 1267 milliseconds