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

  /external/libmtp/src/
unicode.c 56 * @param unicstr a UCS-2 Unicode string
61 int ucs2_strlen(uint16_t const * const unicstr)
66 for(length = 0; unicstr[length] != 0x0000U; length ++);
76 * @param unicstr the UTF-16 unicode string to convert
79 char *utf16_to_utf8(LIBMTP_mtpdevice_t *device, const uint16_t *unicstr)
82 char *stringp = (char *) unicstr;
86 size_t convlen = (ucs2_strlen(unicstr)+1) * sizeof(uint16_t); // UCS-2 is 16 bit wide, include terminator
116 char unicstr[(STRING_BUFFER_LENGTH+1)*2]; // UCS2 encoding is 2 bytes per UTF-8 char. local
117 char *unip = unicstr;
122 unicstr[0]='\0'
    [all...]
ptp-pack.c 182 ucs2strlen(uint16_t const * const unicstr)
187 for(length = 0; unicstr[length] != 0x0000U; length ++);
    [all...]

Completed in 764 milliseconds