Lines Matching refs:literal
655 /* MarkupIterator breaks the string into pieces of either literal
675 MarkupIterator_next(MarkupIterator *self, SubString *literal,
687 SubString_init(literal, NULL, 0, 0);
701 /* First read any literal text. Read until the end of string, an
704 there's an escaped '{' or '}' then we'll return the literal
706 through, we'll return the rest of the literal, skipping past
738 markup object following us, just this literal text */
746 /* record the literal text */
747 literal->str = self->str.str;
748 literal->start = start;
749 literal->end = start + len;
875 SubString literal;
881 while ((result = MarkupIterator_next(&iter, &literal, &field_present,
885 if (literal.end != literal.start) {
888 if (_PyUnicodeWriter_WriteSubstring(writer, literal.str,
889 literal.start, literal.end) < 0)
992 (literal, field_name, format_spec, conversion)
994 literal is any literal text to output. might be zero length
1002 SubString literal;
1008 int result = MarkupIterator_next(&it->it_markup, &literal, &field_present,
1025 literal_str = SubString_new_object(&literal);