Home
last modified time | relevance | path

Searched refs:pdu (Results 1 – 23 of 23) sorted by relevance

/external/qemu/telephony/
Dsms.h73 extern int smspdu_to_hex( SmsPDU pdu, char* hex, int hexsize );
76 extern void smspdu_free( SmsPDU pdu );
85 extern SmsPduType smspdu_get_type( SmsPDU pdu );
88 extern int smspdu_get_sender_address( SmsPDU pdu, SmsAddress address );
91 extern int smspdu_get_sc_timestamp( SmsPDU pdu, SmsTimeStamp timestamp );
94 extern int smspdu_get_receiver_address( SmsPDU pdu, SmsAddress address );
96 extern int smspdu_get_ref ( SmsPDU pdu );
97 extern int smspdu_get_max_index( SmsPDU pdu );
98 extern int smspdu_get_cur_index( SmsPDU pdu );
102 extern int smspdu_get_text_message( SmsPDU pdu, unsigned char* utf8, int utf8len );
Dsms.c700 smspdu_free( SmsPDU pdu ) in smspdu_free() argument
702 if (pdu) { in smspdu_free()
703 free( pdu->base ); in smspdu_free()
704 pdu->base = NULL; in smspdu_free()
705 pdu->end = NULL; in smspdu_free()
706 pdu->tpdu = NULL; in smspdu_free()
711 smspdu_get_type( SmsPDU pdu ) in smspdu_get_type() argument
713 cbytes_t data = pdu->tpdu; in smspdu_get_type()
714 cbytes_t end = pdu->end; in smspdu_get_type()
726 smspdu_get_sender_address( SmsPDU pdu, SmsAddress address ) in smspdu_get_sender_address() argument
[all …]
Dandroid_modem.c1046 smspdu_dump( SmsPDU pdu, FILE* out )
1052 if (pdu == NULL) {
1058 switch (smspdu_get_type(pdu)) {
1065 if (smspdu_get_sender_address(pdu, &address) < 0)
1070 if (smspdu_get_receiver_address(pdu, &address) < 0)
1075 len = smspdu_get_text_message( pdu, temp, sizeof(temp)-1 );
1090 SmsPDU pdu; in handleSendSMSText() local
1096 pdu = smspdu_create_from_hex( cmd, len ); in handleSendSMSText()
1097 if (pdu == NULL) { in handleSendSMSText()
1101 if (smspdu_get_receiver_address(pdu, &address) < 0) { in handleSendSMSText()
[all …]
Dremote_call.c215 SmsPDU pdu ) in remote_call_set_sms_pdu() argument
220 msg2len = 32 + smspdu_to_hex( pdu, NULL, 0 ); in remote_call_set_sms_pdu()
236 p += smspdu_to_hex( pdu, p, end-p ); in remote_call_set_sms_pdu()
409 SmsPDU pdu ) in remote_call_sms() argument
417 if ( remote_call_set_sms_pdu( call, pdu ) < 0 ) { in remote_call_sms()
Dremote_call.h48 extern int remote_call_sms( const char* number, int from_port, SmsPDU pdu );
Dandroid_modem.h33 extern void amodem_receive_sms( AModem modem, SmsPDU pdu );
/external/blktrace/btt/
Dmmap.c51 void **pdu) in convert_to_cpu() argument
73 *pdu = malloc(tp->pdu_len); in convert_to_cpu()
74 memcpy(*pdu, t+1, tp->pdu_len); in convert_to_cpu()
76 *pdu = NULL; in convert_to_cpu()
130 int next_trace(struct blk_io_trace *t, void **pdu) in next_trace() argument
141 this_len = convert_to_cpu(next_t, t, pdu); in next_trace()
Dtrace.c65 memcpy(msg, iop->pdu, iop->t.pdu_len); in trace_message()
81 char *slash = strchr(iop->pdu, '/'); in add_trace()
85 process_alloc(iop->t.pid, iop->pdu); in add_trace()
Dtrace_plug.c25 __u64 *val = u_iop->pdu; in get_nio_up()
Dtrace_remap.c43 rp = a_iop->pdu; in trace_remap()
Dunplug_hist.c52 __u64 *val = u_iop->pdu; in unplug_hist_add()
Dglobals.h156 void *pdu; member
257 int next_trace(struct blk_io_trace *t, void **pdu);
Dbt_timeline.c106 while (!done && next_trace(&iop->t, &iop->pdu)) { in process()
Dinlines.h176 if (iop->pdu) in io_release()
177 free(iop->pdu); in io_release()
/external/tcpdump/
Dprint-snmp.c1468 struct be pdu; in pdu_print() local
1472 if ((count = asn1_parse(np, length, &pdu)) < 0) in pdu_print()
1474 if (pdu.type != BE_PDU) { in pdu_print()
1483 if (asn1_print(&pdu) < 0) in pdu_print()
1487 length = pdu.asnlen; in pdu_print()
1488 np = (u_char *)pdu.data.raw; in pdu_print()
1491 (pdu.id == GETBULKREQ || pdu.id == INFORMREQ || in pdu_print()
1492 pdu.id == V2TRAP || pdu.id == REPORT)) { in pdu_print()
1497 if (version == SNMP_VERSION_2 && pdu.id == TRAP) { in pdu_print()
1502 switch (pdu.id) { in pdu_print()
[all …]
/external/bluetooth/bluez/src/
Dsdpd-request.c545 sdp_buf_t pdu; in extract_attrs() local
561 sdp_gen_record_pdu(rec, &pdu); in extract_attrs()
584 if (low == 0x0000 && high == 0xffff && pdu.data_size <= buf->buf_size) { in extract_attrs()
586 memcpy(buf->data, pdu.data, pdu.data_size); in extract_attrs()
587 buf->data_size = pdu.data_size; in extract_attrs()
602 free(pdu.data); in extract_attrs()
607 free(pdu.data); in extract_attrs()
/external/bluetooth/bluez/lib/bluetooth/
Dsdp_lib.h611 void sdp_set_attrid(sdp_buf_t *pdu, uint16_t id);
615 int sdp_gen_pdu(sdp_buf_t *pdu, sdp_data_t *data);
616 int sdp_gen_record_pdu(const sdp_record_t *rec, sdp_buf_t *pdu);
/external/tcpdump/tests/
Dmpls-ldp-hello.out2 LDP, Label-Space-ID: 10.1.0.2:0, pdu-length: 38
Dmpls-ldp-hello.new2 LDP, Label-Space-ID: 10.1.0.2:0, pdu-length: 38
/external/blktrace/
Dblkparse_fmt.c108 static inline int pdu_rest_is_zero(unsigned char *pdu, int len) in pdu_rest_is_zero() argument
112 return !memcmp(pdu, zero, len); in pdu_rest_is_zero()
/external/bluetooth/bluez/lib/
Dsdp.c2822 void sdp_append_to_pdu(sdp_buf_t *pdu, sdp_data_t *d) in sdp_append_to_pdu() argument
2834 sdp_append_to_buf(pdu, append.data, append.data_size); in sdp_append_to_pdu()
2926 sdp_buf_t pdu; in sdp_device_record_register() local
2938 if (sdp_gen_record_pdu(rec, &pdu) < 0) { in sdp_device_record_register()
2944 pdu.data, pdu.data_size, flags, &handle); in sdp_device_record_register()
2946 free(pdu.data); in sdp_device_record_register()
3061 sdp_buf_t pdu; in sdp_device_record_update() local
3094 if (sdp_gen_record_pdu(rec, &pdu) < 0) { in sdp_device_record_update()
3099 memcpy(p, pdu.data, pdu.data_size); in sdp_device_record_update()
3100 reqsize += pdu.data_size; in sdp_device_record_update()
[all …]
/external/qemu/android/
Dconsole.c1458 SmsPDU pdu; in do_sms_sendpdu() local
1471 pdu = smspdu_create_from_hex( args, strlen(args) ); in do_sms_sendpdu()
1472 if (pdu == NULL) { in do_sms_sendpdu()
1477 amodem_receive_sms( android_modem, pdu ); in do_sms_sendpdu()
1478 smspdu_free( pdu ); in do_sms_sendpdu()
/external/blktrace/doc/
Dblktrace.tex796 u32 pdu)]
798 32-bit entity (the \emph{pdu} parameter). The \emph{what} parameter