Searched refs:msg (Results 51 - 75 of 2192) sorted by relevance

1234567891011>>

/external/libcxx/test/std/diagnostics/std.exceptions/length.error/
H A Dlength_error.pass.cpp25 const char* msg = "length_error message"; local
26 std::length_error e(msg);
27 assert(std::strcmp(e.what(), msg) == 0);
29 assert(std::strcmp(e2.what(), msg) == 0);
31 assert(std::strcmp(e2.what(), msg) == 0);
34 std::string msg("another length_error message");
35 std::length_error e(msg);
36 assert(e.what() == msg);
38 assert(e2.what() == msg);
40 assert(e2.what() == msg);
[all...]
/external/libcxx/test/std/diagnostics/std.exceptions/logic.error/
H A Dlogic_error.pass.cpp25 const char* msg = "logic_error message"; local
26 std::logic_error e(msg);
27 assert(std::strcmp(e.what(), msg) == 0);
29 assert(std::strcmp(e2.what(), msg) == 0);
31 assert(std::strcmp(e2.what(), msg) == 0);
34 std::string msg("another logic_error message");
35 std::logic_error e(msg);
36 assert(e.what() == msg);
38 assert(e2.what() == msg);
40 assert(e2.what() == msg);
[all...]
/external/libcxx/test/std/diagnostics/std.exceptions/out.of.range/
H A Dout_of_range.pass.cpp25 const char* msg = "out_of_range message"; local
26 std::out_of_range e(msg);
27 assert(std::strcmp(e.what(), msg) == 0);
29 assert(std::strcmp(e2.what(), msg) == 0);
31 assert(std::strcmp(e2.what(), msg) == 0);
34 std::string msg("another out_of_range message");
35 std::out_of_range e(msg);
36 assert(e.what() == msg);
38 assert(e2.what() == msg);
40 assert(e2.what() == msg);
[all...]
/external/libcxx/test/std/diagnostics/std.exceptions/overflow.error/
H A Doverflow_error.pass.cpp25 const char* msg = "overflow_error message"; local
26 std::overflow_error e(msg);
27 assert(std::strcmp(e.what(), msg) == 0);
29 assert(std::strcmp(e2.what(), msg) == 0);
31 assert(std::strcmp(e2.what(), msg) == 0);
34 std::string msg("another overflow_error message");
35 std::overflow_error e(msg);
36 assert(e.what() == msg);
38 assert(e2.what() == msg);
40 assert(e2.what() == msg);
[all...]
/external/libcxx/test/std/diagnostics/std.exceptions/range.error/
H A Drange_error.pass.cpp25 const char* msg = "range_error message"; local
26 std::range_error e(msg);
27 assert(std::strcmp(e.what(), msg) == 0);
29 assert(std::strcmp(e2.what(), msg) == 0);
31 assert(std::strcmp(e2.what(), msg) == 0);
34 std::string msg("another range_error message");
35 std::range_error e(msg);
36 assert(e.what() == msg);
38 assert(e2.what() == msg);
40 assert(e2.what() == msg);
[all...]
/external/libcxx/test/std/diagnostics/std.exceptions/runtime.error/
H A Druntime_error.pass.cpp25 const char* msg = "runtime_error message"; local
26 std::runtime_error e(msg);
27 assert(std::strcmp(e.what(), msg) == 0);
29 assert(std::strcmp(e2.what(), msg) == 0);
31 assert(std::strcmp(e2.what(), msg) == 0);
34 std::string msg("another runtime_error message");
35 std::runtime_error e(msg);
36 assert(e.what() == msg);
38 assert(e2.what() == msg);
40 assert(e2.what() == msg);
[all...]
/external/libcxx/test/std/diagnostics/std.exceptions/underflow.error/
H A Dunderflow_error.pass.cpp25 const char* msg = "underflow_error message"; local
26 std::underflow_error e(msg);
27 assert(std::strcmp(e.what(), msg) == 0);
29 assert(std::strcmp(e2.what(), msg) == 0);
31 assert(std::strcmp(e2.what(), msg) == 0);
34 std::string msg("another underflow_error message");
35 std::underflow_error e(msg);
36 assert(e.what() == msg);
38 assert(e2.what() == msg);
40 assert(e2.what() == msg);
[all...]
/external/deqp/execserver/
H A DxsDefs.cpp33 std::ostringstream msg; local
34 msg << (message ? message : "Runtime check failed") << ": ";
36 msg << '\'' << expr << '\'';
37 msg << " at " << file << ":" << line;
38 return msg.str();
/external/deqp/executor/
H A DxeDefs.cpp33 std::ostringstream msg; local
34 msg << (message ? message : "Runtime check failed") << ": ";
36 msg << '\'' << expr << '\'';
37 msg << " at " << file << ":" << line;
38 return msg.str();
/external/libcxxabi/src/Unwind/
H A Dconfig.h50 #define _LIBUNWIND_LOG(msg, ...) fprintf(stderr, "libunwind: " msg, __VA_ARGS__)
51 #define _LIBUNWIND_ABORT(msg) __assert_rtn(__func__, __FILE__, __LINE__, msg)
66 static inline void assert_rtn(const char* func, const char* file, int line, const char* msg) __attribute__ ((noreturn));
67 static inline void assert_rtn(const char* func, const char* file, int line, const char* msg) { argument
68 fprintf(stderr, "libunwind: %s %s:%d - %s\n", func, file, line, msg);
82 #define _LIBUNWIND_LOG(msg, ...) fprintf(stderr, "libuwind: " msg, __VA_ARGS__)
83 #define _LIBUNWIND_ABORT(msg) assert_rt
[all...]
/external/svox/pico/lib/
H A Dpicodbg.h228 #define PICODBG_LOG(level, msg) \
229 picodbg_log(level, 1, __FILE__, __LINE__, __FUNCTION__, picodbg_varargs msg)
231 #define PICODBG_ERROR(msg) \
232 PICODBG_LOG(PICODBG_LOG_LEVEL_ERROR, msg)
234 #define PICODBG_WARN(msg) \
235 PICODBG_LOG(PICODBG_LOG_LEVEL_WARN, msg)
237 #define PICODBG_INFO(msg) \
238 PICODBG_LOG(PICODBG_LOG_LEVEL_INFO, msg)
240 #define PICODBG_DEBUG(msg) \
241 PICODBG_LOG(PICODBG_LOG_LEVEL_DEBUG, msg)
[all...]
/external/chromium-trace/trace-viewer/perf_insights/third_party/cloudstorage/
H A Derrors.py119 msg = ('Expect status %r from Google Storage. But got status %d.\n'
128 raise AuthorizationError(msg)
130 raise ForbiddenError(msg)
132 raise NotFoundError(msg)
134 raise TimeoutError(msg)
136 raise InvalidRange(msg)
139 raise FileClosedError(msg)
141 raise ServerError(msg)
143 raise FatalError(msg)
/external/selinux/libsepol/cil/src/
H A Dcil_log.c40 void cil_default_log_handler(__attribute__((unused)) int lvl, char *msg) argument
42 fprintf(stderr, "%s", msg);
45 void (*cil_log_handler)(int lvl, char *msg) = &cil_default_log_handler;
47 void cil_set_log_handler(void (*handler)(int lvl, char *msg)) argument
52 __attribute__ ((format (printf, 2, 0))) void cil_vlog(enum cil_log_level lvl, const char *msg, va_list args) argument
56 vsnprintf(buff, MAX_LOG_SIZE, msg, args);
61 __attribute__ ((format (printf, 2, 3))) void cil_log(enum cil_log_level lvl, const char *msg, ...) argument
64 va_start(args, msg);
65 cil_vlog(lvl, msg, args);
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_dev_attr.h14 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg);
15 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg);
16 int wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg);
17 int wps_build_serial_number(struct wps_device_data *dev, struct wpabuf *msg);
18 int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg);
19 int wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg);
20 int wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg);
21 int wps_build_vendor_ext_m1(struct wps_device_data *dev, struct wpabuf *msg);
22 int wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg,
25 struct wpabuf *msg);
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dwps_dev_attr.h14 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg);
15 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg);
16 int wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg);
17 int wps_build_serial_number(struct wps_device_data *dev, struct wpabuf *msg);
18 int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg);
19 int wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg);
20 int wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg);
21 int wps_build_vendor_ext_m1(struct wps_device_data *dev, struct wpabuf *msg);
22 int wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg,
25 struct wpabuf *msg);
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_dev_attr.h14 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg);
15 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg);
16 int wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg);
17 int wps_build_serial_number(struct wps_device_data *dev, struct wpabuf *msg);
18 int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg);
19 int wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg);
20 int wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg);
21 int wps_build_vendor_ext_m1(struct wps_device_data *dev, struct wpabuf *msg);
22 int wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg,
25 struct wpabuf *msg);
[all...]
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/
H A DExistingFileOperationException.groovy36 super(msg(path))
45 super(msg(path), cause)
49 private static String msg(path) {
H A DInvalidFilenameException.groovy34 super(msg(path))
43 super(msg(path), cause)
47 private static String msg(path) {
H A DNewFileOperationException.groovy36 super(msg(path))
45 super(msg(path), cause)
49 private static String msg(path) {
/external/nanopb-c/tests/missing_fields/
H A Dmissing_fields.c15 MissingField msg = {0}; local
18 if (!pb_encode(&stream, MissingField_fields, &msg))
29 MissingField msg = {0}; local
32 if (!pb_decode(&stream, MissingField_fields, &msg))
41 AllFields msg = {0}; local
44 if (pb_decode(&stream, AllFields_fields, &msg))
/external/v8/test/webkit/fast/js/kde/
H A Dfunc-decl.js26 function shouldBeOfType(msg, val, type) {
28 testFailed(msg + ": value has type " + typeof(val) + " , not:" + type);
30 testPassed(msg);
33 function shouldBeVal(msg, val, expected) {
35 testFailed(msg + ": value is " + val + " , not:" + expected);
37 testPassed(msg);
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DNanoTest.java84 SimpleMessageNano msg = new SimpleMessageNano();
85 assertEquals(123, msg.d);
86 assertEquals(null, msg.nestedMsg);
87 assertEquals(SimpleMessageNano.BAZ, msg.defaultNestedEnum);
89 msg.d = 456;
90 assertEquals(456, msg.d);
95 msg.nestedMsg = nestedMsg;
96 assertEquals(2, msg.nestedMsg.bb);
98 msg.defaultNestedEnum = SimpleMessageNano.BAR;
99 assertEquals(SimpleMessageNano.BAR, msg
[all...]
/external/libnl/lib/netfilter/
H A Dlog.c37 struct nl_msg *msg; local
40 msg = nfnlmsg_alloc_simple(NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, 0,
42 if (msg == NULL)
46 if (nla_put(msg, NFULA_CFG_CMD, sizeof(cmd), &cmd) < 0)
49 *result = msg;
53 nlmsg_free(msg);
57 static int send_log_request(struct nl_sock *sk, struct nl_msg *msg) argument
61 err = nl_send_auto_complete(sk, msg);
62 nlmsg_free(msg);
76 struct nl_msg *msg; local
92 struct nl_msg *msg; local
104 struct nl_msg *msg; local
184 struct nl_msg *msg; local
201 struct nl_msg *msg; local
222 struct nl_msg *msg; local
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowLog.java17 public static void e(String tag, String msg) { argument
18 e(tag, msg, null);
22 public static void e(String tag, String msg, Throwable throwable) { argument
23 addLog(Log.ERROR, tag, msg, throwable);
27 public static void d(String tag, String msg) { argument
28 d(tag, msg, null);
32 public static void d(String tag, String msg, Throwable throwable) { argument
33 addLog(Log.DEBUG, tag, msg, throwable);
37 public static void i(String tag, String msg) { argument
38 i(tag, msg, nul
42 i(String tag, String msg, Throwable throwable) argument
47 v(String tag, String msg) argument
52 v(String tag, String msg, Throwable throwable) argument
57 w(String tag, String msg) argument
68 w(String tag, String msg, Throwable throwable) argument
73 wtf(String tag, String msg) argument
78 wtf(String tag, String msg, Throwable throwable) argument
87 addLog(int level, String tag, String msg, Throwable throwable) argument
95 logToStream(PrintStream ps, int level, String tag, String msg, Throwable throwable) argument
123 public final String msg; field in class:ShadowLog.LogItem
126 LogItem(int type, String tag, String msg, Throwable throwable) argument
[all...]
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DErrorQueue.java42 public void info(String msg) { argument
43 infos.add(msg);
46 public void error(Message msg) { argument
47 errors.add(msg);
50 public void warning(Message msg) { argument
51 warnings.add(msg);
54 public void error(ToolMessage msg) { argument
55 errors.add(msg);

Completed in 1125 milliseconds

1234567891011>>