Searched refs:unicstr (Results 1 - 2 of 2) sorted by relevance

/external/libmtp/src/
H A Dunicode.c55 * @param unicstr a UCS-2 Unicode string
60 int ucs2_strlen(uint16_t const * const unicstr) argument
65 for(length = 0; unicstr[length] != 0x0000U; length ++);
75 * @param unicstr the UTF-16 unicode string to convert
78 char *utf16_to_utf8(LIBMTP_mtpdevice_t *device, const uint16_t *unicstr) argument
81 char *stringp = (char *) unicstr;
85 size_t convlen = (ucs2_strlen(unicstr)+1) * sizeof(uint16_t); // UCS-2 is 16 bit wide, include terminator
115 char unicstr[(STRING_BUFFER_LENGTH+1)*2]; // UCS2 encoding is 2 bytes per UTF-8 char. local
116 char *unip = unicstr;
121 unicstr[
[all...]
H A Dptp-pack.c149 ucs2strlen(uint16_t const * const unicstr) argument
154 for(length = 0; unicstr[length] != 0x0000U; length ++);

Completed in 146 milliseconds