/external/oj-libjdwp/src/share/back/ |
D | commonRef.c | 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 34 * ANDROID-CHANGED: This was modified for android to avoid any use of weak 48 * the presence of a debugger-tracked object will not prevent 53 * This tag also provides the weak-reference behavior. 55 * The ref member is changed from weak to strong when gc of the object is 66 * with one hash table that will re-size itself as the number of RefNode's 72 /* If element count exceeds HASH_EXPAND_SCALE*hash_size we expand & re-hash */ 83 return ((jint)key) & (gdata->objectsByIDsize-1); in hashBucket() 90 return gdata->nextSeqNum++; in newSeqNum() 93 /* ANDROID-CHANGED: This helper function is unique to android. [all …]
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | cmd_helper.py | 2 # Use of this source code is governed by a BSD-style license that can be 30 _SafeShellChars = frozenset(string.ascii_letters + string.digits + '@%_-+=:,./') 32 # Cache the string-escape codec to ensure subprocess can find it 35 codecs.lookup('string-escape') 39 """Return an shell-escaped version of the string using single quotes. 57 """Return an shell-escaped version of the string using double quotes. 112 env=None): argument 114 # pylint: disable=unexpected-keyword-arg 131 env=env, 149 env=env, [all …]
|
/external/icu/icu4c/source/data/ |
D | build.xml | 2 <!ENTITY icu-config SYSTEM "./icu-config.xml"> 3 <!ENTITY icu-locale-deprecates SYSTEM "./icu-locale-deprecates.xml"> 4 <!ENTITY icu-coll-deprecates SYSTEM "./icu-coll-deprecates.xml"> 5 <!ENTITY icu-rbnf-deprecates SYSTEM "./icu-rbnf-deprecates.xml"> 7 <!-- 12 * Copyright (C) 2005-2015, International Business Machines Corporation and * 16 --> 17 <project name="icu-build" default="all" basedir="."> 21 <!-- Load environment variables --> 22 <property environment="env"/> [all …]
|
/external/python/cpython3/Tools/buildbot/ |
D | test.bat | 7 set rt_opts=-q -d 8 set regrtest_args=-j1 12 if "%1"=="-x64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts 13 if "%1"=="-arm64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts 14 if "%1"=="-arm32" (set rt_opts=%rt_opts% %1) & (set arm32_ssh=true) & shift & goto CheckOpts 15 if "%1"=="-d" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts 16 if "%1"=="-O" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts 17 if "%1"=="-q" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts 18 if "%1"=="+d" (set rt_opts=%rt_opts:-d=%) & shift & goto CheckOpts 19 if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts [all …]
|
/external/python/cpython3/ |
D | .travis.yml | 4 # To cache doc-building dependencies and C compiler output. 6 - pip 7 - ccache 8 - directories: 9 - $HOME/multissl 11 env: 13 - OPENSSL=1.1.1f 14 - OPENSSL_DIR="$HOME/multissl/openssl/${OPENSSL}" 15 - PATH="${OPENSSL_DIR}/bin:$PATH" 16 - CFLAGS="-I${OPENSSL_DIR}/include" [all …]
|
/external/python/cpython3/.github/workflows/ |
D | coverage.yml | 6 - master 7 - 3.9 8 - 3.8 9 - 3.7 10 paths-ignore: 11 - 'Doc/**' 12 - 'Misc/**' 15 # - master 16 # - 3.9 17 # - 3.8 [all …]
|
/external/python/cpython3/.azure-pipelines/ |
D | posix-steps.yml | 9 - checkout: self 14 - script: sudo setfacl -Rb /home/vsts 17 - script: ${{ parameters.sudo_dependencies }} ./.azure-pipelines/posix-deps-${{ parameters.dependen… 20 - script: ./configure --with-pydebug 23 - script: make -j4 26 - ${{ if eq(parameters.coverage, 'true') }}: 27 - script: ./python -m venv venv && ./venv/bin/python -m pip install -U coverage 30 - script: ./venv/bin/python -m test.pythoninfo 33 - script: | 34 $COMMAND -m coverage run --pylib -m test \ [all …]
|
/external/python/cpython2/ |
D | .travis.yml | 6 # To cache doc-building dependencies and C compiler output. 8 - pip 9 - ccache 11 env: 13 # Use -O3 because we don't use debugger on Travis-CI 14 - CFLAGS="-O3" 18 - master 19 - /^\d\.\d$/ 20 - buildbot-custom 25 - env: OPTIONAL=true [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_regrtest.py | 27 LOG_PREFIX = r'[0-9]+:[0-9]+:[0-9]+ (?:load avg: [0-9]+\.[0-9]{2} )?' 50 for opt in '-h', '--help': 58 ns = libregrtest._parse_args(['--timeout', '4.2']) 60 self.checkError(['--timeout'], 'expected one argument') 61 self.checkError(['--timeout', 'foo'], 'invalid float value') 64 ns = libregrtest._parse_args(['--wait']) 68 ns = libregrtest._parse_args(['--worker-args', '[[], {}]']) 70 self.checkError(['--worker-args'], 'expected one argument') 73 for opt in '-S', '--start': 80 ns = libregrtest._parse_args(['-v']) [all …]
|
D | bisect_cmd.py | 1 #!/usr/bin/env python3 7 ./python -m test.bisect_cmd --fail-env-changed test_os 12 ./python -m test.bisect_cmd -o bisect -R 3:3 test_os 14 Load an existing list of tests from a file using -i option: 16 ./python -m test --list-cases -m FileTests test_os > tests 17 ./python -m test.bisect_cmd -i tests test_os 59 cmd.extend(['-m', 'test', '--list-cases']) 80 cmd.extend(['-m', 'test', '--matchfile', tmp]) 92 parser.add_argument('-i', '--input', 93 help='Test names produced by --list-tests written ' [all …]
|
/external/openscreen/tools/ |
D | licenses.py | 1 #!/usr/bin/env python3 3 # Use of this source code is governed by a BSD-style license that can be 39 os.path.join('third_party', 'llvm-build'), 92 # Absolute-looking paths are relative to the source root 142 # Special-case modules that aren't in the shipping product, so don't need 239 Note that it always returns the direct sub-directory of third_party 242 third_party/cld_3/src/src/BUILD.gn -> third_party/cld_3 258 third_party_deps.add(third_party_path[:-1]) 264 raise RuntimeError("--gn-out-dir is required if --gn-target is used.") 276 _GnBinary(), "desc", tmp_dir, gn_target, "deps", "--as=buildfile", [all …]
|
/external/googletest/googletest/test/ |
D | googletest-failfast-unittest.py | 1 #!/usr/bin/env python 35 --gtest_fail_fast flag. The default value of the flag can also be changed 36 by Bazel fail fast environment variable TESTBRIDGE_TEST_RUNNER_FAIL_FAST. 38 This script tests such functionality by invoking googletest-failfast-unittest_ 48 # Bazel testbridge environment variable for fail fast 51 # The environment variable for specifying fail fast. 54 # The command line flag for specifying fail fast. 63 # Command to run the googletest-failfast-unittest_ program. 65 'googletest-failfast-unittest_') 69 LIST_TESTS_FLAG = '--gtest_list_tests' [all …]
|
/external/libchrome/base/android/ |
D | jni_android.h | 2 // Use of this source code is governed by a BSD-style license that can be 37 // saved by JNI_SAVE_FRAME_POINTER, allowing frame-based unwinding 46 // Frame-based stack unwinding is not supported, do nothing. 61 bool (*func)(JNIEnv* env); 69 // changed. AttachCurrentThread() doesn't regard underlying platform thread 70 // name, but just resets it to "Thread-???". This function should be called 86 // the application classes and will fail to lookup anything other than system 89 JNIEnv* env, 97 BASE_EXPORT ScopedJavaLocalRef<jclass> GetClass(JNIEnv* env, 103 // The caller is responsible to zero-initialize |atomic_method_id|. [all …]
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | cmdline.py | 8 python -m test [options] [test_name1 [test_name2 ...]] 17 them in alphabetical order (but see -M and -u, below, for exceptions). 22 python -E -Wd -m test [options] [test_name1 ...] 28 -r randomizes test execution order. You can use --randseed=int to provide an 32 -s On the first invocation of regrtest using -s, the first test file found 41 consume too many resources to run the full regression test non-stop. 43 -S is used to continue running tests after an aborted run. It will 44 maintain the order a standard run (ie, this assumes -r is not used). 49 -f reads the names of tests from the file given as f's argument, one 54 -L causes the leaks(1) command to be run just before exit if it exists. [all …]
|
/external/python/cpython2/Python/ |
D | random.c | 35 /* Obtain handle to the DLL containing CryptoAPI. This should not fail. */ in win32_urandom_init() 40 /* Obtain pointers to the CryptoAPI functions. This will fail on some early in win32_urandom_init() 64 return -1; in win32_urandom_init() 67 /* Fill buffer with size pseudo-random bytes generated by the Windows CryptoGen 68 API. Return 0 on success, or -1 on error. */ 76 if (win32_urandom_init(raise) == -1) in win32_urandom() 77 return -1; in win32_urandom() 91 return -1; in win32_urandom() 94 size -= chunk; in win32_urandom() 103 implements it with the getrandom() syscall which can fail with ENOSYS, [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_regrtest.py | 46 TESTNAME_REGEX = r'test_[a-zA-Z0-9_]+' 82 self.fail("%r not found in %r" % (regex, output)) 90 … regex = (r'^[0-9]+:[0-9]+:[0-9]+ (?:load avg: [0-9]+\.[0-9]{2} )?\[ *[0-9]+(?:/ *[0-9]+)*\] (%s)' 147 regex = list_regex('%s re-run test%s', rerun) 149 self.check_line(output, "Re-running failed tests in verbose mode") 151 regex = "Re-running test %r in verbose mode" % name 154 good = (len(tests) - len(skipped) - len(failed) 155 - len(omitted) - len(env_changed)) 169 result.append('ENV CHANGED') 181 match = self.regex_search(r'Using random seed ([0-9]+)', output) [all …]
|
D | regrtest.py | 1 #! /usr/bin/env python 6 python -m test.regrtest [options] [test_name1 [test_name2 ...]] 12 them in alphabetical order (but see -M and -u, below, for exceptions). 17 python -E -tt -Wd -3 -m test.regrtest [options] [test_name1 ...] 22 -h/--help -- print this text and exit 26 -v/--verbose -- run tests in verbose mode with output to stdout 27 -w/--verbose2 -- re-run failed tests in verbose mode 28 -W/--verbose3 -- re-run failed tests in verbose mode immediately 29 -q/--quiet -- no output unless one or more tests fail 30 -S/--slowest -- print the slowest 10 tests [all …]
|
D | bisect_cmd.py | 1 #!/usr/bin/env python2 7 ./python -m test.bisect --fail-env-changed test_os 12 ./python -m test.bisect -o bisect -R 3:3 test_os 14 Load an existing list of tests from a file using -i option: 16 ./python -m test --list-cases -m FileTests test_os > tests 17 ./python -m test.bisect -i tests test_os 52 cmd = [sys.executable, '-m', 'test', '--list-cases'] 79 cmd = [sys.executable, '-m', 'test', '--matchfile', tmp] 97 parser.add_argument('-i', '--input', 98 help='Test names produced by --list-tests written ' [all …]
|
/external/ltp/testcases/kernel/io/disktest/ |
D | threading.c | 18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 * Please send e-mail to yardleyb@us.ibm.com if you have 28 * Clean Trailing Tab: Signed-off-by: Michal Simek <monstr@monstr.eu>. 31 * Clear Trailing Whitespace. Signed-off-by: Michal Simek <monstr@monstr.eu>. 43 * Fixed issue with code added for -F option. Cased disktest 47 * Added -F functions. 56 * No IO was performed when -S0:0 and -pr specified 68 * Rewrote -pL IO routine to show 70 * when using -C. 88 * Update getvsiz so it returns a -1 [all …]
|
/external/rust/cxx/book/src/build/ |
D | cargo.md | 1 {{#title Cargo-based setup — Rust ♡ C++}} 2 # Cargo-based builds 7 experience `#include`-ing C++ headers across dependencies. 11 CXX's integration with Cargo is handled through the [cxx-build] crate. 13 [cxx-build]: https://docs.rs/cxx-build 25 [build-dependencies] 26 cxx-build = "1.0" 41 .flag_if_supported("-std=c++11") 42 .compile("cxxbridge-demo"); 44 println!("cargo:rerun-if-changed=src/main.rs"); [all …]
|
/external/google-fruit/tests/ |
D | fruit_test_common.py | 1 #!/usr/bin/env python3 8 # http://www.apache.org/licenses/LICENSE-2.0 11 # distributed under the License is distributed on an "AS-IS" BASIS, 36 def pretty_print_command(command, env): argument 37 return 'cd %s; env -i %s %s' % ( 39 …' '.join('%s=%s' % (var_name, shlex.quote(value)) for var_name, value in env.items() if var_name !… 62 def __init__(self, command, env, stdout, stderr, error_code): argument 64 self.env = env 78 …''').format(command=pretty_print_command(self.command, self.env), error_code=self.error_code, stdo… 80 def run_command(executable, args=[], modify_env=lambda env: env): [all …]
|
/external/ltp/testcases/kernel/syscalls/fork/ |
D | fork04.c | 21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 33 * OS Test - Silicon Graphics, Inc. 41 * CO-PILOT : Steve Shaw 56 * Terminates - with frequency and infinite modes. 63 * No run-time environmental needs. 76 * Check return code, if system call failed (return=-1) 89 * Determine and report PASS/FAIL result. 112 #define OUTPUT_FILE "env.out" 164 * Compare parent env string to child's string. 165 * Each string is in the format: <env var>:<value> [all …]
|
/external/gflags/test/ |
D | gflags_unittest.cc | 30 // --- 53 // old location to make sure that the include-header-forwarding 55 // it never had the old location-names. 71 DEFINE_string(srcdir, StringFromEnv("SRCDIR", "."), "Source-dir root, needed to find gflags_unittes… 75 DEFINE_bool(test_bool, false, "tests bool-ness"); 76 DEFINE_int32(test_int32, -1, ""); 77 DEFINE_int64(test_int64, -2, ""); 80 DEFINE_double(test_double, -1.0, ""); 84 // The below ugliness gets some additional code coverage in the -helpxml 85 // and -helpmatch test cases having to do with string lengths and formatting [all …]
|
/external/autotest/server/cros/tradefed/ |
D | generate_controlfiles_CTS_Instant.py | 1 #!/usr/bin/env python2 3 # Use of this source code is governed by a BSD-style license that can be 25 CONFIG['TRADEFED_CTS_COMMAND'] = 'cts-instant' 31 'android-cts_instant/tools/cts-instant-tradefed' 34 CONFIG['INTERNAL_SUITE_NAMES'] = ['suite:arc-cts'] 35 CONFIG['QUAL_SUITE_NAMES'] = ['suite:arc-cts-qual'] 38 # unlikely to fail alone (= regression almost always caught by the 47 # tag) that contain 'tradefed-run-collect-tests'. b/119640440 49 _COLLECT = 'tradefed-run-collect-tests-only-internal' 50 _PUBLIC_COLLECT = 'tradefed-run-collect-tests-only' [all …]
|
/external/llvm-project/lldb/unittests/Host/ |
D | HostInfoTest.cpp | 1 //===-- HostInfoTest.cpp --------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 #include "lldb/lldb-defines.h" 27 // Fully specified triple should not be changed. in TEST_F() 28 ArchSpec spec = HostInfo::GetAugmentedArchSpec("x86_64-pc-linux-gnu"); in TEST_F() 29 EXPECT_EQ(spec.GetTriple().getTriple(), "x86_64-pc-linux-gnu"); in TEST_F() 31 // Same goes if we specify at least one of (os, vendor, env). in TEST_F() 32 spec = HostInfo::GetAugmentedArchSpec("x86_64-pc"); in TEST_F() 33 EXPECT_EQ(spec.GetTriple().getTriple(), "x86_64-pc"); in TEST_F() [all …]
|