/bionic/libc/tools/ |
H A D | ndk_missing_symbols.py | 17 import os namespace 25 with open(os.devnull, 'w') as devnull: 36 device = (symbols.GetFromElf(os.path.join(tmp_dir, 'libc.so')) | 37 symbols.GetFromElf(os.path.join(tmp_dir, 'libm.so')))
|
H A D | check-symbols.py | 4 import os namespace 10 toolchain = os.environ['ANDROID_TOOLCHAIN'] 31 path = '%s/development/ndk/platforms/android-%s/arch-%s/symbols/%s.so.%s.txt' % (os.environ['ANDROID_BUILD_TOP'], api, arch, library, functions_or_variables) 45 so_file = '%s/system/%s/%s.so' % (os.environ['ANDROID_PRODUCT_OUT'], lib_dir, library)
|
H A D | symbols.py | 17 import os namespace 58 out_dir = os.environ['ANDROID_PRODUCT_OUT'] 59 lib_dir = os.path.join(out_dir, 'obj') 63 static_lib_dir = os.path.join( 66 '{}_intermediates'.format(os.path.splitext(f)[0])) 68 os.path.join(static_lib_dir, f), 74 out_dir = os.environ['ANDROID_PRODUCT_OUT'] 75 lib_dir = os.path.join(out_dir, 'system/lib64') 76 if not os.path.isdir(lib_dir): 77 lib_dir = os [all...] |
H A D | genserv.py | 4 import sys, os, string, re namespace
|
H A D | generate-NOTICE.py | 8 import os namespace 37 if os.path.splitext(path)[1] in uninteresting_extensions: 155 for directory, sub_directories, filenames in os.walk(arg): 161 path = os.path.join(directory, filename) 171 if os.path.isdir(arg):
|
H A D | check-symbols-glibc.py | 19 import os namespace 30 toolchain = os.environ['ANDROID_TOOLCHAIN'] 43 (os.getenv('ANDROID_BUILD_TOP'), arch)) 66 this_dir = os.path.dirname(os.path.realpath(__file__)) 67 posix = symbols.GetFromTxt(os.path.join(this_dir, 'posix-2013.txt'))
|
H A D | genseccomp.py | 3 import os namespace 216 os.chdir(os.path.join(os.environ["ANDROID_BUILD_TOP"], "bionic/libc")) 228 if os.path.isfile(output_path):
|
H A D | genversion-scripts.py | 7 import os.path namespace 14 bionic_libc_root = os.path.join(os.environ["ANDROID_BUILD_TOP"], "bionic/libc") 15 bionic_libm_root = os.path.join(os.environ["ANDROID_BUILD_TOP"], "bionic/libm") 16 bionic_libdl_root = os.path.join(os.environ["ANDROID_BUILD_TOP"], "bionic/libdl") 17 libc_script = os.path.join(bionic_libc_root, "libc.map.txt") 18 libm_script = os.path.join(bionic_libm_root, "libm.map.txt") 19 libdl_script = os [all...] |
H A D | gensyscalls.py | 12 import os.path namespace 29 bionic_libc_root = os.path.join(os.environ["ANDROID_BUILD_TOP"], "bionic/libc") 36 path = os.path.abspath(path) 37 if not os.path.exists(path): 38 parent = os.path.dirname(path) 41 os.mkdir(path) 45 full_path = os.path.join(bionic_temp, relpath) 46 dir = os.path.dirname(full_path) 580 for line in open(os [all...] |
/bionic/tests/ |
H A D | complex_test.cpp | 45 std::ostream& operator<<(std::ostream& os, const double _Complex c) { argument 46 os << "(" << creal(c) << "," << cimag(c) << "i)"; 47 return os; 49 std::ostream& operator<<(std::ostream& os, const float _Complex c) { argument 50 os << "(" << crealf(c) << "," << cimagf(c) << "i)"; 51 return os; 53 std::ostream& operator<<(std::ostream& os, const long double _Complex c) { argument 54 os << "(" << creall(c) << "," << cimagl(c) << "i)"; 55 return os;
|
H A D | leak_test.cpp | 84 void DumpTo(std::ostream& os) const { 85 os << previous_size_; 99 std::ostream& operator<<(std::ostream& os, const LeakChecker& lc) { argument 100 lc.DumpTo(os); 101 return os;
|
/bionic/libc/kernel/tools/ |
H A D | clean_header.py | 72 import sys, cpp, kernel, glob, os, re, getopt namespace 87 if not os.path.exists(src_file): 91 if not os.path.isfile(src_file): 147 """ % os.path.basename(sys.argv[0]) 175 dst_file = os.path.join(dst_dir, path) 176 src_file = os.path.join(src_dir, path) 187 dst_file = os.path.join(dst_dir, path) 188 src_file = os.path.join(src_dir, path)
|
H A D | update_all.py | 3 import sys, cpp, kernel, glob, os, re, getopt, clean_header, subprocess, shutil namespace 24 """ % { "progname" : os.path.basename(sys.argv[0]) } 29 update_dir = os.path.join(get_kernel_dir(), update_rel_dir) 31 os.mkdir(update_dir, 0755) 33 src_dir = os.path.normpath(os.path.join(original_dir, src_rel_dir)) 35 mod_src_dir = os.path.join(modified_dir, src_rel_dir) 36 update_dir = os.path.join(get_kernel_dir(), update_rel_dir) 39 for root, _, files in os.walk(src_dir): 41 _, ext = os [all...] |
H A D | defaults.py | 5 import time, os, sys namespace
|
H A D | utils.py | 5 import os namespace 11 sys.stderr.write(os.path.basename(sys.argv[0]) + ": error: ") 17 return os.path.join(get_android_root(), "external/kernel-headers") 21 return os.path.join(get_kernel_headers_dir(), "original") 25 return os.path.join(get_kernel_headers_dir(), "modified") 29 return os.path.join(get_android_root(), "bionic/libc/kernel") 33 if "ANDROID_BUILD_TOP" in os.environ: 36 cwd = os.getcwd() 37 root = os.environ["ANDROID_BUILD_TOP"] 40 return os [all...] |
H A D | kernel.py | 7 import sys, cpp, re, os.path, string, time namespace 89 hdr_dir = os.path.realpath(os.path.dirname(from_file)) 90 hdr_dir = hdr_dir.replace("%s/" % os.path.realpath(kernel_root), 108 if not os.path.exists(path):
|
H A D | cpp.py | 6 import os namespace 11 top = os.getenv('ANDROID_BUILD_TOP') 16 site.addsitedir(os.path.join(top, 'external/clang/bindings/python')) 29 # Note that setting LD_LIBRARY_PATH with os.putenv() sometimes doesn't help. 30 clang.cindex.Config.set_library_path(os.path.join(top, 'prebuilts/sdk/tools/linux/lib64'))
|
/bionic/tools/bionicbb/ |
H A D | bionicbb.py | 19 import os namespace 129 if os.environ.get('WERKZEUG_RUN_MAIN') == 'true':
|
H A D | presubmit.py | 20 import os.path namespace 40 return 'CleanSpec.mk' in [os.path.basename(f) for f in files]
|
/bionic/tools/versioner/ |
H A D | run_tests.py | 3 import os namespace 22 os.chdir(path) 27 if os.path.exists("expected_fail"): 63 root_dir = os.path.dirname(os.path.realpath(__file__)) 64 test_dir = os.path.join(root_dir, "tests") 65 tests = os.listdir(test_dir) 79 path = os.path.join(test_dir, test) 80 if not os.path.isdir(path):
|