| /third_party/python/Python/ |
| D | importdl.c | 54 tmp = PyUnicode_Substring(name, lastdot + 1, name_len); in get_encoded_name()
|
| D | import.c | 1647 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()
|
| D | traceback.c | 539 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.c | 468 module = PyUnicode_Substring(filename, 0, len-3); in normalize_module() 550 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
|
| D | ast_opt.c | 268 PyObject *str = PyUnicode_Substring(fmt, start, pos); in parse_literal()
|
| D | symtable.c | 1950 store_name = PyUnicode_Substring(name, 0, dot); in symtable_visit_alias()
|
| /third_party/python/Modules/ |
| D | syslogmodule.c | 108 return PyUnicode_Substring(scriptobj, slash + 1, scriptlen); in syslog_get_argv()
|
| D | getpath.c | 94 return PyUnicode_Substring(path, pos + 1, end); in getpath_basename() 110 return PyUnicode_Substring(path, 0, pos); in getpath_dirname()
|
| D | _operator.c | 1279 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new() 1294 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
|
| D | _json.c | 435 PyObject *ret = PyUnicode_Substring(pystr, end, next); in scanstring_unicode()
|
| D | _datetimemodule.c | 1367 temp = PyUnicode_Substring(repr, 0, PyUnicode_GET_LENGTH(repr) - 1); in append_keyword_tzinfo() 1391 temp = PyUnicode_Substring(repr, 0, PyUnicode_GET_LENGTH(repr) - 1); in append_keyword_fold()
|
| /third_party/python/Objects/stringlib/ |
| D | unicode_format.h | 67 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()
|
| /third_party/python/Modules/_io/ |
| D | textio.c | 341 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()
|
| /third_party/python/Objects/ |
| D | fileobject.c | 106 v = PyUnicode_Substring(result, 0, len-1); in PyFile_GetLine()
|
| D | unicodeobject.c | 7748 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()
|
| D | setobject.c | 533 tmp = PyUnicode_Substring(listrepr, 1, PyUnicode_GET_LENGTH(listrepr)-1); in set_repr()
|
| D | exceptions.c | 2432 return PyUnicode_Substring(name, offset, size); in my_basename()
|
| /third_party/python/Include/ |
| D | unicodeobject.h | 142 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
|
| /third_party/python/Doc/data/ |
| D | refcounts.dat | 2741 PyUnicode_Substring:PyObject*::+1: 2742 PyUnicode_Substring:PyObject*:str:0: 2743 PyUnicode_Substring:Py_ssize_t:start:: 2744 PyUnicode_Substring:Py_ssize_t:end::
|
| D | stable_abi.dat | 779 function,PyUnicode_Substring,3.7,,
|
| /third_party/python/PC/ |
| D | python3dll.c | 697 EXPORT_FUNC(PyUnicode_Substring)
|
| /third_party/python/Parser/ |
| D | tokenizer.c | 1344 Py_SETREF(s, PyUnicode_Substring(s, 0, invalid + 1)); in verify_identifier()
|
| /third_party/python/Modules/cjkcodecs/ |
| D | multibytecodec.c | 829 ctx->pending = PyUnicode_Substring(inbuf, inpos, datalen); in encoder_encode_stateful()
|
| /third_party/python/Modules/_sre/ |
| D | sre.c | 514 return PyUnicode_Substring(string, start, end); in getslice()
|
| /third_party/python/Misc/ |
| D | stable_abi.toml | 2008 [function.PyUnicode_Substring]
|