Lines Matching refs:tags

202 	/* bump number of tags in tag object */
208 tag->tags = (SML_TAG *)realloc(tag->tags,
214 (void) memmove(&(tag->tags[a_index + 1]), &(tag->tags[a_index]),
220 (void) memcpy(&(tag->tags[a_index]), a_subTag,
223 return (&(tag->tags[a_index]));
267 if (sub_tag == &tag->tags[index]) {
288 (void) memmove(&(tag->tags[index]), &(tag->tags[index + 1]),
304 tag->tags = (SML_TAG *)realloc(tag->tags,
307 tag->tags = SML_TAG__NULL;
631 if (tag->tags == NULL) {
650 if (strcmp(tag->tags[ti].name, tagName)) {
656 for (pi = 0; pi < tag->tags[ti].params_num; pi++) {
657 assert(tag->tags[ti].params[pi].name != (char *)NULL);
658 assert(tag->tags[ti].params[pi].value != (char *)NULL);
662 if (strcmp(tag->tags[ti].params[pi].name, paramName)) {
668 if (strcmp(tag->tags[ti].params[pi].value,
687 return (&tag->tags[ti]);
742 if (tag->tags == NULL) {
761 if (strcmp(tag->tags[ti].name, tagName)) {
767 for (pi = 0; pi < tag->tags[ti].params_num; pi++) {
768 assert(tag->tags[ti].params[pi].name != (char *)NULL);
769 assert(tag->tags[ti].params[pi].value != (char *)NULL);
773 if (strcmp(tag->tags[ti].params[pi].name, paramName)) {
779 if (strcmp(tag->tags[ti].params[pi].value,
798 return (smlGetParam(&tag->tags[ti], paramReturn));
857 if (tag->tags == NULL) {
869 assert(SML_TAG__ISVALID(&tag->tags[index]));
871 return (&tag->tags[index]);
909 if (tag->tags == NULL) {
922 if (streq(tag->tags[k].name, name)) {
924 assert(SML_TAG__ISVALID(&tag->tags[k]));
925 return (&tag->tags[k]);
989 tag->tags = (SML_TAG *)realloc(tag->tags,
991 (void) memcpy(&(tag->tags[tag->tags_num - 1]), tmp_tag,
1729 if (tag->tags != SML_TAG__NULL) {
1730 rtag->tags = (SML_TAG *)
1732 bzero(rtag->tags, sizeof (SML_TAG)*rtag->tags_num);
1735 stag = smlDup(&tag->tags[i]);
1736 (void) memcpy(&rtag->tags[i], stag,
2989 tag->tags = NULL;
2994 tag->tags = (SML_TAG *)realloc(tag->tags,
2996 (void) memcpy(&(tag->tags[tag->tags_num - 1]), tmp_tag,
3166 r = _smlWriteSimpleTag(a_str, &(tag->tags[k]));
3221 _smlFreeTag(&tag->tags[k]);
3242 if (tag->tags != NULL) {
3244 bzero(tag->tags, sizeof (SML_TAG)*tag->tags_num);
3246 (unsigned long)tag->tags);
3247 free(tag->tags);
3248 tag->tags = NULL;