Lines Matching full:written
63 int written = -1; in verifyInfoLogQuery() local
66 (gl.*getInfoLog)(object, logLen+2, &written, &buf[0]); in verifyInfoLogQuery()
69 if (written == -1) in verifyInfoLogQuery()
70 result.fail("'length' was not written to"); in verifyInfoLogQuery()
71 else if (buf[written] != '\0') in verifyInfoLogQuery()
73 else if (logLen != 0 && (written + 1) > logLen) in verifyInfoLogQuery()
75 else if ((written + 1) < logLen) in verifyInfoLogQuery()
79 else if (written != (int)strlen(&buf[0])) in verifyInfoLogQuery()
80 result.fail("'length' and written string length do not match"); in verifyInfoLogQuery()
87 int written = -1; in verifyInfoLogQuery() local
89 (gl.*getInfoLog)(object, 2, &written, &buf[0]); in verifyInfoLogQuery()
92 if (written == -1) in verifyInfoLogQuery()
93 result.fail("'length' was not written to"); in verifyInfoLogQuery()
94 else if (written != 1) in verifyInfoLogQuery()
104 int written = -1; in verifyInfoLogQuery() local
106 (gl.*getInfoLog)(object, 1, &written, &buf[0]); in verifyInfoLogQuery()
109 if (written == -1) in verifyInfoLogQuery()
110 result.fail("'length' was not written to"); in verifyInfoLogQuery()
111 else if (written != 0) in verifyInfoLogQuery()
120 int written = -1; in verifyInfoLogQuery() local
122 (gl.*getInfoLog)(object, 0, &written, &buf[0]); in verifyInfoLogQuery()
125 if (written == -1) in verifyInfoLogQuery()
126 result.fail("'length' was not written to"); in verifyInfoLogQuery()
127 else if (written != 0) in verifyInfoLogQuery()