Home
last modified time | relevance | path

Searched refs:error_msg (Results 1 – 15 of 15) sorted by relevance

/freebsd-12.1/lib/libkvm/tests/
H A Dkvm_geterr_test.c72 char *error_msg; in ATF_TC_BODY() local
80 error_msg = kvm_geterr(kd); in ATF_TC_BODY()
81 ATF_CHECK(errbuf_has_error(error_msg)); in ATF_TC_BODY()
99 char *error_msg; in ATF_TC_BODY() local
123 error_msg = kvm_geterr(kd); in ATF_TC_BODY()
124 ATF_REQUIRE_MSG(strcmp(error_msg, ALL_IS_WELL) == 0, in ATF_TC_BODY()
125 "error message changed: %s", error_msg); in ATF_TC_BODY()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectMultiword.cpp127 std::string error_msg; in Execute() local
130 error_msg.assign("ambiguous command "); in Execute()
132 error_msg.assign("invalid command "); in Execute()
134 error_msg.append("'"); in Execute()
135 error_msg.append(GetCommandName()); in Execute()
136 error_msg.append(" "); in Execute()
137 error_msg.append(sub_command); in Execute()
138 error_msg.append("'."); in Execute()
143 error_msg.append("\n\t"); in Execute()
147 error_msg.append("\n"); in Execute()
[all …]
/freebsd-12.1/crypto/heimdal/lib/kadm5/
H A Dpassword_quality.c459 static char error_msg[1024]; in kadm5_check_password_quality() local
479 error_msg[0] = '\0'; in kadm5_check_password_quality()
491 error_msg, sizeof(error_msg)); in kadm5_check_password_quality()
495 proc->name, error_msg); in kadm5_check_password_quality()
496 msg = error_msg; in kadm5_check_password_quality()
/freebsd-12.1/sys/fs/ext2fs/
H A Dext2_lookup.c847 char *error_msg = NULL; in ext2_dirbadentry() local
850 error_msg = "rec_len is smaller than minimal"; in ext2_dirbadentry()
852 error_msg = "rec_len % 4 != 0"; in ext2_dirbadentry()
854 error_msg = "reclen is too small for name_len"; in ext2_dirbadentry()
856 error_msg = "directory entry across blocks"; in ext2_dirbadentry()
862 if (error_msg != NULL) { in ext2_dirbadentry()
864 error_msg, entryoffsetinblock, in ext2_dirbadentry()
867 return error_msg == NULL ? 0 : 1; in ext2_dirbadentry()
H A Dext2_extents.c237 char *error_msg; in ext4_ext_check_header() local
242 error_msg = "header: invalid magic"; in ext4_ext_check_header()
246 error_msg = "header: invalid eh_max"; in ext4_ext_check_header()
250 error_msg = "header: invalid eh_entries"; in ext4_ext_check_header()
257 SDT_PROBE2(ext2fs, , trace, extents, 1, error_msg); in ext4_ext_check_header()
/freebsd-12.1/sys/dev/smartpqi/
H A Dsmartpqi_discovery.c706 char *error_msg; in pqisrc_raid_map_validation() local
716 error_msg = "RAID map too small\n"; in pqisrc_raid_map_validation()
721 error_msg = "RAID map too large\n"; in pqisrc_raid_map_validation()
732 error_msg = "invalid number of map entries in RAID map\n"; in pqisrc_raid_map_validation()
738 error_msg = "invalid RAID-1 map\n"; in pqisrc_raid_map_validation()
743 error_msg = "invalid RAID-1(ADM) map\n"; in pqisrc_raid_map_validation()
754 error_msg = "invalid RAID-5 or RAID-6 map\n"; in pqisrc_raid_map_validation()
764 DBG_ERR("%s\n", error_msg); in pqisrc_raid_map_validation()
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_errors.cc350 InternalScopedString error_msg(256); in Print() local
351 error_msg.append("%s: global '%s' at %s", scariness.GetDescription(), in Print()
353 ReportErrorSummary(error_msg.data()); in Print()
/freebsd-12.1/contrib/xz/src/xz/
H A Dfile_io.c656 goto error_msg; in io_open_src_real()
659 goto error_msg; in io_open_src_real()
730 error_msg: in io_open_src_real()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Interpreter/
H A DCommandInterpreter.cpp2260 llvm::StringRef error_msg = tmp_result.GetErrorData(); in HandleCommands() local
2261 if (error_msg.empty()) in HandleCommands()
2262 error_msg = "<unknown error>.\n"; in HandleCommands()
2267 (uint64_t)idx, cmd, error_msg.str().c_str()); in HandleCommands()
2274 error_msg.str().c_str()); in HandleCommands()
3090 StreamString error_msg; in ResolveCommandImpl() local
3091 error_msg.Printf("Ambiguous command '%s'. Possible matches:\n", in ResolveCommandImpl()
3095 error_msg.Printf("\t%s\n", matches.GetStringAtIndex(i)); in ResolveCommandImpl()
3097 result.AppendRawError(error_msg.GetString()); in ResolveCommandImpl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DTooling.cpp96 SmallString<256> error_msg; in getCC1Arguments() local
97 llvm::raw_svector_ostream error_stream(error_msg); in getCC1Arguments()
/freebsd-12.1/contrib/gdb/gdb/
H A Dminimon.h596 struct error_msg_t error_msg; member
/freebsd-12.1/contrib/gcc/cp/
H A Dsemantics.c2607 const char **error_msg) in finish_id_expression() argument
2611 *error_msg = NULL; in finish_id_expression()
2687 *error_msg = "missing template arguments"; in finish_id_expression()
2693 *error_msg = "expected primary-expression"; in finish_id_expression()
H A Ddecl.c7240 const char* error_msg; in create_array_type_for_decl() local
7247 error_msg = NULL; in create_array_type_for_decl()
7253 error_msg = "array of void"; in create_array_type_for_decl()
7257 error_msg = "array of functions"; in create_array_type_for_decl()
7261 error_msg = "array of references"; in create_array_type_for_decl()
7265 error_msg = "array of function members"; in create_array_type_for_decl()
7273 if (error_msg) in create_array_type_for_decl()
7276 error ("declaration of %qD as %s", name, error_msg); in create_array_type_for_decl()
7278 error ("creating %s", error_msg); in create_array_type_for_decl()
H A Dparser.c3338 const char *error_msg; in cp_parser_primary_expression() local
3443 &error_msg)); in cp_parser_primary_expression()
3444 if (error_msg) in cp_parser_primary_expression()
3445 cp_parser_error (parser, error_msg); in cp_parser_primary_expression()
17112 dyn_string_t error_msg; in cp_parser_require_keyword() local
17115 error_msg = dyn_string_new (0); in cp_parser_require_keyword()
17116 dyn_string_append_cstr (error_msg, "expected "); in cp_parser_require_keyword()
17117 dyn_string_append_cstr (error_msg, token_desc); in cp_parser_require_keyword()
17118 cp_parser_error (parser, error_msg->s); in cp_parser_require_keyword()
17119 dyn_string_delete (error_msg); in cp_parser_require_keyword()
H A Dpt.c8915 const char *error_msg; in tsubst_copy_and_build() local
8940 &error_msg); in tsubst_copy_and_build()
8941 if (error_msg) in tsubst_copy_and_build()
8942 error ("%s", error_msg); in tsubst_copy_and_build()