Home
last modified time | relevance | path

Searched refs:SubString_init (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/stringlib/
Dstring_format.h67 SubString_init(SubString *str, STRINGLIB_CHAR *p, Py_ssize_t len) in SubString_init() function
291 SubString_init(&self->str, ptr, len); in FieldNameIterator_init()
426 SubString_init(first, ptr, p - ptr); in field_name_split()
646 SubString_init(format_spec, NULL, 0); in parse_field()
716 SubString_init(&self->str, ptr, len); in MarkupIterator_init()
736 SubString_init(literal, NULL, 0); in MarkupIterator_next()
737 SubString_init(field_name, NULL, 0); in MarkupIterator_next()
738 SubString_init(format_spec, NULL, 0); in MarkupIterator_next()
824 SubString_init(&s, start, self->str.ptr - 1 - start); in MarkupIterator_next()
919 SubString_init(&expanded_format_spec, in output_markup()
[all …]
/external/python/cpython3/Objects/stringlib/
Dunicode_format.h52 SubString_init(SubString *str, PyObject *s, Py_ssize_t start, Py_ssize_t end) in SubString_init() function
204 SubString_init(&self->str, s, start, end); in FieldNameIterator_init()
342 SubString_init(first, str, start, i); in field_name_split()
558 SubString_init(format_spec, NULL, 0, 0); in parse_field()
661 SubString_init(&self->str, str, start, end); in MarkupIterator_init()
680 SubString_init(literal, NULL, 0, 0); in MarkupIterator_next()
681 SubString_init(field_name, NULL, 0, 0); in MarkupIterator_next()
682 SubString_init(format_spec, NULL, 0, 0); in MarkupIterator_next()
836 SubString_init(&expanded_format_spec, tmp, 0, PyUnicode_GET_LENGTH(tmp)); in output_markup()
951 SubString_init(&input, self, 0, PyUnicode_GET_LENGTH(self)); in do_string_format()