Home
last modified time | relevance | path

Searched +full:no +full:- +full:eq +full:- +full:null (Results 1 – 25 of 683) sorted by relevance

12345678910>>...28

/third_party/ltp/testcases/kernel/mce-test/lib/
Dmce.sh12 [ $# -eq 2 ] || die "missing parameter for extract_mce_from_log"
17 mcelog --no-dmi --dump-raw-ascii --ascii > "$outf"
22 [ $# -eq 2 ] || die "missing parameter for mce_reformat"
26 mce-inject --dump "$org" > "$outf"
37 mce-inject --dump "$inf" > $tmpf
39 if [ -n "$removes" ]; then
41 sed "/$remove/d" -i $tmpf
46 grep -v '#STATUS 0x0#' | \
47 grep -v '#STATUS 0x800000000000000#' | sort > "$outf"
52 [ $# -eq 3 ] || die "missing parameter for mce_cmp"
[all …]
Dapei-inject.sh10 . $ROOT/lib/soft-inject.sh
12 if [ -n "$this_case" ]; then
23 sed "s/0x//g" $inf | grep -v 'STATUS 0x0' | \
24 grep -v 'STATUS 0x800000000000000' | sort > "$tmpf"
25 awk '/^STATUS/ {print $2}' $tmpf | cut -b 1-3 > $outf
31 [ $# -eq 2 ] || die "missing parameter for mce_cmp"
39 diff $tmpf1 $tmpf2 > /dev/null
44 if [ -f $RDIR/$this_case/mcelog ]; then
46 mce-inject --dump $mcelog_refer > $RDIR/$this_case/mcelog_refer
53 echo " Failed: no MCE log result"
[all …]
/third_party/ltp/testcases/kernel/mce-test/tsrc/
Derst-inject.sh3 # APEI ERST firmware interface and implementation has no multiple users
13 # -1
14 # -1
16 # where -1 signals there is no more record ID.
18 # Reader 1 has no chance to check record 2 and 4, while reader 2 has no
20 # return -1, that is, other readers will has no chance to check any
26 # This issue has been resolved since 2.6.39-rc1, so please run this case
27 # with Linux kernel >=2.6.39-rc1
40 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
48 ERST=./erst-inject
[all …]
/third_party/ltp/testcases/kernel/mce-test/stress/
Dhwpoison.sh17 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #set -x
35 if [ $DEBUG -eq 0 ]; then
36 $cmd > /dev/null 2>&1
47 if [ $DEBUG -eq 0 ]; then
48 $cmd > /dev/null 2>&1 &
62 [ $DEBUG -ne 1 ] && return
63 _print -en "\\033[0;33m" # set font color as yellow
66 _print -en "\\033[0;39m" # restore font color to normal
71 _print -en "\\033[0;33m" # set font color as yellow
[all …]
/third_party/pcre2/pcre2/
DRunTest5 # selected, depending on which build-time options were used.
8 # JIT, unless "-nojit" is given on the command line. There are also two tests
9 # for JIT-specific features, one to be run when JIT support is available
10 # (unless "-nojit" is specified), and one when it is not.
12 # Whichever of the 8-, 16- and 32-bit libraries exist are tested. It is also
13 # possible to select which to test by giving "-8", "-16" or "-32" on the
16 # As well as "-nojit", "-8", "-16", and "-32", arguments for this script are
17 # individual test numbers, ranges of tests such as 3-6 or 3- (meaning 3 to the
18 # end), or a number preceded by ~ to exclude a test. For example, "3-15 ~10"
27 # Other arguments can be one of the words "-valgrind", "-valgrind-log", or
[all …]
/third_party/python/Modules/_sqlite/
Drow.c1 /* row.c - an enhanced tuple for database rows
3 * Copyright (C) 2005-2010 Gerhard Häring <gh@ghaering.de>
7 * This software is provided 'as-is', without any express or implied
8 * warranty. In no event will the authors be held liable for any damages
37 Py_CLEAR(self->data); in row_clear()
38 Py_CLEAR(self->description); in row_clear()
46 Py_VISIT(self->data); in row_traverse()
47 Py_VISIT(self->description); in row_traverse()
56 tp->tp_clear(self); in pysqlite_row_dealloc()
57 tp->tp_free(self); in pysqlite_row_dealloc()
[all …]
/third_party/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_regression_test.sh19 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ##
33 if [ "$(id -ru)" != 0 ]; then
38 if [ "x$(grep -w memory /proc/cgroups | cut -f4)" != "x1" ]; then
44 if tst_kvcmp -lt "2.6.30"; then
51 dmesg -c > /dev/null
57 # check_kernel_bug - check if some kind of kernel bug happened
60 new_bug=`dmesg | grep -c "kernel BUG"`
61 new_null=`dmesg | grep -c "kernel NULL pointer dereference"`
62 new_warning=`dmesg | grep -c "^WARNING"`
63 new_lockdep=`dmesg | grep -c "possible recursive locking detected"`
[all …]
/third_party/grpc/tools/run_tests/sanity/
Dcheck_bad_dependencies.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -e
18 # Make sure that there is no path from known unsecure libraries and targets
21 test "$(bazel query 'somepath("//:grpc_unsecure", "//external:libssl")' 2>/dev/null | wc -l)" -eq 0…
22 test "$(bazel query 'somepath("//:grpc++_unsecure", "//external:libssl")' 2>/dev/null | wc -l)" -eq
23 …ry 'somepath("//:grpc++_codegen_proto", "//external:libssl")' 2>/dev/null | wc -l)" -eq 0 || exit 1
24 …h("//test/cpp/microbenchmarks:helpers", "//external:libssl")' 2>/dev/null | wc -l)" -eq 0 || exit 1
28 test "$(bazel query 'deps("//:grpc")' 2>/dev/null | grep -Ec 'src/cpp|include/grpcpp')" -eq 0 || ex…
/third_party/ltp/utils/benchmark/kernbench-0.42/
Dkernbench20 echo "kernbench [-n runs] [-o jobs] [-s] [-H] [-O] [-M] [-h] [-v]"
42 if [[ ! -f include/linux/kernel.h ]] ; then
43 echo "No kernel source found; exiting"
50 if [[ ! -a $iname ]] ; then
58 if [[ $nruns -gt 0 ]] ; then
60 elif [[ $fast_run -eq 1 ]]; then
75 if [[ ! -d /proc ]] ; then
81 if [[ $mem -lt 4000000 && $max_runs -gt 0 ]] ; then
84 echo If you did not plan this, -M flag is recommended to bypass maximal load.
92 cpus=`grep -c ^processor /proc/cpuinfo`
[all …]
/third_party/libsnd/
Dautogen.sh9 test -z "$srcdir" && srcdir=.
16 (autogen --version) < /dev/null > /dev/null 2>&1 || {
21 result="no"
28 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
33 result="no"
38 VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/"
39 VERSIONMKMAJ="sed -e s/\([0-9][0-9]*\)[^0-9].*/\\1/"
40 VERSIONMKMIN="sed -e s/.*[0-9][0-9]*\.//"
43 if test -r Makefile.am; then
49 if test -z $AM_NEEDED; then
[all …]
/third_party/ltp/testcases/commands/eject/
Deject-tests.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
22 if ! [ -e "$CD_DRIVE" ]; then
23 tst_brk TCONF "There is no "$CD_DRIVE""
26 if grep -q "$CD_DRIVE" /proc/mounts; then
42 EXPECT_PASS eject -d \> eject.out
44 if grep -q "eject: default device:" eject.out; then
54 EXPECT_PASS eject -v $CD_DRIVE \> eject.out
56 if grep -q "CD-ROM eject command succeeded" eject.out; then
58 eject -t $CD_DRIVE > /dev/null 2>&1
71 while [ $tries -gt 0 ]; do
[all …]
/third_party/ltp/
Drunltp18 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ##
25 # Authors: Manoj Iyer - manjo@mail.utexas.edu
26 # Robbe Williamson - robbiew@us.ibm.com
28 # History: Oct 07 2003 - Modified - Manoj Iyer
29 # - use functions
30 # - clean up on script exit
31 # - error checking etc.
33 # Oct 08 2003 - Modified - Manoj Iyer
34 # - fixed bug in creating results directory
35 # - all checks should be enlclosed in " " to avoid bash error
[all …]
/third_party/curl/tests/libtest/
Dmk-lib1521.pl9 # Copyright (C) 2017 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
25 # perl mk-lib1521.pl < ../../include/curl/curl.h > lib1521.c
59 /* This source code is generated by mk-lib1521.pl ! */
72 CURLE_NOT_BUILT_IN - means disabled at build
73 CURLE_UNKNOWN_OPTION - means no such option (anymore?)
74 CURLE_SSL_ENGINE_NOTFOUND - set unknown ssl engine
75 CURLE_UNSUPPORTED_PROTOCOL - set bad HTTP version
76 CURLE_BAD_FUNCTION_ARGUMENT - unsupported value
142 CURL *curl = NULL;
143 CURL *dep = NULL;
[all …]
/third_party/python/Objects/
Dmethodobject.c34 return PyCFunction_NewEx(ml, self, NULL); in PyCFunction_New()
40 return PyCMethod_New(ml, self, module, NULL); in PyCFunction_NewEx()
48 switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS | in PyCMethod_New()
55 vectorcall = NULL; in PyCMethod_New()
74 "%s() method: bad call flags", ml->ml_name); in PyCMethod_New()
75 return NULL; in PyCMethod_New()
78 PyCFunctionObject *op = NULL; in PyCMethod_New()
80 if (ml->ml_flags & METH_METHOD) { in PyCMethod_New()
84 "flag but no class"); in PyCMethod_New()
85 return NULL; in PyCMethod_New()
[all …]
/third_party/ltp/testcases/kernel/mce-test/kvm/host/
Dhost_run.sh17 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
37 echo "Usage: ./host_run.sh [-options] [arguments]"
39 echo -e "\t-i image\t: guest image"
40 echo -e "\t-f mcefile\t: which mce data file to inject"
42 echo -e "\t-d hostdir\t: where you put the test scripts on host system"
43 echo -e "\t\t\tBe careful to change it"
44 echo -e "\t-g guestdir\t: where you put the test scripts on guest system"
45 echo -e "\t\t\tBy default, guestdir is set to $GUEST_DIR"
46 echo -e "\t-o offset\t: guest image offset"
47 echo -e "\t\t\tBy default, offset is calculated by kpartx "
[all …]
/third_party/skia/third_party/externals/microhttpd/m4/
Dlibgcrypt.m414 dnl AM_PATH_LIBGCRYPT([MINIMUM-VERSION,
15 dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
17 dnl MINIMUN-VERSION is a string with the version number optionalliy prefixed
19 dnl a MINIMUN-VERSION of 1:1.2.5 won't pass the test unless the installed
30 AC_ARG_WITH(libgcrypt-prefix,
31 AC_HELP_STRING([--with-libgcrypt-prefix=PFX],
36 LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
40 AC_PATH_TOOL(LIBGCRYPT_CONFIG, libgcrypt-config, no)
42 if echo "$tmp" | $GREP ':' >/dev/null 2>/dev/null ; then
50 AC_MSG_CHECKING(for LIBGCRYPT - version >= $min_libgcrypt_version)
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Dpass_manager_test.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
27 using ::testing::Eq;
29 // A null pass whose construtors accept arguments
37 const char* name() const override { return "null-with-args"; } in name()
46 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
50 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
51 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
55 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
56 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
57 EXPECT_STREQ("strip-debug", manager.GetPass(2)->name()); in TEST()
[all …]
/third_party/selinux/libsepol/cil/test/unit/
Dtest_cil_list.c16 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
39 cil_classpermset_init(&test_avrule->classpermset); in test_cil_list_init()
40 cil_permset_init(&test_avrule->classpermset->permset); in test_cil_list_init()
42 cil_list_init(&test_avrule->classpermset->permset->perms_list_str); in test_cil_list_init()
43 CuAssertPtrNotNull(tc, test_avrule->classpermset->permset->perms_list_str); in test_cil_list_init()
49 …, "(", "file", "dir", ")", "(", "create", "relabelto", ")", "(", "eq", "12", "h2", ")", ")", NULL}; in test_cil_list_append_item()
60 test_ast_node->parent = test_db->ast->root; in test_cil_list_append_item()
61 test_ast_node->line = 1; in test_cil_list_append_item()
69 test_new_item->flavor = CIL_CLASS; in test_cil_list_append_item()
70 test_new_item->data = test_tree->root->cl_head->cl_head->next->cl_head; in test_cil_list_append_item()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalFormatProperties.java29 /** Auto-generated. */
41 * Strict mode should be used if you want to require that the input is well-formed. More
73 // The setters in this class should NOT have any side-effects or perform any validation. It is
78 /*--------------------------------------------------------------------------------------------+/
85 /+--------------------------------------------------------------------------------------------*/
87 private transient Map<String, Map<String, String>> compactCustomData; // ICU4J-only
99 private transient MathContext mathContext; // ICU4J-only
130 /*--------------------------------------------------------------------------------------------+/
137 /+--------------------------------------------------------------------------------------------*/
147 * All integers default to -1 EXCEPT FOR MAGNITUDE MULTIPLIER which has a default of 0 (since
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DDecimalFormatProperties.java33 /** Auto-generated. */
46 * Strict mode should be used if you want to require that the input is well-formed. More
78 // The setters in this class should NOT have any side-effects or perform any validation. It is
83 /*--------------------------------------------------------------------------------------------+/
90 /+--------------------------------------------------------------------------------------------*/
92 private transient Map<String, Map<String, String>> compactCustomData; // ICU4J-only
104 private transient MathContext mathContext; // ICU4J-only
135 /*--------------------------------------------------------------------------------------------+/
142 /+--------------------------------------------------------------------------------------------*/
152 * All integers default to -1 EXCEPT FOR MAGNITUDE MULTIPLIER which has a default of 0 (since
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_manager_test.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
31 using ::testing::Eq;
33 // A null pass whose construtors accept arguments
41 const char* name() const override { return "null-with-args"; } in name()
50 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
54 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
55 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
59 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
60 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
61 EXPECT_STREQ("strip-debug", manager.GetPass(2)->name()); in TEST()
[all …]
/third_party/spirv-tools/test/opt/
Dpass_manager_test.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
31 using ::testing::Eq;
33 // A null pass whose construtors accept arguments
41 const char* name() const override { return "null-with-args"; } in name()
50 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
54 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
55 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
59 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
60 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
61 EXPECT_STREQ("strip-debug", manager.GetPass(2)->name()); in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dpass_manager_test.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
31 using ::testing::Eq;
33 // A null pass whose construtors accept arguments
41 const char* name() const override { return "null-with-args"; } in name()
50 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
54 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
55 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
59 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
60 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
61 EXPECT_STREQ("strip-debug", manager.GetPass(2)->name()); in TEST()
[all …]
/third_party/ltp/testcases/kernel/fs/fs_bind/
Dfs_bind_lib.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # Copyright (c) 2021 Joerg Vehlow <joerg.vehlow@aox-tech.de>
17 [ -z "$FS_BIND_TESTFUNC" ] && tst_brk TBROK "Please set FS_BIND_TESTFUNC before sourcing fs_bind_li…
33 # Creates a directory and bind-mounts it to itself.
36 # share_mode is one of the --make-{shared,priv,...}
52 if [ -e "$dir" ]; then
56 ROD mkdir -p "$dir"
58 # Most mount implementations can use --make-* in the same command as bind,
59 # but busybox mount, fails at least to set --make-private
60 EXPECT_PASS mount --bind "$dir" "$dir"
[all …]
/third_party/ltp/testcases/network/stress/tcp/multi-diffip/
Dtcp4-multi-diffip0119 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ##
25 # tcp4-multi-diffip01
30 # - The version of IP is IPv4
31 # - Network is not delayed
32 # - IPsec is not used
43 # Oct 19 2005 - Created (Mitsuru Chinen)
45 #-----------------------------------------------------------------------
47 #trace_logic=${trace_logic:-"set -x"}
51 TCID=${TCID:-tcp4-multi-diffip01}
62 LTPROOT=${LTPROOT:-`(cd ../../../../.. ; pwd)`}
[all …]

12345678910>>...28