Lines Matching refs:cchName
187 size_t cchName = strlen(pszName) + 1;
188 size_t cchNameAlign = RT_ALIGN_Z(cchName, s_NoteAlign);
216 size_t cchName = strlen(szNoteName) + 1;
217 size_t cchNameAlign = RT_ALIGN_Z(cchName, s_NoteAlign);
224 if (cchNameAlign - cchName > 3)
226 LogRel((DBGFLOG_NAME ": Elf64WriteNoteHdr pszName=%s cchName=%u cchNameAlign=%u, cchName aligns to 4 not 8-bytes!\n", pszName, cchName,
243 ElfNoteHdr.n_namesz = (Elf64_Word)cchName - 1; /* Again, a discrepancy between ELF-64 and Solaris (see @bugref{5211} comment #3), we will follow ELF-64 */
256 rc = RTFileWrite(hFile, szNoteName, cchName, NULL /* all */);
262 if (cchNameAlign > cchName)
263 rc = RTFileWrite(hFile, s_achPad, cchNameAlign - cchName, NULL);
284 LogRel((DBGFLOG_NAME ": RTFileWrite failed. rc=%Rrc pszName=%s cchName=%u cchNameAlign=%u cbData=%u cbDataAlign=%u\n",
285 rc, pszName, cchName, cchNameAlign, cbData, cbDataAlign));