Home
last modified time | relevance | path

Searched refs:PyUnicode_Substring (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython3/Python/
Dimportdl.c49 tmp = PyUnicode_Substring(name, lastdot + 1, name_len); in get_encoded_name()
Dimport.c1607 PyObject *substr = PyUnicode_Substring(package, 0, dot); in resolve_name()
1633 base = PyUnicode_Substring(package, 0, last_dot); in resolve_name()
1827 PyObject *front = PyUnicode_Substring(name, 0, dot); in PyImport_ImportModuleLevelObject()
1838 PyObject *to_return = PyUnicode_Substring(abs_name, 0, in PyImport_ImportModuleLevelObject()
D_warnings.c452 module = PyUnicode_Substring(filename, 0, len-3); in normalize_module()
534 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
Dtraceback.c474 truncated = PyUnicode_Substring(lineobj, i, PyUnicode_GET_LENGTH(lineobj)); in _Py_DisplaySourceLine()
Dsymtable.c1794 store_name = PyUnicode_Substring(name, 0, dot); in symtable_visit_alias()
Dcompile.c3133 attr = PyUnicode_Substring(name, pos, (dot != -1) ? dot : len); in compiler_import_as()
3182 tmp = PyUnicode_Substring(alias->name, 0, dot); in compiler_import()
/external/python/cpython3/Modules/
Dsyslogmodule.c102 return PyUnicode_Substring(scriptobj, slash, scriptlen); in syslog_get_argv()
D_operator.c1218 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
1233 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
D_sre.c493 return PyUnicode_Substring(string, start, end); in getslice()
D_datetimemodule.c1278 temp = PyUnicode_Substring(repr, 0, PyUnicode_GET_LENGTH(repr) - 1); in append_keyword_tzinfo()
1302 temp = PyUnicode_Substring(repr, 0, PyUnicode_GET_LENGTH(repr) - 1); in append_keyword_fold()
/external/python/cpython3/Objects/stringlib/
Dunicode_format.h65 return PyUnicode_Substring(str->str, str->start, str->end); in SubString_new_object()
528 format_spec_object = PyUnicode_Substring(format_spec->str, in render_field()
/external/python/cpython3/Objects/
Dfileobject.c107 v = PyUnicode_Substring(result, 0, len-1); in PyFile_GetLine()
Dexceptions.c1444 return PyUnicode_Substring(name, offset, size); in my_basename()
2909 PyObject *data = PyUnicode_Substring(self->text, start_pos, end_pos); in _set_legacy_print_statement_msg()
Dunicodeobject.c7488 substring = PyUnicode_Substring(unicode, offset, offset+len); in encode_code_page_strict()
12349 return PyUnicode_Substring(self, i, j); in _PyUnicode_XStrip()
12353 PyUnicode_Substring(PyObject *self, Py_ssize_t start, Py_ssize_t end) in PyUnicode_Substring() function
12451 return PyUnicode_Substring(self, i, j); in do_strip()
14021 return PyUnicode_Substring(self, in unicode_subscript()
14490 key = PyUnicode_Substring(ctx->fmtstr, in unicode_format_arg_parse()
Dsetobject.c605 tmp = PyUnicode_Substring(listrepr, 1, PyUnicode_GET_LENGTH(listrepr)-1); in set_repr()
/external/python/cpython3/Include/
Dunicodeobject.h142 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
/external/python/cpython3/Modules/_io/
Dtextio.c358 PyObject *modified = PyUnicode_Substring(output, 0, output_len -1); in _PyIncrementalNewlineDecoder_decode()
1727 chars = PyUnicode_Substring(self->decoded_chars, in textiowrapper_get_decoded_chars()
2182 s = PyUnicode_Substring(line, start, endpos); in _textiowrapper_readline()
2195 remaining = PyUnicode_Substring(line, endpos, line_len); in _textiowrapper_readline()
2208 PyObject *s = PyUnicode_Substring(line, start, endpos); in _textiowrapper_readline()
/external/python/cpython3/PC/
Dpython3.def712 PyUnicode_Substring=python38.PyUnicode_Substring
/external/python/cpython3/Doc/data/
Drefcounts.dat2821 PyUnicode_Substring:PyObject*::+1:
2822 PyUnicode_Substring:PyObject*:str:0:
2823 PyUnicode_Substring:Py_ssize_t:start::
2824 PyUnicode_Substring:Py_ssize_t:end::
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c813 ctx->pending = PyUnicode_Substring(inbuf, inpos, datalen); in encoder_encode_stateful()
/external/python/cpython3/Doc/whatsnew/
D3.3.rst2185 * :c:func:`PyUnicode_Substring`
2296 :c:func:`PyUnicode_Substring`
/external/python/cpython3/Doc/c-api/
Dunicode.rst630 .. c:function:: PyObject* PyUnicode_Substring(PyObject *str, Py_ssize_t start, \