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

1 2

  /device/google/marlin/recovery/oem-recovery/
dec.h 32 int decrypt_image(const char *src_file, const char *dst_file);
oem-updater.cpp 39 char *src_file, *dst_file; local
44 if (ReadArgs(state, argv, 2, &src_file, &dst_file))
47 rc = decrypt_image(src_file, dst_file);
49 free(src_file);
dec.cpp 309 int decrypt_image(const char *src_file, const char *dst_file)
337 file = fopen(src_file, "rb");
339 fprintf(stderr, "Failed to open %s (%s)\n", src_file, strerror(errno));
353 fprintf(stderr, "Failed to read %s (%s)\n", src_file, strerror(errno));
371 fprintf(stdout, "decrypting %s ...\n", src_file);
  /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...]
  /external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
fake_filesystem_shutil_test.py 47 src_file = 'xyzzy'
49 src_obj = self.filesystem.CreateFile(src_file)
51 self.assertTrue(self.filesystem.Exists(src_file))
53 self.shutil.copy(src_file, dst_file)
59 src_file = 'xyzzy'
61 dst_file = '%s/%s' % (parent_directory, src_file)
62 src_obj = self.filesystem.CreateFile(src_file)
65 self.assertTrue(self.filesystem.Exists(src_file))
68 self.shutil.copy(src_file, parent_directory)
74 src_file = 'xyzzy
    [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);
  /external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
test_parallel_cp.py 49 src_file = self.CreateTempFile(file_name='f0')
51 self.RunGsUtil(['cp', src_file, suri(dst_bucket_uri)])
78 src_file = self.CreateTempFile(tmpdir=tmpdir, file_name='obj', contents='')
81 self.RunGsUtil(['cp', src_file, suri(dst_bucket_uri, 'subdir/a')])
82 self.RunGsUtil(['cp', src_file, suri(dst_bucket_uri, 'subdir')])
122 src_file = self.CreateTempFile(file_name='f0')
124 self.RunGsUtil(['cp', src_file, suri(dst_bucket_uri) + '//obj'])
test_naming.py 92 src_file = self.CreateTempFile(file_name='f0')
94 self.RunCommand('cp', [src_file, suri(dst_bucket_uri)])
125 src_file = self.CreateTempFile(tmpdir=tmpdir, file_name='obj', contents='')
128 self.RunCommand('cp', [src_file, suri(dst_bucket_uri, 'subdir/a')])
129 self.RunCommand('cp', [src_file, suri(dst_bucket_uri, 'subdir')])
295 src_file = self.CreateTempFile(file_name='foo')
297 self.RunCommand('cp', [src_file, dst_dir])
306 src_file = self.CreateTempFile(file_name='f0')
308 self.RunCommand('cp', [src_file, suri(dst_bucket_uri) + '//obj'])
316 src_file = self.CreateTempFile(contents='plaintext', file_name='f2.txt'
    [all...]
  /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/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...]
  /ndk/
checkbuild.py 232 src_file = os.path.join(src_dir, file_name)
235 print('Copying {} to {}...'.format(src_file, dst_file))
236 if os.path.isdir(src_file):
237 _install_dir(src_file, dst_file)
238 elif os.path.islink(src_file):
239 _install_symlink(src_file, dst_file)
241 _install_file(src_file, dst_file)
251 def _install_symlink(src_file, dst_file):
255 link_target = os.readlink(src_file)
259 def _install_file(src_file, dst_file)
    [all...]
  /external/chromium-trace/catapult/tracing/tracing_build/
check_common.py 25 def CheckListedFilesSorted(src_file, group_name, listed_files):
44 {4}\n\n'''.format(group_name, src_file, mismatch, what_is, what_should_be)
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_compiler_util.h 51 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/autotest/client/tests/kvm/
get_started.py 90 src_file = config_file variable
94 shutil.copyfile(src_file, dst_file)
  /external/valgrind/callgrind/
callgrind_annotate.in 982 my $src_file = $_[0];
988 @ Source file '$src_file' is more recent than input file '$input_file'.
1001 my ($src_more_recent_than_inputfile, $src_file, $excess_line_nums) = @_;
1006 @@ cause: '$src_file' has changed since information was gathered.
1012 } elsif ($src_file =~ /\.h$/) {
    [all...]
  /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) {
  /toolchain/binutils/binutils-2.25/ld/testsuite/lib/
ld-lib.exp 1103 foreach src_file $src_files {
1104 set fileroot "[file rootname [file tail $src_file]]"
1108 if { [file extension $src_file] == ".c" } {
1110 if ![ld_compile "$CC -S $CFLAGS $cflags" $srcdir/$subdir/$src_file $as_file] {
1115 set as_file "$srcdir/$subdir/$src_file"
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_shutil.py 605 self.src_file = os.path.join(self.src_dir, filename)
616 with open(self.src_file, "wb") as f:
643 self._check_move_file(self.src_file, self.dst_file, self.dst_file)
647 self._check_move_file(self.src_file, self.dst_dir, self.dst_file)
654 self._check_move_file(self.src_file, self.file_other_fs,
662 self._check_move_file(self.src_file, self.dir_other_fs,
707 self.assertRaises(shutil.Error, shutil.move, self.src_file, self.dst_dir)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_shutil.py 605 self.src_file = os.path.join(self.src_dir, filename)
616 with open(self.src_file, "wb") as f:
643 self._check_move_file(self.src_file, self.dst_file, self.dst_file)
647 self._check_move_file(self.src_file, self.dst_dir, self.dst_file)
654 self._check_move_file(self.src_file, self.file_other_fs,
662 self._check_move_file(self.src_file, self.dir_other_fs,
707 self.assertRaises(shutil.Error, shutil.move, self.src_file, self.dst_dir)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_shutil.py 605 self.src_file = os.path.join(self.src_dir, filename)
616 with open(self.src_file, "wb") as f:
643 self._check_move_file(self.src_file, self.dst_file, self.dst_file)
647 self._check_move_file(self.src_file, self.dst_dir, self.dst_file)
654 self._check_move_file(self.src_file, self.file_other_fs,
662 self._check_move_file(self.src_file, self.dir_other_fs,
707 self.assertRaises(shutil.Error, shutil.move, self.src_file, self.dst_dir)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_shutil.py 605 self.src_file = os.path.join(self.src_dir, filename)
616 with open(self.src_file, "wb") as f:
643 self._check_move_file(self.src_file, self.dst_file, self.dst_file)
647 self._check_move_file(self.src_file, self.dst_dir, self.dst_file)
654 self._check_move_file(self.src_file, self.file_other_fs,
662 self._check_move_file(self.src_file, self.dir_other_fs,
707 self.assertRaises(shutil.Error, shutil.move, self.src_file, self.dst_dir)
  /external/opencv3/modules/videoio/test/
test_video_io.cpp 258 string src_file = dir + "../cv/shared/video_for_test.avi"; local
261 ts->printf(ts->LOG, "reading video : %s and converting it to %s\n", src_file.c_str(), tmp_name.c_str());
263 CvCapture* cap = cvCaptureFromFile(src_file.c_str());
  /external/autotest/client/bin/
site_sysinfo.py 202 for src_file in self._get_all_files(src_dir):
203 self._copy_new_data_in_file(src_file, src_dir, dest_dir)
  /external/autotest/client/common_lib/
base_utils_unittest.py 446 src_file = self.god.create_mock_class(file, "file")
450 .and_return(src_file))
452 base_utils.shutil.copyfileobj.expect_call(src_file, dest_file)
454 src_file.close.expect_call()

Completed in 829 milliseconds

1 2