HomeSort by relevance Sort by last modified time
    Searched full:ucs2str (Results 1 - 1 of 1) sorted by null

  /external/libmtp/src/
ptp-pack.c 163 uint16_t ucs2str[PTP_MAXSTRLEN+1]; local
164 char *ucs2strp = (char *) ucs2str;
168 memset(ucs2strp, 0, sizeof(ucs2str)); /* XXX: necessary? */
178 ucs2str[0] = 0x0000U;
184 ucs2str[i] = string[i];
186 ucs2str[convlen] = 0;
190 * XXX: isn't packedlen just ( (uint16_t *)ucs2strp - ucs2str )?
193 packedlen = ucs2strlen(ucs2str);
201 memcpy(&data[offset+1], &ucs2str[0], packedlen * sizeof(ucs2str[0]))
    [all...]

Completed in 458 milliseconds