Home
last modified time | relevance | path

Searched refs:PyString_GET_SIZE (Results 1 – 25 of 78) sorted by relevance

1234

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dstringobject.c645 rn = PyString_GET_SIZE(w); in PyString_DecodeEscape()
827 *len = PyString_GET_SIZE(obj); in PyString_AsStringAndSize()
828 else if (strlen(*s) != (size_t)PyString_GET_SIZE(obj)) { in PyString_AsStringAndSize()
1304 i += PyString_GET_SIZE(self); in string_subscript()
1314 PyString_GET_SIZE(self), in string_subscript()
1323 slicelength == PyString_GET_SIZE(self) && in string_subscript()
1455 Py_ssize_t len = PyString_GET_SIZE(self), n; in string_split()
1468 n = PyString_GET_SIZE(subobj); in string_split()
1495 sep_len = PyString_GET_SIZE(sep_obj); in string_partition()
1506 PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_partition()
[all …]
Dcodeobject.c210 PyString_GET_SIZE(item)); in validate_and_copy_tuple()
542 size = PyString_GET_SIZE(co->co_lnotab) / 2; in _PyCode_CheckLineNumber()
Dexceptions.c1188 bufsize = PyString_GET_SIZE(str) + 64; in SyntaxError_str()
1190 bufsize += PyString_GET_SIZE(self->filename); in SyntaxError_str()
1412 size = PyString_GET_SIZE(obj); in PyUnicodeDecodeError_GetStart()
1482 size = PyString_GET_SIZE(obj); in PyUnicodeDecodeError_GetEnd()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dstringobject.c645 rn = PyString_GET_SIZE(w); in PyString_DecodeEscape()
823 *len = PyString_GET_SIZE(obj); in PyString_AsStringAndSize()
824 else if (strlen(*s) != (size_t)PyString_GET_SIZE(obj)) { in PyString_AsStringAndSize()
1287 i += PyString_GET_SIZE(self); in string_subscript()
1297 PyString_GET_SIZE(self), in string_subscript()
1306 slicelength == PyString_GET_SIZE(self) && in string_subscript()
1438 Py_ssize_t len = PyString_GET_SIZE(self), n; in string_split()
1451 n = PyString_GET_SIZE(subobj); in string_split()
1478 sep_len = PyString_GET_SIZE(sep_obj); in string_partition()
1489 PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_partition()
[all …]
Dcodeobject.c210 PyString_GET_SIZE(item)); in validate_and_copy_tuple()
542 size = PyString_GET_SIZE(co->co_lnotab) / 2; in _PyCode_CheckLineNumber()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dbytesobject.h8 #define PyBytes_GET_SIZE PyString_GET_SIZE
Dstringobject.h92 #define PyString_GET_SIZE(op) Py_SIZE(op) macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dbytesobject.h8 #define PyBytes_GET_SIZE PyString_GET_SIZE
Dstringobject.h92 #define PyString_GET_SIZE(op) Py_SIZE(op) macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dstringdefs.h22 #define STRINGLIB_LEN PyString_GET_SIZE
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dstringdefs.h22 #define STRINGLIB_LEN PyString_GET_SIZE
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/
Dmultibytecodec.c170 orgsize = PyString_GET_SIZE(buf->outobj); in expand_encodebuffer()
181 + PyString_GET_SIZE(buf->outobj); in expand_encodebuffer()
329 retstrsize = PyString_GET_SIZE(retstr); in multibytecodec_encerror()
490 buf.outbuf_end = buf.outbuf + PyString_GET_SIZE(buf.outobj); in multibytecodec_encode()
526 if (finalsize != PyString_GET_SIZE(buf.outobj)) in multibytecodec_encode()
1265 endoffile = (PyString_GET_SIZE(cres) == 0); in mbstreamreader_iread()
1271 if (PyString_GET_SIZE(cres) > PY_SSIZE_T_MAX - self->pendingsize) { in mbstreamreader_iread()
1275 rsize = PyString_GET_SIZE(cres) + self->pendingsize; in mbstreamreader_iread()
1283 PyString_GET_SIZE(cres)); in mbstreamreader_iread()
1289 rsize = PyString_GET_SIZE(cres); in mbstreamreader_iread()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
Dmultibytecodec.c170 orgsize = PyString_GET_SIZE(buf->outobj); in expand_encodebuffer()
183 + PyString_GET_SIZE(buf->outobj); in expand_encodebuffer()
331 retstrsize = PyString_GET_SIZE(retstr); in multibytecodec_encerror()
493 buf.outbuf_end = buf.outbuf + PyString_GET_SIZE(buf.outobj); in multibytecodec_encode()
529 if (finalsize != PyString_GET_SIZE(buf.outobj)) in multibytecodec_encode()
1268 endoffile = (PyString_GET_SIZE(cres) == 0); in mbstreamreader_iread()
1274 if (PyString_GET_SIZE(cres) > PY_SSIZE_T_MAX - self->pendingsize) { in mbstreamreader_iread()
1278 rsize = PyString_GET_SIZE(cres) + self->pendingsize; in mbstreamreader_iread()
1286 PyString_GET_SIZE(cres)); in mbstreamreader_iread()
1292 rsize = PyString_GET_SIZE(cres); in mbstreamreader_iread()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dgetargs.c838 PyString_AS_STRING(arg), PyString_GET_SIZE(arg), in convertsimple()
848 PyString_AS_STRING(uarg), PyString_GET_SIZE(uarg), in convertsimple()
869 STORE_SIZE(PyString_GET_SIZE(arg)); in convertsimple()
878 STORE_SIZE(PyString_GET_SIZE(uarg)); in convertsimple()
920 PyString_AS_STRING(arg), PyString_GET_SIZE(arg), in convertsimple()
930 PyString_AS_STRING(uarg), PyString_GET_SIZE(uarg), in convertsimple()
955 STORE_SIZE(PyString_GET_SIZE(arg)); in convertsimple()
964 STORE_SIZE(PyString_GET_SIZE(uarg)); in convertsimple()
1079 size = PyString_GET_SIZE(s); in convertsimple()
Dfuture.c89 if (modname && PyString_GET_SIZE(modname) == 10 && in future_parse()
Dtraceback.c153 len = PyString_GET_SIZE(v); in _Py_DisplaySourceLine()
Dpeephole.c320 tabsiz = PyString_GET_SIZE(lineno_obj); in PyCode_Optimize()
326 codelen = PyString_GET_SIZE(code); in PyCode_Optimize()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dgetargs.c838 PyString_AS_STRING(arg), PyString_GET_SIZE(arg), in convertsimple()
848 PyString_AS_STRING(uarg), PyString_GET_SIZE(uarg), in convertsimple()
869 STORE_SIZE(PyString_GET_SIZE(arg)); in convertsimple()
878 STORE_SIZE(PyString_GET_SIZE(uarg)); in convertsimple()
920 PyString_AS_STRING(arg), PyString_GET_SIZE(arg), in convertsimple()
930 PyString_AS_STRING(uarg), PyString_GET_SIZE(uarg), in convertsimple()
955 STORE_SIZE(PyString_GET_SIZE(arg)); in convertsimple()
964 STORE_SIZE(PyString_GET_SIZE(uarg)); in convertsimple()
1079 size = PyString_GET_SIZE(s); in convertsimple()
Dtraceback.c153 len = PyString_GET_SIZE(v); in _Py_DisplaySourceLine()
Dpeephole.c331 tabsiz = PyString_GET_SIZE(lineno_obj);
337 codelen = PyString_GET_SIZE(code);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dzlibmodule.c479 Py_ssize_t old_size = PyString_GET_SIZE(self->unused_data); in save_unconsumed_input()
499 if (self->zst.avail_in > 0 || PyString_GET_SIZE(self->unconsumed_tail)) { in save_unconsumed_input()
833 self->zst.avail_in = PyString_GET_SIZE(self->unconsumed_tail); in PyZlib_unflush()
D_json.c267 input_chars = PyString_GET_SIZE(pystr); in ascii_escape_str()
422 Py_ssize_t len = PyString_GET_SIZE(pystr); in scanstring_str()
867 Py_ssize_t end_idx = PyString_GET_SIZE(pystr) - 1; in _parse_object_str()
1115 Py_ssize_t end_idx = PyString_GET_SIZE(pystr) - 1; in _parse_array_str()
1259 idx += PyString_GET_SIZE(cstr); in _parse_constant()
1277 Py_ssize_t end_idx = PyString_GET_SIZE(pystr) - 1; in _match_number_str()
1470 Py_ssize_t length = PyString_GET_SIZE(pystr); in scan_once_str()
Dstropmodule.c218 slen = PyString_GET_SIZE(item); in strop_joinfields()
262 slen = PyString_GET_SIZE(item); in strop_joinfields()
969 inlen = PyString_GET_SIZE(input_obj); in strop_translate()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_json.c267 input_chars = PyString_GET_SIZE(pystr); in ascii_escape_str()
422 Py_ssize_t len = PyString_GET_SIZE(pystr); in scanstring_str()
890 Py_ssize_t end_idx = PyString_GET_SIZE(pystr) - 1; in _parse_object_str()
1138 Py_ssize_t end_idx = PyString_GET_SIZE(pystr) - 1; in _parse_array_str()
1282 idx += PyString_GET_SIZE(cstr); in _parse_constant()
1300 Py_ssize_t end_idx = PyString_GET_SIZE(pystr) - 1; in _match_number_str()
1493 Py_ssize_t length = PyString_GET_SIZE(pystr); in scan_once_str()
Dstropmodule.c218 slen = PyString_GET_SIZE(item); in strop_joinfields()
262 slen = PyString_GET_SIZE(item); in strop_joinfields()
967 inlen = PyString_GET_SIZE(input_obj); in strop_translate()

1234