Home
last modified time | relevance | path

Searched +full:- +full:- +full:fail +full:- +full:env +full:- +full:changed (Results 1 – 25 of 220) sorted by relevance

123456789

/external/oj-libjdwp/src/share/back/
DcommonRef.c19 * 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/
Dcmd_helper.py2 # Use of this source code is governed by a BSD-style license that can be
21 _SafeShellChars = frozenset(string.ascii_letters + string.digits + '@%_-+=:,./')
25 """Return an shell-escaped version of the string using single quotes.
43 """Return an shell-escaped version of the string using double quotes.
91 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
102 shell=shell, close_fds=close_fds, env=env, preexec_fn=preexec_fn)
105 def Call(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
107 env=env)
118 cwd: If not None, the subprocess's current directory will be changed to
128 def GetCmdOutput(args, cwd=None, shell=False, env=None): argument
[all …]
/external/python/cpython3/
D.travis.yml6 # To cache doc-building dependencies and C compiler output.
8 - pip
9 - ccache
10 - directories:
11 - $HOME/multissl
13 env:
15 - OPENSSL=1.1.0i
16 - OPENSSL_DIR="$HOME/multissl/openssl/${OPENSSL}"
17 - PATH="${OPENSSL_DIR}/bin:$PATH"
18 # Use -O3 because we don't use debugger on Travis-CI
[all …]
/external/python/cpython3/.github/
Dappveyor.yml5 - master
6 - /\d\.\d/
7 - buildbot-custom
9 - externals -> PCbuild\*
11 - ps: |+
12 if ($env:APPVEYOR_RE_BUILD) {
13 echo 'Doing full build due to re-build request.'
14 } elseif (!$env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT) {
17 git fetch -q origin +refs/heads/$env:APPVEYOR_REPO_BRANCH
18 $mergebase = git merge-base HEAD FETCH_HEAD
[all …]
/external/python/cpython3/.azure-pipelines/
Dposix-steps.yml9 - checkout: self
13 - script: ${{ parameters.sudo_dependencies }} ./.azure-pipelines/posix-deps-${{ parameters.dependen…
16 - script: ./configure --with-pydebug
19 - script: make -s -j4
22 - ${{ if eq(parameters.coverage, 'true') }}:
23 - script: ./python -m venv venv && ./venv/bin/python -m pip install -U coverage
26 - script: ./venv/bin/python -m test.pythoninfo
29 - script: |
30 $COMMAND -m coverage run --pylib -m test \
31 --fail-env-changed \
[all …]
/external/python/cpython2/
D.travis.yml6 # 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/Tools/buildbot/
Dtest.bat6 set rt_opts=-q -d
7 set regrtest_args=-j1
10 if "%1"=="-x64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
11 if "%1"=="-d" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
12 if "%1"=="-O" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
13 if "%1"=="-q" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
14 if "%1"=="+d" (set rt_opts=%rt_opts:-d=%) & shift & goto CheckOpts
15 if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts
19 call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=1200 --fail-env-changed
/external/libchrome/base/android/
Djni_android.h2 // 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/cpython2/Lib/test/
Dtest_regrtest.py46 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 …]
Dregrtest.py1 #! /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 …]
Dbisect_cmd.py1 #!/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/python/cpython2/Python/
Drandom.c35 /* 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/ltp/testcases/kernel/io/disktest/
Dthreading.c18 * 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/ltp/testcases/kernel/syscalls/fork/
Dfork04.c21 * 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/python/cpython3/Lib/test/
Dbisect_cmd.py1 #!/usr/bin/env python3
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
51 cmd = [sys.executable, '-m', 'test', '--list-cases']
71 cmd = [sys.executable, '-m', 'test', '--matchfile', tmp]
83 parser.add_argument('-i', '--input',
84 help='Test names produced by --list-tests written '
[all …]
Dtest_regrtest.py50 for opt in '-h', '--help':
60 ns = libregrtest._parse_args(['--timeout', '4.2'])
62 self.checkError(['--timeout'], 'expected one argument')
63 self.checkError(['--timeout', 'foo'], 'invalid float value')
66 ns = libregrtest._parse_args(['--wait'])
70 ns = libregrtest._parse_args(['--worker-args', '[[], {}]'])
72 self.checkError(['--worker-args'], 'expected one argument')
75 for opt in '-S', '--start':
82 ns = libregrtest._parse_args(['-v'])
84 ns = libregrtest._parse_args(['-vvv'])
[all …]
/external/gflags/test/
Dgflags_unittest.cc30 // ---
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/tensorflow/tensorflow/tools/ci_build/
Dci_sanity.sh1 #!/usr/bin/env bash
8 # http://www.apache.org/licenses/LICENSE-2.0
17 # Usage: ci_sanity.sh [--pep8] [--incremental] [bazel flags]
21 # --pep8 run pep8 test only
22 # --incremental Performs checks incrementally, by using the files changed in
26 SCRIPT_DIR=$( cd ${0%/*} && pwd -P )
29 ROOT_DIR=$( cd "$SCRIPT_DIR/../../.." && pwd -P )
39 N_CPUS=$(grep -c ^processor /proc/cpuinfo)
40 if [[ -z ${N_CPUS} ]]; then
47 # Helper functions for examining changed files in the last non-merge git
[all …]
/external/google-fruit/tests/
Dfruit_test_common.py1 #!/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,
54 def run_command(executable, args=[], modify_env=lambda env: env):
59 …command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env=modified_env)
100 args = args + ['-c', source, '-o', os.path.devnull]
112 + ['-o', output_file_name]
116 include_flags = ['-I%s' % include_dir for include_dir in include_dirs]
120 + ['-g0', '-Werror']
126 return ['-Wno-deprecated-declarations']
[all …]
/external/python/cpython3/Tools/scripts/
Dpatchcheck.py1 #!/usr/bin/env python3
49 cmd = "git rev-parse --abbrev-ref HEAD".split()
63 cmd = "git remote get-url upstream".split()
92 @status("Getting the list of files that have been added/changed",
95 """Get the list of changed or added files from git."""
101 cmd = 'git diff --name-status ' + base_branch
103 cmd = 'git status --porcelain'
115 if ' -> ' in filename:
117 filename = filename.split(' -> ', 2)[1].strip()
191 """Report if any file in the Doc directory has been changed."""
[all …]
/external/python/cpython3/Lib/test/libregrtest/
Druntest.py17 ENV_CHANGED = -1
18 SKIPPED = -2
19 RESOURCE_DENIED = -3
20 INTERRUPTED = -4
21 CHILD_ERROR = -5 # error in a child process
22 TEST_DID_NOT_RUN = -6 # error in a child process
27 ENV_CHANGED: '%s failed (env changed)',
40 # (i.e. if any of these fail, then anything else is likely to follow)
87 ns -- regrtest namespace of options
88 test -- the name of the test
[all …]
/external/conscrypt/openjdk-integ-tests/src/test/resources/crypto/
Dparse_records.py1 #!/usr/bin/env python
9 # http://www.apache.org/licenses/LICENSE-2.0
21 NIST-recommended statement in a header at the top, prefixed by #
33 if value[0] == '"' and value[-1] == '"':
34 value = binascii.hexlify(value[1:-1])
52 # A single triple-DES operation where all keys are the same
55 # A single triple-DES operation where all keys are the same without IV
59 # A single triple-DES operation with different keys for each step
74 parser.add_argument("--noheader", action='store_true')
86 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
[all …]
/external/kmod/libkmod/
Dlibkmod.c2 * libkmod - interface to kernel module operations
4 * Copyright (C) 2011-2013 ProFUSION embedded systems
38 #include "libkmod-internal.h"
39 #include "libkmod-index.h"
96 if (ctx->log_fn == NULL) in kmod_log()
100 ctx->log_fn(ctx->log_data, priority, file, line, fn, format, args); in kmod_log()
159 return ctx->dirname; in kmod_get_dirname()
175 return (void *)ctx->userdata; in kmod_get_userdata()
189 ctx->userdata = userdata; in kmod_set_userdata()
231 * defaults to /lib/modules/`uname -r`. If it's relative,
[all …]
/external/openssh/
Dsession.c66 #include "openbsd-compat/sys-queue.h"
80 #include "ssh-gss.h"
84 #include "auth-options.h"
107 (!strncmp(c, INTERNAL_SFTP_NAME, sizeof(INTERNAL_SFTP_NAME) - 1) && \
108 (c[sizeof(INTERNAL_SFTP_NAME) - 1] == '\0' || \
109 c[sizeof(INTERNAL_SFTP_NAME) - 1] == ' ' || \
110 c[sizeof(INTERNAL_SFTP_NAME) - 1] == '\t'))
148 static int sessions_first_unused = -1;
186 int sock = -1; in auth_input_request_forwarding()
197 auth_sock_dir = xstrdup("/tmp/ssh-XXXXXXXXXX"); in auth_input_request_forwarding()
[all …]
/external/skia/tools/
Dgit-sync-deps1 #!/usr/bin/env python
4 # Use of this source code is governed by a BSD-style license that can be
20 GIT_SYNC_DEPS_QUIET: if set to non-empty string, suppress messages.
25 git config sync-deps.disable true
27 To re-enable sync:
29 git config --unset sync-deps.disable
52 subprocess.call([git, '--version'], stdout=devnull)
79 [git, 'config', 'sync-deps.disable'], cwd=directory)
96 [git, 'rev-parse', '--show-toplevel'], cwd=directory).strip()
104 return s if len(s) <= length else s[:(length - 3)] + '...'
[all …]

123456789