HomeSort by relevance Sort by last modified time
    Searched refs:src_file (Results 1 - 25 of 51) sorted by null

1 2 3

  /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)
103 blocks = parser.parseFile(src_file)
105 print_error(no_update, "Can't parse '%s'" % src_file)
173 src_file = os.path.join(src_dir, path)
174 new_data = cleanupFile(dst_file, src_file, path)
185 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...]
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/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 121 TemporaryFile src_file; local
122 ASSERT_TRUE(android::base::WriteStringToFile(src, src_file.path));
130 "imgdiff", src_file.path, tgt_file.path, patch_file.path,
152 TemporaryFile src_file; local
153 FILE* src_file_ptr = fdopen(src_file.release(), "wb");
175 "imgdiff", "-z", src_file.path, tgt_file.path, patch_file.path,
183 ASSERT_TRUE(android::base::ReadFileToString(src_file.path, &src));
201 TemporaryFile src_file; local
202 FILE* src_file_ptr = fdopen(src_file.release(), "wb");
224 "imgdiff", "-z", src_file.path, tgt_file.path, patch_file.path
250 TemporaryFile src_file; local
308 TemporaryFile src_file; local
351 TemporaryFile src_file; local
386 TemporaryFile src_file; local
414 TemporaryFile src_file; local
458 TemporaryFile src_file; local
494 TemporaryFile src_file; local
530 TemporaryFile src_file; local
567 TemporaryFile src_file; local
608 TemporaryFile src_file; local
778 TemporaryFile src_file; local
905 TemporaryFile src_file; local
947 TemporaryFile src_file; local
992 TemporaryFile src_file; local
1042 TemporaryFile src_file; local
    [all...]
applypatch_test.cpp 135 std::string src_file = local
138 ASSERT_EQ(0, applypatch_check(src_file.c_str(), sha1s));
141 src_file = "EMMC:" + old_file + ":" + std::to_string(old_size - 1) + ":" + old_sha1 + ":" +
143 ASSERT_EQ(1, applypatch_check(src_file.c_str(), sha1s));
146 src_file = "EMMC:" + old_file + ":" +
150 ASSERT_EQ(0, applypatch_check(src_file.c_str(), sha1s));
153 src_file = "EMMC:" + old_file + ":" +
157 ASSERT_EQ(0, applypatch_check(src_file.c_str(), sha1s));
161 src_file = "EMMC:" + new_file + ":" +
166 ASSERT_EQ(0, applypatch_check(src_file.c_str(), sha1s))
217 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 313 def __init__(self, src_file, version_script, arch, api, vndk):
314 self.src_file = src_file
361 self.src_file.write('{}int {} = 0;\n'.format(
364 self.src_file.write('{}void {}() {{}}\n'.format(
437 with open(args.stub_src, 'w') as src_file:
439 generator = Generator(src_file, version_file, args.arch, api,
  /toolchain/binutils/binutils-2.27/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))
  /external/python/cpython3/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 %s", self.src_file)
  /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 128 string src_file = android::vts::RemoveBaseDir( local
141 cout << "<- " << src_file.c_str() << endl;
145 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 59 src_file = os.path.join(INPUT_DIR, 'main.c')
61 target.compile(obj_file, src_file, [])
68 src_file = os.path.join(INPUT_DIR, 'test.c')
70 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...]
  /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)
  /art/test/712-varhandle-invocations/util-src/
generate_java.py     [all...]
  /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,

Completed in 526 milliseconds

1 2 3