/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)));
|
/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 | 512 local SRC_FILE DST_FILE 534 DST_FILE=${SRC_FILE%%.c} 535 DST_FILE=${DST_FILE%%.S}.o 537 case "$DST_FILE" in 543 DST_FILE=crtend_android.o 552 DST_FILE=crtbegin_dynamic.o 558 log "Generating $ARCH C runtime object: $DST_FILE" 564 -O2 -fpic -Wl,-r -nostdlib -o "$DST_DIR/$DST_FILE" $SRC_FILE) 1>>$TMPL 2>&1 566 dump "ERROR: Could not generate $DST_FILE from $SRC_DIR/$SRC_FILE [all...] |
build-gcc.sh | 627 local DST_FILE=$2 628 if [ ! -f "$TOOLCHAIN_PATH/bin/$ABI_CONFIGURE_TARGET-$DST_FILE$HOST_EXE" ]; then 629 DST_FILE=$3 631 if [ ! -f "$TOOLCHAIN_PATH/bin/$ABI_CONFIGURE_TARGET-$DST_FILE$HOST_EXE" ]; then 632 echo "ERROR: Can't relink $1 to $DST_FILE because $DST_FILE doesn't exist" 637 $ABI_CONFIGURE_TARGET-$DST_FILE$HOST_EXE
|
/external/chromium_org/remoting/host/installer/ |
build-installer-archive.py | 115 dst_file = os.path.join(dst_root, src_file) 117 dst_dir = os.path.dirname(dst_file) 120 return dst_file 123 def copyFileWithDefs(src_file, dst_file, defs): 124 """Copies from src_file to dst_file, performing variable substitution. 131 dst_file: Relative path (and filename) where src_file should be copied. 140 open(dst_file, 'w').write(data) 141 shutil.copystat(src_file, dst_file) 190 dst_file = remapSrcFile(temp_dir, source_file_roots, f) 196 copyFileWithDefs(f, dst_file, defs [all...] |
/system/media/camera/docs/ |
metadata-generate | 110 local dst_file="$2" 114 local start_line="$(grep -n -F "${start_delim}" "${dst_file}" | cut -d: -f1)" 115 local end_line="$(grep -n -F "${end_delim}" "${dst_file}" | cut -d: -f1)" 124 echo "No starting delimiter found in ${dst_file}" >& 2 125 echo "FAIL: Errors in inserting into $(relpath ${dst_file})" >& 2 130 echo "No ending delimiter found in ${dst_file}" >& 2 131 echo "FAIL: Errors in inserting into $(relpath ${dst_file})" >& 2 137 echo "FAIL: Errors in inserting into $(relpath ${dst_file})" >& 2 145 head -n "$start_line" "${dst_file}" > "${tmp_name}" 147 tail -n "+${end_line}" "${dst_file}" >> "${tmp_name} [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/ |
generate_make.py | 175 dst_file = os.path.join(dst_dir, src_name) 176 if os.path.exists(dst_file): 177 if os.stat(src_file).st_mtime <= os.stat(dst_file).st_mtime: 179 src_file, dst_file)) 181 dst_path = os.path.dirname(dst_file) 184 buildbot_common.CopyFile(src_file, dst_file)
|
/external/chromium_org/third_party/mesa/src/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;
|
/external/compiler-rt/cmake/Modules/ |
AddCompilerRT.cmake | 178 set(dst_file "${COMPILER_RT_OUTPUT_DIR}/${file_name}") 179 add_custom_command(OUTPUT ${dst_file} 181 COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src_file} ${dst_file} 183 add_custom_target(${target_name} DEPENDS ${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;
|
/external/chromium_org/build/android/gyp/ |
package_resources.py | 86 dst_file = os.path.join(dst_dir, src_file_name) 87 assert not os.path.lexists(dst_file) 88 shutil.move(src_file, dst_file)
|
/external/deqp/ |
CMakeLists.txt | 297 macro (add_data_file MODULE_NAME SRC_FILE DST_FILE) 299 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}) 302 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}) 305 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/chromium_org/tools/protoc_wrapper/ |
protoc_wrapper.py | 73 with open(os.path.join(wrapper_dir, filename), 'w') as dst_file: 82 dst_file.write(line)
|
/external/chromium_org/third_party/android_crazy_linker/src/tests/ |
test_util.h | 233 ScopedFILE dst_file; local 234 dst_file.Open(dst_path.c_str(), "wb"); 240 size_t written = fwrite(buffer, 1, read, dst_file.file());
|
/ndk/sources/android/crazy_linker/tests/ |
test_util.h | 233 ScopedFILE dst_file; local 234 dst_file.Open(dst_path.c_str(), "wb"); 240 size_t written = fwrite(buffer, 1, read, dst_file.file());
|
/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/chromium_org/build/android/ |
adb_gdb | 885 DST_FILE=$PULL_LIBS_DIR$SYSLIB 886 DST_DIR=$(dirname "$DST_FILE") 887 mkdir -p "$DST_DIR" && adb pull $SYSLIB "$DST_FILE" 2>/dev/null
|
/external/chromium_org/tools/gyp/test/lib/ |
TestCommon.py | 211 # $test->copy('src_file', 'dst_file');
|
/external/chromium_org/base/files/ |
file_util_unittest.cc | 1429 FilePath dst_file = dst.Append(FILE_PATH_LITERAL("src.txt")); local [all...] |