Lines Matching refs:entSize
1335 static size_t findNull(StringRef s, size_t entSize) { in findNull() argument
1337 if (entSize == 1) in findNull()
1340 for (unsigned i = 0, n = s.size(); i != n; i += entSize) { in findNull()
1342 if (std::all_of(b, b + entSize, [](char c) { return c == 0; })) in findNull()
1354 void MergeInputSection::splitStrings(ArrayRef<uint8_t> data, size_t entSize) { in splitStrings() argument
1360 size_t end = findNull(s, entSize); in splitStrings()
1363 size_t size = end + entSize; in splitStrings()
1374 size_t entSize) { in splitNonStrings() argument
1376 assert((size % entSize) == 0); in splitNonStrings()
1379 for (size_t i = 0; i != size; i += entSize) in splitNonStrings()
1380 pieces.emplace_back(i, xxHash64(data.slice(i, entSize)), !isAlloc); in splitNonStrings()