Lines Matching defs:label
46 set_label(struct gl_context *ctx, char **labelPtr, const char *label,
52 /* set new label string */
53 if (label) {
64 memcpy(*labelPtr, label, length);
72 int len = strlen(label);
75 "%s(label length=%d, which is not less than "
80 *labelPtr = strdup(label);
87 * \param src the src label (may be null)
89 * \param length returns length of label (may be null)
99 * characters that may be written into <label>, including the null
100 * terminator, is specified by <bufSize>. If no debug label was specified
101 * for the object then <label> will contain a null-terminated empty string,
102 * and zero will be returned in <length>. If <label> is NULL and <length>
103 * is non-NULL then no string will be returned and the length of the label
253 const GLchar *label)
268 set_label(ctx, labelPtr, label, length, callerstr);
273 GLsizei *length, GLchar *label)
294 copy_label(*labelPtr, label, length, bufSize);
298 _mesa_ObjectPtrLabel(const void *ptr, GLsizei length, const GLchar *label)
320 set_label(ctx, labelPtr, label, length, callerstr);
326 GLchar *label)
353 copy_label(*labelPtr, label, length, bufSize);