Searched refs:entSize (Results 1 – 2 of 2) sorted by relevance
1335 static size_t findNull(StringRef s, size_t entSize) { in findNull() argument1337 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() argument1360 size_t end = findNull(s, entSize); in splitStrings()1363 size_t size = end + entSize; in splitStrings()1374 size_t entSize) { in splitNonStrings() argument1376 assert((size % entSize) == 0); in splitNonStrings()1379 for (size_t i = 0; i != size; i += entSize) in splitNonStrings()[all …]
474 uint64_t entSize = sec.sh_entsize; in shouldMerge() local475 if (entSize == 0) in shouldMerge()477 if (sec.sh_size % entSize) in shouldMerge()480 Twine(entSize) + ")"); in shouldMerge()