Lines Matching refs:label
57 hAnnotation->label = NULL;
100 if (hAnnotation->label)
101 VAR_FREE(hAnnotation->label, "annotation_label");
102 hAnnotation->label = NULL;
130 annotation_decorate_labels(hAnnotation->data, hAnnotation->label);
201 void CA_SetAnnotationLabel(CA_Annotation *hAnnotation, char *label)
206 ASSERT(label);
208 if ((strchr(label, '<') || (strchr(label, '>'))))
210 if (hAnnotation->label)
212 hAnnotation->label = NULL;
213 hAnnotation->label = (char *) VAR_ALLOCATE(strlen(label) + 1, sizeof(char), "ca.annotation_label");
214 strcpy(hAnnotation->label, label);
225 int CA_GetAnnotationLabel(CA_Annotation *hAnnotation, char *label, int length)
232 ASSERT(label);
236 if (hAnnotation->label)
238 required_length = strlen(hAnnotation->label) + 1;
243 strncpy(label, hAnnotation->label, length - 2);
244 label[length - 1] = '\0';
247 *label = '\0';
251 strcpy(label, hAnnotation->label);
254 *label = '\0';
347 if (!hAnnotation->label)
361 hAnnotation->label, &has_trailing_silence);
494 annotation_decorate_labels(hAnnotation->data, hAnnotation->label);
567 if (!hAnnotation->label)
569 if (CA_IsAcousticWholeModelExtant(hAcoust, hAnnotation->label))
596 hAnnotation->label,
626 annotation_create_tcp_entry(hAnnotation->data, NULL); /* null label avoids alloc */
640 annotation_decorate_labels(hAnnotation->data, hAnnotation->label);
669 ASSERT(hAnnotation->label);
694 WARNING: You must re-label the annotation segments so that they begin
716 annotation_decorate_labels(hAnnotation->data, hAnnotation->label);