Searched refs:os (Results 1 - 14 of 14) sorted by relevance

/bionic/libc/kernel/tools/
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 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])
65 parent = os.path.dirname(path)
75 if os.path.isdir(dir):
77 os.mkdir(dir)
85 if os.path.exists(path):
91 if not os.path.isdir(path):
94 for root, dirs, files in os.walk(path):
98 if os
[all...]
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 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 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):
/bionic/libc/tools/zoneinfo/
H A Dupdate-tzdata.py7 import os namespace
15 bionic_libc_tools_zoneinfo_dir = os.path.realpath(os.path.dirname(sys.argv[0]))
16 bionic_libc_tools_dir = os.path.dirname(bionic_libc_tools_zoneinfo_dir)
17 bionic_libc_dir = os.path.dirname(bionic_libc_tools_dir)
18 bionic_dir = os.path.dirname(bionic_libc_dir)
21 if not os.path.isdir(bionic_libc_tools_zoneinfo_dir):
24 if not os.path.isdir(bionic_libc_zoneinfo_dir):
64 os.chdir(tmp_dir)
120 os
[all...]
/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 Dgensyscalls.py8 import sys, os.path, glob, re, commands, filecmp, shutil namespace
13 bionic_libc_root = os.environ["ANDROID_BUILD_TOP"] + "/bionic/libc/"
22 path = os.path.abspath(path)
23 if not os.path.exists(path):
24 parent = os.path.dirname(path)
27 os.mkdir(path)
30 dir = os.path.dirname( bionic_temp + relpath )
401 if not os.path.exists( bionic_temp ):
417 if not os.path.exists( bionic_libc_root + stub ):
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 Dgenserv.py4 import sys, os, string, re namespace
H A Dbionic_utils.py3 import sys, os, commands, string namespace
/bionic/libc/bionic/
H A Dlibc_logging.cpp405 BufferOutputStream os(buffer, buffer_size);
408 out_vformat(os, format, args);
410 return os.total;
414 FdOutputStream os(fd);
417 out_vformat(os, format, args);
419 return os.total;
443 BufferOutputStream os(buffer, sizeof(buffer));
444 out_vformat(os, format, args);
491 BufferOutputStream os(msg, sizeof(msg));
492 out_vformat(os, forma
[all...]

Completed in 142 milliseconds