Lines Matching refs:dst
34 /* try to convert a hex string into a byte string, assumes 'dst' is properly sized, and hexlen is even.
36 extern int gsm_hex_to_bytes ( cbytes_t hex, int hexlen, bytes_t dst );
38 /* convert a hex string into a byte string, assumes 'dst' is properly sized, and hexlen is even.
40 extern void gsm_hex_to_bytes0 ( cbytes_t hex, int hexlen, bytes_t dst );
81 /* convert a utf-8 string into a GSM septet string, assumes 'dst' is NULL or is properly sized,
82 and that all characters are representable. 'offset' is the starting bit offset in 'dst'.
85 extern int utf8_to_gsm7( cbytes_t utf8, int utf8len, bytes_t dst, int offset );
88 * assumes 'dst' is NULL or is properly sized, returns the number of GSM bytes */
89 extern int utf8_to_gsm8( cbytes_t utf8, int utf8len, bytes_t dst );
111 /* convert a ucs2 string into a GSM septet string, assumes 'dst' is NULL or properly sized,
112 'offset' is the starting bit offset in 'dst'. non-representable characters are replaced
114 extern int ucs2_to_gsm7( cbytes_t ucs2, int ucs2len, bytes_t dst, int offset );
116 /* convert a ucs2 string into a GSM septet string, assumes 'dst' is NULL or properly sized,
118 extern int ucs2_to_gsm8( cbytes_t ucs2, int ucs2len, bytes_t dst );
149 assumes 'dst' is NULL or properly sized, returns 0 in case of success, -1 in case of error.
152 extern int gsm_bcdnum_to_ascii ( cbytes_t bcd, int num_digits, bytes_t dst );
155 extern int gsm_bcdnum_from_ascii( cbytes_t ascii, int asciilen, bytes_t dst );