Lines Matching refs:hostStr
733 char *hostStr = NULL; in getExtStringArray() local
736 hostStr = new char[-n+1]; in getExtStringArray()
737 n = rcEnc->rcGetGLString(rcEnc, GL_EXTENSIONS, hostStr, -n); in getExtStringArray()
739 delete [] hostStr; in getExtStringArray()
740 hostStr = NULL; in getExtStringArray()
746 if (!hostStr || !strlen(hostStr)) { return res; } in getExtStringArray()
753 if (sWantES30OrAbove(hostStr) && in getExtStringArray()
754 !strstr(hostStr, kOESEGLImageExternalEssl3)) { in getExtStringArray()
758 const int hostStrLen = strlen(hostStr); in getExtStringArray()
760 if (hostStr[extEnd] == ' ') { in getExtStringArray()
762 res.push_back(std::string(hostStr + extStart, extSz)); in getExtStringArray()
769 delete [] hostStr; in getExtStringArray()
810 char* hostStr = NULL; in getGLString() local
823 hostStr = new char[totalSz]; in getGLString()
824 memset(hostStr, 0, totalSz); in getGLString()
826 char* current = hostStr; in getGLString()
840 hostStr = new char[-n+1]; in getGLString()
841 n = rcEnc->rcGetGLString(rcEnc, glEnum, hostStr, -n); in getGLString()
843 delete [] hostStr; in getGLString()
844 hostStr = NULL; in getGLString()
852 *strPtr = hostStr; in getGLString()
853 return hostStr; in getGLString()