Lines Matching defs:entSize
1353 static size_t findNull(StringRef s, size_t entSize) {
1354 for (unsigned i = 0, n = s.size(); i != n; i += entSize) {
1356 if (std::all_of(b, b + entSize, [](char c) { return c == 0; }))
1364 void MergeInputSection::splitStrings(StringRef s, size_t entSize) {
1367 if (!std::all_of(end - entSize, end, [](char c) { return c == 0; }))
1369 if (entSize == 1) {
1378 size_t size = findNull(StringRef(p, end - p), entSize);
1380 p += size + entSize;
1388 size_t entSize) {
1390 assert((size % entSize) == 0);
1393 pieces.resize_for_overwrite(size / entSize);
1394 for (size_t i = 0, j = 0; i != size; i += entSize, j++)
1395 pieces[j] = {i, (uint32_t)xxh3_64bits(data.slice(i, entSize)), live};