Lines Matching refs:tag
128 assert_if_no_error(!inside_attrs(), "cannot print tag inside attrs");
142 void xmlStream::see_tag(const char* tag, bool push) {
146 // tag goes up until either null or space:
147 const char* tag_end = strchr(tag, ' ');
148 size_t tag_len = (tag_end == NULL) ? strlen(tag) : tag_end - tag;
149 assert(tag_len > 0, "tag must not be empty");
150 // push the tag onto the stack, pulling down the pointer
169 memcpy(push_ptr, tag, tag_len);
176 void xmlStream::pop_tag(const char* tag) {
179 assert(*tag != 0, "tag must not be empty");
182 while (*cur_tag != 0 && strcmp(cur_tag, tag) != 0) {
183 this->print_cr("</%s> <!-- missing closing tag -->", cur_tag);
191 // Pop the stack, by skipping over the tag and its null.
198 assert(false, "bad tag in log");
353 // Output the tail-tag of the enclosing element.