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