Searched defs:os (Results 1 - 14 of 14) sorted by last modified time

/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 )
101 """ % os.path.basename(sys.argv[0])
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 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 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):
H A Dupdate_all.py3 import sys, cpp, kernel, glob, os, re, getopt, clean_header namespace
24 """ % { "progname" : os.path.basename(sys.argv[0]) }
41 if not os.path.isdir(original_dir):
45 if not os.path.isdir(original_dir):
51 for root, dirs, files in os.walk( original_dir ):
53 base, ext = os.path.splitext(file)
60 b.readDir( os.path.normpath( progdir + "/../arch-%s" % arch ) )
62 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])
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)
78 return os.path.dirname(file)
95 ret = os.path.isdir( path )
217 parent = os
[all...]
/bionic/libc/tools/
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 Dchecksyscalls.py8 import sys, re, string, os, commands namespace
49 if not os.path.isdir(linux_root):
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 Dgensyscalls.py8 import sys, os.path, glob, re, commands, filecmp, shutil namespace
38 path = os.path.abspath(path)
39 if not os.path.exists(path):
40 parent = os.path.dirname(path)
43 os.mkdir(path)
46 dir = os.path.dirname( bionic_temp + relpath )
533 if not os.path.exists( bionic_temp ):
555 if not os.path.exists( bionic_root + stub ):
/bionic/libc/tools/zoneinfo/
H A DZoneCompactor.java75 private void writeInt(OutputStream os, int x) throws IOException { argument
76 os.write((x >> 24) & 0xff);
77 os.write((x >> 16) & 0xff);
78 os.write((x >> 8) & 0xff);
79 os.write( x & 0xff);
H A Dgenerate6 import os namespace
16 bionic_libc_tools_zoneinfo_dir = os.path.realpath(os.path.dirname(sys.argv[0]))
17 bionic_libc_tools_dir = os.path.dirname(bionic_libc_tools_zoneinfo_dir)
18 bionic_libc_dir = os.path.dirname(bionic_libc_tools_dir)
19 bionic_dir = os.path.dirname(bionic_libc_dir)
21 if not os.path.isdir(bionic_libc_tools_zoneinfo_dir) or not os.path.isdir(bionic_libc_zoneinfo_dir):
50 os.chdir(tmp_dir)
58 os
[all...]

Completed in 49 milliseconds