HomeSort by relevance Sort by last modified time
    Searched refs:byte_t (Results 1 - 4 of 4) sorted by null

  /external/qemu/telephony/
gsm.h 18 typedef unsigned char byte_t; typedef
19 typedef byte_t* bytes_t;
20 typedef const byte_t* cbytes_t;
26 extern byte_t gsm_int_to_bcdi( int value );
29 extern int gsm_int_from_bcdi( byte_t value );
163 byte_t alpha [ SIM_ADN_MAX_ALPHA*3+1 ]; /* alpha tag in zero-terminated utf-8 */
170 byte_t ext_record; /* 0 or 0xFF means no extension */
gsm.c 18 byte_t
21 return (byte_t)((value / 10) | ((value % 10) << 4));
25 gsm_int_from_bcdi( byte_t val )
42 static byte_t bcdichars[14] = "0123456789*#,N";
94 if (dst) dst[result] = (byte_t) phase;
100 if (dst) dst[result] = (byte_t)( phase | 0xf0 );
157 return (byte_t)( (hi << 4) | lo );
186 dst[nn] = (byte_t) gsm_hex2_to_byte0( (const char*)hex+2*nn );
204 dst[nn] = (byte_t) c;
329 rope->data[ rope->pos ] = (byte_t) c
    [all...]
sim_card.c 172 byte_t rec_count;
173 byte_t rec_len;
287 static const byte_t _const_spn_cphs[20] = {
292 static const byte_t _const_voicemail_cphs[1] = {
296 static const byte_t _const_iccid[10] = {
300 static const byte_t _const_cff_cphs[1] = {
sms.c 111 utf8[count] = (byte_t) c;
116 utf8[count] = (byte_t)(0xc0 | ((c >> 6) & 0x1f));
118 utf8[count+1] = (byte_t)(0x80 | (c & 0x3f));
123 utf8[count] = (byte_t)(0xc0 | ((c >> 12) & 0xf));
125 utf8[count+1] = (byte_t)(0x80 | ((c >> 6) & 0x3f));
127 utf8[count+2] = (byte_t)(0x80 | (c & 0x3f));
186 str[count] = (byte_t)(0xc0 | ((c >> 6) & 0x1f));
188 str[count+1] = (byte_t)(0x80 | (c & 0x3f));
193 str[count] = (byte_t)(0xc0 | ((c >> 12) & 0xf));
195 str[count+1] = (byte_t)(0x80 | ((c >> 6) & 0x3f))
    [all...]

Completed in 962 milliseconds