| /third_party/libphonenumber/java/ |
| D | build.xml | 4 <property name="libphonenumber.src.dir" value="libphonenumber/src"/> 5 <property name="libphonenumber.test.dir" value="libphonenumber/test"/> 6 <property name="carrier.src.dir" value="carrier/src"/> 7 <property name="carrier.test.dir" value="carrier/test"/> 8 <property name="geocoder.src.dir" value="geocoder/src"/> 9 <property name="geocoder.test.dir" value="geocoder/test"/> 10 <property name="prefixmapper.src.dir" value="internal/prefixmapper/src"/> 11 <property name="prefixmapper.test.dir" value="internal/prefixmapper/test"/> 12 <property name="build.dir" value="build"/> 13 <property name="classes.dir" value="${build.dir}/classes"/> [all …]
|
| /third_party/protobuf/java/core/ |
| D | generate-test-sources-build.xml | 1 <project name="generate-test-sources"> 2 <mkdir dir="${generated.testsources.dir}"/> 4 <arg value="--java_out=${generated.testsources.dir}"/> 5 <arg value="--proto_path=${protobuf.source.dir}"/> 6 <arg value="--proto_path=${test.proto.dir}"/> 7 <arg value="${protobuf.source.dir}/google/protobuf/unittest.proto"/> 8 <arg value="${protobuf.source.dir}/google/protobuf/unittest_custom_options.proto"/> 9 <arg value="${protobuf.source.dir}/google/protobuf/unittest_enormous_descriptor.proto"/> 10 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import.proto"/> 11 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_lite.proto"/> [all …]
|
| /third_party/icu/icu4j/ |
| D | build.xml | 1 <!-- 5 * Copyright (C) 1997-2016, International Business Machines Corporation and * 8 --> 13 <property file="build-local.properties"/> 16 <property name="shared.dir" value="main/shared"/> 17 <import file="${shared.dir}/build/common-targets.xml"/> 21 <!-- icu4j binaries --> 24 <property name="icu4j-charset.jar.file" value="icu4j-charset.jar"/> 25 <property name="icu4j-localespi.jar.file" value="icu4j-localespi.jar"/> 29 <!-- icu4j API doc jar file --> [all …]
|
| /third_party/skia/third_party/externals/sfntly/java/ |
| D | build.xml | 6 <target name="compile-test" depends="compile"> 7 <mkdir dir="${classes-test.dir}" /> 8 <javac srcdir="${test.dir}" destdir="${classes-test.dir}" includeantruntime="false"> 10 <fileset dir="${lib.dir}" includes="**/*.jar"/> 11 <pathelement location="${classes.dir}" /> 16 <target name="test" depends="compile-test"> 17 <mkdir dir="${report-test.dir}" /> 20 <fileset dir="${lib.dir}" includes="**/*.jar"/> 21 <pathelement location="${classes.dir}" /> 22 <pathelement location="${classes-test.dir}" /> [all …]
|
| D | build.properties | 1 src.dir=src 2 test.dir=test 3 report-test.dir=report 4 lib.dir=lib 5 build.dir=build 6 classes.dir=build/classes 7 build-test.dir=build-test 8 classes-test.dir=build-test/classes 9 javadoc.dir=build/javadoc 10 dist.dir=dist [all …]
|
| /third_party/icu/icu4j/main/shared/build/ |
| D | common-targets.xml | 1 <!-- 5 * Copyright (C) 2009-2016, International Business Machines Corporation and * 8 --> 9 <project name="common-targets" basedir="."> 10 <dirname property="common-targets.dir" file="${ant.file.common-targets}"/> 11 <property file="${common-targets.dir}/locations.properties"/> 13 <!-- global (top-level) properties - need locations.properties loaded first --> 14 <property file="${global.build-local.properties}"/> 17 <property file="${common-targets.dir}/common.properties"/> 20 <!-- common targets --> [all …]
|
| D | common.properties | 4 #* Copyright (C) 2009-2016, International Business Machines Corporation and * 12 default.exec.env = JavaSE-1.7 17 src.dir = src 18 out.dir = out 19 bin.dir = ${out.dir}/bin 20 jar.dir = ${out.dir}/lib 26 javac.compilerarg = -Xlint:none 27 java.src.encoding = UTF-8 36 icu4j.data.jar = ${shared.dir}/data/icudata.jar 37 icu4j.tzdata.jar = ${shared.dir}/data/icutzdata.jar [all …]
|
| /third_party/protobuf/java/lite/ |
| D | generate-test-sources-build.xml | 1 <project name="generate-test-sources"> 2 <mkdir dir="${generated.testsources.dir}"/> 4 <arg value="--java_out=lite:${generated.testsources.dir}"/> 5 <arg value="--proto_path=${protobuf.source.dir}"/> 6 <arg value="--proto_path=${protobuf.basedir}/java/core/${test.proto.dir}"/> 7 <arg value="${protobuf.source.dir}/google/protobuf/unittest.proto"/> 8 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import.proto"/> 9 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_lite.proto"/> 10 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public.proto"/> 11 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public_lite.proto"/> [all …]
|
| /third_party/skia/third_party/externals/harfbuzz/test/shape/ |
| D | record-test.sh | 3 dir=`mktemp -d` 8 SHA1SUM='shasum -a 1' 10 SHA1SUM='digest -a sha1' 17 if test "x$1" == 'x-o'; then 25 if test "x${fontfile:0:1}" == 'x-'; then 30 if ! echo "$hb_shape" | grep -q 'hb-shape'; then 31 echo "Specify hb-shape (not hb-view, etc): got "$hb_shape"." >&2 37 if test "x${arg:0:1}" == 'x-'; then 38 if echo "$arg" | grep -q ' '; then 55 unicodes=`echo "$text" | ./hb-unicode-decode` [all …]
|
| /third_party/alsa-utils/ |
| D | configure.ac | 3 AC_INIT(alsa-utils, 1.2.11) 6 AM_INIT_AUTOMAKE([subdir-objects]) 25 if test "x$enable_alsatest" = "xyes"; then 27 , [AC_ERROR([No user enum control support in alsa-lib])]) 42 AC_CHECK_HEADERS([alsa/use-case.h], [have_ucm="yes"], [have_ucm="no"], 50 if test "$HAVE_SEQ_CLIENT_INFO_GET_CARD" = "yes" ; then 51 AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_CARD], 1, [alsa-lib supports snd_seq_client_info_get_card]) 54 if test "$HAVE_SEQ_CLIENT_INFO_GET_PID" = "yes" ; then 55 AC_DEFINE([HAVE_SEQ_CLIENT_INFO_GET_PID], 1, [alsa-lib supports snd_seq_client_info_get_pid]) 58 if test "$HAVE_SEQ_CLIENT_INFO_GET_MIDI_VERSION" = "yes" -a "$have_rawmidi" = "yes"; then [all …]
|
| /third_party/toybox/tests/ |
| D | tar.test | 3 [ -f testing.sh ] && . testing.sh 20 TAR='tar c --owner root --group root --mtime @1234567890' 23 # gnu/dammit does more) so look at first N 512-byte frames when 27 if [ -n "$TARHD" ]; then 29 mkfifo xxd-pipe 30 xxd <xxd-pipe & pid=$! 31 tee xxd-pipe | head -c $(($1*512)) | sha1sum | sed "s/ .*//" 32 rm xxd-pipe 35 head -c $(($1*512)) | sha1sum | sed "s/ .*//" 49 "-rw-rw-r-- root/root 0 2009-02-13 23:31 file\n" "" "" [all …]
|
| /third_party/littlefs/tests/ |
| D | test_move.toml | 23 lfs_dir_t dir; 25 lfs_dir_open(&lfs, &dir, "a") => 0; 26 lfs_dir_read(&lfs, &dir, &info) => 1; 29 lfs_dir_read(&lfs, &dir, &info) => 1; 32 lfs_dir_read(&lfs, &dir, &info) => 0; 33 lfs_dir_close(&lfs, &dir) => 0; 34 lfs_dir_open(&lfs, &dir, "c") => 0; 35 lfs_dir_read(&lfs, &dir, &info) => 1; 38 lfs_dir_read(&lfs, &dir, &info) => 1; 41 lfs_dir_read(&lfs, &dir, &info) => 1; [all …]
|
| D | test_relocations.toml | 15 while (BLOCK_COUNT - lfs_fs_size(&lfs) > 16) { 19 // make a child dir to use in bounded space 27 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i); 32 lfs_dir_t dir; 34 lfs_dir_open(&lfs, &dir, "child") => 0; 35 lfs_dir_read(&lfs, &dir, &info) => 1; 36 lfs_dir_read(&lfs, &dir, &info) => 1; 39 sprintf(path, "test%03d_loooooooooooooooooong_name", i); 40 lfs_dir_read(&lfs, &dir, &info) => 1; 43 lfs_dir_read(&lfs, &dir, &info) => 0; [all …]
|
| /third_party/astc-encoder/jenkins/ |
| D | nightly.Jenkinsfile | 1 /* This pipeline is used for post-commit testing, so it runs frequently. 3 * Test objectives for this pipeline are: 5 * - Run the entire pipeline in less than 10 minutes. 6 * - Test builds on all supported operating systems. 7 * - Test builds on all supported compilers. 8 * - Test release and debug build variants. 9 * - Run functional smoke tests. 10 * - Run image quality smoke tests. 12 * The test matrix is not fully covered; e.g. we can assume compilers behave 13 * similarly on different operating systems, so we test one compiler per OS. [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/open/ |
| D | open11.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * There are 28 test cases: 14 * 6. Open dir O_RDONLY 15 * 7. Open dir O_RDWR, expect EISDIR 23 * 15. Open sym link dir O_RDONLY 24 * 16. Open sym link dir O_WRONLY, expect EISDIR 25 * 17. Open sym link dir O_RDWR, expect EISDIR 29 * 21. Open non-existing regular file in existing dir 33 * 25. Open symlink dir O_RDONLY | O_CREAT, expect EISDIR 34 * 26. Open dir O_RDONLY | O_CREAT, expect EISDIR [all …]
|
| /third_party/python/Lib/test/ |
| D | test_tempfile.py | 18 from test import support 19 from test.support import os_helper 20 from test.support import script_helper 21 from test.support import warnings_helper 28 # number of files that can be opened at one time (see ulimit -n) 34 # This is organized as one test for each chunk of code in tempfile.py, 90 str_check = re.compile(r"^[a-z0-9_-]{8}$") 91 b_check = re.compile(br"^[a-z0-9_-]{8}$") 98 def nameCheck(self, name, dir, pre, suf): argument 101 nsuf = nbase[len(nbase)-len(suf):] [all …]
|
| /third_party/ltp/testcases/kernel/security/prot_hsymlinks/ |
| D | prot_hsymlinks.c | 16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 21 * Test checks following preconditions: 24 * --------- 25 * Users who own sticky world-writable directory can't follow symlinks 29 * --------- 30 * Hard links restriction applies only to non-privileged users. Only 31 * non-privileged user can't create hard links to files if he isn't owner 45 #include "test.h" 51 /* create 3 files and 1 dir in each base dir */ 65 * max test files and directories [all …]
|
| /third_party/ltp/scripts/coccinelle/ |
| D | run-spatch.sh | 1 #!/bin/sh -eu 2 # SPDX-License-Identifier: GPL-2.0-or-later 7 if [ ! -d lib ] || [ ! -d scripts/coccinelle ]; then 8 echo "$0: Can't find lib or scripts directories. Run me from top src dir" 14 # Run a script on the lib dir 19 spatch --dir lib \ 20 --ignore lib/parse_opts.c \ 21 --ignore lib/newlib_tests \ 22 --ignore lib/tests \ 23 --use-gitgrep \ [all …]
|
| /third_party/ltp/testcases/commands/cpio/ |
| D | cpio_tests.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 3 # Copyright (c) Linux Test Project, 2003-2021 5 # Test basic functionality of cpio command 14 if ! cpio --help 2>&1 | grep -q -- '-o.*Create'; then 15 tst_brk TCONF "-o flag not supported" 20 if cpio 2>&1 | grep -q 'BusyBox'; then 21 ARCHIVE_FORMAT="-H newc" 27 ROD mkdir "dir" 29 ROD echo "Test" > "dir/$i" 32 ROD find dir -type f > filelist [all …]
|
| /third_party/ltp/testcases/network/nfsv4/locks/ |
| D | locktests.py | 33 def mkdir(self,dir): argument 34 self.command="mkdir -p "+dir 36 def rmdir(self,dir): argument 37 self.command="rm -rf "+dir 41 print("->"+self.command) 55 def isomount(self, dir): argument 58 self.command="'mkdir -p "+mntpoint+"; mount -t nfs4 "+export+" "+mntpoint+"'" 61 def umount(self, dir): argument 62 mntpoint=self.mountPath+"/"+dir 87 def configure(self, dir): argument [all …]
|
| /third_party/unity/test/ |
| D | rakefile_helper.rb | 2 # Unity Project - A Test Framework for C 36 path = 'tests/test*' + C_EXTENSION 44 include_dirs += $cfg[:paths][:test] || [] 46 include_dirs.delete_if { |dir| dir.is_a?(Array) } 61 paths.each do |dir| 62 src_file = dir + header.ext(C_EXTENSION) 112 [ $cfg[:defines][:test], defines ].flatten.uniq.compact.each do |f| 117 i = $1.to_i - 1 164 …"--style=allman --indent=spaces=4 --indent-switches --indent-preproc-define --indent-preproc-block… 165 "--pad-oper --pad-comma --unpad-paren --pad-header " \ [all …]
|
| /third_party/skia/tests/ |
| D | OSPathTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 10 #include "tests/Test.h" 13 * Test SkOSPath::Join, SkOSPath::Basename, and SkOSPath::Dirname. 14 * Will use SkOSPath::Join to append filename to dir, test that it works correctly, 16 * @param reporter Reporter for test conditions. 17 * @param dir String representing the path to a folder. May or may not 22 static void test_dir_with_file(skiatest::Reporter* reporter, SkString dir, in test_dir_with_file() argument 29 // fullName should be "dir<SkOSPath::SEPARATOR>file" in test_dir_with_file() 30 SkString fullName = SkOSPath::Join(dir.c_str(), filename.c_str()); in test_dir_with_file() 32 // fullName should be the combined size of dir and file, plus one if in test_dir_with_file() [all …]
|
| D | RRectInPathTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 12 #include "tests/Test.h" 15 SkPathDirection* dir, unsigned* start) { in path_contains_rrect() argument 17 REPORTER_ASSERT(reporter, SkPathPriv::IsRRect(path, &out, dir, start)); in path_contains_rrect() 19 recreatedPath.addRRect(out, *dir, *start); in path_contains_rrect() 21 // Test that rotations/mirrors of the rrect path are still rrect paths and the returned in path_contains_rrect() 25 SkMatrix::Scale(-1, 1), in path_contains_rrect() 26 SkMatrix::Scale( 1, -1), in path_contains_rrect() 27 SkMatrix::Scale(-1, -1), in path_contains_rrect() 44 SkPathDirection dir, unsigned start) { in inner_path_contains_rrect() argument [all …]
|
| /third_party/openssl/test/recipes/ |
| D | 90-test_store.t | 2 # Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved. 12 use OpenSSL::Test qw(:DEFAULT srctop_file srctop_dir bldtop_file bldtop_dir 14 use OpenSSL::Test::Utils; 25 ( "test/blahdiblah.pem", 26 "test/blahdibleh.der" ); 28 ( "test/testx509.pem", 29 "test/testrsa.pem", 30 "test/testrsapub.pem", 31 "test/testcrl.pem", 39 ( "test/testrsa.pem", [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/fanotify/ |
| D | fanotify14.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) Linux Test Project, 2020-2022 11 * This test file has been designed to ensure that the fanotify 18 * The ENOTDIR test cases are regression tests for commits: 20 * ceaf69f8eadc fanotify: do not allow setting dirent events in mask of non-dir 21 * 8698e3bab4dd fanotify: refine the validation checks on non-dir inode mask 23 * The pipes test cases are regression tests for commit: 46 static int pipes[2] = {-1, -1}; 57 * Each test case has been designed in a manner whereby the values defined 129 /* With FAN_MARK_ONLYDIR on non-dir is not valid */ [all …]
|