/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 | 27 TemporaryFile src_file; local 28 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5))); 34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); 46 TemporaryFile src_file; local 47 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5))); 53 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) 105 blocks = parser.parseFile(src_file) 107 print_error(no_update, "Can't parse '%s'" % src_file) 176 src_file = os.path.join(src_dir, path) 177 new_data = cleanupFile(dst_file, src_file, path) 188 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/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 | 109 TemporaryFile src_file; local 110 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path)); 118 "imgdiff", src_file.path, tgt_file.path, patch_file.path, 140 TemporaryFile src_file; local 141 FILE* src_file_ptr = fdopen(src_file.fd, "wb"); 163 "imgdiff", "-z", src_file.path, tgt_file.path, patch_file.path, 171 ASSERT_TRUE(android::base::ReadFileToString(src_file.path, &src)); 189 TemporaryFile src_file; local 190 FILE* src_file_ptr = fdopen(src_file.fd, "wb"); 212 "imgdiff", "-z", src_file.path, tgt_file.path, patch_file.path 238 TemporaryFile src_file; local 296 TemporaryFile src_file; local 339 TemporaryFile src_file; local 374 TemporaryFile src_file; local 402 TemporaryFile src_file; local 446 TemporaryFile src_file; local 482 TemporaryFile src_file; local 518 TemporaryFile src_file; local 555 TemporaryFile src_file; local 596 TemporaryFile src_file; local [all...] |
applypatch_test.cpp | 166 std::string src_file = local 169 ASSERT_EQ(0, applypatch_check(src_file.c_str(), sha1s)); 172 src_file = "EMMC:" + old_file + ":" + std::to_string(old_size - 1) + ":" + old_sha1 + ":" + 174 ASSERT_EQ(1, applypatch_check(src_file.c_str(), sha1s)); 177 src_file = "EMMC:" + old_file + ":" + 181 ASSERT_EQ(0, applypatch_check(src_file.c_str(), sha1s)); 184 src_file = "EMMC:" + old_file + ":" + 188 ASSERT_EQ(0, applypatch_check(src_file.c_str(), sha1s)); 192 src_file = "EMMC:" + new_file + ":" + 197 ASSERT_EQ(0, applypatch_check(src_file.c_str(), sha1s)) 260 std::string src_file = local [all...] |
/build/soong/cc/ |
test_gen_stub_libs.py | 371 src_file = cStringIO.StringIO() 373 generator = gsl.Generator(src_file, version_file, 'arm', 9, False) 379 self.assertEqual('', src_file.getvalue()) 386 self.assertEqual('', src_file.getvalue()) 393 self.assertEqual('', src_file.getvalue()) 399 src_file = cStringIO.StringIO() 401 generator = gsl.Generator(src_file, version_file, 'arm', 9, False) 407 self.assertEqual('', src_file.getvalue()) 414 self.assertEqual('', src_file.getvalue()) 421 self.assertEqual('', src_file.getvalue() [all...] |
gen_stub_libs.py | 307 def __init__(self, src_file, version_script, arch, api, vndk): 308 self.src_file = src_file 351 self.src_file.write('int {} = 0;\n'.format(symbol.name)) 353 self.src_file.write('void {}() {{}}\n'.format(symbol.name)) 425 with open(args.stub_src, 'w') as src_file: 427 generator = Generator(src_file, version_file, args.arch, api,
|
/toolchain/binutils/binutils-2.25/libiberty/ |
gather-docs | 83 $src_file{$key} = $in; 116 print OUT "\@c $src_file{$key}:$src_line{$key}\n";
|
/external/python/cpython2/Tools/ssl/ |
test_multiple_versions.py | 63 self.src_file = os.path.join(destdir, "src", 104 return os.path.isfile(self.src_file) 122 src_dir = os.path.dirname(self.src_file) 130 log.info("Storing {}".format(self.src_file)) 131 with open(self.src_file, "wb") as f: 141 tf = tarfile.open(self.src_file) 171 log.debug("Already has src {}".format(self.src_file))
|
/development/ndk/ |
unify_all.py | 84 src_file = os.path.join(root, f) 85 if os.path.islink(src_file): 86 linkto = os.readlink(src_file) 91 logger().debug('Copying %s', src_file) 92 shutil.copy2(src_file, dst_dir)
|
/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])
|
/test/vts/compilation_tools/vtsc/ |
VtsCompilerMain.cpp | 126 string src_file = android::vts::RemoveBaseDir( local 139 cout << "<- " << src_file.c_str() << endl; 143 mode, src_file.c_str(), dst_file.c_str(), type);
|
/external/valgrind/cachegrind/ |
cg_annotate.in | 656 my $src_file = $_[0]; 662 @ Source file '$src_file' is more recent than input file '$input_file'. 675 my ($src_more_recent_than_inputfile, $src_file, $excess_line_nums) = @_; 680 @@ cause: '$src_file' has changed since information was gathered. 686 } elsif ($src_file =~ /\.h$/) { 703 @@ Information recorded about lines past the end of '$src_file'. 733 foreach my $src_file (keys %all_ann_files) { 740 my $try_name = $include_dir . $src_file; 744 ? $src_file 745 : "$include_dir + $src_file"); [all...] |
/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/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_compiler_util.h | 78 rc_register_file 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/valgrind/callgrind/ |
callgrind_annotate.in | 985 my $src_file = $_[0]; 991 @ Source file '$src_file' is more recent than input file '$input_file'. 1004 my ($src_more_recent_than_inputfile, $src_file, $excess_line_nums) = @_; 1009 @@ cause: '$src_file' has changed since information was gathered. 1015 } elsif ($src_file =~ /\.h$/) [all...] |
/art/test/952-invoke-custom/generator/ |
build-test.sh | 61 src_file=$progdir/Test$i.java 67 jack -g -cp $ANDROID_BUILD_TOP/out/host/linux-x86/../common/obj/JAVA_LIBRARIES/core-libart-hostdex_intermediates/classes.jack:$ANDROID_BUILD_TOP/out/host/linux-x86/../common/obj/JAVA_LIBRARIES/core-oj-hostdex_intermediates/classes.jack:$jack_annotations_lib -D sched.runner=multi-threaded -D sched.runner.thread.kind=fixed -D sched.runner.thread.fixed.count=4 -D jack.java.source.version=1.7 -D jack.android.min-api-level=o-b2 --output-jack $jack_file $src_file 75 /* Generated by ${prog##*/} from ${src_file##*/} */
|
/development/vndk/tools/vtable-dumper/tests/ |
test_vndk_vtable_dumper.py | 98 def compile(self, obj_file, src_file, cflags, verbose=False): 102 cmd = [clangpp, '-o', obj_file, '-c', src_file] 206 src_file = os.path.join(SCRIPT_DIR, 'test1.cpp') 208 target.compile(obj_file, src_file, [], self.verbose)
|
/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 | 547 FILE *src_file; local 554 src_file = (comment_file != NULL ? comment_file : stdin); 555 while ((c = getc(src_file)) != EOF) {
|
/external/toolchain-utils/cros_utils/ |
logger.py | 86 src_file = '%s.%s' % (os.path.basename(suffixed_basename), extension) 90 os.symlink(src_file, dest_file) 252 src_file = '%s.%s' % (os.path.basename(suffixed_basename), extension) 254 print('MockLogger: Calling os.symlink(%s, %s)' % (src_file, dest_file))
|