OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:loclstr
(Results
1 - 2
of
2
) sorted by null
/external/libmtp/src/
unicode.c
82
char
loclstr
[STRING_BUFFER_LENGTH*3+1]; // UTF-8 encoding is max 3 bytes per UCS2 char.
local
83
char *locp =
loclstr
;
88
loclstr
[0]='\0';
95
loclstr
[STRING_BUFFER_LENGTH*3] = '\0';
97
if ((uint8_t)
loclstr
[0] == 0xEFU && (uint8_t)
loclstr
[1] == 0xBBU && (uint8_t)
loclstr
[2] == 0xBFU) {
98
return strdup(
loclstr
+3);
100
return strdup(
loclstr
);
ptp-pack.c
108
char
loclstr
[PTP_MAXSTRLEN*3+1];
local
120
loclstr
[0] = '\0';
125
dest =
loclstr
;
126
destlen = sizeof(
loclstr
)-1;
137
loclstr
[i] = '?';
139
loclstr
[i] = dtoh16a(&data[offset+1+2*i]);
141
dest =
loclstr
+length;
144
loclstr
[sizeof(
loclstr
)-1] = '\0'; /* be safe? */
145
return(strdup(
loclstr
));
[
all
...]
Completed in 357 milliseconds