/bionic/libc/tools/ |
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 | genserv.py | 4 import sys, os, string, re namespace
|
H A D | generate-NOTICE.py | 8 import os namespace 107 for directory, sub_directories, filenames in os.walk(arg): 113 path = os.path.join(directory, filename)
|
H A D | bionic_utils.py | 3 import sys, os, commands, string namespace 47 d = os.path.dirname(path) 71 if os.path.isfile(file): 78 path = os.path.dirname(path) 86 if os.path.isfile(file): 97 # note that we can't use find_file_from_upwards() since we can't use os.path.abspath 104 return os.path.dirname(file) 115 path = os.path.normpath(bionic_root + "/../../external/kernel-headers/original") 116 if not os.path.isdir(path): 142 ret = os [all...] |
H A D | gensyscalls.py | 8 import sys, os.path, glob, re, commands, filecmp, shutil namespace 32 path = os.path.abspath(path) 33 if not os.path.exists(path): 34 parent = os.path.dirname(path) 37 os.mkdir(path) 40 dir = os.path.dirname( bionic_temp + relpath ) 411 if not os.path.exists( bionic_temp ): 427 if not os.path.exists( bionic_root + stub ):
|
/bionic/libc/kernel/tools/ |
H A D | clean_header.py | 4 import sys, cpp, kernel, glob, os, re, getopt namespace 17 if not os.path.exists(src_path): 23 if not os.path.isfile(src_path): 29 if os.path.commonprefix( [ src_path, original_path ] ) != original_path: 56 dst_path = os.path.normpath( kernel_cleaned_path + "/" + dst_path ) 104 """ % os.path.basename(sys.argv[0])
|
H A D | find_users.py | 8 import sys, cpp, glob, os, re, getopt namespace
|
H A D | defaults.py | 5 import time, os, sys namespace 19 kernel_original_path = os.path.normpath( find_program_dir() + '/../../../../external/kernel-headers/original' ) 23 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 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): 46 for root, dirs, files in os.walk( original_dir ): 48 base, ext = os.path.splitext(file) 55 b.readDir( os.path.normpath( progdir + "/../arch-%s" % arch ) ) 57 b.readDir( os.path.normpath( progdir + "/../common" ) )
|
H A D | find_headers.py | 8 import sys, cpp, glob, os, re, getopt, kernel namespace 61 if not os.path.exists(kernel_root): 65 if not os.path.isdir(kernel_root): 69 if not os.path.isdir(kernel_root+"/include/linux"): 74 if not os.path.exists(wanted_config): 78 if not os.path.isfile(wanted_config): 84 for archdir in os.listdir(kernel_root+"/arch"): 85 if os.path.exists("%s/arch/%s/include/asm" % (kernel_root, archdir)): 96 if os.path.isdir(kernel_root+"/asm"):
|
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 | utils.py | 3 import sys, os, commands, string, commands namespace 45 return os.path.basename(sys.argv[0]) 48 return os.path.dirname(sys.argv[0]) 55 path = os.path.realpath(sys.argv[0]) 56 path = os.path.dirname(path) 66 if os.path.isfile(file): 73 path = os.path.dirname(path) 91 parent = os.path.dirname(path) 101 if os.path.isdir(dir): 103 os [all...] |
/bionic/libc/tools/zoneinfo/ |
H A D | generate | 6 import os namespace 14 bionic_libc_tools_zoneinfo_dir = os.path.realpath(os.path.dirname(sys.argv[0])) 15 bionic_libc_tools_dir = os.path.dirname(bionic_libc_tools_zoneinfo_dir) 16 bionic_libc_dir = os.path.dirname(bionic_libc_tools_dir) 17 bionic_dir = os.path.dirname(bionic_libc_dir) 20 if not os.path.isdir(bionic_libc_tools_zoneinfo_dir): 23 if not os.path.isdir(bionic_libc_zoneinfo_dir): 72 os.chdir(tmp_dir) 89 os [all...] |