Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
Dzipimport.c118 filename = PyUnicode_Substring(path, 0, flen); in zipimporter_init()
148 tmp = PyUnicode_Substring(path, flen+1, in zipimporter_init()
217 return PyUnicode_Substring(fullname, dot+1, len); in get_subname()
601 key = PyUnicode_Substring(path, path_start, path_len); in zipimporter_get_data()
Dsyslogmodule.c102 return PyUnicode_Substring(scriptobj, slash, scriptlen); in syslog_get_argv()
D_operator.c655 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
670 attr_chain_item = PyUnicode_Substring(item, in attrgetter_new()
D_sre.c468 return PyUnicode_Substring(string, start, end); in getslice()
D_datetimemodule.c1044 temp = PyUnicode_Substring(repr, 0, PyUnicode_GET_LENGTH(repr) - 1); in append_keyword_tzinfo()
1068 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()
Dimport.c1437 PyObject *substr = PyUnicode_Substring(package, 0, dot); in resolve_name()
1472 base = PyUnicode_Substring(package, 0, last_dot); in resolve_name()
1624 PyObject *front = PyUnicode_Substring(name, 0, dot); in PyImport_ImportModuleLevelObject()
1635 PyObject *to_return = PyUnicode_Substring(abs_name, 0, in PyImport_ImportModuleLevelObject()
D_warnings.c276 module = PyUnicode_Substring(filename, 0, len-3); in normalize_module()
363 truncated = PyUnicode_Substring(sourceline, i, len); in show_warning()
708 *filename = PyUnicode_Substring(*filename, 0, in setup_context()
Dtraceback.c364 truncated = PyUnicode_Substring(lineobj, i, PyUnicode_GET_LENGTH(lineobj)); in _Py_DisplaySourceLine()
Dsymtable.c1647 store_name = PyUnicode_Substring(name, 0, dot); in symtable_visit_alias()
Dcompile.c2599 attr = PyUnicode_Substring(name, pos, in compiler_import_as()
2648 tmp = PyUnicode_Substring(alias->name, 0, dot); in compiler_import()
/external/python/cpython3/Modules/_io/
Dtextio.c365 PyObject *modified = PyUnicode_Substring(output, 0, output_len -1); in _PyIncrementalNewlineDecoder_decode()
1392 chars = PyUnicode_Substring(self->decoded_chars, in textiowrapper_get_decoded_chars()
1839 s = PyUnicode_Substring(line, start, endpos); in _textiowrapper_readline()
1852 remaining = PyUnicode_Substring(line, endpos, line_len); in _textiowrapper_readline()
1865 PyObject *s = PyUnicode_Substring(line, start, endpos); in _textiowrapper_readline()
/external/python/cpython3/Objects/
Dfileobject.c117 v = PyUnicode_Substring(result, 0, len-1); in PyFile_GetLine()
Dunicodeobject.c7433 substring = PyUnicode_Substring(unicode, offset, offset+len); in encode_code_page_strict()
12287 return PyUnicode_Substring(self, i, j); in _PyUnicode_XStrip()
12291 PyUnicode_Substring(PyObject *self, Py_ssize_t start, Py_ssize_t end) in PyUnicode_Substring() function
12389 return PyUnicode_Substring(self, i, j); in do_strip()
13929 return PyUnicode_Substring(self, in unicode_subscript()
14398 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()
Dexceptions.c1374 return PyUnicode_Substring(name, offset, size); in my_basename()
/external/python/cpython3/Objects/stringlib/
Dunicode_format.h67 return PyUnicode_Substring(str->str, str->start, str->end); in SubString_new_object()
521 format_spec_object = PyUnicode_Substring(format_spec->str, in render_field()
/external/python/cpython3/PC/
Dpython3.def701 PyUnicode_Substring=python36.PyUnicode_Substring
/external/python/cpython3/Include/
Dunicodeobject.h722 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c809 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.rst627 .. c:function:: PyObject* PyUnicode_Substring(PyObject *str, Py_ssize_t start, \