Searched refs:vec_len (Results 1 – 2 of 2) sorted by relevance
250 size_t vec_len = GetSizeOf(); in CopyTo() local251 if (vec_len < len) { in CopyTo()252 void* dst_padding = reinterpret_cast<uint8_t*>(dst) + vec_len; in CopyTo()253 memcpy(dst, storage_, vec_len); in CopyTo()254 memset(dst_padding, 0, len - vec_len); in CopyTo()
110 size_t vec_len = 0; in ExtractRssFromMincore() local124 vec_len = std::max(vec_len, length / kPageSize); in ExtractRssFromMincore()126 std::unique_ptr<unsigned char[]> vec(new unsigned char[vec_len]); in ExtractRssFromMincore()