Searched refs:len16 (Results 1 – 2 of 2) sorted by relevance
303 const ssize_t len16 = utf8_to_utf16_length(str8, length); in AParcel_writeString() local305 if (len16 < 0 || len16 >= std::numeric_limits<int32_t>::max()) { in AParcel_writeString()306 LOG(WARNING) << __func__ << ": Invalid string length: " << len16; in AParcel_writeString()310 status_t err = parcel->get()->writeInt32(len16); in AParcel_writeString()315 void* str16 = parcel->get()->writeInplace((len16 + 1) * sizeof(char16_t)); in AParcel_writeString()320 utf8_to_utf16(str8, length, (char16_t*)str16, (size_t)len16 + 1); in AParcel_writeString()327 size_t len16; in AParcel_readString() local328 const char16_t* str16 = parcel->get()->readString16Inplace(&len16); in AParcel_readString()340 if (len16 == 0) { in AParcel_readString()343 len8 = utf16_to_utf8_length(str16, len16) + 1; in AParcel_readString()[all …]
3983 int len16 = 0; // Number of UTF-16 characters in parse3GPPMetaData() local3993 len16 = ((size - 6) / 2) - 1; // don't include 0x0000 terminator in parse3GPPMetaData()3997 for (int i = 0; i < len16; i++) { in parse3GPPMetaData()4006 len16--; in parse3GPPMetaData()4019 String8 tmpUTF8str(framedata, len16); in parse3GPPMetaData()