Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dimportdl.c49 tmp = PyUnicode_Substring(name, lastdot + 1, name_len); in get_encoded_name()
Dimport.c1681 PyObject *substr = PyUnicode_Substring(package, 0, dot); in resolve_name()
1707 base = PyUnicode_Substring(package, 0, last_dot); in resolve_name()
1902 PyObject *front = PyUnicode_Substring(name, 0, dot); in PyImport_ImportModuleLevelObject()
1913 PyObject *to_return = PyUnicode_Substring(abs_name, 0, in PyImport_ImportModuleLevelObject()
D_warnings.c461 module = PyUnicode_Substring(filename, 0, len-3); in normalize_module()
543 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
Dtraceback.c473 truncated = PyUnicode_Substring(lineobj, i, PyUnicode_GET_LENGTH(lineobj)); in _Py_DisplaySourceLine()
Dsymtable.c1798 store_name = PyUnicode_Substring(name, 0, dot); in symtable_visit_alias()
Dcompile.c3199 attr = PyUnicode_Substring(name, pos, (dot != -1) ? dot : len); in compiler_import_as()
3248 tmp = PyUnicode_Substring(alias->name, 0, dot); in compiler_import()
/external/python/cpython3/Modules/
Dsyslogmodule.c102 return PyUnicode_Substring(scriptobj, slash + 1, scriptlen); in syslog_get_argv()
D_operator.c1220 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
1235 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
D_json.c430 PyObject *ret = PyUnicode_Substring(pystr, end, next); in scanstring_unicode()
D_sre.c493 return PyUnicode_Substring(string, start, end); in getslice()
D_datetimemodule.c1279 temp = PyUnicode_Substring(repr, 0, PyUnicode_GET_LENGTH(repr) - 1); in append_keyword_tzinfo()
1303 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.c108 v = PyUnicode_Substring(result, 0, len-1); in PyFile_GetLine()
Dexceptions.c1457 return PyUnicode_Substring(name, offset, size); in my_basename()
2933 PyObject *data = PyUnicode_Substring(self->text, start_pos, end_pos); in _set_legacy_print_statement_msg()
Dunicodeobject.c7654 substring = PyUnicode_Substring(unicode, offset, offset+len); in encode_code_page_strict()
12599 return PyUnicode_Substring(self, i, j); in _PyUnicode_XStrip()
12603 PyUnicode_Substring(PyObject *self, Py_ssize_t start, Py_ssize_t end) in PyUnicode_Substring() function
12701 return PyUnicode_Substring(self, i, j); in do_strip()
12903 return PyUnicode_Substring(self, PyUnicode_GET_LENGTH(prefix), in unicode_removeprefix_impl()
12931 return PyUnicode_Substring(self, 0, PyUnicode_GET_LENGTH(self) in unicode_removesuffix_impl()
14342 return PyUnicode_Substring(self, in unicode_subscript()
14811 key = PyUnicode_Substring(ctx->fmtstr, in unicode_format_arg_parse()
Dsetobject.c519 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.c360 PyObject *modified = PyUnicode_Substring(output, 0, output_len -1); in _PyIncrementalNewlineDecoder_decode()
1770 chars = PyUnicode_Substring(self->decoded_chars, in textiowrapper_get_decoded_chars()
2224 s = PyUnicode_Substring(line, start, endpos); in _textiowrapper_readline()
2237 remaining = PyUnicode_Substring(line, endpos, line_len); in _textiowrapper_readline()
2250 PyObject *s = PyUnicode_Substring(line, start, endpos); in _textiowrapper_readline()
/external/python/cpython3/PC/
Dpython3.def709 PyUnicode_Substring=python39.PyUnicode_Substring
/external/python/cpython3/Doc/data/
Drefcounts.dat2827 PyUnicode_Substring:PyObject*::+1:
2828 PyUnicode_Substring:PyObject*:str:0:
2829 PyUnicode_Substring:Py_ssize_t:start::
2830 PyUnicode_Substring:Py_ssize_t:end::
/external/python/cpython3/Parser/
Dtokenizer.c1123 Py_SETREF(s, PyUnicode_Substring(s, 0, invalid + 1)); in verify_identifier()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c803 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.rst646 .. c:function:: PyObject* PyUnicode_Substring(PyObject *str, Py_ssize_t start, \