Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 3868) sorted by relevance

12345678910>>...155

/third_party/lwip/src/netif/ppp/
Dpppapi.c62 struct pppapi_msg *msg = (struct pppapi_msg *)(void*)m; in pppapi_do_ppp_set_default() local
64 ppp_set_default(msg->msg.ppp); in pppapi_do_ppp_set_default()
76 PPPAPI_VAR_DECLARE(msg); in pppapi_set_default()
77 PPPAPI_VAR_ALLOC(msg); in pppapi_set_default()
79 PPPAPI_VAR_REF(msg).msg.ppp = pcb; in pppapi_set_default()
80 err = tcpip_api_call(pppapi_do_ppp_set_default, &PPPAPI_VAR_REF(msg).call); in pppapi_set_default()
81 PPPAPI_VAR_FREE(msg); in pppapi_set_default()
95 struct pppapi_msg *msg = (struct pppapi_msg *)(void*)m; in pppapi_do_ppp_set_notify_phase_callback() local
97 ppp_set_notify_phase_callback(msg->msg.ppp, msg->msg.msg.setnotifyphasecb.notify_phase_cb); in pppapi_do_ppp_set_notify_phase_callback()
109 PPPAPI_VAR_DECLARE(msg); in pppapi_set_notify_phase_callback()
[all …]
/third_party/protobuf/objectivec/Tests/
DGPBSwiftTests.swift39 let msg = Message2() in testProto2Basics() variable
43 msg.optionalInt32 = 100 in testProto2Basics()
44 msg.optionalString = "abc" in testProto2Basics()
45 msg.optionalEnum = .bar in testProto2Basics()
47 msg.optional = msg2 in testProto2Basics()
49 msg.optionalGroup = msg3 in testProto2Basics()
50 msg.repeatedInt32Array.addValue(300) in testProto2Basics()
51 msg.repeatedInt32Array.addValue(301) in testProto2Basics()
52 msg.repeatedStringArray.add("mno") in testProto2Basics()
53 msg.repeatedStringArray.add("pqr") in testProto2Basics()
[all …]
DGPBMessageTests+Runtime.m342 //% Message2 *msg = [[Message2 alloc] init];
343 //% XCTAssertFalse(msg.hasOptional##FIELD);
344 //% XCTAssertFalse(GPBMessageHasFieldNumberSet(msg, Message2_FieldNumber_Optional##FIELD));
345 //% msg.optional##FIELD = NON_ZERO_VALUE;
346 //% XCTAssertTrue(msg.hasOptional##FIELD);
347 //% XCTAssertTrue(GPBMessageHasFieldNumberSet(msg, Message2_FieldNumber_Optional##FIELD));
348 //% [msg release];
351 //% Message2 *msg = [[Message2 alloc] init];
352 //% XCTAssertFalse(msg.hasOptional##FIELD);
353 //% XCTAssertFalse(GPBMessageHasFieldNumberSet(msg, Message2_FieldNumber_Optional##FIELD));
[all …]
/third_party/protobuf/js/compatibility_tests/v3.0.0/
Dproto3_test.js73 var msg = new proto.jspb.test.TestProto3();
75 assertEquals(msg.getOptionalInt32(), 0);
76 assertEquals(msg.getOptionalInt64(), 0);
77 assertEquals(msg.getOptionalUint32(), 0);
78 assertEquals(msg.getOptionalUint64(), 0);
79 assertEquals(msg.getOptionalSint32(), 0);
80 assertEquals(msg.getOptionalSint64(), 0);
81 assertEquals(msg.getOptionalFixed32(), 0);
82 assertEquals(msg.getOptionalFixed64(), 0);
83 assertEquals(msg.getOptionalSfixed32(), 0);
[all …]
/third_party/protobuf/js/compatibility_tests/v3.1.0/
Dproto3_test.js73 var msg = new proto.jspb.test.TestProto3();
75 assertEquals(msg.getOptionalInt32(), 0);
76 assertEquals(msg.getOptionalInt64(), 0);
77 assertEquals(msg.getOptionalUint32(), 0);
78 assertEquals(msg.getOptionalUint64(), 0);
79 assertEquals(msg.getOptionalSint32(), 0);
80 assertEquals(msg.getOptionalSint64(), 0);
81 assertEquals(msg.getOptionalFixed32(), 0);
82 assertEquals(msg.getOptionalFixed64(), 0);
83 assertEquals(msg.getOptionalSfixed32(), 0);
[all …]
/third_party/protobuf/js/
Dproto3_test.js90 var msg = new proto.jspb.test.TestProto3();
93 msg.setSingularString('optionalString');
94 assertEquals(msg.getSingularString(), 'optionalString');
97 msg.setSingularString('');
98 assertEquals(msg.getSingularString(), '');
101 assertTrue(jspb.Message.equals(msg, new proto.jspb.test.TestProto3()));
108 var msg = new proto.jspb.test.TestProto3();
110 assertEquals(msg.getSingularInt32(), 0);
111 assertEquals(msg.getSingularInt64(), 0);
112 assertEquals(msg.getSingularUint32(), 0);
[all …]
Dmessage.js316 jspb.Message.getIndex_ = function(msg, fieldNumber) { argument
317 return fieldNumber + msg.arrayIndexOffset_;
332 jspb.Message.getFieldNumber_ = function(msg, index) { argument
333 return index - msg.arrayIndexOffset_;
353 msg, data, messageId, suggestedPivot, repeatedFields, opt_oneofFields) { argument
354 msg.wrappers_ = null;
358 msg.messageId_ = messageId ? String(messageId) : undefined;
362 msg.arrayIndexOffset_ = messageId === 0 ? -1 : 0;
363 msg.array = data;
364 jspb.Message.initPivotAndExtensionObject_(msg, suggestedPivot);
[all …]
/third_party/lwip/src/api/
Dtcpip.c71 static void tcpip_thread_handle_msg(struct tcpip_msg *msg);
75 #define TCPIP_MBOX_FETCH(mbox, msg) sys_mbox_fetch(mbox, msg) argument
78 #define TCPIP_MBOX_FETCH(mbox, msg) tcpip_timeouts_mbox_fetch(mbox, msg) argument
88 tcpip_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg) in tcpip_timeouts_mbox_fetch() argument
98 sys_arch_mbox_fetch(mbox, msg, 0); in tcpip_timeouts_mbox_fetch()
108 res = sys_arch_mbox_fetch(mbox, msg, sleeptime); in tcpip_timeouts_mbox_fetch()
134 struct tcpip_msg *msg; in tcpip_thread() local
147 TCPIP_MBOX_FETCH(&tcpip_mbox, (void **)&msg); in tcpip_thread()
148 if (msg == NULL) { in tcpip_thread()
153 tcpip_thread_handle_msg(msg); in tcpip_thread()
[all …]
Dnetifapi.c65 struct netifapi_msg *msg = (struct netifapi_msg *)(void *)m; in netifapi_do_netif_add() local
67 if (!netif_add( msg->netif, get_curr_process_net_group(), in netifapi_do_netif_add()
69 if (!netif_add( msg->netif, in netifapi_do_netif_add()
72 API_EXPR_REF(msg->msg.add.ipaddr), in netifapi_do_netif_add()
73 API_EXPR_REF(msg->msg.add.netmask), in netifapi_do_netif_add()
74 API_EXPR_REF(msg->msg.add.gw), in netifapi_do_netif_add()
76 msg->msg.add.state, in netifapi_do_netif_add()
77 msg->msg.add.init, in netifapi_do_netif_add()
78 msg->msg.add.input)) { in netifapi_do_netif_add()
94 struct netifapi_msg *msg = (struct netifapi_msg *)(void *)m; in netifapi_do_netif_set_addr() local
[all …]
Dapi_msg.c99 lwip_netconn_is_deallocated_msg(void *msg) in lwip_netconn_is_deallocated_msg() argument
101 if (msg == &netconn_deleted) { in lwip_netconn_is_deallocated_msg()
131 lwip_netconn_is_err_msg(void *msg, err_t *err) in lwip_netconn_is_err_msg() argument
135 if (msg == &netconn_aborted) { in lwip_netconn_is_err_msg()
138 } else if (msg == &netconn_reset) { in lwip_netconn_is_err_msg()
141 } else if (msg == &netconn_closed) { in lwip_netconn_is_err_msg()
297 void *msg; local
324 msg = p;
327 msg = LWIP_CONST_CAST(void *, &netconn_closed);
331 if (sys_mbox_trypost(&conn->recvmbox, msg) != ERR_OK) {
[all …]
Dapi_lib.c87 #define API_MSG_VAR_ALLOC_ACCEPT(msg) API_MSG_VAR_ALLOC(msg) argument
88 #define API_MSG_VAR_FREE_ACCEPT(msg) API_MSG_VAR_FREE(msg) argument
90 #define API_MSG_VAR_ALLOC_ACCEPT(msg) argument
91 #define API_MSG_VAR_FREE_ACCEPT(msg) argument
152 API_MSG_VAR_DECLARE(msg); in netconn_new_with_proto_and_callback()
153 API_MSG_VAR_ALLOC_RETURN_NULL(msg); in netconn_new_with_proto_and_callback()
159 API_MSG_VAR_REF(msg).msg.n.proto = proto; in netconn_new_with_proto_and_callback()
160 API_MSG_VAR_REF(msg).conn = conn; in netconn_new_with_proto_and_callback()
161 err = netconn_apimsg(lwip_netconn_do_newconn, &API_MSG_VAR_REF(msg)); in netconn_new_with_proto_and_callback()
174 API_MSG_VAR_FREE(msg); in netconn_new_with_proto_and_callback()
[all …]
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
Dproto_test.js102 function fillAllFields(msg) { argument
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.setOptionalFixed64(0x1234567800000000);
113 msg.setOptionalSfixed32(-1234);
[all …]
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
Dproto_test.js102 function fillAllFields(msg) { argument
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.setOptionalFixed64(0x1234567800000000);
113 msg.setOptionalSfixed32(-1234);
[all …]
/third_party/protobuf/js/binary/
Dproto_test.js106 function fillAllFields(msg) { argument
107 msg.setOptionalInt32(-42);
110 msg.setOptionalInt64(-0x7fffffff00000000);
111 msg.setOptionalUint32(0x80000000);
112 msg.setOptionalUint64(0xf000000000000000);
113 msg.setOptionalSint32(-100);
114 msg.setOptionalSint64(-0x8000000000000000);
115 msg.setOptionalFixed32(1234);
116 msg.setOptionalFixed64(0x1234567800000000);
117 msg.setOptionalSfixed32(-1234);
[all …]
/third_party/protobuf/php/ext/google/protobuf/
Dphp-upb.h36 #define UPB_PTR_AT(msg, ofs, type) ((type*)((char*)(msg) + (ofs))) argument
38 #define UPB_READ_ONEOF(msg, fieldtype, offset, case_offset, case_val, default) \ argument
39 *UPB_PTR_AT(msg, case_offset, int) == case_val \
40 ? *UPB_PTR_AT(msg, offset, fieldtype) \
43 #define UPB_WRITE_ONEOF(msg, fieldtype, offset, value, case_offset, case_val) \ argument
44 *UPB_PTR_AT(msg, case_offset, int) = case_val; \
45 *UPB_PTR_AT(msg, offset, fieldtype) = value;
250 char msg[UPB_STATUS_MAX_MESSAGE]; /* Error message; NULL-terminated. */ member
258 void upb_status_seterrmsg(upb_status *status, const char *msg);
950 #define PTR_AT(msg, ofs, type) (type*)((const char*)msg + ofs) argument
[all …]
/third_party/protobuf/src/google/protobuf/
Dproto3_arena_unittest.cc201 protobuf_unittest::TestProto3Optional msg; in TEST() local
202 EXPECT_FALSE(msg.has_optional_int32()); in TEST()
203 msg.set_optional_int32(0); in TEST()
204 EXPECT_TRUE(msg.has_optional_int32()); in TEST()
207 msg.SerializeToString(&serialized); in TEST()
210 msg.clear_optional_int32(); in TEST()
211 EXPECT_FALSE(msg.has_optional_int32()); in TEST()
212 msg.SerializeToString(&serialized); in TEST()
234 protobuf_unittest::TestProto3Optional msg; in TEST() local
235 EXPECT_FALSE(msg.has_optional_int32()); in TEST()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_parse.c37 struct p2p_message *msg) in p2p_parse_attribute() argument
50 msg->capability = data; in p2p_parse_attribute()
61 msg->device_id = data; in p2p_parse_attribute()
63 MAC2STR(msg->device_id)); in p2p_parse_attribute()
71 msg->go_intent = data; in p2p_parse_attribute()
81 msg->status = data; in p2p_parse_attribute()
95 msg->listen_channel = data; in p2p_parse_attribute()
112 msg->operating_channel = data; in p2p_parse_attribute()
124 msg->channel_list = data; in p2p_parse_attribute()
125 msg->channel_list_len = len; in p2p_parse_attribute()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_parse.c37 struct p2p_message *msg) in p2p_parse_attribute() argument
50 msg->capability = data; in p2p_parse_attribute()
61 msg->device_id = data; in p2p_parse_attribute()
63 MAC2STR_SEC(msg->device_id)); in p2p_parse_attribute()
71 msg->go_intent = data; in p2p_parse_attribute()
81 msg->status = data; in p2p_parse_attribute()
95 msg->listen_channel = data; in p2p_parse_attribute()
112 msg->operating_channel = data; in p2p_parse_attribute()
124 msg->channel_list = data; in p2p_parse_attribute()
125 msg->channel_list_len = len; in p2p_parse_attribute()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_attr_build.c21 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg) in wps_build_public_key() argument
81 wpabuf_put_be16(msg, ATTR_PUBLIC_KEY); in wps_build_public_key()
82 wpabuf_put_be16(msg, wpabuf_len(pubkey)); in wps_build_public_key()
83 wpabuf_put_buf(msg, pubkey); in wps_build_public_key()
97 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type) in wps_build_req_type() argument
100 wpabuf_put_be16(msg, ATTR_REQUEST_TYPE); in wps_build_req_type()
101 wpabuf_put_be16(msg, 1); in wps_build_req_type()
102 wpabuf_put_u8(msg, type); in wps_build_req_type()
107 int wps_build_resp_type(struct wpabuf *msg, enum wps_response_type type) in wps_build_resp_type() argument
110 wpabuf_put_be16(msg, ATTR_RESPONSE_TYPE); in wps_build_resp_type()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_attr_build.c21 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg) in wps_build_public_key() argument
81 wpabuf_put_be16(msg, ATTR_PUBLIC_KEY); in wps_build_public_key()
82 wpabuf_put_be16(msg, wpabuf_len(pubkey)); in wps_build_public_key()
83 wpabuf_put_buf(msg, pubkey); in wps_build_public_key()
97 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type) in wps_build_req_type() argument
100 wpabuf_put_be16(msg, ATTR_REQUEST_TYPE); in wps_build_req_type()
101 wpabuf_put_be16(msg, 1); in wps_build_req_type()
102 wpabuf_put_u8(msg, type); in wps_build_req_type()
107 int wps_build_resp_type(struct wpabuf *msg, enum wps_response_type type) in wps_build_resp_type() argument
110 wpabuf_put_be16(msg, ATTR_RESPONSE_TYPE); in wps_build_resp_type()
[all …]
/third_party/FreeBSD/sys/dev/usb/net/
Dif_urndis.c50 struct urndis_query_req *msg, uint16_t len,
53 struct urndis_set_req *msg, uint16_t len);
186 } msg; in urndis_attach() local
250 (void)memset_s(msg.ibuf.eaddr, sizeof(msg.ibuf.eaddr), 0, sizeof(msg.ibuf.eaddr)); in urndis_attach()
253 &msg.hdr.query, sizeof(msg.hdr.query) + sizeof(msg.ibuf.eaddr), in urndis_attach()
269 msg.ibuf.filter = htole32(sc->sc_filter); in urndis_attach()
272 &msg.hdr.set, sizeof(msg.hdr.set) + sizeof(msg.ibuf.filter)); in urndis_attach()
504 const struct urndis_init_comp *msg; in urndis_ctrl_handle_init() local
506 msg = (const struct urndis_init_comp *)hdr; in urndis_ctrl_handle_init()
511 le32toh(msg->rm_len), in urndis_ctrl_handle_init()
[all …]
/third_party/python/Lib/test/test_email/
Dtest_email.py57 msg = self._msgobj('msg_20.txt')
58 eq(msg.get_all('cc'), ['ccc@zzz.org', 'ddd@zzz.org', 'eee@zzz.org'])
59 eq(msg.get_all('xx', 'n/a'), 'n/a')
63 msg = Message()
64 eq(msg.get_charset(), None)
66 msg.set_charset(charset)
67 eq(msg['mime-version'], '1.0')
68 eq(msg.get_content_type(), 'text/plain')
69 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"')
70 eq(msg.get_param('charset'), 'iso-8859-1')
[all …]
/third_party/mesa3d/src/freedreno/decode/
Dcrashdec-hfi.c39 #define HFI_HEADER_ID(msg) ((msg) & 0xff) argument
41 #define HFI_HEADER_SIZE(msg) (((msg) >> 8) & 0xff) argument
42 #define HFI_HEADER_TYPE(msg) (((msg) >> 16) & 0xf) argument
43 #define HFI_HEADER_SEQNUM(msg) (((msg) >> 20) & 0xfff) argument
84 decode_F2H_MSG_ACK(struct a6xx_hfi_msg_response *msg) in decode_F2H_MSG_ACK() argument
86 unsigned msgid = HFI_HEADER_ID(msg->ret_header); in decode_F2H_MSG_ACK()
89 hfi_msg_name(msgid), msgid, HFI_HEADER_SIZE(msg->ret_header), in decode_F2H_MSG_ACK()
90 HFI_HEADER_TYPE(msg->ret_header), HFI_HEADER_SEQNUM(msg->ret_header)); in decode_F2H_MSG_ACK()
91 printf("\t\t\t\terror: %u\n", msg->error); in decode_F2H_MSG_ACK()
103 decode_F2H_MSG_ERROR(struct a6xx_hfi_msg_error *msg) in decode_F2H_MSG_ERROR() argument
[all …]
/third_party/node/deps/openssl/openssl/ssl/
Dt1_trce.c24 # define ssl_trace_list(bio, indent, msg, msglen, value, table) \ argument
25 do_ssl_trace_list(bio, indent, msg, msglen, value, \
41 const unsigned char *msg, size_t msglen, in do_ssl_trace_list() argument
49 val = msg[0]; in do_ssl_trace_list()
51 val = (val << 8) | msg[1]; in do_ssl_trace_list()
54 msg += vlen; in do_ssl_trace_list()
615 const unsigned char *msg, size_t msglen) in ssl_print_hex() argument
622 BIO_printf(bio, "%02X", msg[i]); in ssl_print_hex()
900 const unsigned char *msg = *msgin; in ssl_print_extensions() local
909 extslen = (msg[0] << 8) | msg[1]; in ssl_print_extensions()
[all …]
/third_party/openssl/ssl/
Dt1_trce.c24 # define ssl_trace_list(bio, indent, msg, msglen, value, table) \ argument
25 do_ssl_trace_list(bio, indent, msg, msglen, value, \
41 const unsigned char *msg, size_t msglen, in do_ssl_trace_list() argument
49 val = msg[0]; in do_ssl_trace_list()
51 val = (val << 8) | msg[1]; in do_ssl_trace_list()
54 msg += vlen; in do_ssl_trace_list()
615 const unsigned char *msg, size_t msglen) in ssl_print_hex() argument
622 BIO_printf(bio, "%02X", msg[i]); in ssl_print_hex()
900 const unsigned char *msg = *msgin; in ssl_print_extensions() local
909 extslen = (msg[0] << 8) | msg[1]; in ssl_print_extensions()
[all …]

12345678910>>...155