Lines Matching refs:bytes
605 int32 bytes;
606 if ((bytes = raw_data->Read(buffer, raw_length)) < 0)
609 char* string = decoded.LockBuffer(bytes + 1);
610 bytes = decode(encoding, string, buffer, bytes, 0);
615 // for UTF-16 because \r takes up two bytes rather than one.
618 char* end = string + bytes;
624 bytes = decoded.Length(); // Might have shrunk a bit.
639 int32 destLength = bytes * 3 /* in case it grows */ + 1 /* +1 so it isn't zero which crashes */;
641 mail_convert_to_utf8(charset, decoded.String(), &bytes, string,
704 // each character (which could just be 2 bytes in UTF-8, or even 1 byte
734 // There seem to be a possibility of NULL bytes in the text, so lets