| /external/strace/m4/ |
| D | ax_valgrind_check.m4 | 12 # AX_VALGRIND_CHECK checks whether Valgrind is present and, if so, allows 13 # 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", or 41 # 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' variable 30 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 with 2 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 …]
|
| /external/zstd/zlibWrapper/ |
| D | Makefile | 69 .PHONY: test-valgrind 70 #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/python/cpython2/Misc/ |
| D | README.valgrind | 1 This document describes some caveats about the use of Valgrind with 2 Python. Valgrind is used periodically by Python developers to try 5 If you don't want to read about the details of using Valgrind, there 8 Misc/valgrind-python.supp. Second, you must do one of the following: 12 * Uncomment the lines in Misc/valgrind-python.supp that 15 If you want to use Valgrind more effectively and catch even more 19 from the big blocks. This means Valgrind can't detect 22 makes Python run much slower, especially when running under Valgrind. 23 You may need to run the tests in batches under Valgrind to keep 28 test_ctypes causes Valgrind 3.1.1 to fail (crash). [all …]
|
| /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/rust/crates/minimal-lexical/.github/workflows/ |
| D | Valgrind.yml | 1 name: Valgrind 9 valgrind: 10 name: Valgrind Tests 21 - run: sudo apt-get install valgrind 22 - run: cargo +nightly install cargo-valgrind 23 - run: cargo +nightly valgrind test --release 24 - run: cargo +nightly valgrind test --all-features --release
|
| /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/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 101 # note: valgrind man page warns about --log-file with --trace-children, the 106 valgrind --log-file=$2/valgrind.log --trace-children=yes \ 111 if grep -q 'no leaks are possible' $2/valgrind.log; then 112 rm $2/valgrind.log 114 mv $2/valgrind.log $2/valgrind_\$\$.log 124 if [ "$VALGRIND" == "y" ]; then [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-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/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/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/harfbuzz_ng/test/fuzzing/ |
| D | run-shape-fuzzer-tests.py | 39 valgrind = None variable 41 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-draw-fuzzer-tests.py | 39 valgrind = None variable 41 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-repacker-fuzzer-tests.py | 39 valgrind = None variable 41 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 ():
|
| /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
|
| /external/libchrome/base/third_party/valgrind/ |
| D | README.chromium | 1 Name: valgrind 2 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/cronet/base/third_party/valgrind/ |
| D | README.chromium | 1 Name: valgrind 2 URL: http://valgrind.org 8 current process is running under Valgrind and tell Memcheck tool about custom 11 These header files were taken from Valgrind source code 12 (svn://svn.valgrind.org/valgrind/trunk@11504, dated 21 Jan 2011). The files are
|