/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 | checksyscalls.py | 8 import sys, re, string, os, commands namespace 69 re_nr_line = re.compile( r"#define __NR_(\w*)\s*\(__NR_SYSCALL_BASE\+\s*(\w*)\)" ) 70 re_nr_clock_line = re.compile( r"#define __NR_(\w*)\s*\(__NR_timer_create\+(\w*)\)" ) 71 re_arm_nr_line = re.compile( r"#define __ARM_NR_(\w*)\s*\(__ARM_NR_BASE\+\s*(\w*)\)" ) 72 re_x86_line = re.compile( r"#define __NR_(\w*)\s*([0-9]*)" ) 73 re_mips_line = re.compile( r"#define __NR_(\w*)\s*\(__NR_Linux\s*\+\s*([0-9]*)\)" )
|
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 | generate-NOTICE.py | 9 import re namespace
|
H A D | gensyscalls.py | 8 import sys, os.path, glob, re, commands, filecmp, shutil namespace 543 D( "re-generating stubs and support files" )
|
/bionic/libc/kernel/tools/ |
H A D | find_users.py | 8 import sys, cpp, glob, os, re, getopt namespace
|
H A D | clean_header.py | 4 import sys, cpp, kernel, glob, os, re, getopt namespace 46 re_asm_arch = re.compile( r"asm-([\w\d_\+\.\-]+)(/.*)" )
|
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_\+\.\-/]+)".*$') 298 re_CONFIG_ = re.compile(r"^(CONFIG_\w+)=(.*)$")
|
H A D | update_all.py | 3 import sys, cpp, kernel, glob, os, re, getopt, clean_header namespace 20 - if ANDROID_PRODUCT_OUT is defined in your environment, you're
|
H A D | find_headers.py | 8 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 D | cpp.py | 3 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/arch-x86/bionic/ |
H A D | clone.S | 45 # we're in the child thread now, call __thread_entry 102 # we're in the child now, call __bionic_clone_entry
|
/bionic/libc/tools/zoneinfo/ |
H A D | generate | 7 import re namespace 46 version = re.search('tzdata(.+)\.tar\.gz', filename).group(1) 122 # If you're several releases behind, we'll walk you through the upgrades one by one.
|