Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/python/cpython3/Python/
Dimport.c1647 PyObject *substr = PyUnicode_Substring(package, 0, dot); in resolve_name()
1673 base = PyUnicode_Substring(package, 0, last_dot); in resolve_name()
1865 PyObject *front = PyUnicode_Substring(name, 0, dot); in PyImport_ImportModuleLevelObject()
1876 PyObject *to_return = PyUnicode_Substring(abs_name, 0, in PyImport_ImportModuleLevelObject()
Dimportdl.c54 tmp = PyUnicode_Substring(name, lastdot + 1, name_len); in get_encoded_name()
Dtraceback.c539 truncated = PyUnicode_Substring(lineobj, i, PyUnicode_GET_LENGTH(lineobj)); in display_source_line_with_margin()
667 PyObject *segment = PyUnicode_Substring(line, start_offset, end_offset); in extract_anchors_from_line()
D_warnings.c468 module = PyUnicode_Substring(filename, 0, len-3); in normalize_module()
550 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
Dast_opt.c268 PyObject *str = PyUnicode_Substring(fmt, start, pos); in parse_literal()
/aosp_15_r20/external/python/cpython3/Modules/_io/
Dtextio.c341 PyObject *modified = PyUnicode_Substring(output, 0, output_len -1); in _PyIncrementalNewlineDecoder_decode()
1747 chars = PyUnicode_Substring(self->decoded_chars, in textiowrapper_get_decoded_chars()
2202 s = PyUnicode_Substring(line, start, endpos); in _textiowrapper_readline()
2215 remaining = PyUnicode_Substring(line, endpos, line_len); in _textiowrapper_readline()
2228 PyObject *s = PyUnicode_Substring(line, start, endpos); in _textiowrapper_readline()
/aosp_15_r20/external/python/cpython3/Modules/
Dgetpath.c94 return PyUnicode_Substring(path, pos + 1, end); in getpath_basename()
110 return PyUnicode_Substring(path, 0, pos); in getpath_dirname()
Dsyslogmodule.c108 return PyUnicode_Substring(scriptobj, slash + 1, scriptlen); in syslog_get_argv()
D_operator.c1279 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
1294 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
D_json.c435 PyObject *ret = PyUnicode_Substring(pystr, end, next); in scanstring_unicode()
/aosp_15_r20/external/python/cpython3/Objects/stringlib/
Dunicode_format.h67 return PyUnicode_Substring(str->str, str->start, str->end); in SubString_new_object()
530 format_spec_object = PyUnicode_Substring(format_spec->str, in render_field()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dunicodeobject.h142 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dunicodeobject.h142 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
/aosp_15_r20/external/python/cpython3/Include/
Dunicodeobject.h142 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
/aosp_15_r20/external/python/cpython3/Objects/
Dfileobject.c106 v = PyUnicode_Substring(result, 0, len-1); in PyFile_GetLine()
Dunicodeobject.c7748 substring = PyUnicode_Substring(unicode, offset, offset+len); in encode_code_page_strict()
12556 return PyUnicode_Substring(self, i, j); in _PyUnicode_XStrip()
12560 PyUnicode_Substring(PyObject *self, Py_ssize_t start, Py_ssize_t end) in PyUnicode_Substring() function
12658 return PyUnicode_Substring(self, i, j); in do_strip()
12853 return PyUnicode_Substring(self, PyUnicode_GET_LENGTH(prefix), in unicode_removeprefix_impl()
12881 return PyUnicode_Substring(self, 0, PyUnicode_GET_LENGTH(self) in unicode_removesuffix_impl()
14274 return PyUnicode_Substring(self, in unicode_subscript()
14730 key = PyUnicode_Substring(ctx->fmtstr, in unicode_format_arg_parse()
Dsetobject.c533 tmp = PyUnicode_Substring(listrepr, 1, PyUnicode_GET_LENGTH(listrepr)-1); in set_repr()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dunicodeobject.h142 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dunicodeobject.h142 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
/aosp_15_r20/external/python/cpython3/Doc/data/
Drefcounts.dat2741 PyUnicode_Substring:PyObject*::+1:
2742 PyUnicode_Substring:PyObject*:str:0:
2743 PyUnicode_Substring:Py_ssize_t:start::
2744 PyUnicode_Substring:Py_ssize_t:end::
Dstable_abi.dat779 function,PyUnicode_Substring,3.7,,
/aosp_15_r20/external/python/cpython3/PC/
Dpython3dll.c697 EXPORT_FUNC(PyUnicode_Substring)
/aosp_15_r20/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c829 ctx->pending = PyUnicode_Substring(inbuf, inpos, datalen); in encoder_encode_stateful()
/aosp_15_r20/external/python/cpython3/Parser/
Dtokenizer.c1344 Py_SETREF(s, PyUnicode_Substring(s, 0, invalid + 1)); in verify_identifier()
/aosp_15_r20/external/python/cpython3/Modules/_sre/
Dsre.c514 return PyUnicode_Substring(string, start, end); in getslice()

12