/external/snakeyaml/ |
patch-android-src | 30 src_file="$2" 42 if ! [[ $src_file == $src_file_prefix* ]]; then 43 echo "$src_file_prefix is not a valid prefix of $src_file" >&2 47 if ! [[ -f $src_file ]]; then 48 echo "Source file $src_file does not exist." >&2 53 src_file="${src_file#$src_file_prefix}" 55 patch_file_src=$(grep --files-with-matches -R "diff --git a/$src_file" "$ANDROID_PATCHES_DIR") 57 echo "Error: Could not find a corresponding .patch file for $src_file" >&2 75 if [[ $src_file != $src_file_check ]]; the [all...] |
/bionic/tests/ |
sys_sendfile_test.cpp | 28 TemporaryFile src_file; local 29 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5))); 35 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); 47 TemporaryFile src_file; local 48 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5))); 54 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count);
|
/bionic/libc/kernel/tools/ |
clean_header.py | 82 def cleanupFile(dst_file, src_file, rel_path, no_update = True): 87 if not os.path.exists(src_file): 88 print_error(no_update, "'%s' does not exist\n" % src_file) 91 if not os.path.isfile(src_file): 92 print_error(no_update, "'%s' is not a file\n" % src_file) 103 blocks = parser.parseFile(src_file) 105 print_error(no_update, "Can't parse '%s'" % src_file) 182 src_file = os.path.join(src_dir, path) 183 new_data = cleanupFile(dst_file, src_file, path) 199 src_file = os.path.join(src_dir, path [all...] |
update_all.py | 44 src_file = os.path.normpath(os.path.join(root, file)) 45 rel_path = src_file[src_dir_len:] 48 src_file = os.path.join(mod_src_dir, rel_path) 53 new_data = clean_header.cleanupFile(dst_file, src_file, rel_path)
|
/external/libxcam/tests/ |
test-binary-kernel.cpp | 56 FileHandle src_file, bin_file; local 98 if (src_file.open (src_path, "r") != XCAM_RETURN_NO_ERROR || 104 ret = src_file.get_file_size (src_size); 110 src_file.read_file (kernel_body, src_size);
|
/external/vulkan-validation-layers/build-android/ |
build.py | 29 src_file = os.path.join(src_dir, file_name) 32 print('Copying {} to {}...'.format(src_file, dst_file)) 33 if os.path.isdir(src_file): 34 _install_dir(src_file, dst_file) 35 elif os.path.islink(src_file): 36 _install_symlink(src_file, dst_file) 38 _install_file(src_file, dst_file) 48 def _install_symlink(src_file, dst_file): 52 link_target = os.readlink(src_file) 56 def _install_file(src_file, dst_file) [all...] |
/bootable/recovery/tests/component/ |
imgdiff_test.cpp | 120 TemporaryFile src_file; local 121 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path)); 129 "imgdiff", src_file.path, tgt_file.path, patch_file.path, 151 TemporaryFile src_file; local 152 FILE* src_file_ptr = fdopen(src_file.release(), "wb"); 174 "imgdiff", "-z", src_file.path, tgt_file.path, patch_file.path, 182 ASSERT_TRUE(android::base::ReadFileToString(src_file.path, &src)); 205 TemporaryFile src_file; local 206 FILE* src_file_ptr = fdopen(src_file.release(), "wb"); 228 "imgdiff", "-z", src_file.path, tgt_file.path, patch_file.path 253 TemporaryFile src_file; local 298 TemporaryFile src_file; local 354 TemporaryFile src_file; local 395 TemporaryFile src_file; local 430 TemporaryFile src_file; local 457 TemporaryFile src_file; local 500 TemporaryFile src_file; local 536 TemporaryFile src_file; local 572 TemporaryFile src_file; local 609 TemporaryFile src_file; local 650 TemporaryFile src_file; local 820 TemporaryFile src_file; local 947 TemporaryFile src_file; local 989 TemporaryFile src_file; local 1034 TemporaryFile src_file; local 1084 TemporaryFile src_file; local [all...] |
/external/bcc/examples/tracing/ |
vfsreadlat.py | 42 b = BPF(src_file = "vfsreadlat.c")
|
/build/soong/cc/ |
test_gen_stub_libs.py | 473 src_file = io.StringIO() 475 generator = gsl.Generator(src_file, version_file, 'arm', 9, False, False) 481 self.assertEqual('', src_file.getvalue()) 488 self.assertEqual('', src_file.getvalue()) 495 self.assertEqual('', src_file.getvalue()) 501 src_file = io.StringIO() 503 generator = gsl.Generator(src_file, version_file, 'arm', 9, False, False) 509 self.assertEqual('', src_file.getvalue()) 516 self.assertEqual('', src_file.getvalue()) 523 self.assertEqual('', src_file.getvalue() [all...] |
gen_stub_libs.py | 375 def __init__(self, src_file, version_script, arch, api, vndk, apex): 376 self.src_file = src_file 418 self.src_file.write('{}int {} = 0;\n'.format( 421 self.src_file.write('{}void {}() {{}}\n'.format( 500 with open(args.stub_src, 'w') as src_file: 502 generator = Generator(src_file, version_file, args.arch, api,
|
/external/clang/tools/scan-build-py/tests/functional/cases/ |
test_from_cmd.py | 84 src_file = os.path.join(target_dir, src_file_name) 86 create_empty_file(src_file) 87 command = ' '.join([compiler, '-c', src_file, '-o', obj_file])
|
/development/vndk/tools/definition-tool/tests/ |
test_elfdump.py | 58 src_file = os.path.join(INPUT_DIR, 'main.c') 60 target.compile(obj_file, src_file, []) 67 src_file = os.path.join(INPUT_DIR, 'test.c') 69 target.compile(obj_file, src_file, [])
|
/external/bcc/examples/lua/ |
bashreadline.lua | 20 local b = BPF:new{src_file="bashreadline.c", debug=0}
|
/external/bcc/examples/networking/http_filter/ |
http-parse-simple.py | 64 bpf = BPF(src_file = "http-parse-simple.c",debug = 0)
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_compiler_util.h | 78 rc_register_file src_file,
|
/external/python/cpython2/Tools/ssl/ |
multissltests.py | 149 self.src_file = os.path.join( 203 return os.path.isfile(self.src_file) 219 src_dir = os.path.dirname(self.src_file) 227 log.info("Storing {}".format(self.src_file)) 228 with open(self.src_file, "wb") as f: 238 tf = tarfile.open(self.src_file) 273 log.debug("Already has src {}".format(self.src_file))
|
/external/python/cpython3/Tools/ssl/ |
multissltests.py | 167 self.src_file = os.path.join( 222 return os.path.isfile(self.src_file) 238 src_dir = os.path.dirname(self.src_file) 246 log.info("Storing {}".format(self.src_file)) 247 with open(self.src_file, "wb") as f: 257 tf = tarfile.open(self.src_file) 303 log.debug("Already has src {}".format(self.src_file))
|
/external/autotest/client/common_lib/cros/ |
avahi_utils.py | 25 def avahi_config(options, src_file='/etc/avahi/avahi-daemon.conf', host=None): 36 @param src_file: The default config file to use as a base for the changes. 42 existing_config = run('cat %s 2> /dev/null' % src_file).stdout
|
/external/toolchain-utils/fdo_scripts/ |
divide_and_merge_profiles.py | 61 src_file = os.path.join(input_dir, f) 66 command = 'cp %s %s' % (src_file, dst_file)
|
/external/bcc/src/cc/frontends/p4/test/ |
testP4toEbpf.py | 68 b = BPF(src_file=destname, debug=0)
|
/external/bcc/tests/python/ |
test_call1.py | 23 b = BPF(src_file=arg1, debug=0)
|
/external/clang/tools/scan-build-py/libear/ |
__init__.py | 171 src_file = 'check.c' 172 with open(os.path.join(work_dir, src_file), 'w') as handle: 175 execute([self.ctx.compiler, src_file] + self.ctx.c_flags,
|
/external/libjpeg-turbo/ |
wrjpgcom.c | 546 FILE *src_file; local 553 src_file = (comment_file != NULL ? comment_file : stdin); 554 while ((c = getc(src_file)) != EOF) {
|
/external/bcc/examples/networking/dns_matching/ |
dns_matching.py | 49 bpf = BPF(src_file = "dns_matching.c", debug=0)
|
/external/bcc/examples/networking/neighbor_sharing/ |
tc_neighbor_sharing.py | 14 b = BPF(src_file="tc_neighbor_sharing.c", debug=0)
|