Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTPFXParser.cpp747 char pszLine[512]; in ParseFromMemory() local
787 if(nLen+1-nReduce > sizeof(pszLine) / sizeof(*pszLine)) in ParseFromMemory()
788 nLen = sizeof(pszLine) / sizeof(*pszLine) - 1 + nReduce; in ParseFromMemory()
791 strncpy(pszLine, pszCurr, nLen - nReduce); in ParseFromMemory()
792 pszLine[nLen - nReduce] = 0; in ParseFromMemory()
795 _ASSERT(strchr(pszLine, '\r') == 0); in ParseFromMemory()
796 _ASSERT(strchr(pszLine, '\n') == 0); in ParseFromMemory()
799 char *tmp = strstr(pszLine, "//"); in ParseFromMemory()
803 ReduceWhitespace(pszLine); in ParseFromMemory()
809 …m_psContext->ppszEffectFile[m_psContext->nNumLines] = (char *)malloc((strlen(pszLine) + 1) * sizeo… in ParseFromMemory()
[all …]