• Home
  • Raw
  • Download

Lines Matching refs:labelPtr

46 set_label(struct gl_context *ctx, char **labelPtr, const char *label,  in set_label()  argument
49 free(*labelPtr); in set_label()
50 *labelPtr = NULL; in set_label()
62 *labelPtr = malloc(length+1); in set_label()
63 if (*labelPtr) { in set_label()
64 memcpy(*labelPtr, label, length); in set_label()
68 (*labelPtr)[length] = '\0'; in set_label()
80 *labelPtr = strdup(label); in set_label()
138 char **labelPtr = NULL; in get_label_pointer() local
145 labelPtr = &bufObj->Label; in get_label_pointer()
152 labelPtr = &shader->Label; in get_label_pointer()
160 labelPtr = &program->Label; in get_label_pointer()
167 labelPtr = &obj->Label; in get_label_pointer()
174 labelPtr = &query->Label; in get_label_pointer()
186 labelPtr = &tfo->Label; in get_label_pointer()
193 labelPtr = &so->Label; in get_label_pointer()
200 labelPtr = &texObj->Label; in get_label_pointer()
207 labelPtr = &rb->Label; in get_label_pointer()
214 labelPtr = &rb->Label; in get_label_pointer()
221 labelPtr = &list->Label; in get_label_pointer()
232 labelPtr = &pipe->Label; in get_label_pointer()
239 if (NULL == labelPtr) { in get_label_pointer()
243 return labelPtr; in get_label_pointer()
257 char **labelPtr; in _mesa_ObjectLabel() local
264 labelPtr = get_label_pointer(ctx, identifier, name, callerstr); in _mesa_ObjectLabel()
265 if (!labelPtr) in _mesa_ObjectLabel()
268 set_label(ctx, labelPtr, label, length, callerstr); in _mesa_ObjectLabel()
277 char **labelPtr; in _mesa_GetObjectLabel() local
290 labelPtr = get_label_pointer(ctx, identifier, name, callerstr); in _mesa_GetObjectLabel()
291 if (!labelPtr) in _mesa_GetObjectLabel()
294 copy_label(*labelPtr, label, length, bufSize); in _mesa_GetObjectLabel()
303 char **labelPtr; in _mesa_ObjectPtrLabel() local
318 labelPtr = &syncObj->Label; in _mesa_ObjectPtrLabel()
320 set_label(ctx, labelPtr, label, length, callerstr); in _mesa_ObjectPtrLabel()
331 char **labelPtr; in _mesa_GetObjectPtrLabel() local
351 labelPtr = &syncObj->Label; in _mesa_GetObjectPtrLabel()
353 copy_label(*labelPtr, label, length, bufSize); in _mesa_GetObjectPtrLabel()