Searched refs:os (Results 1 – 12 of 12) sorted by relevance
/bionic/libc/kernel/tools/ |
D | update_all.py | 3 import sys, cpp, kernel, glob, os, re, getopt, clean_header 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" ) )
|
D | utils.py | 3 import sys, os, commands, string, commands 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.path.dirname(path) [all …]
|
D | defaults.py | 5 import time, os, sys 19 kernel_original_path = os.path.normpath( find_program_dir() + '/../../../../external/kernel-headers… 23 kernel_cleaned_path = os.path.normpath( find_program_dir() + '/..' )
|
D | find_headers.py | 8 import sys, cpp, glob, os, re, getopt, kernel 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"):
|
D | clean_header.py | 4 import sys, cpp, kernel, glob, os, re, getopt 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])
|
D | find_users.py | 8 import sys, cpp, glob, os, re, getopt
|
D | kernel.py | 7 import sys, cpp, re, os.path, string, time 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/ |
D | bionic_utils.py | 3 import sys, os, commands, string 47 d = os.path.dirname(path) 71 if os.path.isfile(file): 78 path = os.path.dirname(path) 86 if os.path.isfile(file): 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.path.isdir( path ) 154 if os.path.exists(path): [all …]
|
D | gensyscalls.py | 8 import sys, os.path, glob, re, commands, filecmp, shutil 37 if not os.path.exists(path): 38 parent = os.path.dirname(path) 41 os.mkdir(path) 44 dir = os.path.dirname( bionic_temp + relpath ) 499 if not os.path.exists( bionic_temp ): 501 os.mkdir( bionic_temp ) 521 if not os.path.exists( bionic_root + stub ):
|
D | checksyscalls.py | 8 import sys, re, string, os, commands 49 if not os.path.isdir(linux_root):
|
D | genserv.py | 4 import sys, os, string, re
|
/bionic/libc/tools/zoneinfo/ |
D | ZoneCompactor.java | 75 private void writeInt(OutputStream os, int x) throws IOException { in writeInt() argument 76 os.write((x >> 24) & 0xff); in writeInt() 77 os.write((x >> 16) & 0xff); in writeInt() 78 os.write((x >> 8) & 0xff); in writeInt() 79 os.write( x & 0xff); in writeInt()
|