| /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/python/cpython3/Lib/test/ |
| D | test_regrtest.py | 31 LOG_PREFIX = r'[0-9]+:[0-9]+:[0-9]+ (?:load avg: [0-9]+\.[0-9]{2} )?' 59 for opt in '-h', '--help': 67 ns = libregrtest._parse_args(['--timeout', '4.2']) 69 self.checkError(['--timeout'], 'expected one argument') 70 self.checkError(['--timeout', 'foo'], 'invalid float value') 73 ns = libregrtest._parse_args(['--wait']) 77 ns = libregrtest._parse_args(['--worker-args', '[[], {}]']) 79 self.checkError(['--worker-args'], 'expected one argument') 82 for opt in '-S', '--start': 89 ns = libregrtest._parse_args(['-v']) [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/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/rust/crates/jni/docs/ |
| D | 0.21-MIGRATION.md | 3 …n order to improve safety. Most projects that use this library will need to be changed accordingly. 7 … would cause undefined behavior. See [issue #392](https://github.com/jni-rs/jni-rs/issues/392) for… 16 pub extern "system" fn Java_HelloWorld_hello<'local>(mut env: JNIEnv<'local>, 19 -> jstring { 32 pub fn print_string(env: &mut JNIEnv, 34 -> Result<()> { 35 println!("{}", env.get_string(string)?.to_string_lossy()); 48 env.with_local_frame(16, |env| { 72 let result: MyResult<()> = env.with_local_frame(10, |env| { Ok(()) }); 77 env.with_local_frame::<_, _, MyError>(10, |env| { Ok(()) })?; [all …]
|
| /external/python/cpython3/Tools/scripts/ |
| D | patchcheck.py | 1 #!/usr/bin/env python3 49 cmd = "git rev-parse --abbrev-ref HEAD".split() 54 encoding='UTF-8') 64 cmd = "git remote get-url upstream".split() 69 encoding='UTF-8') 81 env = os.environ.copy() 82 env['LANG'] = 'C' 87 encoding='UTF-8', 88 env=env) 117 @status("Getting the list of files that have been added/changed", [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/cronet/base/android/ |
| D | jni_android.h | 2 // Use of this source code is governed by a BSD-style license that can be 30 bool (*func)(JNIEnv* env); 38 // changed. AttachCurrentThread() doesn't regard underlying platform thread 39 // name, but just resets it to "Thread-???". This function should be called 55 // Do not allow any future native->java calls. 64 // the application classes and will fail to lookup anything other than system 66 void InitGlobalClassLoader(JNIEnv* env); 73 BASE_EXPORT ScopedJavaLocalRef<jclass> GetClass(JNIEnv* env, 76 BASE_EXPORT ScopedJavaLocalRef<jclass> GetClass(JNIEnv* env, 82 // The caller is responsible to zero-initialize |atomic_method_id|. [all …]
|
| /external/angle/build/android/ |
| D | fast_local_dev_server.py | 1 #!/usr/bin/env python3 3 # Use of this source code is governed by a BSD-style license that can be 5 """Creates an server to offload non-critical-path GN targets.""" 25 # Shrink the message (leaving a 2-char prefix and use the rest of the room 29 max_msg_width = width - len(prefix) 31 length_to_show = max_msg_width - 5 # Account for ellipsis and header. 32 msg = f'{msg[:2]}...{msg[-length_to_show:]}' 64 cls._num_processes -= 1 160 def start(self, on_complete_callback: Callable[[], None]) -> int: 168 env = os.environ.copy() [all …]
|
| /external/cronet/build/android/ |
| D | fast_local_dev_server.py | 1 #!/usr/bin/env python3 3 # Use of this source code is governed by a BSD-style license that can be 5 """Creates an server to offload non-critical-path GN targets.""" 25 # Shrink the message (leaving a 2-char prefix and use the rest of the room 29 max_msg_width = width - len(prefix) 31 length_to_show = max_msg_width - 5 # Account for ellipsis and header. 32 msg = f'{msg[:2]}...{msg[-length_to_show:]}' 64 cls._num_processes -= 1 160 def start(self, on_complete_callback: Callable[[], None]) -> int: 168 env = os.environ.copy() [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/cronet/third_party/googletest/src/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/cronet/third_party/boringssl/src/third_party/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_' 70 LIST_TESTS_FLAG = '--gtest_list_tests' [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_' 70 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/bazelbuild-rules_rust/crate_universe/private/ |
| D | bootstrap_utils.bzl | 1 """Utilities directly related to bootstrapping `cargo-bazel`""" 4 \"\"\"A generate file containing all source files used to produce `cargo-bazel`\"\"\" 7 # rule will know to automatically rebuild if any of the sources changed. 18 fail("`srcs` must be from the rules_rust repository") 24 fail("`srcs` cannot be empty") 50 #!/usr/bin/env bash 51 set -euo pipefail 52 cp -f "{path}" "${{BUILD_WORKSPACE_DIRECTORY}}/{dest}" 94 """A helper rule to ensure the bootstrapping functionality of `cargo-bazel` is always up to date
|
| /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 …]
|
| /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/grpc-grpc/bazel/ |
| D | grpc_build_system.bzl | 7 # http://www.apache.org/licenses/LICENSE-2.0 22 # Each rule listed must be re-written for Google's internal build system, and 181 copts = copts + if_not_windows(["-std=c11"]) 182 linkopts = linkopts + if_not_windows(["-pthread"]) + if_windows(["-defaultlib:ws2_32.lib"]) 211 "src/core/ext/upb-gen", # Once upb code-gen issue is resolved, remove this. 212 "src/core/ext/upbdefs-gen", # Once upb code-gen issue is resolved, remove this. 321 "env": default_env, 339 "env": { 358 "env": default_env, 365 test_args = args + ["--engine=" + engine_name] [all …]
|
| /external/cronet/third_party/libc++/src/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/ |
| D | copy_file.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // UNSUPPORTED: no-filesystem 11 // UNSUPPORTED: availability-filesystem-missing 13 // The string reported on errors changed, which makes those tests fail when run 14 // against already-released libc++'s. 15 // XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx{{10.15|11.0}} 19 // XFAIL: LIBCXX-ANDROID-FIXME && !android-device-api={{21|22|23}} 60 scoped_test_env env; in test_error_reporting() local [all …]
|
| /external/cronet/third_party/libc++/src/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/ |
| D | file_size.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // UNSUPPORTED: no-filesystem 11 // UNSUPPORTED: availability-filesystem-missing 13 // The string reported on errors changed, which makes those tests fail when run 14 // against already-released libc++'s. 15 // XFAIL: stdlib=apple-libc++ && target={{.+}}-apple-macosx{{10.15|11.0}} 53 scoped_test_env env; in file_size_non_empty() local 54 const path p = env.create_file("file", 42); in file_size_non_empty() [all …]
|
| /external/elfutils/tests/ |
| D | run-debuginfod-negative-cache.sh | 1 #!/usr/bin/env bash 3 # Copyright (C) 2019-2021 Red Hat, Inc. 19 . $srcdir/debuginfod-subr.sh 22 set -x 27 # This variable is essential and ensures no time-race for claiming ports occurs 28 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test 31 env LD_LIBRARY_PATH=$ldpath DEBUGINFOD_URLS= ${abs_builddir}/../debuginfod/debuginfod $VERBOSE -F -… 32 -t0 -g0 -v ${PWD} > vlog$PORT1 2>&1 & 41 ps -q $PID1 -e -L -o '%p %c %a' | grep groom 42 ps -q $PID1 -e -L -o '%p %c %a' | grep scan [all …]
|