Home
last modified time | relevance | path

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

12345678910>>...20

/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/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
29 Py_XDECREF(self->data); in pysqlite_row_dealloc()
30 Py_XDECREF(self->description); in pysqlite_row_dealloc()
32 Py_TYPE(self)->tp_free((PyObject*)self); in pysqlite_row_dealloc()
42 assert(type != NULL && type->tp_alloc != NULL); in pysqlite_row_new()
45 return NULL; in pysqlite_row_new()
47 return NULL; in pysqlite_row_new()
[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/testscripts/
Dtest_fs_bind.sh20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 if tst_kvcmp -lt "2.6.15"; then
34 dopts='-dEBb'
56 echo "${LTPROOT}" | grep testscripts > /dev/null 2>&1
57 if [ $? -eq 0 ]; then
66 ((total += `ls "${FS_BIND_ROOT}/${dir}/test"* | wc -l`))
76 if [ ! -d "${resdir}" ]; then
77 mkdir -p "${resdir}" 2> /dev/null
80 TMPDIR="${TMPDIR:-/tmp}"
89 if [ ! -d "${resdir}" ]; then
[all …]
Dltp-aiodio.sh9 # 04/12/06 a Forth scenerio file has been added ltp-aiodio.part4
14 echo $LTPROOT | grep testscripts > /dev/null 2>&1
15 if [ $? -eq 0 ]; then
30 cat <<-END >&2
31 …usage: ${0##*/} [ -f large_filename -b partition] [-o optional partition] [-e 1] [-t 1] [-j 1] [-x…
40 example: ${0##*/} -f MyLargeFile -b /dev/hdc1 [-o /dev/hdc2] [-a 1] or
41 [-e 1] [-x 1] [-j 1] [-t 1]
42-o = optional partition allows some of the tests to utilize multiple filesystems to further stress…
43 -e = test ex2 filesystem.
44 -t = test ext3 filesystem
[all …]
/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/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/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/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/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/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/gstreamer/gstplugins_bad/m4/
Dlibgcrypt.m413 dnl AM_PATH_LIBGCRYPT([MINIMUM-VERSION,
14 dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
16 dnl MINIMUN-VERSION is a string with the version number optionalliy prefixed
18 dnl a MINIMUN-VERSION of 1:1.2.5 won't pass the test unless the installed
25 AC_ARG_WITH(libgcrypt-prefix,
26 AC_HELP_STRING([--with-libgcrypt-prefix=PFX],
31 LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
35 AC_PATH_TOOL(LIBGCRYPT_CONFIG, libgcrypt-config, no)
37 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
45 AC_MSG_CHECKING(for LIBGCRYPT - version >= $min_libgcrypt_version)
[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/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 …]
/third_party/ltp/testcases/kernel/numa/
Dnuma01.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
28 # Extracts the value of given numa node from the `numastat -p` output.
29 # $1 - Pid number.
30 # $2 - Node number.
36 echo $(numastat -p $pid |awk '/^Total/ {print $'$node'}')
60 nodes_list=$(numactl --show | grep nodebind | cut -d ':' -f 2)
66 if [ $total_nodes -le 1 ]; then
78 numactl --cpunodebind=$node --membind=$node support_numa alloc_1MB &
84 if [ $(echo "$Mem_curr < $MB" | bc) -eq 1 ]; then
87 kill -CONT $pid >/dev/null 2>&1
[all …]
/third_party/ltp/testcases/kernel/controllers/pids/
Dpids.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
28 caseno - testcase number from interval 1-9
29 max_processes - maximal number of processes to attach
31 subcgroup_num - number of subgroups created in group
39 killall -9 pids_task2 >/dev/null 2>&1
43 if [ "$mounted" -ne "1" ]; then
52 exist=`grep -w pids /proc/cgroups | cut -f1`;
54 tst_brk TCONF NULL "pids not supported"
57 mount_point=`grep -w pids /proc/mounts | cut -f 2 | cut -d " " -f2`
66 if [ "$mounted" -eq "0" ]; then
[all …]
/third_party/python/Objects/
Dmethodobject.c13 static PyCFunctionObject *free_list = NULL;
36 return PyCFunction_NewEx(ml, self, NULL); in PyCFunction_New()
44 switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | METH_KEYWORDS)) in PyCFunction_NewEx()
50 vectorcall = NULL; in PyCFunction_NewEx()
66 "%s() method: bad call flags", ml->ml_name); in PyCFunction_NewEx()
67 return NULL; in PyCFunction_NewEx()
72 if (op != NULL) { in PyCFunction_NewEx()
73 free_list = (PyCFunctionObject *)(op->m_self); in PyCFunction_NewEx()
75 numfree--; in PyCFunction_NewEx()
79 if (op == NULL) in PyCFunction_NewEx()
[all …]
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/
Dconfigure5 # If you want to build just a static library, use: ./configure --static
8 # prefix=$HOME CC=cc CFLAGS="-O4" ./configure
10 # (setenv prefix $HOME; setenv CC cc; setenv CFLAGS "-O4"; ./configure)
17 echo -------------------- >> configure.log
25 ZINCOUT="-I."
28 ZINC='-include zconf.h'
29 ZINCOUT='-I. -I$(SRCDIR)'
33 # set command prefix for cross-compilation
34 if [ -n "${CHOST}" ]; then
35 …uname="`echo "${CHOST}" | sed -e 's/^[^-]*-\([^-]*\)$/\1/' -e 's/^[^-]*-[^-]*-\([^-]*\)$/\1/' -e '…
[all …]
/third_party/zlib/
Dconfigure5 # If you want to build just a static library, use: ./configure --static
8 # prefix=$HOME CC=cc CFLAGS="-O4" ./configure
10 # (setenv prefix $HOME; setenv CC cc; setenv CFLAGS "-O4"; ./configure)
17 echo -------------------- >> configure.log
25 ZINCOUT="-I."
28 ZINC='-include zconf.h'
29 ZINCOUT='-I. -I$(SRCDIR)'
33 # set command prefix for cross-compilation
34 if [ -n "${CHOST}" ]; then
35 …uname="`echo "${CHOST}" | sed -e 's/^[^-]*-\([^-]*\)$/\1/' -e 's/^[^-]*-[^-]*-\([^-]*\)$/\1/' -e '…
[all …]
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/
Dconfigure5 # If you want to build just a static library, use: ./configure --static
8 # prefix=$HOME CC=cc CFLAGS="-O4" ./configure
10 # (setenv prefix $HOME; setenv CC cc; setenv CFLAGS "-O4"; ./configure)
17 echo -------------------- >> configure.log
25 ZINCOUT="-I."
28 ZINC='-include zconf.h'
29 ZINCOUT='-I. -I$(SRCDIR)'
33 # set command prefix for cross-compilation
34 if [ -n "${CHOST}" ]; then
35 …uname="`echo "${CHOST}" | sed -e 's/^[^-]*-\([^-]*\)$/\1/' -e 's/^[^-]*-[^-]*-\([^-]*\)$/\1/' -e '…
[all …]
/third_party/ltp/testcases/network/stress/udp/multi-diffip/
Dudp4-multi-diffip0119 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ##
25 # udp4-multi-diffip01
30 # - The version of IP is IPv4
31 # - IPsec is not used
42 # Oct 19 2005 - Created (Mitsuru Chinen)
44 #-----------------------------------------------------------------------
46 #trace_logic=${trace_logic:-"set -x"}
50 TCID=${TCID:-udp4-multi-diffip01}
61 LTPROOT=${LTPROOT:-`(cd ../../../../.. ; pwd)`}
68 NS_DURATION=${NS_DURATION:-3600} # 1 hour
[all …]
/third_party/node/doc/api/
Dquerystring.md3 <!--introduced_in=v0.1.25-->
5 > Stability: 2 - Stable
7 <!--name=querystring-->
9 <!-- source_link=lib/querystring.js -->
19 <!-- YAML
21 -->
26 <!-- YAML
28 -->
33 <!-- YAML
35 -->
[all …]
/third_party/Linux_Kernel/scripts/
Dcoccicheck5 # version 1.0.0-rc11.
11 declare -a SPATCH_PID
16 if [ -n "$V" -a "$V" != "0" ]; then
22 if [ -z "$J" ]; then
28 FLAGS="$SPFLAGS --very-quiet"
30 # spatch only allows include directories with the syntax "-I include"
31 # while gcc also allows "-Iinclude" and "-include include"
32 COCCIINCLUDE=${LINUXINCLUDE//-I/-I }
33 COCCIINCLUDE=${COCCIINCLUDE// -include/ --include}
35 if [ "$C" = "1" -o "$C" = "2" ]; then
[all …]
/third_party/ltp/testcases/kernel/controllers/freezer/
Dlibcgroup_freezer17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
32 # $UNFINISHED if no command has failed yet, or $FINISHED if no command
38 # xargs 4.1.20 only accepts -i instead of -I
39 # However -I is added and -i deprecated somewhere between (4.1.20, 4.2.32]
40 XRGSV=$(xargs --version | sed -e 's/^[^[:digit:]]*//')
43 [456789].[23456789][0-9]*.*|[1-9][0-9][0-9]*.*.*) # version > 4.1.*
44 export XARGS_REPL_OPT="-I${XARGS_REPL_STR}"
47 export XARGS_REPL_OPT="-i${XARGS_REPL_STR}"
54 export TMP=${TMP:-/tmp}
74 declare -r UNFINISHED FINISHED FREEZE THAW max_state_samples sample_state_period
[all …]
/third_party/ltp/testcases/lib/
Dtst_test.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
3 # Copyright (c) Linux Test Project, 2014-2019
8 [ -n "$TST_LIB_LOADED" ] && return 0
31 if [ -n "$TST_CLEANUP" -a -z "$TST_NO_CLEANUP" ]; then
35 if [ "$TST_NEEDS_DEVICE" = 1 -a "$TST_DEVICE_FLAG" = 1 ]; then
41 if [ "$TST_NEEDS_TMPDIR" = 1 -a -n "$TST_TMPDIR" ]; then
43 rm -r "$TST_TMPDIR"
47 if [ -n "$_tst_setup_timer_pid" ]; then
48 kill $_tst_setup_timer_pid 2>/dev/null
49 wait $_tst_setup_timer_pid 2>/dev/null
[all …]

12345678910>>...20