| /external/strace/m4/ | 
| D | ax_valgrind_check.m4 | 12 #   AX_VALGRIND_CHECK checks whether Valgrind is present and, if so, allows13 #   running `make check` under a variety of Valgrind tools to check for
 19 #   the value of the --enable-valgrind option, which defaults to being
 20 #   enabled if Valgrind is installed and disabled otherwise. Individual
 21 #   Valgrind tools can be disabled via --disable-valgrind-<tool>, the
 27 #   LOG_COMPILER system, the $(VALGRIND) variable can be used within the
 28 #   shell scripts to enable Valgrind, as described here:
 30 #     https://www.gnu.org/software/gnulib/manual/html_node/Running-self_002dtests-under-valgrind.ht…
 45 #   This results in a "check-valgrind" rule being added to any Makefile.am
 47 #   configured with --enable-valgrind). Running `make check-valgrind` in
 [all …]
 
 | 
| /external/pcre/ | 
| D | RunGrepTest | 25 # valgrind settings when requested.41 valgrind=
 44     valgrind) valgrind="valgrind -q --leak-check=no --smc-check=all-non-file";;
 52 if [ "$valgrind" = "" ] ; then
 55   echo "Testing $pcre2grep_version using valgrind"
 58     vjs="--suppressions=./testdata/valgrind-jit.supp"
 125   $valgrind $pcre2grep $1 >>testtrygrep 2>&1
 137 (cd $srcdir; $valgrind $vjs $pcre2grep PATTERN ./testdata/grepinput) >>testtrygrep
 141 (cd $srcdir; $valgrind $vjs $pcre2grep '^PATTERN' ./testdata/grepinput) >>testtrygrep
 145 (cd $srcdir; $valgrind $vjs $pcre2grep -in PATTERN ./testdata/grepinput) >>testtrygrep
 [all …]
 
 | 
| D | RunTest | 35 # Other arguments can be one of the words "-valgrind", "-valgrind-log", or41 # For backwards compatibility, -nojit, -valgrind, -valgrind-log, and -sim may
 186   $valgrind  $vjs ./pcre2test $1 >>testtry
 197   $valgrind ./pcre2test -C ebcdic >/dev/null
 222 valgrind=
 296    valgrind|-valgrind) valgrind="valgrind --tool=memcheck -q --smc-check=all-non-file";;
 297 …valgrind-log|-valgrind-log) valgrind="valgrind --tool=memcheck --num-callers=30 --leak-check=no --…
 417 # When JIT is used with valgrind, we need to set up valgrind suppressions as
 418 # otherwise there are a lot of false positive valgrind reports when the
 426   if [ "$valgrind" != "" ] ; then
 [all …]
 
 | 
| /external/skia/infra/bots/assets/valgrind/ | 
| D | create.py | 29 VALGRIND = 'valgrind-3.15.0'  variable30 TARBALL = '%s.tar.bz2' % VALGRIND
 31 DOWNLOAD_URL = 'ftp://sourceware.org/pub/valgrind/%s' % TARBALL
 32 TEMP_DIR = os.path.join(tempfile.gettempdir(), 'skia-%s' % VALGRIND)
 46     if os.path.isdir(VALGRIND):
 58   if os.path.isfile(os.path.join(INSTALL_DIR, 'bin', 'valgrind')):
 60   with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
 67   with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
 69     shutil.copy(os.path.join(INSTALL_DIR, 'bin', 'valgrind'),
 70                 os.path.join(target_dir, 'bin', 'valgrind'))
 [all …]
 
 | 
| /external/python/cpython3/Modules/_decimal/tests/ | 
| D | runall-memorydebugger.sh | 5 #          refleaks, release build and release build with valgrind.9 # Requirements: valgrind
 20 VALGRIND="valgrind --tool=memcheck --leak-resolution=high \
 21           --suppressions=Misc/valgrind-python.supp"
 59 # test_decimal: refleak, regular and Valgrind tests
 97         ########### valgrind tests ###########
 98         valgrind=$VALGRIND
 100             # Valgrind has no support for 80 bit long double arithmetic.
 101             ppro) valgrind= ;;
 103                       i386|i486|i586|i686) valgrind= ;;
 [all …]
 
 | 
| /external/python/cpython3/Misc/ | 
| D | README.valgrind | 1 This document describes some caveats about the use of Valgrind with2 Python.  Valgrind is used periodically by Python developers to try
 5 If you want to enable valgrind support in Python, you will need to
 6 configure Python --with-valgrind option or an older option
 12 If you don't want to read about the details of using Valgrind, there
 15 Misc/valgrind-python.supp.  Second, you must uncomment the lines in
 16 Misc/valgrind-python.supp that suppress the warnings for PyObject_Free and
 19 If you want to use Valgrind more effectively and catch even more
 23 from the big blocks.  This means Valgrind can't detect
 26 makes Python run much slower, especially when running under Valgrind.
 [all …]
 
 | 
| D | README | 21 README.valgrind         Information for Valgrind users, see valgrind-python.supp25 valgrind-python.supp    Valgrind suppression file, see README.valgrind
 
 | 
| /external/zstd/zlibWrapper/ | 
| D | Makefile | 69 .PHONY: test-valgrind70 #test-valgrind: ZSTDLIBRARY = $(ZSTDLIBDIR)/libzstd.so
 71 test-valgrind: VALGRIND = LD_LIBRARY_PATH=$(ZSTDLIBDIR) valgrind --track-origins=yes --leak-check=f…  macro
 72 test-valgrind: clean example fitblk example_zstd fitblk_zstd zwrapbench
 73 	@echo "\n ---- valgrind tests ----"
 74 	$(VALGRIND) ./example
 75 	$(VALGRIND) ./example_zstd
 76 	$(VALGRIND) ./fitblk 10240 <$(TEST_FILE)
 77 	$(VALGRIND) ./fitblk 40960 <$(TEST_FILE)
 78 	$(VALGRIND) ./fitblk_zstd 10240 <$(TEST_FILE)
 [all …]
 
 | 
| /external/pytorch/aten/tools/ | 
| D | run_tests.sh | 5 VALGRIND_SUP="${PWD}/`dirname $0`/valgrind.sup"8 VALGRIND=${VALGRIND:=ON}
 54 if [ "$VALGRIND" == "ON" ]; then
 55   # NB: As these tests are invoked by valgrind, let's leave them for now as it's
 56   # unclear if valgrind -> python -> gtest would work
 57 …valgrind --suppressions="$VALGRIND_SUP" --error-exitcode=1 "${CPP_TESTS_DIR}/basic" --gtest_filter…
 59 …  valgrind --suppressions="$VALGRIND_SUP" --error-exitcode=1 "${CPP_TESTS_DIR}/tensor_interop_test"
 
 | 
| /external/llvm/lib/Support/ | 
| D | Valgrind.cpp | 1 //===-- Valgrind.cpp - Implement Valgrind communication ---------*- C++ -*-===//10 //  Defines Valgrind communication methods, if HAVE_VALGRIND_VALGRIND_H is
 11 //  defined.  If we have valgrind.h but valgrind isn't running, its macros are
 16 #include "llvm/Support/Valgrind.h"
 21 #include <valgrind/valgrind.h>
 30 // Valgrind-provided macros.
 
 | 
| /external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/ | 
| D | CMakeLists.txt | 21 	find_program(VALGRIND "valgrind")25 		if (VALGRIND)
 27 				${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
 39                        if (VALGRIND)
 41                                        ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
 46                                        ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
 51                                        ${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
 129 		if (VALGRIND)
 130 			message("testing via valgrind")
 132 				${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
 [all …]
 
 | 
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ | 
| D | Valgrind.cpp | 1 //===-- Valgrind.cpp - Implement Valgrind communication ---------*- C++ -*-===//9 //  Defines Valgrind communication methods, if HAVE_VALGRIND_VALGRIND_H is
 10 //  defined.  If we have valgrind.h but valgrind isn't running, its macros are
 15 #include "llvm/Support/Valgrind.h"
 20 #include <valgrind/valgrind.h>
 29 // Valgrind-provided macros.
 
 | 
| /external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ | 
| D | Valgrind.h | 1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//10 // Methods for communicating with a valgrind instance this program is running
 12 // valgrind headers installed and valgrind is controlling this process.
 23   // True if Valgrind is controlling this process.
 26   // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
 27   // Otherwise valgrind may continue to execute the old version of the code.
 
 | 
| /external/llvm/include/llvm/Support/ | 
| D | Valgrind.h | 1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//10 // Methods for communicating with a valgrind instance this program is running
 12 // valgrind headers installed and valgrind is controlling this process.
 23   // True if Valgrind is controlling this process.
 26   // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
 27   // Otherwise valgrind may continue to execute the old version of the code.
 
 | 
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Support/ | 
| D | Valgrind.h | 1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//9 // Methods for communicating with a valgrind instance this program is running
 11 // valgrind headers installed and valgrind is controlling this process.
 22   // True if Valgrind is controlling this process.
 25   // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
 26   // Otherwise valgrind may continue to execute the old version of the code.
 
 | 
| /external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ | 
| D | Valgrind.h | 1 //===- llvm/Support/Valgrind.h - Communication with Valgrind ----*- C++ -*-===//9 // Methods for communicating with a valgrind instance this program is running
 11 // valgrind headers installed and valgrind is controlling this process.
 22   // True if Valgrind is controlling this process.
 25   // Discard valgrind's translation of code in the range [Addr .. Addr + Len).
 26   // Otherwise valgrind may continue to execute the old version of the code.
 
 | 
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/ | 
| D | Valgrind.cpp | 1 //===-- Valgrind.cpp - Implement Valgrind communication ---------*- C++ -*-===//9 //  Defines Valgrind communication methods, if HAVE_VALGRIND_VALGRIND_H is
 10 //  defined.  If we have valgrind.h but valgrind isn't running, its macros are
 16 #include "llvm/Support/Valgrind.h"
 20 #include <valgrind/valgrind.h>
 
 | 
| /external/iptables/iptables/tests/shell/ | 
| D | run-tests.sh | 9 Usage: $(basename $0) [-v|--verbose] [-H|--host] [-V|--valgrind]15 -V | --valgrind		Enable leak checking via valgrind.
 65 	-V|--valgrind)
 66 		VALGRIND=y
 112 # note: valgrind man page warns about --log-file with --trace-children, the
 117 valgrind --log-file=$2/valgrind.log --trace-children=yes \
 122 if grep -q 'no leaks are possible' $2/valgrind.log; then
 123 	rm $2/valgrind.log
 125 	mv $2/valgrind.log $2/valgrind_\$\$.log
 135 if [ "$VALGRIND" == "y" ]; then
 [all …]
 
 | 
| /external/harfbuzz_ng/test/fuzzing/ | 
| D | run-repacker-fuzzer-tests.py | 39 valgrind = None  variable41 	valgrind = shutil.which ('valgrind')  variable
 42 	if valgrind is None:
 43 		sys.exit ("""Valgrind requested but not found.""")
 50 		if valgrind:
 51 …text, returncode = cmd ([valgrind, '--leak-check=full', '--error-exitcode=1', hb_repacker_fuzzer, …
 57 		if (not valgrind or returncode) and text.strip ():
 
 | 
| D | run-draw-fuzzer-tests.py | 39 valgrind = None  variable41 	valgrind = shutil.which ('valgrind')  variable
 42 	if valgrind is None:
 43 		sys.exit ("""Valgrind requested but not found.""")
 50 	if valgrind:
 51 …text, returncode = cmd ([valgrind, '--leak-check=full', '--error-exitcode=1', hb_draw_fuzzer, path…
 57 	if (not valgrind or returncode) and text.strip ():
 
 | 
| D | run-shape-fuzzer-tests.py | 39 valgrind = None  variable41 	valgrind = shutil.which ('valgrind')  variable
 42 	if valgrind is None:
 43 		sys.exit ("""Valgrind requested but not found.""")
 49 	if valgrind:
 50 …text, returncode = cmd ([valgrind, '--leak-check=full', '--error-exitcode=1', hb_shape_fuzzer, pat…
 56 	if (not valgrind or returncode) and text.strip ():
 
 | 
| D | run-subset-fuzzer-tests.py | 39 valgrind = None  variable41 	valgrind = shutil.which ('valgrind')  variable
 42 	if valgrind is None:
 43 		sys.exit ("""Valgrind requested but not found.""")
 53 		if valgrind:
 54 …text, returncode = cmd ([valgrind, '--leak-check=full', '--error-exitcode=1', hb_subset_fuzzer, pa…
 60 		if (not valgrind or returncode) and text.strip ():
 
 | 
| /external/libchrome/base/third_party/valgrind/ | 
| D | README.chromium | 1 Name: valgrind2 URL: http://valgrind.org
 6 current process is running under Valgrind and tell Memcheck tool about custom
 9 These header files were taken from Valgrind source code
 10 (svn://svn.valgrind.org/valgrind/trunk@11504, dated 21 Jan 2011). The files are
 
 | 
| /external/flac/test/ | 
| D | test_replaygain.sh | 38 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_replaygain.v…39 …valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac --no-error-on-comp…
 48 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 metaflac $*" >>test_replayga…
 49 …valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 metaflac $* 4>>test_rep…
 61 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 metaflac $*" >>test_replayga…
 62 …valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 metaflac $* 2>/dev/null…
 
 | 
| /external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams/ | 
| D | CMakeLists.txt | 22 	find_program(VALGRIND "valgrind")44 		if (VALGRIND)
 45 			message("testing via valgrind")
 47 				${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
 62 			if (VALGRIND)
 64 					${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
 69 					${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
 121 			if (VALGRIND)
 122 				message("testing via valgrind")
 124 					${VALGRIND} --tool=memcheck --leak-check=yes --num-callers=20
 
 |