| /external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/ |
| D | copy.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 26 #include "rapid-cxx-test.hpp" 69 const path dir = env.create_dir("dir"); in TEST_CASE() local 94 fs::copy(dir, file, ec); in TEST_CASE() 97 TEST_CHECK(checkThrow(dir, file, ec)); in TEST_CASE() 101 fs::copy(fifo, dir, ec); in TEST_CASE() 104 TEST_CHECK(checkThrow(fifo, dir, ec)); in TEST_CASE() 129 const path dest = env.make_env_path("dest"); in TEST_CASE() local 131 fs::copy(symlink, dest, copy_options::copy_symlinks, ec); in TEST_CASE() [all …]
|
| /external/cronet/third_party/libc++/src/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/ |
| D | copy.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // UNSUPPORTED: no-filesystem 11 // UNSUPPORTED: availability-filesystem-missing 15 // XFAIL: LIBCXX-ANDROID-FIXME && !android-device-api={{21|22|23}} 72 const path dir = env.create_dir("dir"); in test_error_reporting() local 99 fs::copy(dir, file, ec); in test_error_reporting() 102 assert(checkThrow(dir, file, ec)); in test_error_reporting() 107 fs::copy(fifo, dir, ec); in test_error_reporting() [all …]
|
| /external/antlr/runtime/JavaScript/build/ |
| D | build.xml | 6 <property name="build.dir" value="${basedir}/build" /> 7 <property name="out.dir" value="${build.dir}/out" /> 8 <property name="lib.dir" value="${basedir}/lib" /> 9 <property name="doc.dir" value="${basedir}/doc" /> 10 <property name="test.dir" value="${basedir}/tests" /> 11 <property name="src.dir" value="${basedir}/src" /> 12 <property name="third.dir" value="${basedir}/third" /> 13 <property file="${build.dir}/antlr3.properties" /> 15 …<taskdef file="${third.dir}/antcontrib.properties" classpath="${third.dir}/ant-contrib-1.0b3.jar" … 17 <!-- ******* --> [all …]
|
| /external/python/cpython2/Tools/compiler/ |
| D | regrtest.py | 18 dest = tempfile.mkdtemp() 19 os.system("cp -r %s/* %s" % (test.__path__[0], dest)) 20 print "Creating copy of test suite in", dest 21 return dest 24 dest = tempfile.mkdtemp() 27 print "Creating copy of standard library in", dest 28 os.system("cp -r %s/* %s" % (libdir, dest)) 29 return dest 31 def compile_files(dir): argument 32 print "Compiling", dir, "\n\t", [all …]
|
| /external/python/cpython3/Lib/ |
| D | compileall.py | 1 """Module/script to byte-compile all .py files to .pyc files. 4 given as arguments recursively; the -l option prevents it from 9 packages -- for now, you'll have to deal with packages separately.) 11 See module py_compile for details of the actual byte-compilation. 25 def _walk_dir(dir, maxlevels, quiet=0): argument 26 if quiet < 2 and isinstance(dir, os.PathLike): 27 dir = os.fspath(dir) 29 print('Listing {!r}...'.format(dir)) 31 names = os.listdir(dir) 34 print("Can't list {!r}".format(dir)) [all …]
|
| /external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_symlink/ |
| D | copy_symlink.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 23 #include "rapid-cxx-test.hpp" 61 const path dir = env.create_dir("dir"); in TEST_CASE() local 71 fs::copy_symlink(dir, dne, ec); in TEST_CASE() 73 TEST_CHECK(checkThrow(dir, dne, ec)); in TEST_CASE() 85 const path dir = env.create_dir("dir"); in TEST_CASE() local 86 const path dir_sym = env.create_symlink(dir, "dir_sym"); in TEST_CASE() 90 const path dest = env.make_env_path("dest1"); in TEST_CASE() local 92 fs::copy_symlink(dir_sym, dest, ec); in TEST_CASE() [all …]
|
| /external/cronet/third_party/boringssl/src/cmake/ |
| D | perlasm.cmake | 6 function(add_perlasm_target dest src) 7 get_filename_component(dir ${dest} DIRECTORY) 8 if(dir STREQUAL "") 9 set(dir ".") variable 13 OUTPUT ${dest} 14 COMMAND ${CMAKE_COMMAND} -E make_directory ${dir} 16 ${dest} 19 ${PROJECT_SOURCE_DIR}/crypto/perlasm/arm-xlate.pl 20 ${PROJECT_SOURCE_DIR}/crypto/perlasm/x86_64-xlate.pl 30 # architecture. dest specifies the basename of the output file. The list of [all …]
|
| /external/cronet/third_party/libc++/src/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_symlink/ |
| D | copy_symlink.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // UNSUPPORTED: no-filesystem 11 // UNSUPPORTED: availability-filesystem-missing 59 const path dir = env.create_dir("dir"); in test_error_reporting() local 69 fs::copy_symlink(dir, dne, ec); in test_error_reporting() 71 assert(checkThrow(dir, dne, ec)); in test_error_reporting() 83 const path dir = env.create_dir("dir"); in copy_symlink_basic() local 84 const path dir_sym = env.create_directory_symlink(dir, "dir_sym"); in copy_symlink_basic() [all …]
|
| /external/cronet/third_party/libc++/src/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_symlink/ |
| D | create_symlink.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // UNSUPPORTED: no-filesystem 11 // UNSUPPORTED: availability-filesystem-missing 53 const path dir = env.create_dir("dir"); in create_symlink_basic() local 54 const path dir_sym = env.create_directory_symlink(dir, "dir_sym"); in create_symlink_basic() 56 const path dest = env.make_env_path("dest1"); in create_symlink_basic() local 58 fs::create_symlink(file_sym, dest, ec); in create_symlink_basic() 60 assert(is_symlink(dest)); in create_symlink_basic() [all …]
|
| /external/libaom/av1/common/ |
| D | cdef_block_simd.h | 19 /* partial A is a 16-bit vector of the form: 130 /* transpose and reverse the order of the lines -- equivalent to a 90-degree 131 counter-clockwise rotation of the pixels. */ 189 best_dir = get_msb(best_dir ^ (best_dir - 1)); // Count trailing zeros in SIMD_FUNC() 193 *var = best_cost - cost[(best_dir + 4) & 7]; in SIMD_FUNC() 208 // sign(a-b) * min(abs(a-b), max(0, threshold - (abs(a-b) >> adjdamp))) 279 CDEF_INLINE void filter_block_4x4(const int is_lowbd, void *dest, int dstride, in filter_block_4x4() argument 281 int sec_strength, int dir, int pri_damping, in filter_block_4x4() argument 284 uint8_t *dst8 = (uint8_t *)dest; in filter_block_4x4() 285 uint16_t *dst16 = (uint16_t *)dest; in filter_block_4x4() [all …]
|
| /external/deqp/framework/qphelper/ |
| D | gen_release_info.py | 1 # -*- coding: utf-8 -*- 3 #------------------------------------------------------------------------- 5 # -------------------------------------- 13 # http://www.apache.org/licenses/LICENSE-2.0 21 #------------------------------------------------------------------------- 40 commit = subprocess.check_output(["git", "--git-dir", gitDir, 41 "describe", "--always", "--long", "--abbrev=40"]) 45 commit = subprocess.check_output(["git", "--git-dir", gitDir, 46 "rev-parse", "HEAD"]) 51 /* WARNING: auto-generated file, use {genFileName} to modify */ [all …]
|
| /external/slf4j/log4j-over-slf4j/compatibility/ |
| D | build.xml | 1 <project name="testing-log4j-bridge" default="usage" basedir="."> 3 <property name="lbversion" value="0.9.8-SNAPSHOT" /> 6 <property name="javac.dest.12" value="./target/classes12/" /> 7 <property name="javac.dest.13" value="./target/classes13/" /> 14 <pathelement location="${lib}/junit-3.8.1.jar" /> 19 <pathelement location="${javac.dest.12}" /> 20 <pathelement location="${lib}/log4j-1.2.14.jar" /> 25 <pathelement location="${javac.dest.13}" /> 26 <pathelement location="${lib}/log4j-1.3alpha-8.jar" /> 31 <pathelement location="${lib}/log4j-over-slf4j-${slf4jversion}.jar" /> [all …]
|
| /external/selinux/scripts/ |
| D | release | 4 set -e 7 cd "$(dirname -- "$0")/.." 11 if ! [ -d "$WIKIDIR" ]; then 16 DEST="releases/$RELEASE_TAG" 26 selinux-dbus 27 selinux-gui 28 selinux-python 29 selinux-sandbox 30 semodule-utils 33 if git rev-parse "$RELEASE_TAG" &> /dev/null ; then [all …]
|
| /external/bazelbuild-rules_android/src/tools/ak/extractaar/ |
| D | extractaar.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 46 tsFalse = -1 105 dest string member 128 manifest: manifestValidator{dest: outputManifest}, 129 res: resourceValidator{dest: outputResDir, hasRes: tristate(hasRes), ruleAttr: "has_res"}, 130 …assets: resourceValidator{dest: outputAssetsDir, hasRes: tristate(hasAssets), ruleAttr: "has_ass… 149 if err := copyFile(file.src, file.dest); err != nil { 188 func extractAAR(aar string, dest string) ([]*aarFile, error) { 200 extractedPath := filepath.Join(dest, f.Name) 209 func extractFile(file *zip.File, dest string) error { [all …]
|
| /external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_symlink/ |
| D | create_symlink.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 22 #include "rapid-cxx-test.hpp" 55 const path dir = env.create_dir("dir"); in TEST_CASE() local 56 const path dir_sym = env.create_symlink(dir, "dir_sym"); in TEST_CASE() 58 const path dest = env.make_env_path("dest1"); in TEST_CASE() local 60 fs::create_symlink(file_sym, dest, ec); in TEST_CASE() 62 TEST_CHECK(is_symlink(dest)); in TEST_CASE() 63 TEST_CHECK(equivalent(dest, file)); in TEST_CASE() 66 const path dest = env.make_env_path("dest2"); in TEST_CASE() local [all …]
|
| /external/toybox/tests/ |
| D | mv.test | 5 # "touch two; chmod -w two; mv one two" shouldn't prompt to delete two if 11 [ -f testing.sh ] && . testing.sh 17 "mv file file1 && [ ! -e file -a -f file1 ] && echo yes" \ 19 rm -f file* 22 mkdir dir 23 testing "file to dir" \ 24 "mv file dir && [ ! -e file -a -f dir/file ] && echo yes" \ 26 rm -rf file* dir* 28 mkdir dir 29 testing "dir to dir" \ [all …]
|
| /external/vboot_reference/host/arch/x86_64/lib/ |
| D | crossystem_arch.c | 2 * Use of this source code is governed by a BSD-style license that can be 50 /* OS-initiated S3 diagnostic path (debug mode boot) */ 129 return -1; in VbCmosRead() 133 return -1; in VbCmosRead() 143 return (1 == res) ? 0 : -1; in VbCmosRead() 153 return -1; in VbCmosWrite() 157 return -1; in VbCmosWrite() 167 return (1 == res) ? 0 : -1; in VbCmosWrite() 176 return -1; in VbReadNvStorage() 178 return -1; in VbReadNvStorage() [all …]
|
| /external/vboot_reference/host/arch/x86/lib/ |
| D | crossystem_arch.c | 2 * Use of this source code is governed by a BSD-style license that can be 50 /* OS-initiated S3 diagnostic path (debug mode boot) */ 129 return -1; in VbCmosRead() 133 return -1; in VbCmosRead() 143 return (1 == res) ? 0 : -1; in VbCmosRead() 153 return -1; in VbCmosWrite() 157 return -1; in VbCmosWrite() 167 return (1 == res) ? 0 : -1; in VbCmosWrite() 176 return -1; in VbReadNvStorage() 178 return -1; in VbReadNvStorage() [all …]
|
| /external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/ |
| D | create_directory_with_attributes.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 22 #include "rapid-cxx-test.hpp" 42 const path dir = env.create_dir("dir1"); in TEST_CASE() local 45 const perms orig_p = status(dir).permissions(); in TEST_CASE() 49 TEST_CHECK(fs::create_directory(dir, dir2, ec) == false); in TEST_CASE() 53 TEST_CHECK(orig_p == status(dir).permissions()); in TEST_CASE() 56 TEST_CHECK(fs::create_directory(dir, dir2) == false); in TEST_CASE() 65 const path dir = env.make_env_path("dir1"); in TEST_CASE() local 70 TEST_CHECK(fs::create_directory(dir, attr_dir, ec) == true); in TEST_CASE() [all …]
|
| /external/google-cloud-java/owl-bot-postprocessor/synthtool/sources/ |
| D | templates.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 41 def _render_to_path(env, template_name, dest, params): argument 47 template_name = template.name[:-3] 49 dest = dest / template_name 50 dest.parent.mkdir(parents=True, exist_ok=True) 52 with dest.open("w") as fh: 58 dest.chmod(mode) 60 return dest 64 def __init__(self, location: PathOrStr) -> None: 67 self.dir = tmp.tmpdir() [all …]
|
| /external/autotest/utils/ |
| D | tko_publish.py | 23 USAGE="""tko-publish [options] <resultsdir> <rsync-destination-path> 29 <rsync-destination-path> A valid rsync destination path where to upload the 33 RSYNC_COMMAND = 'rsync -aqz "%s" "%s"' 37 regex = re.compile('[1-9][0-9]*-') 40 for dir in os.listdir(path): 41 # skip directories not matching the job result dir pattern 42 if not regex.match(dir): 45 dir = os.path.join(options.resultsdir, dir) 46 if (os.path.isdir(dir) 47 and not os.path.exists(os.path.join(dir, PUBLISH_FLAGFILE))): [all …]
|
| /external/libffi/src/x86/ |
| D | ffi.c | 1 /* ----------------------------------------------------------------------- 2 ffi.c - Copyright (c) 2017 Anthony Green 30 ----------------------------------------------------------------------- */ 40 all further uses in this file will refer to the 80-bit type. */ 55 /* Stack is not 16-byte aligned on Windows. */ 66 int i, n, flags, cabi = cif->abi; in ffi_prep_cif_machdep() 82 switch (cif->rtype->type) in ffi_prep_cif_machdep() 121 if (cif->rtype->size == 1) in ffi_prep_cif_machdep() 123 else if (cif->rtype->size == 2) in ffi_prep_cif_machdep() 125 else if (cif->rtype->size == 4) in ffi_prep_cif_machdep() [all …]
|
| /external/cronet/third_party/libc++/src/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/ |
| D | create_directory_with_attributes.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // UNSUPPORTED: no-filesystem 11 // UNSUPPORTED: availability-filesystem-missing 14 // XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx{{10.15|11.0}} 43 const path dir = env.create_dir("dir1"); in create_existing_directory() local 46 const perms orig_p = status(dir).permissions(); in create_existing_directory() 50 assert(fs::create_directory(dir, dir2, ec) == false); in create_existing_directory() 54 assert(orig_p == status(dir).permissions()); in create_existing_directory() [all …]
|
| /external/libese/apps/ |
| D | build.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (C) 2017 The Android Open Source Project 8 http://www.apache.org/licenses/LICENSE-2.0 15 --> 16 <!-- Ant XML for out of band building all applets using shared exports. --> 19 <!-- Project-wide properties --> 20 <!-- TODO: move to file="build.properties" --> 22 <property name="prereqs.dir" location="${basedir}/prereqs"/> 26 <property name="api.dir" location="${api.root}/apis/jcopx-4.0-R2"/> 30 <property name="ls.dir" location="${build}/loaderservice"/> [all …]
|
| /external/mesa3d/src/nouveau/headers/ |
| D | update-from-open-gpu-doc.py | 15 '/classes/dma-copy/': 'classes/', 17 '/classes/memory-to-memory-format/': 'classes/', 24 parser.add_argument('git_path', type=str, help='Path to the open-gpu-doc repo') 35 sys.exit(-1) 43 for dir in dirs.keys(): 44 path = repo_path + dir 46 print(dir + " does not exist in repository. Was the correct repository choosen?") 47 sys.exit(-1) 50 for src, dest in dirs.items(): 52 dest = target + dest variable [all …]
|