Searched refs:type_width (Results 1 – 3 of 3) sorted by relevance
399 const int type_width = sizeof(SourceDataType); in ReadUTFBufferAndDumpToStream() local400 const int origin_encoding = 8 * type_width ; in ReadUTFBufferAndDumpToStream()421 const int bufferSPSize = sourceSize * type_width; in ReadUTFBufferAndDumpToStream()433 …= process_sp->ReadStringFromMemory(options.GetLocation(), buffer, bufferSPSize, error, type_width); in ReadUTFBufferAndDumpToStream()
2385 size_t type_width) in ReadStringFromMemory() argument2388 if (dst && max_bytes && type_width && max_bytes >= type_width) in ReadStringFromMemory()2392 size_t bytes_left = max_bytes - type_width; in ReadStringFromMemory()2395 assert(sizeof(terminator) >= type_width && in ReadStringFromMemory()2413 size_t aligned_start = total_bytes_read - total_bytes_read % type_width; in ReadStringFromMemory()2414 … for (size_t i = aligned_start; i + type_width <= total_bytes_read + bytes_read; i += type_width) in ReadStringFromMemory()2415 if (::strncmp(&dst[i], terminator, type_width) == 0) in ReadStringFromMemory()
2743 size_t type_width = 1);