/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/debug/ |
H A D | logger.cpp | 65 static TagStack &tag_stack() { in tag_stack() function 170 write_indent(log_stream, tag_stack().size()); in _start() 184 tag_stack().push_back(std::make_shared<std::string>(name)); in _start() 191 tag_stack().push_back(nullptr); in _skip() 195 if (tag_stack().back()) { in _finish() 199 write_indent(log_stream, tag_stack().size() - 1); in _finish() 200 log_stream << "</" << tag_stack().back()->c_str() << ">\n"; in _finish() 207 tag_stack().pop_back(); in _finish() 212 while (!tag_stack().empty()) { in shutdown()
|
/dports/textproc/p5-XML-Parser-Lite-Tree/XML-Parser-Lite-Tree-0.14/lib/XML/Parser/Lite/ |
H A D | Tree.pm | 48 $self->{tag_stack} = [$root]; 82 push @{$self->{tag_stack}->[-1]->{children}}, $new_tag; 83 push @{$self->{tag_stack}}, $new_tag; 98 push @{$self->{tag_stack}->[-1]->{children}}, $new_tag; 114 push @{$self->{tag_stack}->[-1]->{children}}, $new_tag; 122 pop @{$self->{tag_stack}}; 137 push @{$self->{tag_stack}->[-1]->{children}}, $new_tag; 146 push @{$self->{tag_stack}->[-1]->{children}}, { 157 push @{$self->{tag_stack}->[-1]->{children}}, {
|
/dports/www/p5-HTML-Macro/HTML-Macro/ |
H A D | Macro.pm | 445 my @tag_stack = (); 567 my $matching_tag = pop @tag_stack; 641 my $matching_tag = pop @tag_stack; 655 my $matching_tag = pop @tag_stack; 683 my $top = $tag_stack[$#tag_stack]; 687 push @tag_stack, $top; 706 my $top = $tag_stack[$#tag_stack]; 716 pop @tag_stack; 717 my $top = $tag_stack[$#tag_stack]; 762 while (@tag_stack) [all …]
|
/dports/textproc/p5-XML-Flow/XML-Flow-0.86/lib/XML/ |
H A D | Flow.pm | 360 my $tag_stack = $shared->{tag_stack} || []; 361 $shared->{tag_stack} = $tag_stack; 366 push @$tag_stack, $new; 376 if ( my $current = pop @{$tag_stack} ) { 377 push @{$tag_stack}, $current; 389 if ( my $current = pop @{$tag_stack} ) { 390 my $parent = pop @{$tag_stack}; 393 push @{$tag_stack}, $parent; 422 push @{$tag_stack}, $parent;
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/rtf/ |
H A D | rtfml.py | 217 def dump_text(self, elem, stylizer, tag_stack=[]): argument 243 if 'block' not in tag_stack: 245 tag_stack.append('block') 255 if 'block' not in tag_stack: 265 if rtf_tag and rtf_tag not in tag_stack: 268 tag_stack.append(rtf_tag) 273 if style_tag and style_tag not in tag_stack: 276 tag_stack.append(style_tag) 283 text += self.dump_text(item, stylizer, tag_stack) 286 end_tag = tag_stack.pop() [all …]
|
/dports/games/renpy/renpy-7.4.11-sdk/renpy/text/ |
H A D | extras.py | 91 tag_stack = [ ] 106 if not tag_stack: 109 if tag_stack[-1] != text[1:]: 110 … return "Close text tag '%s' does not match open text tag '%s'." % (text, tag_stack[-1]) 112 tag_stack.pop() 119 tag_stack.append(text) 121 if tag_stack: 122 …xt tags were left open at the end of the string: " + ", ".join([ "'" + i + "'" for i in tag_stack])
|
/dports/sysutils/tracker-miners/tracker-miners-2.3.5/src/tracker-extract/ |
H A D | tracker-extract-oasis.c | 60 GQueue *tag_stack; /* (element-type: ODTTagType) */ member 73 GQueue *tag_stack; /* (element-type: ODTTagType) */ member 140 info.tag_stack = g_queue_new (); in extract_oasis_content() 166 g_queue_free (info.tag_stack); in extract_oasis_content() 209 info.tag_stack = g_queue_new (); in tracker_extract_get_metadata() 239 g_queue_free (info.tag_stack); in tracker_extract_get_metadata() 260 g_queue_push_head (data->tag_stack, GINT_TO_POINTER(id)); in xml_start_element_handler_metadata() 321 g_queue_pop_head (data->tag_stack); in xml_end_element_handler_metadata() 344 current = GPOINTER_TO_INT (g_queue_peek_head (data->tag_stack)); in xml_text_handler_metadata() 451 g_queue_push_head (data->tag_stack, GINT_TO_POINTER(id)); in xml_start_element_handler_content() [all …]
|
/dports/security/libwhisker/libwhisker2-2.5/src/ |
H A D | _xml.pl | 32 @tag_stack = ("/\t/\t0"); # current tag stack order 53 my ( $n, $cur, $end ) = split( /\t/, $tag_stack[-1] ); 62 $tag_stack[-1] = "$n\t$cur\t0"; 66 push( @tag_stack, "$TAG\t$rname\t$e" ) unless $flag; 71 foreach (@tag_stack) { } 74 my ( $n, $path, $end ) = split( /\t/, pop(@tag_stack) ); 128 @tag_stack = ("/\t/\t0"); # reset the tag stack
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/pml/ |
H A D | pmlml.py | 226 def dump_text(self, elem, stylizer, page, tag_stack=[]): argument 281 'x' not in tag_stack+tags and 'X0' not in tag_stack+tags and \ 282 'X1' not in tag_stack+tags and 'X2' not in tag_stack+tags and \ 283 'X3' not in tag_stack+tags and 'X4' not in tag_stack+tags: 300 if pml_tag and pml_tag not in tag_stack+tags: 306 if tag in LINK_TAGS and 'q' not in tag_stack+tags: 329 if style_tag and style_tag not in tag_stack+tags: 355 text += self.dump_text(item, stylizer, page, tag_stack+tags)
|
/dports/www/moinmoin/moin-1.9.11/MoinMoin/formatter/ |
H A D | dom_xml.py | 72 self.tag_stack = [('xml', {})] 85 self.tag_stack.append((tag, attrs)) 100 if self.tag_stack[-1][0] != tag: 101 … raise ValueError("closing of <%s> expected, but <%s> closed" % (self.tag_stack[-1][0], tag)) 103 return self.tag_stack.pop() 128 last_tag = self.tag_stack[-1][0] 148 while self.tag_stack: 150 last_tag = self.tag_stack[-1][0] 158 self.request.write("tag_stack: %r\n" % self.tag_stack) 170 for tag in self.tag_stack: [all …]
|
/dports/databases/grass7/grass-7.8.6/tools/g.html2man/ |
H A D | ghtml.py | 167 self.tag_stack = [] 179 if self.tag_stack == []: 182 return self.tag_stack[-1][0] 188 (tag, attrs) = self.tag_stack.pop() 193 self.tag_stack.append((tag, attrs)) 207 if self.tag_stack != []:
|
/dports/multimedia/handbrake/HandBrake-1.4.2/gtk/src/ |
H A D | appcast.c | 58 GQueue *tag_stack; member 112 g_queue_push_head(pd->tag_stack, id.pid); in start_element() 163 start_id.pid = g_queue_pop_head(pd->tag_stack); in end_element() 194 start_id.pid = g_queue_peek_head(pd->tag_stack); in text_data() 256 pd.tag_stack = g_queue_new(); in ghb_appcast_parse() 271 g_queue_free(pd.tag_stack); in ghb_appcast_parse()
|
/dports/lang/ruby26/ruby-2.6.9/lib/rexml/parsers/ |
H A D | treeparser.rb | 18 tag_stack = [] 27 unless tag_stack.empty? 33 tag_stack.push(event[1]) 39 tag_stack.pop
|
/dports/misc/lifelines/lifelines-3.1.1/reports/ |
H A D | refn.ll | 29 list(tag_stack) 39 setel(tag_stack, add(level, 1), tag(node)) 43 forlist (tag_stack, tag, tag_number) { 54 setel(tag_stack, add(level, 1), tag(node)) 72 forlist (tag_stack, tag, tag_number) {
|
/dports/graphics/gimp-app/gimp-2.10.30/app/widgets/ |
H A D | gimptextbuffer-serialize.c | 199 GSList *tag_stack; member 312 info->tag_stack = g_slist_prepend (info->tag_stack, tag); in parse_tag_element() 391 info->tag_stack = g_slist_delete_link (info->tag_stack, in end_element_handler() 392 info->tag_stack); in end_element_handler() 456 span->tags = g_slist_copy (info->tag_stack); in text_handler() 473 info->tag_stack = NULL; in parse_info_init() 490 g_slist_free (info->tag_stack); in parse_info_free()
|
/dports/mail/sylpheed/sylpheed-3.7.0/libsylph/ |
H A D | xml.c | 87 newfile->tag_stack = NULL; in xml_open_file() 105 while (file->tag_stack != NULL) in xml_close_file() 309 file->tag_stack = g_list_prepend(file->tag_stack, tag); in xml_push_tag() 317 if (!file->tag_stack) return; in xml_pop_tag() 319 tag = (XMLTag *)file->tag_stack->data; in xml_pop_tag() 322 file->tag_stack = g_list_remove(file->tag_stack, tag); in xml_pop_tag() 328 if (file->tag_stack) in xml_get_current_tag() 329 return (XMLTag *)file->tag_stack->data; in xml_get_current_tag()
|
/dports/ftp/net2ftp/net2ftp_v1.3/files_to_upload/plugins/luminous/languages/ |
H A D | html.php | 13 private $tag_stack = array(); variable in LuminousHTMLScanner 186 array_pop($this->tag_stack); 204 if ($this->tagname[0] === '/') array_pop($this->tag_stack); 205 else $this->tag_stack[] = $this->tagname; 224 if ($this->xml_literal && $this->state_ !== 'tag' && empty($this->tag_stack)) {
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/rb/ |
H A D | rbml.py | 144 def dump_text(self, elem, stylizer, page, tag_stack=[]): argument 178 tag_stack.append(rb_tag) 193 tag_stack.append('A') 207 tag_stack.append(style_tag) 214 text += self.dump_text(item, stylizer, page, tag_stack) 218 close_tag_list.insert(0, tag_stack.pop())
|
/dports/sysutils/bulk_extractor/bulk_extractor-2.0.0-beta2/src/be13_api/dfxml_cpp/src/ |
H A D | dfxml_writer.h | 127 M(),outf(outfilename_.c_str(),std::ios_base::out), out(),tags(),tag_stack(),tempfilename(), in dfxml_writer() 168 std::stack<std::string>tag_stack; variable 201 for(unsigned int i=0;i<tag_stack.size()+delta && !oneline;i++){ 306 if (!tag_stack.empty()) { in close() 308 while (!tag_stack.empty()){ in close() 309 auto it = tag_stack.top(); in close() 311 tag_stack.pop(); in close() 358 tag_stack.push(tag); in push() 400 if (tag_stack.size()==0){ 404 std::string tag = tag_stack.top(); [all …]
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/fb2/ |
H A D | fb2ml.py | 394 def dump_text(self, elem_tree, stylizer, page, tag_stack=[]): argument 444 if not tag_stack: 494 open_tags = tag_stack+tags 508 p_text, added_p = self.close_open_p(tag_stack+tags) 521 s_out, s_tags = self.handle_simple_tag('strong', tag_stack+tags) 525 s_out, s_tags = self.handle_simple_tag('emphasis', tag_stack+tags) 529 s_out, s_tags = self.handle_simple_tag('strikethrough', tag_stack+tags) 533 s_out, s_tags = self.handle_simple_tag('sub', tag_stack+tags) 537 s_out, s_tags = self.handle_simple_tag('sup', tag_stack+tags) 551 fb2_out += self.dump_text(item, stylizer, page, tag_stack+tags)
|
/dports/x11-toolkits/gnocl/gnocl-0.9.96/src/textPango/ |
H A D | gimptextbuffer-serialize.c | 269 GSList *tag_stack; member 369 info->tag_stack = g_slist_prepend ( info->tag_stack, tag ); in parse_tag_element() 451 info->tag_stack = g_slist_delete_link ( info->tag_stack, info->tag_stack ); in end_element_handler() 525 span->tags = g_slist_copy ( info->tag_stack ); in text_handler() 545 info->tag_stack = NULL; in parse_info_init() 566 g_slist_free ( info->tag_stack ); in parse_info_free()
|
/dports/sysutils/sleuthkit/sleuthkit-4.7.0/tools/fiwalk/src/ |
H A D | dfxml.cpp | 141 xml::xml():outf(),out(&cout),tags(),tag_stack(),tempfilename(),tempfile_template("/tmp/xml_XXXXXXXX… in xml() 151 out(),tags(),tag_stack(),tempfilename(),tempfile_template(outfilename_+"_tmp_XXXXXXXX"), in xml() 214 for(u_int i=0;i<tag_stack.size();i++){ in spaces() 279 tag_stack.push(tag); in push() 286 assert(tag_stack.size()>0); in pop() 287 string tag = tag_stack.top(); in pop() 288 tag_stack.pop(); in pop()
|
/dports/security/md5deep/hashdeep-cd2ed74/src/ |
H A D | xml.cpp | 248 for(int i=tag_stack.size();i>0;i--){ in spaces() 303 tag_stack.push(tag); in push() 310 assert(tag_stack.size()>0); in pop() 311 string tag = tag_stack.top(); in pop() 312 tag_stack.pop(); in pop()
|
/dports/mail/claws-mail-perl/claws-mail-3.18.0/src/common/ |
H A D | xml.c | 103 newfile->tag_stack = NULL; in xml_open_file() 124 while (file->tag_stack != NULL) in xml_close_file() 352 file->tag_stack = g_list_prepend(file->tag_stack, tag); in xml_push_tag() 360 if (!file->tag_stack) return; in xml_pop_tag() 362 tag = (XMLTag *)file->tag_stack->data; in xml_pop_tag() 365 file->tag_stack = g_list_remove(file->tag_stack, tag); in xml_pop_tag() 371 if (file->tag_stack) in xml_get_current_tag() 372 return (XMLTag *)file->tag_stack->data; in xml_get_current_tag()
|
/dports/mail/claws-mail-pgp/claws-mail-3.18.0/src/common/ |
H A D | xml.c | 103 newfile->tag_stack = NULL; in xml_open_file() 124 while (file->tag_stack != NULL) in xml_close_file() 352 file->tag_stack = g_list_prepend(file->tag_stack, tag); in xml_push_tag() 360 if (!file->tag_stack) return; in xml_pop_tag() 362 tag = (XMLTag *)file->tag_stack->data; in xml_pop_tag() 365 file->tag_stack = g_list_remove(file->tag_stack, tag); in xml_pop_tag() 371 if (file->tag_stack) in xml_get_current_tag() 372 return (XMLTag *)file->tag_stack->data; in xml_get_current_tag()
|