Lines Matching refs:hostStr
843 char *hostStr = NULL; in getExtStringArray() local
846 hostStr = new char[-n+1]; in getExtStringArray()
847 n = rcEnc->rcGetGLString(rcEnc, GL_EXTENSIONS, hostStr, -n); in getExtStringArray()
849 delete [] hostStr; in getExtStringArray()
850 hostStr = NULL; in getExtStringArray()
856 if (!hostStr || !strlen(hostStr)) { return res; } in getExtStringArray()
863 if (sWantES30OrAbove(hostStr) && in getExtStringArray()
864 !strstr(hostStr, kOESEGLImageExternalEssl3)) { in getExtStringArray()
868 const int hostStrLen = strlen(hostStr); in getExtStringArray()
870 if (hostStr[extEnd] == ' ') { in getExtStringArray()
872 res.push_back(std::string(hostStr + extStart, extSz)); in getExtStringArray()
879 delete [] hostStr; in getExtStringArray()
920 char* hostStr = NULL; in getGLString() local
933 hostStr = new char[totalSz]; in getGLString()
934 memset(hostStr, 0, totalSz); in getGLString()
936 char* current = hostStr; in getGLString()
950 hostStr = new char[-n+1]; in getGLString()
951 n = rcEnc->rcGetGLString(rcEnc, glEnum, hostStr, -n); in getGLString()
953 delete [] hostStr; in getGLString()
954 hostStr = NULL; in getGLString()
962 *strPtr = hostStr; in getGLString()
963 return hostStr; in getGLString()