/bionic/tests/ |
sys_sendfile_test.cpp | 30 TemporaryFile dst_file; local 34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); 38 ASSERT_EQ(0, lseek(dst_file.fd, 0, SEEK_SET)); 41 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2))); 49 TemporaryFile dst_file; local 53 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count); 57 ASSERT_EQ(0, lseek(dst_file.fd, 0, SEEK_SET)); 60 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2)));
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
fake_filesystem_shutil_test.py | 48 dst_file = 'xyzzy_copy' 52 self.assertFalse(self.filesystem.Exists(dst_file)) 53 self.shutil.copy(src_file, dst_file) 54 self.assertTrue(self.filesystem.Exists(dst_file)) 55 dst_obj = self.filesystem.GetObject(dst_file) 61 dst_file = '%s/%s' % (parent_directory, src_file) 67 self.assertFalse(self.filesystem.Exists(dst_file)) 69 self.assertTrue(self.filesystem.Exists(dst_file)) 70 dst_obj = self.filesystem.GetObject(dst_file) 75 dst_file = 'xyzzy_copy [all...] |
/ndk/build/tools/ |
build-docs.sh | 86 DST_FILE=${SRC_FILE%%.text}.html 87 DST_FILE=$OUT_DIR${DST_FILE##$IN_DIR} 88 DST_DIR=$(dirname "$DST_FILE") 91 if [ -z "$FORCE" -a -f "$DST_FILE" -a "$SRC_FILE" -ot "$DST_FILE" ]; then 92 log "Skipping: $SRC_FILE --> $DST_FILE" 94 log "Converting: $SRC_FILE --> $DST_FILE" 98 TMP_FILE=$TEMP_DIR/$(basename "$DST_FILE").temp 102 run run $MARKDOWN --file="$DST_FILE" "$TMP_FILE [all...] |
gen-toolchain-wrapper.sh | 141 local DST_FILE="$4/${SRC_PREFIX}$PROG" 167 cat > "$DST_FILE" << EOF 172 chmod +x "$DST_FILE"
|
gen-platforms.sh | 507 local SRC_FILE DST_FILE 531 DST_FILE=${SRC_FILE%%.c} 532 DST_FILE=${DST_FILE%%.S}.o 534 case "$DST_FILE" in 540 DST_FILE=crtend_android.o 549 DST_FILE=crtbegin_dynamic.o 555 log "Generating $ARCH C runtime object: $DST_FILE" 561 -O2 -fpic -Wl,-r -nostdlib -o "$DST_DIR/$DST_FILE" $SRC_FILE) 563 dump "ERROR: Could not generate $DST_FILE from $SRC_DIR/$SRC_FILE [all...] |
/external/snakeyaml/ |
patch-android-src | 32 dst_file="$3" 33 dst_dir="$(dirname "$dst_file")" 84 cp "$src_file_with_prefix" "$dst_file" 85 if ! [[ -f "$dst_file" ]]; then 86 echo "File "$dst_file" does not exist; patching will fail" >&2 90 patch "$(basename "$dst_file")" "$patch_file_src" 91 echo "Successfully applied patch $patch_file_src into copy of file $dst_file"
|
/device/google/marlin/recovery/oem-recovery/ |
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); 50 free(dst_file);
|
dec.h | 32 int decrypt_image(const char *src_file, const char *dst_file);
|
dec.cpp | 309 int decrypt_image(const char *src_file, const char *dst_file) 378 ret = save_file(dst_file, ionbuf.buffer + offset, fsize - offset);
|
/system/media/camera/docs/ |
metadata-generate | 122 local dst_file="$2" 126 local start_line="$(grep -n -F "${start_delim}" "${dst_file}" | cut -d: -f1)" 127 local end_line="$(grep -n -F "${end_delim}" "${dst_file}" | cut -d: -f1)" 136 echo "No starting delimiter found in ${dst_file}" >& 2 137 echo "FAIL: Errors in inserting into $(relpath ${dst_file})" >& 2 142 echo "No ending delimiter found in ${dst_file}" >& 2 143 echo "FAIL: Errors in inserting into $(relpath ${dst_file})" >& 2 149 echo "FAIL: Errors in inserting into $(relpath ${dst_file})" >& 2 157 head -n "$start_line" "${dst_file}" > "${tmp_name}" 159 tail -n "+${end_line}" "${dst_file}" >> "${tmp_name} [all...] |
/external/autotest/client/tests/kvm/ |
get_started.py | 91 dst_file = config_file.rstrip(".sample") variable 92 if not os.path.isfile(dst_file): 93 logging.debug("Creating config file %s from sample", dst_file) 94 shutil.copyfile(src_file, dst_file) 96 logging.debug("Config file %s exists, not touching" % dst_file)
|
/external/deqp/ |
CMakeLists.txt | 265 macro (add_data_file MODULE_NAME SRC_FILE DST_FILE) 267 add_custom_command(TARGET ${MODULE_NAME}-data POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/${SRC_FILE} ${CMAKE_CURRENT_BINARY_DIR}/${DST_FILE}) 270 add_custom_command(TARGET ${MODULE_NAME}-data POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/${SRC_FILE} ${CMAKE_BINARY_DIR}/assets/${DST_FILE}) 273 add_custom_command(TARGET ${MODULE_NAME}-data POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/${SRC_FILE} ${CMAKE_BINARY_DIR}/\${CONFIGURATION}\${EFFECTIVE_PLATFORM_NAME}/deqp.app/${DST_FILE})
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_compiler_util.h | 54 rc_register_file dst_file,
|
radeon_compiler_util.c | 316 rc_register_file dst_file, 320 if (src_file != dst_file || src_idx != dst_idx) {
|
radeon_dataflow.c | 683 rc_register_file dst_file, 698 d->DstFile = dst_file;
|
/ndk/ |
checkbuild.py | 233 dst_file = os.path.join(dst_dir, file_name) 235 print('Copying {} to {}...'.format(src_file, dst_file)) 237 _install_dir(src_file, dst_file) 239 _install_symlink(src_file, dst_file) 241 _install_file(src_file, dst_file) 251 def _install_symlink(src_file, dst_file): 252 dirname = os.path.dirname(dst_file) 256 os.symlink(link_target, dst_file) 259 def _install_file(src_file, dst_file): 260 dirname = os.path.dirname(dst_file) [all...] |
/external/compiler-rt/cmake/Modules/ |
AddCompilerRT.cmake | 245 set(dst_file "${COMPILER_RT_OUTPUT_DIR}/${file_name}") 246 add_custom_command(OUTPUT ${dst_file} 248 COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src_file} ${dst_file} 250 add_custom_target(${target_name} DEPENDS ${dst_file})
|
/external/v8/build/android/gyp/ |
package_resources.py | 159 dst_file = os.path.join(dst_dir, src_file_name) 160 assert not os.path.lexists(dst_file) 161 shutil.move(src_file, dst_file)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/ |
test_resumable_downloads.py | 60 dst_file = os.path.join(tmpdir, 'dstfile') 61 return open(dst_file, 'w')
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_shutil.py | 606 self.dst_file = os.path.join(self.dst_dir, filename) 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) 705 with open(self.dst_file, "wb"):
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_shutil.py | 606 self.dst_file = os.path.join(self.dst_dir, filename) 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) 705 with open(self.dst_file, "wb"):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 606 self.dst_file = os.path.join(self.dst_dir, filename) 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) 705 with open(self.dst_file, "wb"):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 606 self.dst_file = os.path.join(self.dst_dir, filename) 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) 705 with open(self.dst_file, "wb"):
|
/external/v8/build/android/ |
adb_gdb | 901 DST_FILE=$PULL_LIBS_DIR$SYSLIB 902 DST_DIR=$(dirname "$DST_FILE") 903 mkdir -p "$DST_DIR" && adb pull $SYSLIB "$DST_FILE" 2>/dev/null
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
test_naming.py | 478 dst_file = self.CreateTempFile() 480 self.RunCommand('cp', ['-R', suri(src_bucket_uri, '*'), dst_file]) [all...] |