OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:unicstr
(Results
1 - 2
of
2
) sorted by null
/external/libmtp/src/
unicode.c
55
* @param
unicstr
a UCS-2 Unicode string
60
int ucs2_strlen(uint16_t const * const
unicstr
)
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
)
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
[0]='\0'
[
all
...]
ptp-pack.c
149
ucs2strlen(uint16_t const * const
unicstr
)
154
for(length = 0;
unicstr
[length] != 0x0000U; length ++);
[
all
...]
Completed in 82 milliseconds