Home
last modified time | relevance | path

Searched refs:VG_STREQ (Results 1 – 17 of 17) sorted by relevance

/external/valgrind/memcheck/tests/
Dunit_libcbase.c36 CHECK( ! VG_STREQ(NULL, NULL) ); // Nb: strcmp() considers these equal in test_VG_STREQ()
37 CHECK( ! VG_STREQ(NULL, "ab") ); // Nb: strcmp() seg faults on this in test_VG_STREQ()
38 CHECK( ! VG_STREQ("ab", NULL) ); // Nb: strcmp() seg faults on this in test_VG_STREQ()
39 CHECK( ! VG_STREQ("", "a") ); in test_VG_STREQ()
40 CHECK( ! VG_STREQ("a", "") ); in test_VG_STREQ()
41 CHECK( ! VG_STREQ("abc", "abcd")); in test_VG_STREQ()
42 CHECK( ! VG_STREQ("abcd", "abc") ); in test_VG_STREQ()
43 CHECK( ! VG_STREQ("Abcd", "abcd")); in test_VG_STREQ()
44 CHECK( ! VG_STREQ("abcd", "Abcd")); in test_VG_STREQ()
46 CHECK( VG_STREQ("", "") ); in test_VG_STREQ()
[all …]
/external/valgrind/memcheck/
Dmc_errors.c949 if (VG_STREQ(e1s, e2s)) return True; in MC_()
954 return VG_STREQ(VG_(get_error_string)(e1), VG_(get_error_string)(e2)); in MC_()
963 if (!VG_STREQ(VG_(get_error_string)(e1), in MC_()
979 return VG_STREQ(extra1->Err.FishyValue.function_name, in MC_()
981 VG_STREQ(extra1->Err.FishyValue.argument_name, in MC_()
1280 if (VG_STREQ(name, "Param")) skind = ParamSupp; in MC_()
1281 else if (VG_STREQ(name, "User")) skind = UserSupp; in MC_()
1282 else if (VG_STREQ(name, "CoreMem")) skind = CoreMemSupp; in MC_()
1283 else if (VG_STREQ(name, "Addr1")) skind = Addr1Supp; in MC_()
1284 else if (VG_STREQ(name, "Addr2")) skind = Addr2Supp; in MC_()
[all …]
/external/valgrind/include/
Dpub_tool_options.h56 if VG_STREQ(val, "yes") (qq_var) = True; \
57 else if VG_STREQ(val, "no") (qq_var) = False; \
167 (VG_STREQ((qq_arg), (qq_option)) && \
182 if (VG_STREQ(val, (qq_strings)[qq_ix])) \
Dpub_tool_libcbase.h77 #define VG_STREQ(s1,s2) ( (s1 != NULL && s2 != NULL \ macro
/external/valgrind/exp-sgcheck/
Dpc_common.c725 if (VG_STREQ(name, "SorG")) skind = XS_SorG; in pc_is_recognised_suppression()
726 else if (VG_STREQ(name, "Heap")) skind = XS_Heap; in pc_is_recognised_suppression()
727 else if (VG_STREQ(name, "Arith")) skind = XS_Arith; in pc_is_recognised_suppression()
728 else if (VG_STREQ(name, "SysParam")) skind = XS_SysParam; in pc_is_recognised_suppression()
/external/valgrind/coregrind/
Dm_errormgr.c1306 if (!VG_STREQ(buf, "{")) BOMB("expected '{' or end-of-file"); in load_one_suppressions_file()
1310 if (eof || VG_STREQ(buf, "}")) BOMB("unexpected '}'"); in load_one_suppressions_file()
1356 if (VG_STREQ(buf, "}")) in load_one_suppressions_file()
1387 if (VG_STREQ(buf, "}")) { in load_one_suppressions_file()
1406 if (!VG_STREQ(buf, "}")) { in load_one_suppressions_file()
1409 } while (!eof && !VG_STREQ(buf, "}")); in load_one_suppressions_file()
Dm_commandline.c225 f2_clo = ( VG_STREQ(home, cwd) in VG_()
Dm_main.c548 else if VG_STREQ( arg, "--") {} in main_process_cmd_line_options()
549 else if VG_STREQ( arg, "-d") {} in main_process_cmd_line_options()
581 else if (VG_STREQ(arg, "-v") || in main_process_cmd_line_options()
582 VG_STREQ(arg, "--verbose")) in main_process_cmd_line_options()
585 else if (VG_STREQ(arg, "-q") || in main_process_cmd_line_options()
586 VG_STREQ(arg, "--quiet")) in main_process_cmd_line_options()
1668 if VG_STREQ(argv[i], "--") break; in valgrind_main()
1669 if VG_STREQ(argv[i], "-d") loglevel++; in valgrind_main()
Dm_options.c174 if (VG_STREQ(format, "")) { in VG_()
Dm_libcassert.c460 if (VG_STREQ(expr, "0")) { in VG_()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-solaris.c1639 if (!VG_STREQ(filename, name) && !VG_STREQ(filename, "/proc/self/psinfo")) in handle_psinfo_open()
1715 if (!VG_STREQ(filename, name) && !VG_STREQ(filename, "/proc/self/cmdline")) in handle_cmdline_open()
2271 (VG_STREQ((HChar *) ARG4, "namefs")) && in POST()
5170 if (VG_STREQ(clname, "RT")) { in mem_priocntlsys_parm()
5181 else if (VG_STREQ(clname, "TS")) { in mem_priocntlsys_parm()
5190 else if (VG_STREQ(clname, "IA")) { in mem_priocntlsys_parm()
5200 else if (VG_STREQ(clname, "FSS")) { in mem_priocntlsys_parm()
5209 else if (VG_STREQ(clname, "FX")) { in mem_priocntlsys_parm()
5412 if (VG_STREQ(clname, "RT")) in post_mem_write_priocntlsys_clinfo()
5414 else if (VG_STREQ(clname, "TS")) in post_mem_write_priocntlsys_clinfo()
[all …]
Dsyswrap-generic.c3933 if (!VG_STREQ(filename, name) && !VG_STREQ(filename, "/proc/self/auxv")) in ML_()
3987 (VG_STREQ(arg1s, name) || VG_STREQ(arg1s, "/proc/self/cmdline")) in PRE()
4142 (VG_STREQ(arg1s, name) || VG_STREQ(arg1s, "/proc/self/exe")) in PRE()
4156 (VG_STREQ(arg1s, name) || VG_STREQ(arg1s, "/proc/self/path/a.out")) in PRE()
/external/valgrind/coregrind/m_ume/
Dmain.c165 if (n == 2 && VG_STREQ("#!", buf)) in is_hash_bang_file()
/external/valgrind/helgrind/
Dhg_main.c4602 if (VG_STREQ(soname, VG_U_LD_LINUX_SO_3)) return True; in is_in_dynamic_linker_shared_object()
4603 if (VG_STREQ(soname, VG_U_LD_LINUX_SO_2)) return True; in is_in_dynamic_linker_shared_object()
4604 if (VG_STREQ(soname, VG_U_LD_LINUX_X86_64_SO_2)) return True; in is_in_dynamic_linker_shared_object()
4605 if (VG_STREQ(soname, VG_U_LD64_SO_1)) return True; in is_in_dynamic_linker_shared_object()
4606 if (VG_STREQ(soname, VG_U_LD64_SO_2)) return True; in is_in_dynamic_linker_shared_object()
4607 if (VG_STREQ(soname, VG_U_LD_SO_1)) return True; in is_in_dynamic_linker_shared_object()
4608 if (VG_STREQ(soname, VG_U_LD_LINUX_AARCH64_SO_1)) return True; in is_in_dynamic_linker_shared_object()
4609 if (VG_STREQ(soname, VG_U_LD_LINUX_ARMHF_SO_3)) return True; in is_in_dynamic_linker_shared_object()
4611 if (VG_STREQ(soname, VG_U_DYLD)) return True; in is_in_dynamic_linker_shared_object()
4613 if (VG_STREQ(soname, VG_U_LD_SO_1)) return True; in is_in_dynamic_linker_shared_object()
/external/valgrind/coregrind/m_debuginfo/
Ddebuginfo.c1937 if (VG_STREQ("main", name)) { in VG_()
1942 VG_STREQ("__libc_start_main", name) || // glibc glibness in VG_()
1943 VG_STREQ("generic_start_main", name) || // Yellow Dog doggedness in VG_()
1946 VG_STREQ("start_according_to_valgrind", name) || // Darwin, darling in VG_()
1948 VG_STREQ("_start", name) || // main() is called directly from _start in VG_()
Dreadmacho.c377 else if (!VG_(clo_show_below_main) && VG_STREQ(disym.pri_name, "start")) { in read_symtab()
/external/valgrind/massif/
Dms_main.c363 if (VG_STREQ(fnname, *fn_ptr)) in is_member_fn()