/bionic/libc/tools/ |
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 | 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-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 | 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) 565 self.scan_linux_unistd_h(glibc_fp, os [all...] |
H A D | check-symbols.py | 4 import os namespace 10 toolchain = os.environ['ANDROID_TOOLCHAIN'] 19 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) 29 so_file = '%s/system/lib/%s.so' % (os.environ['ANDROID_PRODUCT_OUT'], library)
|
H A D | genlibgcc_compat.py | 68 import os namespace 78 android_build_top_path = os.environ["ANDROID_BUILD_TOP"]
|
H A D | generate-NOTICE.py | 8 import os namespace 110 for directory, sub_directories, filenames in os.walk(arg): 116 path = os.path.join(directory, filename)
|
H A D | genserv.py | 4 import sys, os, string, re namespace
|
/bionic/libc/kernel/tools/ |
H A D | defaults.py | 5 import time, os, sys namespace 16 kernel_original_path = os.path.normpath( find_program_dir() + '/../../../../external/kernel-headers/original' ) 19 kernel_cleaned_path = os.path.normpath( find_program_dir() + '/..' )
|
H A D | update_all.py | 3 import sys, cpp, kernel, glob, os, re, getopt, clean_header, subprocess namespace 19 """ % { "progname" : os.path.basename(sys.argv[0]) } 36 if not os.path.isdir(original_dir): 40 if not os.path.isdir(original_dir): 49 for root, dirs, files in os.walk( original_dir ): 54 base, ext = os.path.splitext(file) 61 b.readDir( os.path.normpath( progdir + "/../arch-%s" % arch ) ) 63 b.readDir( os.path.normpath( progdir + "/../common" ) )
|
H A D | utils.py | 5 import os namespace 11 sys.stderr.write(os.path.basename(sys.argv[0]) + ": error: ") 17 return os.path.dirname(sys.argv[0]) 35 parent = os.path.dirname(path) 45 if os.path.isdir(dir): 47 os.mkdir(dir) 58 #path = os.path.realpath(path) 59 if os.path.exists(path): 63 #path = os.path.realpath(path) 64 for root, dirs, files in os [all...] |
H A D | clean_header.py | 72 import sys, cpp, kernel, glob, os, re, getopt namespace 85 if not os.path.exists(src_path): 91 if not os.path.isfile(src_path): 97 if os.path.commonprefix( [ src_path, original_path ] ) != original_path: 135 dst_path = os.path.normpath( kernel_cleaned_path + "/" + dst_path ) 182 """ % os.path.basename(sys.argv[0])
|
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/libc/tools/zoneinfo/ |
H A D | update-tzdata.py | 8 import os namespace 23 if not os.path.isdir(dir): 27 bionic_libc_tools_zoneinfo_dir = os.path.realpath(os.path.dirname(sys.argv[0])) 30 bionic_dir = os.path.realpath('%s/../../..' % bionic_libc_tools_zoneinfo_dir) 37 icu_dir = os.path.realpath('%s/../external/icu' % bionic_dir) 38 icu4c_dir = os.path.realpath('%s/icu4c/source' % icu_dir) 39 icu4j_dir = os.path.realpath('%s/icu4j' % icu_dir) 74 os.chdir(tmp_dir) 113 original_working_dir = os [all...] |
/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/libc/bionic/ |
H A D | libc_logging.cpp | 413 BufferOutputStream os(buffer, buffer_size); 416 out_vformat(os, format, args); 418 return os.total; 422 FdOutputStream os(fd); 425 out_vformat(os, format, args); 427 return os.total; 546 BufferOutputStream os(buffer, sizeof(buffer)); 547 out_vformat(os, format, args); 621 BufferOutputStream os(msg, sizeof(msg)); 622 out_vformat(os, forma [all...] |