/external/python/cpython2/Objects/ |
D | stringobject.c | 651 rn = PyString_GET_SIZE(w); in PyString_DecodeEscape() 833 *len = PyString_GET_SIZE(obj); in PyString_AsStringAndSize() 834 else if (strlen(*s) != (size_t)PyString_GET_SIZE(obj)) { in PyString_AsStringAndSize() 1310 i += PyString_GET_SIZE(self); in string_subscript() 1322 slicelength = _PySlice_AdjustIndices(PyString_GET_SIZE(self), &start, in string_subscript() 1329 slicelength == PyString_GET_SIZE(self) && in string_subscript() 1461 Py_ssize_t len = PyString_GET_SIZE(self), n; in string_split() 1474 n = PyString_GET_SIZE(subobj); in string_split() 1501 sep_len = PyString_GET_SIZE(sep_obj); in string_partition() 1512 PyString_AS_STRING(self), PyString_GET_SIZE(self), in string_partition() [all …]
|
D | codeobject.c | 23 e = s + PyString_GET_SIZE(o); in all_name_chars() 250 PyString_GET_SIZE(item)); in validate_and_copy_tuple() 723 size = PyString_GET_SIZE(co->co_lnotab) / 2; in _PyCode_CheckLineNumber()
|
D | exceptions.c | 1172 bufsize = PyString_GET_SIZE(str) + 64; in SyntaxError_str() 1174 bufsize += PyString_GET_SIZE(self->filename); in SyntaxError_str() 1395 size = PyString_GET_SIZE(obj); in PyUnicodeDecodeError_GetStart() 1465 size = PyString_GET_SIZE(obj); in PyUnicodeDecodeError_GetEnd()
|
D | fileobject.c | 1610 Py_ssize_t len = PyString_GET_SIZE(result); in PyFile_GetLine() 1845 n = PyString_GET_SIZE(text); in file_write() 1861 n = PyString_GET_SIZE(encoded); in file_write() 1990 len = PyString_GET_SIZE(line); in file_writelines() 2377 if (l == NULL || PyString_GET_SIZE(l) == 0) { in file_iternext()
|
/external/python/cpython2/Modules/ |
D | bz2module.c | 225 size_t size = PyString_GET_SIZE(*buf); in Util_GrowBuffer() 972 len = PyString_GET_SIZE(line); in BZ2File_writelines() 1537 if (ret == NULL || PyString_GET_SIZE(ret) == 0) { in BZ2File_iternext() 1658 bzs->avail_out = PyString_GET_SIZE(ret); in BZ2Comp_compress() 1680 size_t buffer_left = PyString_GET_SIZE(ret) - output_size; in BZ2Comp_compress() 1687 buffer_left = PyString_GET_SIZE(ret) - output_size; in BZ2Comp_compress() 1734 bzs->avail_out = PyString_GET_SIZE(ret); in BZ2Comp_flush() 1752 size_t buffer_left = PyString_GET_SIZE(ret) - output_size; in BZ2Comp_flush() 1757 buffer_left = PyString_GET_SIZE(ret) - output_size; in BZ2Comp_flush() 1763 if (output_size != PyString_GET_SIZE(ret)) in BZ2Comp_flush() [all …]
|
D | zlibmodule.c | 538 Py_ssize_t old_size = PyString_GET_SIZE(self->unused_data); in save_unconsumed_input() 559 if (self->zst.avail_in > 0 || PyString_GET_SIZE(self->unconsumed_tail)) { in save_unconsumed_input() 880 ibuflen = PyString_GET_SIZE(self->unconsumed_tail); in PyZlib_unflush() 911 PyString_GET_SIZE(self->unconsumed_tail), err) < 0) in PyZlib_unflush()
|
D | _json.c | 277 input_chars = PyString_GET_SIZE(pystr); in ascii_escape_str() 445 Py_ssize_t len = PyString_GET_SIZE(pystr); in scanstring_str() 891 Py_ssize_t end_idx = PyString_GET_SIZE(pystr) - 1; in _parse_object_str() 1145 Py_ssize_t end_idx = PyString_GET_SIZE(pystr) - 1; in _parse_array_str() 1289 idx += PyString_GET_SIZE(cstr); in _parse_constant() 1307 Py_ssize_t end_idx = PyString_GET_SIZE(pystr) - 1; in _match_number_str() 1501 Py_ssize_t length = PyString_GET_SIZE(pystr); in scan_once_str()
|
D | syslogmodule.c | 93 if (PyString_GET_SIZE(scriptobj) == 0) { in syslog_get_argv()
|
D | stropmodule.c | 218 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()
|
D | _elementtree.c | 757 for (i = 0; i < PyString_GET_SIZE(tag); i++) { in checkpath() 1897 PyString_CheckExact(data) && PyString_GET_SIZE(data) == 1) { 1900 Py_ssize_t size = PyString_GET_SIZE(self->data); 2784 if (!PyString_CheckExact(buffer) || PyString_GET_SIZE(buffer) == 0) { 2789 if (PyString_GET_SIZE(buffer) > INT_MAX) { 2796 self, PyString_AS_STRING(buffer), (int)PyString_GET_SIZE(buffer), 0
|
D | dbmmodule.c | 309 val.dsize = PyString_GET_SIZE(defvalue); in dbm_setdefault()
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | multibytecodec.c | 170 orgsize = PyString_GET_SIZE(buf->outobj); in expand_encodebuffer() 183 + PyString_GET_SIZE(buf->outobj); in expand_encodebuffer() 330 retstrsize = PyString_GET_SIZE(retstr); in multibytecodec_encerror() 492 buf.outbuf_end = buf.outbuf + PyString_GET_SIZE(buf.outobj); in multibytecodec_encode() 528 if (finalsize != PyString_GET_SIZE(buf.outobj)) in multibytecodec_encode() 1267 endoffile = (PyString_GET_SIZE(cres) == 0); in mbstreamreader_iread() 1273 if (PyString_GET_SIZE(cres) > PY_SSIZE_T_MAX - self->pendingsize) { in mbstreamreader_iread() 1277 rsize = PyString_GET_SIZE(cres) + self->pendingsize; in mbstreamreader_iread() 1285 PyString_GET_SIZE(cres)); in mbstreamreader_iread() 1291 rsize = PyString_GET_SIZE(cres); in mbstreamreader_iread()
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/ |
D | rjsmin.c | 440 #define PyString_GET_SIZE PyUnicode_GET_SIZE in rjsmin_jsmin() macro 446 slength = PyString_GET_SIZE(script); in rjsmin_jsmin() 468 PyString_GET_SIZE(result), "strict"); in rjsmin_jsmin()
|
/external/python/cpython2/Python/ |
D | getargs.c | 857 PyString_AS_STRING(arg), PyString_GET_SIZE(arg), in convertsimple() 867 PyString_AS_STRING(uarg), PyString_GET_SIZE(uarg), in convertsimple() 888 STORE_SIZE(PyString_GET_SIZE(arg)); in convertsimple() 897 STORE_SIZE(PyString_GET_SIZE(uarg)); in convertsimple() 939 PyString_AS_STRING(arg), PyString_GET_SIZE(arg), in convertsimple() 949 PyString_AS_STRING(uarg), PyString_GET_SIZE(uarg), in convertsimple() 974 STORE_SIZE(PyString_GET_SIZE(arg)); in convertsimple() 983 STORE_SIZE(PyString_GET_SIZE(uarg)); in convertsimple() 1098 size = PyString_GET_SIZE(s); in convertsimple()
|
D | future.c | 89 if (modname && PyString_GET_SIZE(modname) == 10 && in future_parse()
|
D | peephole.c | 320 tabsiz = PyString_GET_SIZE(lineno_obj); in PyCode_Optimize() 326 codelen = PyString_GET_SIZE(code); in PyCode_Optimize()
|
D | traceback.c | 153 len = PyString_GET_SIZE(v); in _Py_DisplaySourceLine()
|
D | bltinmodule.c | 544 length = PyString_GET_SIZE(cmd); in builtin_compile() 553 length = PyString_GET_SIZE(tmp); in builtin_compile() 562 length = PyString_GET_SIZE(tmp); in builtin_compile() 1523 size = PyString_GET_SIZE(obj); in builtin_ord() 2895 reslen = PyString_GET_SIZE(item); in filterstring()
|
/external/python/cpython2/Include/ |
D | bytesobject.h | 8 #define PyBytes_GET_SIZE PyString_GET_SIZE
|
D | stringobject.h | 92 #define PyString_GET_SIZE(op) Py_SIZE(op) macro
|
/external/python/cpython2/Objects/stringlib/ |
D | stringdefs.h | 22 #define STRINGLIB_LEN PyString_GET_SIZE
|
/external/python/cpython2/PC/ |
D | _subprocess.c | 368 ksize = PyString_GET_SIZE(key); in getenvironment() 369 vsize = PyString_GET_SIZE(value); in getenvironment() 384 if (totalsize > (size_t)PyString_GET_SIZE(out)) { in getenvironment()
|
/external/python/cpython2/Mac/Modules/ |
D | _scproxy.c | 34 PyString_GET_SIZE(result), in cfstring_to_pystring()
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/ |
D | rcssmin.c | 1085 #define PyString_GET_SIZE PyUnicode_GET_SIZE in rcssmin_cssmin() macro 1091 rlength = slength = PyString_GET_SIZE(style); in rcssmin_cssmin() 1121 PyString_GET_SIZE(result), "strict"); in rcssmin_cssmin()
|
/external/libxml2/python/ |
D | libxml_wrap.h | 36 #define PyBytes_GET_SIZE PyString_GET_SIZE
|