/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/js/compatibility_tests/v3.1.0/ |
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/protobuf/js/compatibility_tests/v3.0.0/ |
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/protobuf/objectivec/Tests/ |
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.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 …]
|
D | GPBMessageTests+Runtime.m | 325 //% Message2 *msg = [[Message2 alloc] init]; 326 //% XCTAssertFalse(msg.hasOptional##FIELD); 327 //% XCTAssertFalse(GPBMessageHasFieldNumberSet(msg, Message2_FieldNumber_Optional##FIELD)); 328 //% msg.optional##FIELD = NON_ZERO_VALUE; 329 //% XCTAssertTrue(msg.hasOptional##FIELD); 330 //% XCTAssertTrue(GPBMessageHasFieldNumberSet(msg, Message2_FieldNumber_Optional##FIELD)); 331 //% [msg release]; 334 //% Message2 *msg = [[Message2 alloc] init]; 335 //% XCTAssertFalse(msg.hasOptional##FIELD); 336 //% XCTAssertFalse(GPBMessageHasFieldNumberSet(msg, Message2_FieldNumber_Optional##FIELD)); [all …]
|
/external/protobuf/js/ |
D | proto3_test.js | 90 var msg = new proto.jspb.test.TestProto3(); 93 msg.setOptionalString('optionalString'); 94 assertEquals(msg.getOptionalString(), 'optionalString'); 97 msg.setOptionalString(''); 98 assertEquals(msg.getOptionalString(), ''); 101 assertTrue(jspb.Message.equals(msg, new proto.jspb.test.TestProto3())); 108 var msg = new proto.jspb.test.TestProto3(); 110 assertEquals(msg.getOptionalInt32(), 0); 111 assertEquals(msg.getOptionalInt64(), 0); 112 assertEquals(msg.getOptionalUint32(), 0); [all …]
|
/external/arm-trusted-firmware/plat/imx/common/sci/svc/rm/ |
D | rm_rpc_clnt.c | 35 sc_rpc_msg_t msg; in sc_rm_partition_alloc() local 38 RPC_VER(&msg) = SC_RPC_VERSION; in sc_rm_partition_alloc() 39 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_RM; in sc_rm_partition_alloc() 40 RPC_FUNC(&msg) = (uint8_t)RM_FUNC_PARTITION_ALLOC; in sc_rm_partition_alloc() 41 RPC_U8(&msg, 0U) = (uint8_t)secure; in sc_rm_partition_alloc() 42 RPC_U8(&msg, 1U) = (uint8_t)isolated; in sc_rm_partition_alloc() 43 RPC_U8(&msg, 2U) = (uint8_t)restricted; in sc_rm_partition_alloc() 44 RPC_U8(&msg, 3U) = (uint8_t)grant; in sc_rm_partition_alloc() 45 RPC_U8(&msg, 4U) = (uint8_t)coherent; in sc_rm_partition_alloc() 46 RPC_SIZE(&msg) = 3U; in sc_rm_partition_alloc() [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/arm-trusted-firmware/plat/imx/common/sci/svc/misc/ |
D | misc_rpc_clnt.c | 34 sc_rpc_msg_t msg; in sc_misc_set_control() local 37 RPC_VER(&msg) = SC_RPC_VERSION; in sc_misc_set_control() 38 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_MISC; in sc_misc_set_control() 39 RPC_FUNC(&msg) = (uint8_t)MISC_FUNC_SET_CONTROL; in sc_misc_set_control() 40 RPC_U32(&msg, 0U) = (uint32_t)ctrl; in sc_misc_set_control() 41 RPC_U32(&msg, 4U) = (uint32_t)val; in sc_misc_set_control() 42 RPC_U16(&msg, 8U) = (uint16_t)resource; in sc_misc_set_control() 43 RPC_SIZE(&msg) = 4U; in sc_misc_set_control() 45 sc_call_rpc(ipc, &msg, SC_FALSE); in sc_misc_set_control() 47 result = RPC_R8(&msg); in sc_misc_set_control() [all …]
|
/external/arm-trusted-firmware/plat/imx/common/sci/svc/timer/ |
D | timer_rpc_clnt.c | 33 sc_rpc_msg_t msg; in sc_timer_set_wdog_timeout() local 36 RPC_VER(&msg) = SC_RPC_VERSION; in sc_timer_set_wdog_timeout() 37 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_TIMER; in sc_timer_set_wdog_timeout() 38 RPC_FUNC(&msg) = (uint8_t)TIMER_FUNC_SET_WDOG_TIMEOUT; in sc_timer_set_wdog_timeout() 39 RPC_U32(&msg, 0U) = (uint32_t)timeout; in sc_timer_set_wdog_timeout() 40 RPC_SIZE(&msg) = 2U; in sc_timer_set_wdog_timeout() 42 sc_call_rpc(ipc, &msg, SC_FALSE); in sc_timer_set_wdog_timeout() 44 result = RPC_R8(&msg); in sc_timer_set_wdog_timeout() 51 sc_rpc_msg_t msg; in sc_timer_set_wdog_pre_timeout() local 54 RPC_VER(&msg) = SC_RPC_VERSION; in sc_timer_set_wdog_pre_timeout() [all …]
|
/external/u-boot/drivers/misc/imx8/ |
D | scu_api.c | 24 struct sc_rpc_msg_s msg; in sc_pm_set_clock_rate() local 27 RPC_VER(&msg) = SC_RPC_VERSION; in sc_pm_set_clock_rate() 28 RPC_SVC(&msg) = (u8)SC_RPC_SVC_PM; in sc_pm_set_clock_rate() 29 RPC_FUNC(&msg) = (u8)PM_FUNC_SET_CLOCK_RATE; in sc_pm_set_clock_rate() 30 RPC_U32(&msg, 0U) = *(u32 *)rate; in sc_pm_set_clock_rate() 31 RPC_U16(&msg, 4U) = (u16)resource; in sc_pm_set_clock_rate() 32 RPC_U8(&msg, 6U) = (u8)clk; in sc_pm_set_clock_rate() 33 RPC_SIZE(&msg) = 3U; in sc_pm_set_clock_rate() 35 ret = misc_call(dev, SC_FALSE, &msg, size, &msg, size); in sc_pm_set_clock_rate() 38 __func__, *rate, resource, clk, RPC_R8(&msg)); in sc_pm_set_clock_rate() [all …]
|
/external/arm-trusted-firmware/plat/imx/common/sci/svc/pm/ |
D | pm_rpc_clnt.c | 34 sc_rpc_msg_t msg; in sc_pm_set_sys_power_mode() local 37 RPC_VER(&msg) = SC_RPC_VERSION; in sc_pm_set_sys_power_mode() 38 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PM; in sc_pm_set_sys_power_mode() 39 RPC_FUNC(&msg) = (uint8_t)PM_FUNC_SET_SYS_POWER_MODE; in sc_pm_set_sys_power_mode() 40 RPC_U8(&msg, 0U) = (uint8_t)mode; in sc_pm_set_sys_power_mode() 41 RPC_SIZE(&msg) = 2U; in sc_pm_set_sys_power_mode() 43 sc_call_rpc(ipc, &msg, SC_FALSE); in sc_pm_set_sys_power_mode() 45 result = RPC_R8(&msg); in sc_pm_set_sys_power_mode() 52 sc_rpc_msg_t msg; in sc_pm_set_partition_power_mode() local 55 RPC_VER(&msg) = SC_RPC_VERSION; in sc_pm_set_partition_power_mode() [all …]
|
/external/arm-trusted-firmware/plat/imx/common/sci/svc/pad/ |
D | pad_rpc_clnt.c | 34 sc_rpc_msg_t msg; in sc_pad_set_mux() local 37 RPC_VER(&msg) = SC_RPC_VERSION; in sc_pad_set_mux() 38 RPC_SVC(&msg) = (uint8_t)SC_RPC_SVC_PAD; in sc_pad_set_mux() 39 RPC_FUNC(&msg) = (uint8_t)PAD_FUNC_SET_MUX; in sc_pad_set_mux() 40 RPC_U16(&msg, 0U) = (uint16_t)pad; in sc_pad_set_mux() 41 RPC_U8(&msg, 2U) = (uint8_t)mux; in sc_pad_set_mux() 42 RPC_U8(&msg, 3U) = (uint8_t)config; in sc_pad_set_mux() 43 RPC_U8(&msg, 4U) = (uint8_t)iso; in sc_pad_set_mux() 44 RPC_SIZE(&msg) = 3U; in sc_pad_set_mux() 46 sc_call_rpc(ipc, &msg, SC_FALSE); in sc_pad_set_mux() [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/compatibility_tests/v3.1.0/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/protobuf/js/compatibility_tests/v3.0.0/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/protobuf/js/binary/ |
D | proto_test.js | 106 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 …]
|
/external/libevent/test/ |
D | regress.gen.c | 46 struct msg * 52 struct msg * 55 struct msg *tmp; in msg_new_with_arg() 56 if ((tmp = malloc(sizeof(struct msg))) == NULL) { in msg_new_with_arg() 83 msg_run_expand_to_hold_more(struct msg *msg) in msg_run_expand_to_hold_more() argument 85 int tobe_allocated = msg->run_num_allocated; in msg_run_expand_to_hold_more() 88 new_data = (struct run**) realloc(msg->run_data, in msg_run_expand_to_hold_more() 92 msg->run_data = new_data; in msg_run_expand_to_hold_more() 93 msg->run_num_allocated = tobe_allocated; in msg_run_expand_to_hold_more() 97 msg_run_add(struct msg *msg) in msg_run_add() argument [all …]
|
/external/e2fsprogs/po/ |
D | at-expand.pl | 77 my $msg; 82 $msg =~ s/\@a/extended attribute/g; 83 $msg =~ s/\@A/error allocating/g; 84 $msg =~ s/\@b/block/g; 85 $msg =~ s/\@B/bitmap/g; 86 $msg =~ s/\@c/compress/g; 87 $msg =~ s/\@C/conflicts with some other fs block/g; 88 $msg =~ s/\@i/inode/g; 89 $msg =~ s/\@I/illegal/g; 90 $msg =~ s/\@j/journal/g; [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 …]
|