Searched refs:msg (Results 76 - 100 of 3214) sorted by relevance

1234567891011>>

/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/dng_sdk/source/
H A Ddng_assertions.h76 /// \param msg String to display if condition is not true.
78 #define DNG_REQUIRE(condition,msg) \
85 DNG_ASSERT(condition, msg); \
87 ThrowProgramError (msg); \
99 /// \param msg String to display if condition is not true.
101 #define DNG_REQUIRE(condition,msg) \
108 ThrowProgramError (msg); \
/external/libunwind_llvm/src/
H A Dconfig.h50 #define _LIBUNWIND_LOG(msg, ...) fprintf(stderr, "libuwind: " 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/strace/
H A Dprint_msgbuf.c35 #include <sys/msg.h>
44 msgbuf_t msg; local
46 if (!umove_or_printaddr(tcp, addr, &msg)) {
47 tprintf("{%" PRI_kld ", ", (kernel_long_t) msg.mtype);
48 printstrn(tcp, addr + sizeof(msg.mtype), count);
/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/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/autotest/client/site_tests/security_ptraceRestrictions/
H A Dsecurity_ptraceRestrictions.py25 def _passed(self, msg):
26 logging.info('ok: %s' % (msg))
28 def _failed(self, msg):
29 logging.error('FAIL: %s' % (msg))
30 self._failures.append(msg)
32 def _fatal(self, msg):
33 logging.error('FATAL: %s' % (msg))
34 raise error.TestError(msg)
36 def check(self, boolean, msg, fatal=False):
38 self._passed(msg)
[all...]
/external/ltp/testcases/kernel/controllers/freezer/
H A Dlibltp33 local msg="<no msg>"
44 msg="$*"
51 msg="(LTP log violation: Uknown LTP cmd: $cmd) $msg"
72 msg="(LTP log violation: Uknown LTP log tag: $tag) $msg"
76 #echo "LTP log: $cmd ${TCID} ${TST_COUNT}/${TST_TOTAL}: $tag $msg" 1>&$out_fd
77 echo "${TCID} ${TST_COUNT}/${TST_TOTAL}: $tag $msg" 1>&$out_fd
/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/boringssl/include/openssl/
H A Dtype_check.h80 #define OPENSSL_COMPILE_ASSERT(cond, msg) _Static_assert(cond, #msg)
82 #define OPENSSL_COMPILE_ASSERT(cond, msg) \
83 typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)] \
86 #define OPENSSL_COMPILE_ASSERT(cond, msg) \
87 typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)]
/external/boringssl/src/include/openssl/
H A Dtype_check.h80 #define OPENSSL_COMPILE_ASSERT(cond, msg) _Static_assert(cond, #msg)
82 #define OPENSSL_COMPILE_ASSERT(cond, msg) \
83 typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)] \
86 #define OPENSSL_COMPILE_ASSERT(cond, msg) \
87 typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)]
/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/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
H A DMessagePatternDemo.java26 private static final void printParts(MessagePattern msg) { argument
27 String autoQA=msg.autoQuoteApostropheDeep();
28 if(!autoQA.equals(msg.getPatternString())) {
34 int count=msg.countParts();
37 MessagePattern.Part part=msg.getPart(i);
45 explanation.append("=\"").append(msg.getSubstring(part)).append('"');
48 explanation.append('=').append(msg.getNumericValue(part));
66 MessagePattern msg=new MessagePattern(s);
67 printParts(msg);
68 return 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/v1/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/protobuf/js/binary/
H A Dproto_test.js100 * @param {proto.jspb.test.TestAllTypes} msg
102 function fillAllFields(msg) {
103 msg.setOptionalInt32(-42);
106 msg.setOptionalInt64(-0x7fffffff00000000);
107 msg.setOptionalUint32(0x80000000);
108 msg.setOptionalUint64(0xf000000000000000);
109 msg.setOptionalSint32(-100);
110 msg.setOptionalSint64(-0x8000000000000000);
111 msg.setOptionalFixed32(1234);
112 msg
[all...]

Completed in 1897 milliseconds

1234567891011>>