Lines Matching refs:logLen
41 int logLen,
48 std::string buf (logLen + 2, 'X');
50 buf[logLen + 1] = '\0';
51 (gl.*getInfoLog)(object, logLen, DE_NULL, &buf[0]);
54 if (logLen > 0 && buf[logLen-1] != '\0')
56 else if (buf[logLen] != 'X' && buf[logLen+1] != '\0')
62 std::string buf (logLen + 4, 'X');
65 buf[logLen + 3] = '\0';
66 (gl.*getInfoLog)(object, logLen+2, &written, &buf[0]);
73 else if (logLen != 0 && (written + 1) > logLen)
75 else if ((written + 1) < logLen)
77 else if (buf[logLen+2] != 'X' && buf[logLen+3] != '\0')
83 if (logLen > 2)
86 std::string buf (logLen + 2, 'X');
100 if (logLen > 0)
103 std::string buf (logLen + 2, 'X');
119 std::string buf (logLen + 2, 'X');