Searched refs:ucs2str (Results 1 – 7 of 7) sorted by relevance
/dports/databases/postgresql-odbc/psqlodbc-13.02.0000/ |
H A D | win_unicode.c | 127 for (len = 0; ucs2str[len]; len++) in ucs2strlen() 137 if (!ucs2str) in ucs2_to_utf8() 149 ilen = ucs2strlen(ucs2str); in ucs2_to_utf8() 272 ucs2str = NULL; in utf8_to_ucs2_lf() 273 else if (!ucs2str) in utf8_to_ucs2_lf() 289 ucs2str[ocount] = *str; in utf8_to_ucs2_lf() 392 ucs2str[ocount] = 0; in utf8_to_ucs2_lf() 697 ucs2str[outlen] = sqlwdt[0]; in ucs4_to_ucs2_lf() 718 ucs2str[outlen] = 0; in ucs4_to_ucs2_lf() 733 ilen = ucs2strlen(ucs2str); in ucs2_to_ucs4() [all …]
|
H A D | unicode_support.h | 22 char *ucs2_to_utf8(const SQLWCHAR *ucs2str, SQLLEN ilen, SQLLEN *olen, BOOL tolower); 23 SQLULEN utf8_to_ucs2_lf(const char * utf8str, SQLLEN ilen, BOOL lfconv, SQLWCHAR *ucs2str, SQLULEN … 25 #define utf8_to_ucs2(utf8str, ilen, ucs2str, buflen) utf8_to_ucs2_lf(utf8str, ilen, FALSE, ucs2str,… argument
|
/dports/comms/gnokii/gnokii-0.6.31/common/ |
H A D | gsm-encoding.c | 442 char *ucs2str; in gn_char_def_alphabet() local 445 ucs2str = calloc(2 * inlen, sizeof(unsigned char)); in gn_char_def_alphabet() 446 if (!ucs2str) in gn_char_def_alphabet() 458 unsigned int a = 0xff & ucs2str[2 * i], b = 0xff & ucs2str[2 * i + 1]; in gn_char_def_alphabet() 466 free(ucs2str); in gn_char_def_alphabet() 470 free(ucs2str); in gn_char_def_alphabet() 658 char *ucs2str; in char_7bit_pack() local 661 ucs2str = calloc(2 * len, sizeof(unsigned char)); in char_7bit_pack() 662 if (!ucs2str) in char_7bit_pack() 686 unsigned int a = 0xff & ucs2str[2 * i], b = 0xff & ucs2str[2 * i + 1]; in char_7bit_pack() [all …]
|
/dports/devel/libisofs/libisofs-1.5.4/libisofs/ |
H A D | util.h | 337 char *ucs2str(const char *buf, size_t len);
|
H A D | util.c | 1963 char *ucs2str(const char *buf, size_t len) in ucs2str() function
|
/dports/multimedia/libmtp/libmtp-1.1.18/src/ |
H A D | ptp-pack.c | 210 uint16_t ucs2str[PTP_MAXSTRLEN+1]; in ptp_pack_string() local 211 char *ucs2strp = (char *) ucs2str; in ptp_pack_string() 215 memset(ucs2strp, 0, sizeof(ucs2str)); /* XXX: necessary? */ in ptp_pack_string() 225 ucs2str[0] = 0x0000U; in ptp_pack_string() 232 ucs2str[i] = string[i]; in ptp_pack_string() 234 ucs2str[convlen] = 0; in ptp_pack_string() 240 packedlen = ucs2strlen(ucs2str); in ptp_pack_string() 248 memcpy(&data[offset+1], &ucs2str[0], packedlen * sizeof(ucs2str[0])); in ptp_pack_string()
|
/dports/graphics/libgphoto2/libgphoto2-2.5.26/camlibs/ptp2/ |
H A D | ptp-pack.c | 210 uint16_t ucs2str[PTP_MAXSTRLEN+1]; in ptp_pack_string() local 211 char *ucs2strp = (char *) ucs2str; in ptp_pack_string() 215 memset(ucs2strp, 0, sizeof(ucs2str)); /* XXX: necessary? */ in ptp_pack_string() 225 ucs2str[0] = 0x0000U; in ptp_pack_string() 232 ucs2str[i] = string[i]; in ptp_pack_string() 234 ucs2str[convlen] = 0; in ptp_pack_string() 240 packedlen = ucs2strlen(ucs2str); in ptp_pack_string() 248 memcpy(&data[offset+1], &ucs2str[0], packedlen * sizeof(ucs2str[0])); in ptp_pack_string()
|