Home
last modified time | relevance | path

Searched refs:totalLen (Results 1 – 1 of 1) sorted by relevance

/CafeSDK-2.12.13/system/src/tool/gfx/projects/gshCompile/
DgshCompile.cpp369 size_t totalLen = 0; in AppendShaderSource() local
389 totalLen = fileLen + 1; // for a trailing newline in AppendShaderSource()
390 *ppSource = (char *)malloc(totalLen+1); // add space for a trailing 0 in AppendShaderSource()
402totalLen = curLen; // this is, unfortunatley, just a guess, but it's a safe one in AppendShaderSource()
408 *ppSource = getFile(&fs, *ppSource, &curLen, &totalLen); in AppendShaderSource()
417 u32 totalLen = 0; in AppendShaderSource() local
452 totalLen = fileLen + 1; in AppendShaderSource()
453 *ppSource = new char[totalLen]; in AppendShaderSource()
465 totalLen = offset + fileLen + 1; // + 1 for appending "\0" in AppendShaderSource()
466 char* pTemp = new char[totalLen]; in AppendShaderSource()
[all …]