| /external/ltp/testcases/kernel/fs/openfile/ |
| openfile.c | 82 char msg[80] = ""; local 115 sprintf(msg, "%s\nCannot use %d files", msg, numfiles); 116 sprintf(msg, "%s, used %d files instead\n", msg, MAXFILES); 122 sprintf(msg, "%s\nCannot use %d threads", msg, numthreads); 123 sprintf(msg, "%s, used %d threads instead\n", msg, MAXTHREADS);
|
| /external/ltp/testcases/kernel/syscalls/fcntl/ |
| fcntl07.c | 75 const char *msg; member in struct:tcase 98 tc->msg, fd); 132 tc->msg); 136 tc->msg, WEXITSTATUS(status));
|
| /external/ltp/testcases/kernel/syscalls/sendmmsg/ |
| sendmmsg01.c | 24 struct mmsghdr msg[2]; local 46 memset(msg, 0, sizeof(msg)); 47 msg[0].msg_hdr.msg_iov = msg1; 48 msg[0].msg_hdr.msg_iovlen = 2; 50 msg[1].msg_hdr.msg_iov = &msg2; 51 msg[1].msg_hdr.msg_iovlen = 1; 53 retval = sendmmsg(send_sockfd, msg, 2, 0);
|
| /external/ltp/testcases/kernel/syscalls/setns/ |
| setns01.c | 46 const char *msg; member in struct:testcase_t 68 .msg = "invalid fd", 75 .msg = "regular file fd", 82 .msg = "invalid ns_type", 89 .msg = "mismatch ns_type/fd", 95 .msg = "without CAP_SYS_ADMIN", 164 tst_resm(TINFO, "skip %s", tdat->msg); 172 tst_resm(TPASS, "%s exp_errno=%d", t->msg, 176 t->msg, t->exp_errno); 178 tst_resm(TFAIL, "%s ret=%d expected=%d", t->msg, [all...] |
| /external/ltp/testcases/network/nfs/nfs_stress/ |
| nfs01_open_files.c | 85 const char msg[] = "I Love Linux!!!\n"; local 86 int msg_len = strlen(msg); 88 rc = write(fd, msg, msg_len);
|
| /external/nanopb-c/tests/encode_unittests/ |
| encode_unittests.c | 197 IntegerArray msg = {5, {1, 2, 3, 4, 5}}; local 201 TEST(WRITES(pb_encode(&s, IntegerArray_fields, &msg), "\x0A\x05\x01\x02\x03\x04\x05")) 203 msg.data_count = 0; 204 TEST(WRITES(pb_encode(&s, IntegerArray_fields, &msg), "")) 206 msg.data_count = 10; 207 TEST(!pb_encode(&s, IntegerArray_fields, &msg)) 213 FloatArray msg = {1, {99.0f}}; local 217 TEST(WRITES(pb_encode(&s, FloatArray_fields, &msg), 220 msg.data_count = 0; 221 TEST(WRITES(pb_encode(&s, FloatArray_fields, &msg), "")) 230 FloatArray msg = {1, {99.0f}}; local 244 CallbackArray msg; local 255 IntegerContainer msg = {{5, {1,2,3,4,5}}}; local 265 BytesMessage msg = {{3, "xyz"}}; local 279 IntegerContainer msg = {{5, {1,2,3,4,5}}}; local 287 IntegerContainer msg = {{5, {1,2,3,4,5}}}; local 298 CallbackContainer msg; local 324 StringMessage msg = {"0123456789"}; local 337 StringPointerContainer msg = StringPointerContainer_init_zero; local [all...] |
| /external/openssh/ |
| gss-genr.c | 95 gss_buffer_desc msg = GSS_C_EMPTY_BUFFER; local 111 GSS_C_GSS_CODE, ctxt->oid, &ctx, &msg); 113 buffer_append(&b, msg.value, msg.length); 116 gss_release_buffer(&lmin, &msg); 122 GSS_C_MECH_CODE, ctxt->oid, &ctx, &msg); 124 buffer_append(&b, msg.value, msg.length); 127 gss_release_buffer(&lmin, &msg);
|
| sandbox-seccomp-filter.c | 272 void mm_log_handler(LogLevel level, const char *msg, void *ctx); 277 char msg[256]; local 279 snprintf(msg, sizeof(msg), 282 mm_log_handler(SYSLOG_LEVEL_FATAL, msg, pmonitor);
|
| ssh-pkcs11-client.c | 113 Buffer msg; local 121 buffer_init(&msg); 122 buffer_put_char(&msg, SSH2_AGENTC_SIGN_REQUEST); 123 buffer_put_string(&msg, blob, blen); 124 buffer_put_string(&msg, from, flen); 125 buffer_put_int(&msg, 0); 127 send_msg(&msg); 128 buffer_clear(&msg); 130 if (recv_msg(&msg) == SSH2_AGENT_SIGN_RESPONSE) { 131 signature = buffer_get_string(&msg, &slen) 193 Buffer msg; local 227 Buffer msg; local [all...] |
| /external/perfetto/src/perfetto_cmd/ |
| packet_writer_unittest.cc | 46 protozero::HeapBuffered<TracePacketZero> msg; local 47 fill_function(msg.get()); 48 msg->Finalize(); 49 std::vector<uint8_t> buf = msg.SerializeAsArray(); 92 packets.push_back(CreateTracePacket([](TracePacketZero* msg) { 93 auto* for_testing = msg->set_for_testing(); 120 packets.push_back(CreateTracePacket([](TracePacketZero* msg) { 121 auto* for_testing = msg->set_for_testing(); 183 packets.push_back(CreateTracePacket([](TracePacketZero* msg) { 184 auto* for_testing = msg->set_for_testing() [all...] |
| /external/perfetto/src/profiling/memory/ |
| unwinding_unittest.cc | 89 RecordMemory __attribute__((noinline)) GetRecord(WireMessage* msg) { 113 *msg = {}; 114 msg->alloc_header = metadata.get(); 115 msg->payload = reinterpret_cast<char*>(payload.get()); 116 msg->payload_size = static_cast<size_t>(stack_size); 133 WireMessage msg; local 134 auto record = GetRecord(&msg); 136 ASSERT_TRUE(DoUnwind(&msg, &metadata, &out));
|
| /external/proguard/src/proguard/gui/ |
| ProGuardRunnable.java | 99 msg("errorProcessing"), 108 System.out.println(msg("outOfMemoryInfo", configurationFileName)); 112 msg("outOfMemory"), 113 msg("errorProcessing"), 139 private String msg(String messageKey) method in class:ProGuardRunnable 149 private String msg(String messageKey, method in class:ProGuardRunnable
|
| ReTraceRunnable.java | 105 msg("errorReTracing"), 114 System.out.println(msg("outOfMemory")); 118 msg("outOfMemory"), 119 msg("errorReTracing"), 145 private String msg(String messageKey) method in class:ReTraceRunnable
|
| /external/protobuf/python/google/protobuf/pyext/ |
| repeated_scalar_container.cc | 271 const Message& msg = reflection->GetRepeatedMessage( local 275 cmsg->message = const_cast<Message*>(&msg);
|
| /external/python/cpython3/Python/ |
| importdl.c | 137 PyObject *msg; local 138 msg = PyUnicode_FromFormat( 142 if (msg == NULL) 144 PyErr_SetImportError(msg, name_unicode, path); 145 Py_DECREF(msg);
|
| /external/slf4j/integration/src/test/java/org/slf4j/ |
| VersionMismatchAssertionTest.java | 54 String msg = "hello world " + diff; local 55 logger.info(msg); 64 assertTrue(s2.contains(msg));
|
| /external/slf4j/slf4j-api/src/main/java/org/slf4j/ |
| MDC.java | 93 String msg = ncde.getMessage(); local 94 if (msg != null && msg.indexOf("StaticMDCBinder") != -1) {
|
| /external/strace/ |
| netlink_inet_diag.c | 395 struct inet_diag_msg msg = { .idiag_family = family }; local 396 size_t offset = sizeof(msg.idiag_family); 399 PRINT_FIELD_XVAL("{", msg, idiag_family, addrfams, "AF_???"); 401 if (len >= sizeof(msg)) { 403 sizeof(msg) - offset, 404 (char *) &msg + offset)) { 405 PRINT_FIELD_XVAL("", msg, idiag_state, 407 PRINT_FIELD_U(", ", msg, idiag_timer); 408 PRINT_FIELD_U(", ", msg, idiag_retrans); 409 PRINT_FIELD_INET_DIAG_SOCKID(", ", msg, id [all...] |
| /external/strace/tests/ |
| netlink_route.c | 229 const struct ifaddrmsg msg = { local 236 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 238 TEST_NL_ROUTE(fd, nlh0, RTM_GETADDR, msg, 240 PRINT_FIELD_U(", ", msg, ifa_prefixlen); 250 static const struct rtmsg msg = { local 261 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 263 TEST_NL_ROUTE(fd, nlh0, RTM_GETROUTE, msg, 265 PRINT_FIELD_U(", ", msg, rtm_dst_len); 266 PRINT_FIELD_U(", ", msg, rtm_src_len); 279 struct rtmsg msg = local 305 const struct ndmsg msg = { local 325 static const struct ndtmsg msg = { local 339 const struct tcmsg msg = { local 360 struct tcamsg msg = { local 375 const struct ifaddrlblmsg msg = { local 398 static const struct dcbmsg msg = { local 414 static const struct netconfmsg msg = { local 430 const struct br_port_msg msg = { local 446 static const struct rtgenmsg msg = { local [all...] |
| nlattr_ifinfomsg.c | 68 struct ifinfomsg *const msg = NLMSG_DATA(nlh); local 69 SET_STRUCT(struct ifinfomsg, msg,
|
| nlattr_rtmsg.c | 50 struct rtmsg *const msg = NLMSG_DATA(nlh); local 51 SET_STRUCT(struct rtmsg, msg,
|
| /external/strace/tests-m32/ |
| netlink_route.c | 229 const struct ifaddrmsg msg = { local 236 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 238 TEST_NL_ROUTE(fd, nlh0, RTM_GETADDR, msg, 240 PRINT_FIELD_U(", ", msg, ifa_prefixlen); 250 static const struct rtmsg msg = { local 261 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 263 TEST_NL_ROUTE(fd, nlh0, RTM_GETROUTE, msg, 265 PRINT_FIELD_U(", ", msg, rtm_dst_len); 266 PRINT_FIELD_U(", ", msg, rtm_src_len); 279 struct rtmsg msg = local 305 const struct ndmsg msg = { local 325 static const struct ndtmsg msg = { local 339 const struct tcmsg msg = { local 360 struct tcamsg msg = { local 375 const struct ifaddrlblmsg msg = { local 398 static const struct dcbmsg msg = { local 414 static const struct netconfmsg msg = { local 430 const struct br_port_msg msg = { local 446 static const struct rtgenmsg msg = { local [all...] |
| nlattr_ifinfomsg.c | 68 struct ifinfomsg *const msg = NLMSG_DATA(nlh); local 69 SET_STRUCT(struct ifinfomsg, msg,
|
| nlattr_rtmsg.c | 50 struct rtmsg *const msg = NLMSG_DATA(nlh); local 51 SET_STRUCT(struct rtmsg, msg,
|
| /external/strace/tests-mx32/ |
| netlink_route.c | 229 const struct ifaddrmsg msg = { local 236 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 238 TEST_NL_ROUTE(fd, nlh0, RTM_GETADDR, msg, 240 PRINT_FIELD_U(", ", msg, ifa_prefixlen); 250 static const struct rtmsg msg = { local 261 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 263 TEST_NL_ROUTE(fd, nlh0, RTM_GETROUTE, msg, 265 PRINT_FIELD_U(", ", msg, rtm_dst_len); 266 PRINT_FIELD_U(", ", msg, rtm_src_len); 279 struct rtmsg msg = local 305 const struct ndmsg msg = { local 325 static const struct ndtmsg msg = { local 339 const struct tcmsg msg = { local 360 struct tcamsg msg = { local 375 const struct ifaddrlblmsg msg = { local 398 static const struct dcbmsg msg = { local 414 static const struct netconfmsg msg = { local 430 const struct br_port_msg msg = { local 446 static const struct rtgenmsg msg = { local [all...] |