Searched refs:type_width (Results 1 – 3 of 3) sorted by relevance
528 const int type_width = sizeof(SourceDataType); in ReadUTFBufferAndDumpToStream() local529 const int origin_encoding = 8 * type_width; in ReadUTFBufferAndDumpToStream()555 const int bufferSPSize = sourceSize * type_width; in ReadUTFBufferAndDumpToStream()567 bufferSPSize, error, type_width); in ReadUTFBufferAndDumpToStream()
2220 Status &error, size_t type_width) { in ReadStringFromMemory() argument2222 if (dst && max_bytes && type_width && max_bytes >= type_width) { in ReadStringFromMemory()2226 size_t bytes_left = max_bytes - type_width; in ReadStringFromMemory()2229 assert(sizeof(terminator) >= type_width && "Attempting to validate a " in ReadStringFromMemory()2250 size_t aligned_start = total_bytes_read - total_bytes_read % type_width; in ReadStringFromMemory()2252 i + type_width <= total_bytes_read + bytes_read; i += type_width) in ReadStringFromMemory()2253 if (::memcmp(&dst[i], terminator, type_width) == 0) { in ReadStringFromMemory()
1792 Status &error, size_t type_width = 1);