Searched defs:os (Results 1 - 13 of 13) sorted by relevance

/bionic/libc/tools/
H A Dcheck-symbols.py4 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 Dgenserv.py4 import sys, os, string, re namespace
H A Dgenerate-NOTICE.py8 import os namespace
107 for directory, sub_directories, filenames in os.walk(arg):
113 path = os.path.join(directory, filename)
H A Dbionic_utils.py3 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 Dgensyscalls.py8 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 Dclean_header.py4 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 Dfind_users.py8 import sys, cpp, glob, os, re, getopt namespace
H A Ddefaults.py5 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 Dupdate_all.py3 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 Dfind_headers.py8 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 Dkernel.py7 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 Dutils.py3 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 Dgenerate6 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...]

Completed in 129 milliseconds