Home
last modified time | relevance | path

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

/bionic/libc/kernel/tools/
Dutils.py3 import sys, os, commands, string, commands
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.path.join(root,d) in excludes:
[all …]
Dupdate_all.py3 import sys, cpp, kernel, glob, os, re, getopt, clean_header, subprocess
19 """ % { "progname" : os.path.basename(sys.argv[0]) }
36 if not os.path.isdir(original_dir):
40 if not os.path.isdir(original_dir):
54 for root, dirs, files in os.walk( original_dir ):
59 base, ext = os.path.splitext(file)
66 b.readDir( os.path.normpath( progdir + "/../arch-%s" % arch ) )
68 b.readDir( os.path.normpath( progdir + "/../common" ) )
Ddefaults.py5 import time, os, sys
16 kernel_original_path = os.path.normpath( find_program_dir() + '/../../../../external/kernel-headers…
19 kernel_cleaned_path = os.path.normpath( find_program_dir() + '/..' )
Dclean_header.py77 import sys, cpp, kernel, glob, os, re, getopt
90 if not os.path.exists(src_path):
96 if not os.path.isfile(src_path):
102 if os.path.commonprefix( [ src_path, original_path ] ) != original_path:
140 dst_path = os.path.normpath( kernel_cleaned_path + "/" + dst_path )
188 """ % os.path.basename(sys.argv[0])
Dkernel.py7 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/zoneinfo/
Dupdate-tzdata.py8 import os
23 if not os.path.isdir(dir):
27 bionic_libc_tools_zoneinfo_dir = os.path.realpath(os.path.dirname(sys.argv[0]))
30 bionic_dir = os.path.realpath('%s/../../..' % bionic_libc_tools_zoneinfo_dir)
37 icu_dir = os.path.realpath('%s/../external/icu/icu4c/source' % bionic_dir)
71 os.chdir(tmp_dir)
110 original_working_dir = os.getcwd()
114 os.mkdir(icu_working_dir)
115 os.chdir(icu_working_dir)
122 os.chdir('tools/tzcode')
[all …]
/bionic/libc/tools/
Dcheck-symbols.py4 import os
10 toolchain = os.environ['ANDROID_TOOLCHAIN']
19 …path = '%s/development/ndk/platforms/android-%s/arch-%s/symbols/%s.so.%s.txt' % (os.environ['ANDRO…
29 so_file = '%s/system/lib/%s.so' % (os.environ['ANDROID_PRODUCT_OUT'], library)
Dcheck-symbols-glibc.py4 import os
10 toolchain = os.environ['ANDROID_TOOLCHAIN']
38 …symbols = symbols | GetSymbolsFromSo('%s/system/lib64/%s' % (os.environ['ANDROID_PRODUCT_OUT'], f))
Dgensyscalls.py10 import os.path
18 bionic_libc_root = os.environ["ANDROID_BUILD_TOP"] + "/bionic/libc/"
28 path = os.path.abspath(path)
29 if not os.path.exists(path):
30 parent = os.path.dirname(path)
33 os.mkdir(path)
37 dir = os.path.dirname(bionic_temp + relpath)
490 if not os.path.exists(bionic_temp):
504 if not os.path.exists(bionic_libc_root + stub):
Dgenlibgcc_compat.py68 import os
78 android_build_top_path = os.environ["ANDROID_BUILD_TOP"]
Dgenerate-NOTICE.py8 import os
110 for directory, sub_directories, filenames in os.walk(arg):
116 path = os.path.join(directory, filename)
Dgenserv.py4 import sys, os, string, re
Dbionic_utils.py3 import sys, os, commands, string
/bionic/libc/bionic/
Dlibc_logging.cpp410 BufferOutputStream os(buffer, buffer_size); in __libc_format_buffer() local
413 out_vformat(os, format, args); in __libc_format_buffer()
415 return os.total; in __libc_format_buffer()
419 FdOutputStream os(fd); in __libc_format_fd() local
422 out_vformat(os, format, args); in __libc_format_fd()
424 return os.total; in __libc_format_fd()
545 BufferOutputStream os(buffer, sizeof(buffer)); in __libc_format_log_va_list() local
546 out_vformat(os, format, args); in __libc_format_log_va_list()
620 BufferOutputStream os(msg, sizeof(msg)); in __libc_fatal() local
621 out_vformat(os, format, args); in __libc_fatal()