/external/python/cpython3/Python/ |
D | importdl.c | 49 tmp = PyUnicode_Substring(name, lastdot + 1, name_len); in get_encoded_name()
|
D | import.c | 1681 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.c | 461 module = PyUnicode_Substring(filename, 0, len-3); in normalize_module() 543 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
|
D | traceback.c | 473 truncated = PyUnicode_Substring(lineobj, i, PyUnicode_GET_LENGTH(lineobj)); in _Py_DisplaySourceLine()
|
D | symtable.c | 1798 store_name = PyUnicode_Substring(name, 0, dot); in symtable_visit_alias()
|
D | compile.c | 3199 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/ |
D | syslogmodule.c | 102 return PyUnicode_Substring(scriptobj, slash + 1, scriptlen); in syslog_get_argv()
|
D | _operator.c | 1220 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new() 1235 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
|
D | _json.c | 430 PyObject *ret = PyUnicode_Substring(pystr, end, next); in scanstring_unicode()
|
D | _sre.c | 493 return PyUnicode_Substring(string, start, end); in getslice()
|
D | _datetimemodule.c | 1279 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/ |
D | unicode_format.h | 65 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/ |
D | fileobject.c | 108 v = PyUnicode_Substring(result, 0, len-1); in PyFile_GetLine()
|
D | exceptions.c | 1457 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()
|
D | unicodeobject.c | 7654 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()
|
D | setobject.c | 519 tmp = PyUnicode_Substring(listrepr, 1, PyUnicode_GET_LENGTH(listrepr)-1); in set_repr()
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 142 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 360 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/ |
D | python3.def | 709 PyUnicode_Substring=python39.PyUnicode_Substring
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2827 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/ |
D | tokenizer.c | 1123 Py_SETREF(s, PyUnicode_Substring(s, 0, invalid + 1)); in verify_identifier()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 803 ctx->pending = PyUnicode_Substring(inbuf, inpos, datalen); in encoder_encode_stateful()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 2185 * :c:func:`PyUnicode_Substring` 2296 :c:func:`PyUnicode_Substring`
|
/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 646 .. c:function:: PyObject* PyUnicode_Substring(PyObject *str, Py_ssize_t start, \
|