HomeSort by relevance Sort by last modified time
    Searched defs:msg (Results 176 - 200 of 4440) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/icu/icu4c/source/tools/genbrk/
genbrk.cpp 179 char msg[1024]; local
182 sprintf(msg, "genbrk writes dummy %s because of UCONFIG_NO_BREAK_ITERATION and/or UCONFIG_NO_FILE_IO, see uconfig.h", outFileName);
183 fprintf(stderr, "%s\n", msg);
187 udata_writeBlock(pData, msg, strlen(msg));
  /external/jemalloc/test/unit/
mq.c 15 mq_msg_t msg; local
22 mq_put(&mq, &msg);
24 assert_ptr_eq(mq_tryget(&mq), &msg, "mq_tryget() should return msg"); local
26 mq_put(&mq, &msg);
27 assert_ptr_eq(mq_get(&mq), &msg, "mq_get() should return msg"); local
40 mq_msg_t *msg = mq_get(mq); local
41 assert_ptr_not_null(msg, "mq_get() should never return NULL");
42 dallocx(msg, 0)
54 mq_msg_t *msg; local
    [all...]
  /external/kmod/tools/
log.c 117 char *msg; local
124 if (vasprintf(&msg, fmt, args) < 0)
125 msg = NULL;
127 if (msg == NULL)
133 syslog(prio, "%s: %s", prioname, msg);
136 prioname, msg);
137 free(msg);
  /external/libcxx/utils/google-benchmark/src/
csv_reporter.cc 66 std::string msg = run.error_message; local
67 ReplaceAll(&msg, "\"", "\"\"");
68 Out << '"' << msg << "\"\n"; local
  /external/libnl/lib/netfilter/
log_msg.c 68 struct nfnl_log_msg *msg; local
73 msg = nfnl_log_msg_alloc();
74 if (!msg)
77 msg->ce_msgtype = nlh->nlmsg_type;
84 nfnl_log_msg_set_family(msg, nfnlmsg_family(nlh));
91 nfnl_log_msg_set_hwproto(msg, hdr->hw_protocol);
92 nfnl_log_msg_set_hook(msg, hdr->hook);
97 nfnl_log_msg_set_mark(msg, ntohl(nla_get_u32(attr)));
106 nfnl_log_msg_set_timestamp(msg, &tv);
111 nfnl_log_msg_set_indev(msg, ntohl(nla_get_u32(attr)))
173 struct nfnl_log_msg *msg; local
    [all...]
nfnl.c 36 * struct nl_msg *msg;
39 * msg = nlmsg_alloc();
42 * hdr = nfnlmsg_put(msg, PID, SEQ, SUBSYS, TYPE, NLM_F_ECHO,
46 * nla_put_u32(msg, 1, 0x10);
49 * nl_send_auto_complete(sk, msg);
52 * nlmsg_free(msg);
174 static int nfnlmsg_append(struct nl_msg *msg, uint8_t family, uint16_t res_id)
178 nfg = nlmsg_reserve(msg, sizeof(*nfg), NLMSG_ALIGNTO);
185 NL_DBG(2, "msg %p: Added nfnetlink header family=%d res_id=%d\n",
186 msg, family, res_id)
203 struct nl_msg *msg; local
    [all...]
  /external/libnl/tests/
test-genl.c 48 static int parse_cb(struct nl_msg *msg, void *arg)
50 return genl_handle_msg(msg, NULL);
74 struct nl_msg *msg; local
90 msg = nlmsg_alloc();
91 if (msg == NULL)
94 hdr = genlmsg_put(msg, NL_AUTO_PORT, NL_AUTO_SEQ, ops.o_id,
99 if ((err = nla_put_u32(msg, TASKSTATS_CMD_ATTR_PID, 1)) < 0)
102 if ((err = nl_send_auto_complete(sock, msg)) < 0)
105 nlmsg_free(msg);
  /external/libvncserver/client_examples/
backchannel.c 31 backChannelMsg msg; local
34 msg.type = rfbBackChannel;
35 msg.size = rfbClientSwap32IfLE(length);
36 if(!WriteToRFBServer(client, (char*)&msg, sizeof(msg)) ||
45 backChannelMsg msg; local
53 if(!ReadFromRFBServer(client, ((char*)&msg)+1, sizeof(msg)-1))
55 msg.size = rfbClientSwap32IfLE(msg.size)
    [all...]
  /external/libvncserver/examples/
backchannel.c 40 backChannelMsg msg; local
47 msg.type = rfbBackChannel;
48 msg.size = Swap32IfLE(length);
49 if((n = rfbWriteExact(cl, (char*)&msg, sizeof(msg))) <= 0 ||
62 backChannelMsg msg; local
65 if((n = rfbReadExact(cl, ((char*)&msg)+1, sizeof(backChannelMsg)-1)) <= 0) {
71 msg.size = Swap32IfLE(msg.size);
72 if((text = malloc(msg.size)) == NULL)
    [all...]
  /external/ltp/lib/tests/
trerrno.c 44 char msg[4096], *pos; local
72 if (!fgets(msg, sizeof(msg), f))
76 pos = strchr(msg, '\n');
80 tst_resm(TINFO, "%s", msg);
81 if (strstr(msg, "EPERM"))
83 if (strstr(msg, "EINVAL"))
  /external/ltp/testcases/kernel/syscalls/fstatfs/
fstatfs01.c 61 const char *msg; member in struct:tcase
85 tst_resm(TFAIL | TTERRNO, "%s", tcases[i].msg);
88 tcases[i].msg, stats.f_type);
  /external/mesa3d/src/gallium/targets/graw-gdi/
graw_gdi.c 143 MSG msg; local
145 while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {
146 if (msg.message == WM_QUIT) {
149 TranslateMessage(&msg);
150 DispatchMessage(&msg);
  /external/mesa3d/src/glx/apple/
apple_glx_log.c 75 aslmsg msg; local
101 msg = asl_new(ASL_TYPE_MSG);
102 if (msg) {
104 asl_set(msg, "File", file);
106 asl_set(msg, "Function", function);
111 asl_set(msg, "Line", _line);
119 asl_set(msg, "Thread", _thread);
125 asl_vlog(aslc, msg, level, fmt, args);
126 if (msg)
127 asl_free(msg);
    [all...]
  /external/messageformat/javatests/com/android/messageformat/
SimpleMessageFormatTest.java 21 String msg = "{gender,select,female{her book}male{his book}other{their book}}"; local
23 MessageFormat.formatNamedArgs(Locale.US, msg, "gender", "female"));
25 MessageFormat.formatNamedArgs(Locale.US, msg, "gender", "male"));
27 MessageFormat.formatNamedArgs(Locale.US, msg, "gender", "unknown"));
34 String msg = local
39 MessageFormat.formatNamedArgs(sr, msg, "num", 1, "name", "Peter"));
41 MessageFormat.formatNamedArgs(sr, msg, "num", 2, "name", "Paul"));
43 MessageFormat.formatNamedArgs(sr, msg, "num", 22, "name", "Mary"));
45 MessageFormat.formatNamedArgs(sr, msg, "num", 33, "name", "John"));
47 MessageFormat.formatNamedArgs(sr, msg, "num", 6, "name", "Yoko"))
52 String msg = local
70 String msg = local
    [all...]
  /external/nanohttpd/samples/src/main/java/fi/iki/elonen/
HelloServer.java 65 String msg = "<html><body><h1>Hello server</h1>\n"; local
68 msg += "<form action='?' method='get'>\n" + " <p>Your name: <input type='text' name='username'></p>\n" + "</form>\n";
70 msg += "<p>Hello, " + parms.get("username") + "!</p>";
73 msg += "</body></html>\n";
75 return newFixedLengthResponse(msg);
  /external/nanopb-c/examples/using_union_messages/
decode.c 69 MsgType1 msg = {}; local
70 status = decode_unionmessage_contents(&stream, MsgType1_fields, &msg);
71 printf("Got MsgType1: %d\n", msg.value);
75 MsgType2 msg = {}; local
76 status = decode_unionmessage_contents(&stream, MsgType2_fields, &msg);
77 printf("Got MsgType2: %s\n", msg.value ? "true" : "false");
81 MsgType3 msg = {}; local
82 status = decode_unionmessage_contents(&stream, MsgType3_fields, &msg);
83 printf("Got MsgType3: %d %d\n", msg.value1, msg.value2);
    [all...]
  /external/oauth/core/src/main/java/net/oauth/
OAuthProblemException.java 53 String msg = super.getMessage(); local
54 if (msg != null)
55 return msg;
56 msg = getProblem();
57 if (msg != null)
58 return msg;
61 msg = response.toString();
62 int eol = msg.indexOf("\n");
64 eol = msg.indexOf("\r");
67 msg = msg.substring(0, eol)
    [all...]
  /external/openssh/
monitor_fdpass.c 55 struct msghdr msg; local
68 memset(&msg, 0, sizeof(msg));
70 msg.msg_accrights = (caddr_t)&fd;
71 msg.msg_accrightslen = sizeof(fd);
74 msg.msg_control = (caddr_t)&cmsgbuf.buf;
75 msg.msg_controllen = sizeof(cmsgbuf.buf);
76 cmsg = CMSG_FIRSTHDR(&msg);
85 msg.msg_iov = &vec;
86 msg.msg_iovlen = 1
116 struct msghdr msg; local
    [all...]
  /external/parameter-framework/upstream/test/functional-tests/include/
StoreLogger.hpp 57 std::string msg; member in struct:parameterFramework::StoreLogger::Log
60 return level == other.level and msg == other.msg;
81 [&pattern](const Log &log) { return log.msg.find(pattern) == std::string::npos; });
115 return os << log.level << log.msg << std::endl;
  /external/python/cpython2/Demo/turtle/
tdemo_bytedesign.py 160 msg = main() variable
161 print msg
  /external/python/cpython2/Lib/
getopt.py 40 msg = '' variable in class:GetoptError
41 def __init__(self, msg, opt=''):
42 self.msg = msg
44 Exception.__init__(self, msg, opt)
47 return self.msg
178 # nice to work them into the error msg
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
MessengerTest.java 26 Message msg = Message.obtain(null, 123); local
27 messenger.send(msg);
  /external/skia/tools/viewer/sk_app/win/
main_win.cpp 65 MSG msg = { 0 }; local
68 while (WM_QUIT != msg.message) {
69 if (PeekMessage(&msg, nullptr, 0, 0, PM_REMOVE)) {
70 TranslateMessage(&msg);
71 DispatchMessage(&msg);
79 return (int)msg.wParam;
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
MediaButtonCallback.java 35 Bundle msg = new Bundle(); local
37 msg.putString("ButtonPressed", "Play");
39 msg.putString("ButtonPressed", "Pause");
41 msg.putString("ButtonPressed", "PlayPause");
43 msg.putString("ButtonPressed", "Stop");
45 msg.putString("ButtonPressed", "Next");
47 msg.putString("ButtonPressed", "Previous");
49 msg.putString("ButtonPressed", "Forward");
51 msg.putString("ButtonPressed", "Rewind");
54 + msg.getString("ButtonPressed"))
    [all...]
  /external/strace/tests/
nlattr.c 47 static const struct msg { struct
52 .nlmsg_len = sizeof(struct msg),
62 struct msg *msg; local
68 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + 2;
69 msg = tail_memdup(&c_msg, msg_len);
70 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len));
71 nla = NLMSG_ATTR(msg, sizeof(msg->udm));
73 rc = sendto(fd, msg, msg_len, MSG_DONTWAIT, NULL, 0)
245 static const struct msg { struct
260 struct msg *msg; local
    [all...]

Completed in 1308 milliseconds

1 2 3 4 5 6 78 91011>>