Home
last modified time | relevance | path

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

12

/third_party/python/Python/
Dimportdl.c52 tmp = PyUnicode_Substring(name, lastdot + 1, name_len); in get_encoded_name()
Dimport.c1431 PyObject *substr = PyUnicode_Substring(package, 0, dot); in resolve_name()
1457 base = PyUnicode_Substring(package, 0, last_dot); in resolve_name()
1652 PyObject *front = PyUnicode_Substring(name, 0, dot); in PyImport_ImportModuleLevelObject()
1663 PyObject *to_return = PyUnicode_Substring(abs_name, 0, in PyImport_ImportModuleLevelObject()
D_warnings.c455 module = PyUnicode_Substring(filename, 0, len-3); in normalize_module()
537 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
Dtraceback.c474 truncated = PyUnicode_Substring(lineobj, i, PyUnicode_GET_LENGTH(lineobj)); in _Py_DisplaySourceLine()
Dsymtable.c1958 store_name = PyUnicode_Substring(name, 0, dot); in symtable_visit_alias()
Dcompile.c3313 attr = PyUnicode_Substring(name, pos, (dot != -1) ? dot : len); in compiler_import_as()
3363 tmp = PyUnicode_Substring(alias->name, 0, dot); in compiler_import()
/third_party/python/Modules/
Dsyslogmodule.c102 return PyUnicode_Substring(scriptobj, slash + 1, scriptlen); in syslog_get_argv()
D_operator.c1219 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
1234 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
D_json.c433 PyObject *ret = PyUnicode_Substring(pystr, end, next); in scanstring_unicode()
D_sre.c513 return PyUnicode_Substring(string, start, end); in getslice()
D_datetimemodule.c1270 temp = PyUnicode_Substring(repr, 0, PyUnicode_GET_LENGTH(repr) - 1); in append_keyword_tzinfo()
1294 temp = PyUnicode_Substring(repr, 0, PyUnicode_GET_LENGTH(repr) - 1); in append_keyword_fold()
/third_party/python/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()
/third_party/python/Objects/
Dfileobject.c108 v = PyUnicode_Substring(result, 0, len-1); in PyFile_GetLine()
Dunicodeobject.c7903 substring = PyUnicode_Substring(unicode, offset, offset+len); in encode_code_page_strict()
12871 return PyUnicode_Substring(self, i, j); in _PyUnicode_XStrip()
12875 PyUnicode_Substring(PyObject *self, Py_ssize_t start, Py_ssize_t end) in PyUnicode_Substring() function
12973 return PyUnicode_Substring(self, i, j); in do_strip()
13175 return PyUnicode_Substring(self, PyUnicode_GET_LENGTH(prefix), in unicode_removeprefix_impl()
13203 return PyUnicode_Substring(self, 0, PyUnicode_GET_LENGTH(self) in unicode_removesuffix_impl()
14602 return PyUnicode_Substring(self, in unicode_subscript()
15059 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()
Dexceptions.c1582 return PyUnicode_Substring(name, offset, size); in my_basename()
/third_party/python/Include/
Dunicodeobject.h142 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
/third_party/python/Modules/_io/
Dtextio.c361 PyObject *modified = PyUnicode_Substring(output, 0, output_len -1); in _PyIncrementalNewlineDecoder_decode()
1780 chars = PyUnicode_Substring(self->decoded_chars, in textiowrapper_get_decoded_chars()
2234 s = PyUnicode_Substring(line, start, endpos); in _textiowrapper_readline()
2247 remaining = PyUnicode_Substring(line, endpos, line_len); in _textiowrapper_readline()
2260 PyObject *s = PyUnicode_Substring(line, start, endpos); in _textiowrapper_readline()
/third_party/python/Doc/data/
Drefcounts.dat2804 PyUnicode_Substring:PyObject*::+1:
2805 PyUnicode_Substring:PyObject*:str:0:
2806 PyUnicode_Substring:Py_ssize_t:start::
2807 PyUnicode_Substring:Py_ssize_t:end::
Dstable_abi.dat759 function,PyUnicode_Substring,3.7,
/third_party/python/PC/
Dpython3dll.c684 EXPORT_FUNC(PyUnicode_Substring)
/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c830 ctx->pending = PyUnicode_Substring(inbuf, inpos, datalen); in encoder_encode_stateful()
/third_party/python/Parser/
Dtokenizer.c1299 Py_SETREF(s, PyUnicode_Substring(s, 0, invalid + 1)); in verify_identifier()
/third_party/python/Misc/
Dstable_abi.txt1924 function PyUnicode_Substring
/third_party/python/Doc/whatsnew/
D3.3.rst2185 * :c:func:`PyUnicode_Substring`
2296 :c:func:`PyUnicode_Substring`

12