Searched refs:len16 (Results 1 – 2 of 2) sorted by relevance
310 const ssize_t len16 = utf8_to_utf16_length(str8, length); in AParcel_writeString() local312 if (len16 < 0 || len16 >= std::numeric_limits<int32_t>::max()) { in AParcel_writeString()313 LOG(WARNING) << __func__ << ": Invalid string length: " << len16; in AParcel_writeString()317 status_t err = parcel->get()->writeInt32(len16); in AParcel_writeString()322 void* str16 = parcel->get()->writeInplace((len16 + 1) * sizeof(char16_t)); in AParcel_writeString()327 utf8_to_utf16(str8, length, (char16_t*)str16, (size_t)len16 + 1); in AParcel_writeString()334 size_t len16; in AParcel_readString() local335 const char16_t* str16 = parcel->get()->readString16Inplace(&len16); in AParcel_readString()347 if (len16 == 0) { in AParcel_readString()350 len8 = utf16_to_utf8_length(str16, len16) + 1; in AParcel_readString()[all …]
3955 int len16 = 0; // Number of UTF-16 characters in parse3GPPMetaData() local3965 len16 = ((size - 6) / 2) - 1; // don't include 0x0000 terminator in parse3GPPMetaData()3969 for (int i = 0; i < len16; i++) { in parse3GPPMetaData()3978 len16--; in parse3GPPMetaData()3991 String8 tmpUTF8str(framedata, len16); in parse3GPPMetaData()