Lines Matching defs:label

249 	/* Get maximum label length */
255 /* Prepare too long label */
464 * - INVALID_VALUE when length of string <label> is not less than
468 static const GLchar label[] = "Foo";
469 static const GLsizei length = (GLsizei)(sizeof(label) / sizeof(label[0]));
481 label /* label */);
490 label /* label */);
494 label /* label */);
495 CHECK_ERROR(GL_INVALID_VALUE, "ObjectLabel with <label> set to MAX_LABEL_LENGTH + 1");
498 &too_long_label[0] /* label */);
499 CHECK_ERROR(GL_INVALID_VALUE, "ObjectLabel with too long label");
520 GLchar label[bufSize];
532 &length /* length */, label /* label */);
541 &length /* length */, label /* label */);
545 &length /* length */, label /* label */);
560 * - INVALID_VALUE when length of string <label> is not less than
564 static const GLchar label[] = "Foo";
565 static const GLsizei length = (GLsizei)(sizeof(label) / sizeof(label[0]));
579 m_gl->objectPtrLabel(invalid_id /* name */, length /* length */, label /* label */);
582 m_gl->objectPtrLabel(sync_id /* name */, max_label + 1 /* length */, label /* label */);
585 m_gl->objectPtrLabel(sync_id /* name */, -1 /* length */, &too_long_label[0] /* label */);
586 CHECK_ERROR(GL_INVALID_VALUE, "ObjectPtrLabel with too long label");
605 GLchar label[bufSize];
621 label /* label */);
624 m_gl->getObjectPtrLabel(sync_id /* name */, -1 /* bufSize */, &length /* length */, label /* label */);
701 static const GLchar label[] = "foo";
702 static const GLsizei label_length = (GLsizei)(sizeof(label) / sizeof(label[0]) - 1);
721 * - query label; It is expected that result will be an empty string and length
729 TCU_FAIL("Just created object has label of length != 0");
734 TCU_FAIL("Just created object has not empty label");
738 * - assign label to object;
739 * - query label; It is expected that result will be equal to the provided
740 * label and length will be correct;
742 m_gl->objectLabel(identifier, id, -1 /* length */, label);
750 TCU_FAIL("Length is different than length of set label");
753 if (0 != strcmp(buffer, label))
755 TCU_FAIL("Different label returned");
763 m_gl->getObjectLabel(identifier, id, 0 /* bufSize */, &length, 0 /* label */);
768 TCU_FAIL("Invalid length returned when label and bufSize are set to 0");
772 * - query label with <bufSize> less than actual length of label; It is
782 if (buffer[0] != label[0])
784 TCU_FAIL("Different label returned");
798 * - query label with <bufSize> equal zero; It is expected that buffer contents
813 * - assign empty string as label to object;
814 * - query label, it is expected that result will be an empty string and length
830 TCU_FAIL("Non empty label returned, empty string was set");
834 * - assign NULL as label to object;
835 * - query label, it is expected that result will be an empty string and length
838 m_gl->objectLabel(identifier, id, 2, 0 /* label */);
846 TCU_FAIL("Label length is != 0, label was removed");
851 TCU_FAIL("Different label returned, label was removed");
1273 static const GLchar label[] = "foo";
1274 static const size_t label_length = sizeof(label) / sizeof(label[0]) - 1;
1319 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
1364 if (0 != strcmp(label, messageLog))
1380 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
1406 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
1425 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
1459 GL_DEBUG_SEVERITY_MEDIUM /* severity */, label_length /* length */, label);
1463 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
1467 GL_DEBUG_SEVERITY_LOW /* severity */, label_length /* length */, label);
1493 GL_DEBUG_SEVERITY_MEDIUM /* severity */, label_length /* length */, label);
1497 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
1501 GL_DEBUG_SEVERITY_LOW /* severity */, label_length /* length */, label);
1532 label);
1644 if (0 != strcmp(label, &messageLog[i * (label_length + 1)]))
1710 if (0 != strcmp(label, &messageLog[i * (label_length + 1)]))
1773 if (0 != strcmp(label, &messageLog[0]))
1917 static const GLchar label[] = "foo";
1918 static const size_t label_length = sizeof(label) / sizeof(label[0]) - 1;
1938 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
1942 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
1945 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
1949 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
1962 m_gl->pushDebugGroup(GL_DEBUG_SOURCE_APPLICATION /* source */, 0xabcd0123 /* id */, -1 /* length */, label);
1967 label);
1974 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
1980 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
1984 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
2002 m_gl->pushDebugGroup(GL_DEBUG_SOURCE_APPLICATION /* source */, 0x0123abcd /* id */, -1 /* length */, label);
2007 label);
2014 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
2020 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
2046 label);
2049 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
2055 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
2059 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
2082 label);
2085 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
2089 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
2092 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
2096 GL_DEBUG_SEVERITY_HIGH /* severity */, label_length /* length */, label);
2141 * @param expected_label Expected label of messages
2275 static const GLchar label[] = "foo";
2306 GL_DEBUG_SEVERITY_HIGH /* severity */, -1 /* length */, label);