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

/bionic/libc/tools/
H A Dsymbols.py17 import os namespace
58 out_dir = os.environ['ANDROID_PRODUCT_OUT']
59 lib_dir = os.path.join(out_dir, 'obj')
63 static_lib_dir = os.path.join(
66 '{}_intermediates'.format(os.path.splitext(f)[0]))
68 os.path.join(static_lib_dir, f),
74 out_dir = os.environ['ANDROID_PRODUCT_OUT']
75 lib_dir = os.path.join(out_dir, 'system/lib64')
76 if not os.path.isdir(lib_dir):
77 lib_dir = os
[all...]
H A Dndk_missing_symbols.py17 import os namespace
25 with open(os.devnull, 'w') as devnull:
36 device = (symbols.GetFromElf(os.path.join(tmp_dir, 'libc.so')) |
37 symbols.GetFromElf(os.path.join(tmp_dir, 'libm.so')))
H A Dcheck-symbols-glibc.py19 import os namespace
30 toolchain = os.environ['ANDROID_TOOLCHAIN']
43 (os.getenv('ANDROID_BUILD_TOP'), arch))
66 this_dir = os.path.dirname(os.path.realpath(__file__))
67 posix = symbols.GetFromTxt(os.path.join(this_dir, 'posix-2013.txt'))
H A Dgensyscalls.py12 import os.path namespace
29 bionic_libc_root = os.path.join(os.environ["ANDROID_BUILD_TOP"], "bionic/libc")
36 path = os.path.abspath(path)
37 if not os.path.exists(path):
38 parent = os.path.dirname(path)
41 os.mkdir(path)
45 full_path = os.path.join(bionic_temp, relpath)
46 dir = os.path.dirname(full_path)
565 self.scan_linux_unistd_h(glibc_fp, os
[all...]
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 Dgenlibgcc_compat.py68 import os namespace
78 android_build_top_path = os.environ["ANDROID_BUILD_TOP"]
H A Dgenerate-NOTICE.py8 import os namespace
110 for directory, sub_directories, filenames in os.walk(arg):
116 path = os.path.join(directory, filename)
H A Dgenserv.py4 import sys, os, string, re namespace
/bionic/libc/kernel/tools/
H A Ddefaults.py5 import time, os, sys namespace
16 kernel_original_path = os.path.normpath( find_program_dir() + '/../../../../external/kernel-headers/original' )
19 kernel_cleaned_path = os.path.normpath( find_program_dir() + '/..' )
H A Dupdate_all.py3 import sys, cpp, kernel, glob, os, re, getopt, clean_header, subprocess 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):
49 for root, dirs, files in os.walk( original_dir ):
54 base, ext = os.path.splitext(file)
61 b.readDir( os.path.normpath( progdir + "/../arch-%s" % arch ) )
63 b.readDir( os.path.normpath( progdir + "/../common" ) )
H A Dutils.py5 import os namespace
11 sys.stderr.write(os.path.basename(sys.argv[0]) + ": error: ")
17 return os.path.dirname(sys.argv[0])
35 parent = os.path.dirname(path)
45 if os.path.isdir(dir):
47 os.mkdir(dir)
58 #path = os.path.realpath(path)
59 if os.path.exists(path):
63 #path = os.path.realpath(path)
64 for root, dirs, files in os
[all...]
H A Dclean_header.py72 import sys, cpp, kernel, glob, os, re, getopt namespace
85 if not os.path.exists(src_path):
91 if not os.path.isfile(src_path):
97 if os.path.commonprefix( [ src_path, original_path ] ) != original_path:
135 dst_path = os.path.normpath( kernel_cleaned_path + "/" + dst_path )
182 """ % os.path.basename(sys.argv[0])
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 Dcpp.py6 import os namespace
11 top = os.getenv('ANDROID_BUILD_TOP')
16 site.addsitedir(os.path.join(top, 'external/clang/bindings/python'))
29 # Note that setting LD_LIBRARY_PATH with os.putenv() sometimes doesn't help.
30 clang.cindex.Config.set_library_path(os.path.join(top, 'prebuilts/sdk/tools/linux/lib64'))
/bionic/libc/tools/zoneinfo/
H A Dupdate-tzdata.py8 import os namespace
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' % bionic_dir)
38 icu4c_dir = os.path.realpath('%s/icu4c/source' % icu_dir)
39 icu4j_dir = os.path.realpath('%s/icu4j' % icu_dir)
74 os.chdir(tmp_dir)
113 original_working_dir = os
[all...]
/bionic/tools/bionicbb/
H A Dbionicbb.py19 import os namespace
129 if os.environ.get('WERKZEUG_RUN_MAIN') == 'true':
H A Dpresubmit.py20 import os.path namespace
40 return 'CleanSpec.mk' in [os.path.basename(f) for f in files]
/bionic/libc/bionic/
H A Dlibc_logging.cpp413 BufferOutputStream os(buffer, buffer_size);
416 out_vformat(os, format, args);
418 return os.total;
422 FdOutputStream os(fd);
425 out_vformat(os, format, args);
427 return os.total;
546 BufferOutputStream os(buffer, sizeof(buffer));
547 out_vformat(os, format, args);
621 BufferOutputStream os(msg, sizeof(msg));
622 out_vformat(os, forma
[all...]

Completed in 338 milliseconds