Home
last modified time | relevance | path

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

/external/valgrind/memcheck/tests/
Dunit_libcbase.c47 CHECK( ! VG_STREQ(NULL, NULL) ); // Nb: strcmp() considers these equal in test_VG_STREQ()
48 CHECK( ! VG_STREQ(NULL, "ab") ); // Nb: strcmp() seg faults on this in test_VG_STREQ()
49 CHECK( ! VG_STREQ("ab", NULL) ); // Nb: strcmp() seg faults on this in test_VG_STREQ()
50 CHECK( ! VG_STREQ("", "a") ); in test_VG_STREQ()
51 CHECK( ! VG_STREQ("a", "") ); in test_VG_STREQ()
52 CHECK( ! VG_STREQ("abc", "abcd")); in test_VG_STREQ()
53 CHECK( ! VG_STREQ("abcd", "abc") ); in test_VG_STREQ()
54 CHECK( ! VG_STREQ("Abcd", "abcd")); in test_VG_STREQ()
55 CHECK( ! VG_STREQ("abcd", "Abcd")); in test_VG_STREQ()
57 CHECK( VG_STREQ("", "") ); in test_VG_STREQ()
[all …]
/external/valgrind/memcheck/
Dmc_errors.c980 if (VG_STREQ(e1s, e2s)) return True; in MC_()
985 return VG_STREQ(VG_(get_error_string)(e1), VG_(get_error_string)(e2)); in MC_()
994 if (!VG_STREQ(VG_(get_error_string)(e1), in MC_()
1010 return VG_STREQ(extra1->Err.FishyValue.function_name, in MC_()
1012 VG_STREQ(extra1->Err.FishyValue.argument_name, in MC_()
1325 if (VG_STREQ(name, "Param")) skind = ParamSupp; in MC_()
1326 else if (VG_STREQ(name, "User")) skind = UserSupp; in MC_()
1327 else if (VG_STREQ(name, "CoreMem")) skind = CoreMemSupp; in MC_()
1328 else if (VG_STREQ(name, "Addr1")) skind = Addr1Supp; in MC_()
1329 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/coregrind/
Dm_redir.c1206 if (VG_STREQ(soname, VG_U_LD_LINUX_SO_3)) return True; in VG_()
1207 if (VG_STREQ(soname, VG_U_LD_LINUX_SO_2)) return True; in VG_()
1208 if (VG_STREQ(soname, VG_U_LD_LINUX_X86_64_SO_2)) return True; in VG_()
1209 if (VG_STREQ(soname, VG_U_LD64_SO_1)) return True; in VG_()
1210 if (VG_STREQ(soname, VG_U_LD64_SO_2)) return True; in VG_()
1211 if (VG_STREQ(soname, VG_U_LD_SO_1)) return True; in VG_()
1212 if (VG_STREQ(soname, VG_U_LD_LINUX_AARCH64_SO_1)) return True; in VG_()
1213 if (VG_STREQ(soname, VG_U_LD_LINUX_ARMHF_SO_3)) return True; in VG_()
1215 if (VG_STREQ(soname, VG_U_DYLD)) return True; in VG_()
1217 if (VG_STREQ(soname, VG_U_LD_SO_1)) return True; in VG_()
Dm_main.c390 else if (VG_STREQ(str, "-v") || in early_process_cmd_line_options()
391 VG_STREQ(str, "--verbose")) in early_process_cmd_line_options()
393 else if (VG_STREQ(str, "-q") || in early_process_cmd_line_options()
394 VG_STREQ(str, "--quiet")) in early_process_cmd_line_options()
531 else if VG_STREQ( arg, "--") {} in main_process_cmd_line_options()
532 else if VG_STREQ( arg, "-d") {} in main_process_cmd_line_options()
533 else if VG_STREQ( arg, "-q") {} in main_process_cmd_line_options()
534 else if VG_STREQ( arg, "--quiet") {} in main_process_cmd_line_options()
535 else if VG_STREQ( arg, "-v") {} in main_process_cmd_line_options()
536 else if VG_STREQ( arg, "--verbose") {} in main_process_cmd_line_options()
[all …]
Dm_errormgr.c1305 if (!VG_STREQ(buf, "{")) BOMB("expected '{' or end-of-file"); in load_one_suppressions_file()
1309 if (eof || VG_STREQ(buf, "}")) BOMB("unexpected '}'"); in load_one_suppressions_file()
1355 if (VG_STREQ(buf, "}")) in load_one_suppressions_file()
1386 if (VG_STREQ(buf, "}")) { in load_one_suppressions_file()
1405 if (!VG_STREQ(buf, "}")) { in load_one_suppressions_file()
1408 } while (!eof && !VG_STREQ(buf, "}")); in load_one_suppressions_file()
Dm_commandline.c228 f2_clo = ( (cwd == NULL || VG_STREQ(home, cwd)) in VG_()
Dm_options.c179 if (VG_STREQ(format, "")) { in VG_()
Dm_libcassert.c471 if (VG_STREQ(expr, "0")) { in VG_()
/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/m_syswrap/
Dsyswrap-solaris.c1648 if (!VG_STREQ(filename, name) && !VG_STREQ(filename, "/proc/self/psinfo")) in handle_psinfo_open()
1724 if (!VG_STREQ(filename, name) && !VG_STREQ(filename, "/proc/self/cmdline")) in handle_cmdline_open()
2298 (VG_STREQ((HChar *) ARG4, "namefs")) && in POST()
5381 if (VG_STREQ(clname, "RT")) { in mem_priocntlsys_parm()
5392 else if (VG_STREQ(clname, "TS")) { in mem_priocntlsys_parm()
5401 else if (VG_STREQ(clname, "IA")) { in mem_priocntlsys_parm()
5411 else if (VG_STREQ(clname, "FSS")) { in mem_priocntlsys_parm()
5420 else if (VG_STREQ(clname, "FX")) { in mem_priocntlsys_parm()
5623 if (VG_STREQ(clname, "RT")) in post_mem_write_priocntlsys_clinfo()
5625 else if (VG_STREQ(clname, "TS")) in post_mem_write_priocntlsys_clinfo()
[all …]
Dsyswrap-generic.c3937 if (!VG_STREQ(filename, name) && !VG_STREQ(filename, "/proc/self/auxv")) in ML_()
3991 && (VG_STREQ(arg1s, name) || VG_STREQ(arg1s, "/proc/self/cmdline"))) { in PRE()
4154 && (VG_STREQ(arg1s, name) || VG_STREQ(arg1s, SELF_EXEPATH))) { in PRE()
/external/valgrind/coregrind/m_ume/
Dmain.c165 if (n == 2 && VG_STREQ("#!", buf)) in is_hash_bang_file()
/external/valgrind/coregrind/m_debuginfo/
Ddebuginfo.c1980 if (VG_STREQ("main", name)) { in VG_()
1985 VG_STREQ("__libc_start_main", name) || // glibc glibness in VG_()
1986 VG_STREQ("generic_start_main", name) || // Yellow Dog doggedness in VG_()
1989 VG_STREQ("start_according_to_valgrind", name) || // Darwin, darling in VG_()
1991 VG_STREQ("_start", name) || // main() is called directly from _start in VG_()
Dreadmacho.c378 else if (!VG_(clo_show_below_main) && VG_STREQ(disym.pri_name, "start")) { in read_symtab()