Home | History | Annotate | Download | only in telephony

Lines Matching defs:utf8len

45 sms_utf8_from_message_str( const char*  str, int  strlen, unsigned char*  utf8, int  utf8len )
110 if (count < utf8len)
115 if (count < utf8len)
117 if (count+1 < utf8len)
122 if (count < utf8len)
124 if (count+1 < utf8len)
126 if (count+2 < utf8len)
140 int sms_utf8_to_message_str( const unsigned char* utf8, int utf8len, char* str, int strlen )
143 cbytes_t end = p + utf8len;
906 smspdu_get_text_message( SmsPDU pdu, unsigned char* utf8, int utf8len )
936 if (utf8len > result)
937 utf8len = result;
939 if (utf8len > 0)
940 memcpy( utf8, rope->data, utf8len );
970 if (utf8len > result)
971 utf8len = result;
973 if (utf8len > 0)
974 memcpy( utf8, rope->data, utf8len );
1113 int utf8len,
1140 int count = utf8_to_gsm7( utf8, utf8len, NULL, 0 );
1164 utf8_to_gsm7( utf8, utf8len, dst, pad );
1168 int count = utf8_to_ucs2( utf8, utf8len, NULL );
1183 utf8_to_ucs2( utf8, utf8len, dst );
1191 int utf8len,
1207 gsm_rope_add_sms_deliver_pdu( rope, utf8, utf8len, use_gsm7,
1215 gsm_rope_add_sms_deliver_pdu( rope, utf8, utf8len, use_gsm7,
1250 int utf8len,
1269 use_gsm7 = utf8_check_gsm7( utf8, utf8len );
1275 count = utf8_to_gsm7( utf8, utf8len, NULL, 0 );
1277 count = utf8_to_ucs2( utf8, utf8len, NULL );
1293 cbytes_t src_end = utf8 + utf8len;
1564 sms_receiver_get_text_message( SmsReceiver rec, int index, bytes_t utf8, int utf8len )
1583 if (utf8 && utf8len > 0) {
1584 partial = smspdu_get_text_message( frag->pdus[nn], utf8, utf8len );
1586 utf8len -= partial;
1617 int utf8len;
1630 utf8len = sms_receiver_get_text_message( rec, index, NULL, 0 );
1631 if (utf8len < 0)
1634 utf8 = malloc( utf8len + 1 );
1637 __FUNCTION__, utf8len+1 );
1643 total += smspdu_get_text_message( frag->pdus[nn], utf8 + total, utf8len - total );
1648 result = smspdu_create_deliver_utf8( utf8, utf8len, from, now );