/external/kernel-headers/original/uapi/linux/ |
D | cec-funcs.h | 14 static inline void cec_msg_active_source(struct cec_msg *msg, __u16 phys_addr) in cec_msg_active_source() argument 16 msg->len = 4; in cec_msg_active_source() 17 msg->msg[0] |= 0xf; /* broadcast */ in cec_msg_active_source() 18 msg->msg[1] = CEC_MSG_ACTIVE_SOURCE; in cec_msg_active_source() 19 msg->msg[2] = phys_addr >> 8; in cec_msg_active_source() 20 msg->msg[3] = phys_addr & 0xff; in cec_msg_active_source() 23 static inline void cec_ops_active_source(const struct cec_msg *msg, in cec_ops_active_source() argument 26 *phys_addr = (msg->msg[2] << 8) | msg->msg[3]; in cec_ops_active_source() 29 static inline void cec_msg_image_view_on(struct cec_msg *msg) in cec_msg_image_view_on() argument 31 msg->len = 2; in cec_msg_image_view_on() [all …]
|
/external/protobuf/objectivec/Tests/ |
D | GPBMessageTests+Runtime.m | 311 //% Message2 *msg = [[Message2 alloc] init]; 312 //% XCTAssertFalse(msg.hasOptional##FIELD); 313 //% XCTAssertFalse(GPBMessageHasFieldNumberSet(msg, Message2_FieldNumber_Optional##FIELD)); 314 //% msg.optional##FIELD = NON_ZERO_VALUE; 315 //% XCTAssertTrue(msg.hasOptional##FIELD); 316 //% XCTAssertTrue(GPBMessageHasFieldNumberSet(msg, Message2_FieldNumber_Optional##FIELD)); 317 //% [msg release]; 320 //% Message2 *msg = [[Message2 alloc] init]; 321 //% XCTAssertFalse(msg.hasOptional##FIELD); 322 //% XCTAssertFalse(GPBMessageHasFieldNumberSet(msg, Message2_FieldNumber_Optional##FIELD)); [all …]
|
D | GPBSwiftTests.swift | 39 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.optionalMessage = 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.addObject("mno") in testProto2Basics() 53 msg.repeatedStringArray.addObject("pqr") in testProto2Basics() [all …]
|
/external/protobuf/js/ |
D | proto3_test.js | 73 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 …]
|
/external/libnl/lib/netfilter/ |
D | log_msg_obj.c | 40 struct nfnl_log_msg *msg = (struct nfnl_log_msg *) c; in log_msg_free_data() local 42 if (msg == NULL) in log_msg_free_data() 45 free(msg->log_msg_payload); in log_msg_free_data() 46 free(msg->log_msg_prefix); in log_msg_free_data() 75 struct nfnl_log_msg *msg = (struct nfnl_log_msg *) a; in log_msg_dump() local 83 if (msg->ce_mask & LOG_MSG_ATTR_PREFIX) in log_msg_dump() 84 nl_dump(p, "%s", msg->log_msg_prefix); in log_msg_dump() 86 if (msg->ce_mask & LOG_MSG_ATTR_INDEV) { in log_msg_dump() 90 msg->log_msg_indev, in log_msg_dump() 93 nl_dump(p, "IN=%d ", msg->log_msg_indev); in log_msg_dump() [all …]
|
D | queue_msg_obj.c | 37 struct nfnl_queue_msg *msg = (struct nfnl_queue_msg *) c; in nfnl_queue_msg_free_data() local 39 if (msg == NULL) in nfnl_queue_msg_free_data() 42 free(msg->queue_msg_payload); in nfnl_queue_msg_free_data() 65 struct nfnl_queue_msg *msg = (struct nfnl_queue_msg *) a; in nfnl_queue_msg_dump() local 73 if (msg->ce_mask & QUEUE_MSG_ATTR_GROUP) in nfnl_queue_msg_dump() 74 nl_dump(p, "GROUP=%u ", msg->queue_msg_group); in nfnl_queue_msg_dump() 76 if (msg->ce_mask & QUEUE_MSG_ATTR_INDEV) { in nfnl_queue_msg_dump() 80 msg->queue_msg_indev, in nfnl_queue_msg_dump() 83 nl_dump(p, "IN=%d ", msg->queue_msg_indev); in nfnl_queue_msg_dump() 86 if (msg->ce_mask & QUEUE_MSG_ATTR_PHYSINDEV) { in nfnl_queue_msg_dump() [all …]
|
/external/libnl/lib/idiag/ |
D | idiag_msg_obj.c | 31 void idiagnl_msg_get(struct idiagnl_msg *msg) in idiagnl_msg_get() argument 33 nl_object_get((struct nl_object *) msg); in idiagnl_msg_get() 36 void idiagnl_msg_put(struct idiagnl_msg *msg) in idiagnl_msg_put() argument 38 nl_object_put((struct nl_object *) msg); in idiagnl_msg_put() 46 struct idiagnl_msg *msg = NULL; in idiagnl_msg_parser() local 49 if ((err = idiagnl_msg_parse(nlh, &msg)) < 0) in idiagnl_msg_parser() 52 err = pp->pp_cb((struct nl_object *) msg, pp); in idiagnl_msg_parser() 53 idiagnl_msg_put(msg); in idiagnl_msg_parser() 134 uint8_t idiagnl_msg_get_family(const struct idiagnl_msg *msg) in idiagnl_msg_get_family() argument 136 return msg->idiag_family; in idiagnl_msg_get_family() [all …]
|
/external/protobuf/js/binary/ |
D | proto_test.js | 102 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 …]
|
/external/libevent/test/ |
D | regress.gen.c | 41 struct msg * 47 struct msg * 50 struct msg *tmp; in msg_new_with_arg() 51 if ((tmp = malloc(sizeof(struct msg))) == NULL) { in msg_new_with_arg() 78 msg_run_expand_to_hold_more(struct msg *msg) in msg_run_expand_to_hold_more() argument 80 int tobe_allocated = msg->run_num_allocated; in msg_run_expand_to_hold_more() 83 new_data = (struct run**) realloc(msg->run_data, in msg_run_expand_to_hold_more() 87 msg->run_data = new_data; in msg_run_expand_to_hold_more() 88 msg->run_num_allocated = tobe_allocated; in msg_run_expand_to_hold_more() 92 msg_run_add(struct msg *msg) in msg_run_add() argument [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_build.c | 21 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 …]
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_parse.c | 37 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 …]
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 66 msg = email.message_from_file(fp) 69 return msg 77 msg = self._msgobj('msg_20.txt') 78 eq(msg.get_all('cc'), ['ccc@zzz.org', 'ddd@zzz.org', 'eee@zzz.org']) 79 eq(msg.get_all('xx', 'n/a'), 'n/a') 83 msg = Message() 84 eq(msg.get_charset(), None) 86 msg.set_charset(charset) 87 eq(msg['mime-version'], '1.0') 88 eq(msg.get_content_type(), 'text/plain') [all …]
|
D | test_email.py | 71 msg = email.message_from_file(fp) 74 return msg 82 msg = self._msgobj('msg_20.txt') 83 eq(msg.get_all('cc'), ['ccc@zzz.org', 'ddd@zzz.org', 'eee@zzz.org']) 84 eq(msg.get_all('xx', 'n/a'), 'n/a') 88 msg = Message() 89 eq(msg.get_charset(), None) 91 msg.set_charset(charset) 92 eq(msg['mime-version'], '1.0') 93 eq(msg.get_content_type(), 'text/plain') [all …]
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 56 msg = self._msgobj('msg_20.txt') 57 eq(msg.get_all('cc'), ['ccc@zzz.org', 'ddd@zzz.org', 'eee@zzz.org']) 58 eq(msg.get_all('xx', 'n/a'), 'n/a') 62 msg = Message() 63 eq(msg.get_charset(), None) 65 msg.set_charset(charset) 66 eq(msg['mime-version'], '1.0') 67 eq(msg.get_content_type(), 'text/plain') 68 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"') 69 eq(msg.get_param('charset'), 'iso-8859-1') [all …]
|
/external/e2fsprogs/po/ |
D | at-expand.pl | 70 my $msg; 75 $msg =~ s/\@a/extended attribute/g; 76 $msg =~ s/\@A/error allocating/g; 77 $msg =~ s/\@b/block/g; 78 $msg =~ s/\@B/bitmap/g; 79 $msg =~ s/\@c/compress/g; 80 $msg =~ s/\@C/conflicts with some other fs block/g; 81 $msg =~ s/\@i/inode/g; 82 $msg =~ s/\@I/illegal/g; 83 $msg =~ s/\@j/journal/g; [all …]
|
/external/libchrome/ipc/ |
D | ipc_message_macros.h | 335 #define IPC_BEGIN_MESSAGE_MAP(class_name, msg) \ argument 340 const IPC::Message& ipc_message__ = msg; \ 343 #define IPC_BEGIN_MESSAGE_MAP_WITH_PARAM(class_name, msg, param) \ argument 347 const IPC::Message& ipc_message__ = msg; \ 420 #define IPC_MESSAGE_CONTROL0(msg) IPC_MESSAGE_CONTROL(msg) argument 421 #define IPC_MESSAGE_CONTROL1(msg, a) IPC_MESSAGE_CONTROL(msg, a) argument 422 #define IPC_MESSAGE_CONTROL2(msg, a, b) IPC_MESSAGE_CONTROL(msg, a, b) argument 423 #define IPC_MESSAGE_CONTROL3(msg, a, b, c) IPC_MESSAGE_CONTROL(msg, a, b, c) argument 424 #define IPC_MESSAGE_CONTROL4(msg, a, b, c, d) \ argument 425 IPC_MESSAGE_CONTROL(msg, a, b, c, d) [all …]
|
/external/adhd/cras/src/server/ |
D | cras_rclient.c | 39 const struct cras_connect_message *msg, in handle_client_stream_connect() argument 51 unpack_cras_audio_format(&remote_fmt, &msg->format); in handle_client_stream_connect() 63 stream_config.stream_id = msg->stream_id; in handle_client_stream_connect() 64 stream_config.stream_type = msg->stream_type; in handle_client_stream_connect() 65 stream_config.direction = msg->direction; in handle_client_stream_connect() 66 stream_config.dev_idx = msg->dev_idx; in handle_client_stream_connect() 67 stream_config.flags = msg->flags; in handle_client_stream_connect() 68 stream_config.effects = msg->effects; in handle_client_stream_connect() 70 stream_config.buffer_frames = msg->buffer_frames; in handle_client_stream_connect() 71 stream_config.cb_threshold = msg->cb_threshold; in handle_client_stream_connect() [all …]
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | NanoTest.java | 70 SimpleMessageNano msg = new SimpleMessageNano(); in testSimpleMessageNano() local 71 assertEquals(123, msg.d); in testSimpleMessageNano() 72 assertEquals(null, msg.nestedMsg); in testSimpleMessageNano() 73 assertEquals(SimpleMessageNano.BAZ, msg.defaultNestedEnum); in testSimpleMessageNano() 75 msg.d = 456; in testSimpleMessageNano() 76 assertEquals(456, msg.d); in testSimpleMessageNano() 81 msg.nestedMsg = nestedMsg; in testSimpleMessageNano() 82 assertEquals(2, msg.nestedMsg.bb); in testSimpleMessageNano() 84 msg.defaultNestedEnum = SimpleMessageNano.BAR; in testSimpleMessageNano() 85 assertEquals(SimpleMessageNano.BAR, msg.defaultNestedEnum); in testSimpleMessageNano() [all …]
|
/external/strace/tests-m32/ |
D | nlattr.c | 47 static const struct msg { in test_nlattr() struct 52 .nlmsg_len = sizeof(struct msg), in test_nlattr() 62 struct msg *msg; in test_nlattr() local 68 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + 2; in test_nlattr() 69 msg = tail_memdup(&c_msg, msg_len); in test_nlattr() 70 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr() 71 nla = NLMSG_ATTR(msg, sizeof(msg->udm)); in test_nlattr() 73 rc = sendto(fd, msg, msg_len, MSG_DONTWAIT, NULL, 0); in test_nlattr() 82 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nlattr() 83 msg = tail_memdup(&c_msg, msg_len - 1); in test_nlattr() [all …]
|
/external/strace/tests-mx32/ |
D | nlattr.c | 47 static const struct msg { in test_nlattr() struct 52 .nlmsg_len = sizeof(struct msg), in test_nlattr() 62 struct msg *msg; in test_nlattr() local 68 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + 2; in test_nlattr() 69 msg = tail_memdup(&c_msg, msg_len); in test_nlattr() 70 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr() 71 nla = NLMSG_ATTR(msg, sizeof(msg->udm)); in test_nlattr() 73 rc = sendto(fd, msg, msg_len, MSG_DONTWAIT, NULL, 0); in test_nlattr() 82 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nlattr() 83 msg = tail_memdup(&c_msg, msg_len - 1); in test_nlattr() [all …]
|
/external/strace/tests/ |
D | nlattr.c | 47 static const struct msg { in test_nlattr() struct 52 .nlmsg_len = sizeof(struct msg), in test_nlattr() 62 struct msg *msg; in test_nlattr() local 68 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + 2; in test_nlattr() 69 msg = tail_memdup(&c_msg, msg_len); in test_nlattr() 70 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr() 71 nla = NLMSG_ATTR(msg, sizeof(msg->udm)); in test_nlattr() 73 rc = sendto(fd, msg, msg_len, MSG_DONTWAIT, NULL, 0); in test_nlattr() 82 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nlattr() 83 msg = tail_memdup(&c_msg, msg_len - 1); in test_nlattr() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | privsep.c | 707 struct privsep_com_msg *msg; local 713 len = sizeof(*msg) + strlen(path) + 1; 714 if ((msg = racoon_malloc(len)) == NULL) { 719 bzero(msg, len); 720 msg->hdr.ac_cmd = PRIVSEP_EAY_GET_PKCS1PRIVKEY; 721 msg->hdr.ac_len = len; 722 msg->bufs.buflen[0] = len - sizeof(*msg); 723 memcpy(msg + 1, path, msg->bufs.buflen[0]); 725 if (privsep_send(privsep_sock[1], msg, len) != 0) 728 if (privsep_recv(privsep_sock[1], &msg, &len) != 0) [all …]
|
/external/nanopb-c/tests/mem_release/ |
D | mem_release.c | 19 static void fill_TestMessage(TestMessage *msg) in fill_TestMessage() argument 21 msg->static_req_submsg.dynamic_str = "12345"; in fill_TestMessage() 22 msg->static_req_submsg.dynamic_str_arr_count = 3; in fill_TestMessage() 23 msg->static_req_submsg.dynamic_str_arr = test_str_arr; in fill_TestMessage() 24 msg->static_req_submsg.dynamic_submsg_count = 2; in fill_TestMessage() 25 msg->static_req_submsg.dynamic_submsg = test_msg_arr; in fill_TestMessage() 26 msg->static_req_submsg.dynamic_submsg[1].dynamic_str = "abc"; in fill_TestMessage() 27 msg->static_opt_submsg.dynamic_str = "abc"; in fill_TestMessage() 28 msg->static_rep_submsg_count = 2; in fill_TestMessage() 29 msg->static_rep_submsg[1].dynamic_str = "abc"; in fill_TestMessage() [all …]
|
/external/grpc-grpc/third_party/nanopb/tests/mem_release/ |
D | mem_release.c | 19 static void fill_TestMessage(TestMessage *msg) in fill_TestMessage() argument 21 msg->static_req_submsg.dynamic_str = "12345"; in fill_TestMessage() 22 msg->static_req_submsg.dynamic_str_arr_count = 3; in fill_TestMessage() 23 msg->static_req_submsg.dynamic_str_arr = test_str_arr; in fill_TestMessage() 24 msg->static_req_submsg.dynamic_submsg_count = 2; in fill_TestMessage() 25 msg->static_req_submsg.dynamic_submsg = test_msg_arr; in fill_TestMessage() 26 msg->static_req_submsg.dynamic_submsg[1].dynamic_str = "abc"; in fill_TestMessage() 27 msg->static_opt_submsg.dynamic_str = "abc"; in fill_TestMessage() 28 msg->static_rep_submsg_count = 2; in fill_TestMessage() 29 msg->static_rep_submsg[1].dynamic_str = "abc"; in fill_TestMessage() [all …]
|
/external/boringssl/src/third_party/wycheproof_testvectors/ |
D | aes_cmac_test.txt | 13 msg = 20 msg = c6 27 msg = c81598f30b3e8ca8 34 msg = 25d99a552339745e24a0cb6a9669c4 41 msg = ceabee3f13d0718779ba86acccd6d5a9 48 msg = 0d68e86cf139677cb461a0fa76690e4afc 55 msg = a3e01e9a597e57502fd849908aa7a19407cbfdc74bc5c485 65 msg = 72 msg = 3f 79 msg = f4a133aa6d5985a0 [all …]
|