Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
Dzipimport.c146 filename = PyUnicode_Substring(path, 0, flen); in zipimport_zipimporter___init___impl()
176 tmp = PyUnicode_Substring(path, flen+1, in zipimport_zipimporter___init___impl()
246 return PyUnicode_Substring(fullname, dot+1, len); in get_subname()
688 key = PyUnicode_Substring(path, path_start, path_len); in zipimport_zipimporter_get_data_impl()
Dsyslogmodule.c102 return PyUnicode_Substring(scriptobj, slash, scriptlen); in syslog_get_argv()
D_operator.c1189 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
1204 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
D_sre.c500 return PyUnicode_Substring(string, start, end); in getslice()
D_datetimemodule.c1259 temp = PyUnicode_Substring(repr, 0, PyUnicode_GET_LENGTH(repr) - 1); in append_keyword_tzinfo()
1283 temp = PyUnicode_Substring(repr, 0, PyUnicode_GET_LENGTH(repr) - 1); in append_keyword_fold()
/external/python/cpython3/Python/
Dimportdl.c49 tmp = PyUnicode_Substring(name, lastdot + 1, name_len); in get_encoded_name()
D_warnings.c314 module = PyUnicode_Substring(filename, 0, len-3); in normalize_module()
396 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
755 *filename = PyUnicode_Substring(*filename, 0, in setup_context()
Dimport.c1569 PyObject *substr = PyUnicode_Substring(package, 0, dot); in resolve_name()
1598 base = PyUnicode_Substring(package, 0, last_dot); in resolve_name()
1784 PyObject *front = PyUnicode_Substring(name, 0, dot); in PyImport_ImportModuleLevelObject()
1795 PyObject *to_return = PyUnicode_Substring(abs_name, 0, in PyImport_ImportModuleLevelObject()
Dtraceback.c463 truncated = PyUnicode_Substring(lineobj, i, PyUnicode_GET_LENGTH(lineobj)); in _Py_DisplaySourceLine()
Dsymtable.c1634 store_name = PyUnicode_Substring(name, 0, dot); in symtable_visit_alias()
Dcompile.c2775 attr = PyUnicode_Substring(name, pos, (dot != -1) ? dot : len); in compiler_import_as()
2824 tmp = PyUnicode_Substring(alias->name, 0, dot); in compiler_import()
/external/python/cpython3/Objects/
Dfileobject.c105 v = PyUnicode_Substring(result, 0, len-1); in PyFile_GetLine()
Dexceptions.c1427 return PyUnicode_Substring(name, offset, size); in my_basename()
2861 PyObject *data = PyUnicode_Substring(self->text, start_pos, end_pos); in _set_legacy_print_statement_msg()
Dunicodeobject.c7447 substring = PyUnicode_Substring(unicode, offset, offset+len); in encode_code_page_strict()
12325 return PyUnicode_Substring(self, i, j); in _PyUnicode_XStrip()
12329 PyUnicode_Substring(PyObject *self, Py_ssize_t start, Py_ssize_t end) in PyUnicode_Substring() function
12427 return PyUnicode_Substring(self, i, j); in do_strip()
13996 return PyUnicode_Substring(self, in unicode_subscript()
14465 key = PyUnicode_Substring(ctx->fmtstr, in unicode_format_arg_parse()
Dsetobject.c604 tmp = PyUnicode_Substring(listrepr, 1, PyUnicode_GET_LENGTH(listrepr)-1); in set_repr()
/external/python/cpython3/Objects/stringlib/
Dunicode_format.h65 return PyUnicode_Substring(str->str, str->start, str->end); in SubString_new_object()
523 format_spec_object = PyUnicode_Substring(format_spec->str, in render_field()
/external/python/cpython3/Modules/_io/
Dtextio.c358 PyObject *modified = PyUnicode_Substring(output, 0, output_len -1); in _PyIncrementalNewlineDecoder_decode()
1653 chars = PyUnicode_Substring(self->decoded_chars, in textiowrapper_get_decoded_chars()
2108 s = PyUnicode_Substring(line, start, endpos); in _textiowrapper_readline()
2121 remaining = PyUnicode_Substring(line, endpos, line_len); in _textiowrapper_readline()
2134 PyObject *s = PyUnicode_Substring(line, start, endpos); in _textiowrapper_readline()
/external/python/cpython3/PC/
Dpython3.def709 PyUnicode_Substring=python37.PyUnicode_Substring
/external/python/cpython3/Doc/data/
Drefcounts.dat2786 PyUnicode_Substring:PyObject*::+1:
2787 PyUnicode_Substring:PyObject*:str:0:
2788 PyUnicode_Substring:Py_ssize_t:start::
2789 PyUnicode_Substring:Py_ssize_t:end::
/external/python/cpython3/Include/
Dunicodeobject.h722 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c813 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.rst630 .. c:function:: PyObject* PyUnicode_Substring(PyObject *str, Py_ssize_t start, \