Lines Matching refs:m_nDB
301 u32 m_nDB; ///< Current size of pDataBlock in chars member
312 u32 m_nDB; ///< Current size (e.g. next writeable offset) of m_pDB in chars member
326 pTable->m_nDB = 0; in GFDCreateStringTable()
372 if(pTable->m_nDB + len_pad + 1 >= pTable->m_maxDB) in GFDAddStringTable()
374 int newSize = pTable->m_nDB; in GFDAddStringTable()
377 GFDGrowStringTableDB(pTable, pTable->m_nDB + newSize); // double size if needed in GFDAddStringTable()
384 int off = pTable->m_nDB; in GFDAddStringTable()
387 strncpy_s(pTable->m_nDB + pTable->m_pDB, len+1, str, len+1); in GFDAddStringTable()
389 strncpy_s(pTable->m_nDB + pTable->m_pDB + len + 1, sizeof(u32), (char*) &zero, len_pad - len-1); in GFDAddStringTable()
392 pTable->m_nDB += len_pad; in GFDAddStringTable()
406 pTable->m_nDB = 0; in GFDCreateDataTable()
453 if(pTable->m_nDB + nBytes + sizeof(u32) >= pTable->m_maxDB) in GFDAddDataTable()
455 size_t newSize = pTable->m_nDB; // double size in GFDAddDataTable()
457 … int finalSize = (pTable->m_nDB + newSize + 0x1f) & ~0x1f; // finally round to nearest 32 bytes in GFDAddDataTable()
461 u32 off = pTable->m_nDB; // offset is data, after the length... in GFDAddDataTable()
463 memcpy(pTable->m_pDB + pTable->m_nDB, data, nBytes); in GFDAddDataTable()
466 pTable->m_nDB += nBytes; in GFDAddDataTable()
769 u32 offStringTable = pDT->m_nDB; // current offset... in GFDCreateBlockRelocateHeaderVSH()
809 int nWordsStrTbl = (pStrTable->m_nDB + 0x3) / 4; in GFDCreateBlockRelocateHeaderVSH()
849 …vshTrailer->stringTableCharNumber = pStrTable->m_nDB; // number of characters in the st… in GFDCreateBlockRelocateHeaderVSH()
947 u32 offStringTable = pDT->m_nDB; // current offset... in GFDCreateBlockRelocateHeaderPSH()
979 int nWordsStrTbl = (pStrTable->m_nDB + 0x3) / 4; in GFDCreateBlockRelocateHeaderPSH()
1019 …pshTrailer->stringTableCharNumber = pStrTable->m_nDB; // number of characters in the st… in GFDCreateBlockRelocateHeaderPSH()
1117 u32 offStringTable = pDT->m_nDB; // current offset... in GFDCreateBlockRelocateHeaderGSH()
1150 int nWordsStrTbl = (pStrTable->m_nDB + 0x3) / 4; in GFDCreateBlockRelocateHeaderGSH()
1190 …gshTrailer->stringTableCharNumber = pStrTable->m_nDB; // number of characters in the st… in GFDCreateBlockRelocateHeaderGSH()
1316 u32 offStringTable = pDT->m_nDB; // current offset... in GFDCreateBlockRelocateHeaderCSH()
1348 int nWordsStrTbl = (pStrTable->m_nDB + 0x3) / 4; in GFDCreateBlockRelocateHeaderCSH()
1393 …vshTrailer->stringTableCharNumber = pStrTable->m_nDB; // number of characters in the st… in GFDCreateBlockRelocateHeaderCSH()
1434 …int nBytesVSStruct = pDT_VS->m_nDB; // How big is our vertex struct (changes size due to uniforms… in GFDWriteFileVertexShaderBlock()
1490 …int nBytesPSStruct = pDT_PS->m_nDB; // How big is our pixel shader struct (changes size due to un… in GFDWriteFilePixelShaderBlock()
1550 …int nBytesGSStruct = pDT_GS->m_nDB; // How big is our shader struct (changes size due to uniforms… in GFDWriteFileGeometryShaderBlock()
1627 …int nBytesCSStruct = pDT_CS->m_nDB; // How big is our compute struct (changes size due to uniform… in GFDWriteFileComputeShaderBlock()