Home
last modified time | relevance | path

Searched refs:hexlen (Results 1 – 4 of 4) sorted by relevance

/external/qemu/telephony/
Dsms.c405 sms_address_from_hex ( SmsAddress address, const char* hex, int hexlen ) in sms_address_from_hex() argument
407 const char* hexend = hex + hexlen; in sms_address_from_hex()
410 if (hexlen < 4) in sms_address_from_hex()
428 sms_address_to_hex ( SmsAddress address, char* hex, int hexlen ) in sms_address_to_hex() argument
434 hexlen = 0; in sms_address_to_hex()
436 if (hexlen < 2) goto Exit; in sms_address_to_hex()
438 if (hexlen < 4) goto Exit; in sms_address_to_hex()
441 hexlen -= 4; in sms_address_to_hex()
442 if ( hexlen > 2*(len - 2) ) in sms_address_to_hex()
443 hexlen = (len - 2)/2; in sms_address_to_hex()
[all …]
Dsms.h56 extern int sms_address_from_hex ( SmsAddress address, const char* hex, int hexlen );
71 extern SmsPDU smspdu_create_from_hex( const char* hex, int hexlen );
Dgsm.c181 gsm_hex_to_bytes0( cbytes_t hex, int hexlen, bytes_t dst ) in gsm_hex_to_bytes0() argument
185 for (nn = 0; nn < hexlen/2; nn++ ) { in gsm_hex_to_bytes0()
188 if (hexlen & 1) { in gsm_hex_to_bytes0()
194 gsm_hex_to_bytes( cbytes_t hex, int hexlen, bytes_t dst ) in gsm_hex_to_bytes() argument
198 if (hexlen & 1) /* must be even */ in gsm_hex_to_bytes()
201 for (nn = 0; nn < hexlen/2; nn++ ) { in gsm_hex_to_bytes()
206 return hexlen/2; in gsm_hex_to_bytes()
Dgsm.h36 extern int gsm_hex_to_bytes ( cbytes_t hex, int hexlen, bytes_t dst );
40 extern void gsm_hex_to_bytes0 ( cbytes_t hex, int hexlen, bytes_t dst );