Searched refs:PyString_Size (Results 1 – 25 of 48) sorted by relevance
12
15 #define PyBytes_Size PyString_Size
68 PyAPI_FUNC(Py_ssize_t) PyString_Size(PyObject *);
164 if (!PyString_Check(v) || PyString_Size(v) != 4) { in PyMac_GetOSType()195 if (!PyString_Check(v) || (len = PyString_Size(v)) > 255) { in PyMac_GetStr255()
324 if (PyString_Check(v) && PyString_Size(v) == 1) { in PyMember_SetOne()
844 if (PyString_Check(arg) && PyString_Size(arg) == 1) in convertsimple()924 if ((Py_ssize_t)strlen(*p) != PyString_Size(arg)) in convertsimple()1019 STORE_SIZE(PyString_Size(arg)); in convertsimple()1024 (Py_ssize_t)strlen(*p) != PyString_Size(arg)) in convertsimple()
212 len = PyString_Size(filename); in normalize_module()501 Py_ssize_t len = PyString_Size(*filename); in setup_context()
79 size = PyString_Size(p->str); in w_more()1226 wf.end = wf.ptr + PyString_Size(wf.str); in PyMarshal_WriteObjectToString()
848 if (PyString_Size(v) != (ihigh - ilow)) { in mmap_ass_slice()875 if (! (PyString_Check(v) && PyString_Size(v)==1) ) { in mmap_ass_item()910 if (!PyString_Check(value) || PyString_Size(value) != 1) { in mmap_ass_subscript()938 if (PyString_Size(value) != slicelen) { in mmap_ass_subscript()
444 len = PyString_Size(self->archive); in zipimporter_get_data()1059 Py_ssize_t size = PyString_Size(data); in unmarshal_code()1113 buf = (char *)PyMem_Malloc(PyString_Size(source) + 2); in normalize_line_endings()
715 if ((str_size = PyString_Size(str)) < 0) in readline_other()1175 if ((size = PyString_Size(repr)) < 0) in save_long()1246 if ((size = PyString_Size(args)) < 0) in save_string()1257 if ((len = PyString_Size(repr)) < 0) in save_string()1428 if ((len = PyString_Size(repr)) < 0) in save_unicode()1450 if ((size = PyString_Size(repr)) < 0) in save_unicode()2113 if ((module_size = PyString_Size(module)) < 0 || in save_inst()2114 (name_size = PyString_Size(name)) < 0) in save_inst()2213 if ((module_size = PyString_Size(module)) < 0 || in save_global()2214 (name_size = PyString_Size(global_name)) < 0) in save_global()[all …]
186 if (PyString_Check(v) && PyString_Size(v) == 1) in termios_tcsetattr()
810 linelen = PyString_Size(lineobj); in Reader_iternext()1137 terminator_len = PyString_Size(self->dialect->lineterminator); in join_append_lineterminator()
634 if (!PyString_Check(s) || PyString_Size(s) != pixcount*sizeof(long)) {750 if (PyString_Size(unpacked) != pixcount*sizeof(long)) {811 if (PyString_Size(packed) != packedcount) {
3335 len = PyString_Size(key) + PyString_Size(val) + 2; in posix_execve()3571 len = PyString_Size(key) + PyString_Size(val) + 2; in posix_spawnve()3810 len = PyString_Size(key) + PyString_Size(val) + 2; in posix_spawnvpe()
33 #define PyBytes_Size PyString_Size
370 PyString_Size
336 { int m=PyString_Size(value); in DrawF_FontTable()353 { int m=PyString_Size(value); in DrawF_FontTable()
70 { int n=PyString_Size(init); in PyBlock_New()
153 .. c:function:: Py_ssize_t PyString_Size(PyObject *string)164 Macro form of :c:func:`PyString_Size` but without error checking.
1287 name = alloca((PyString_Size(nameobj) + 1) * sizeof(WCHAR)); in load_library()1298 r = MultiByteToWideChar(CP_ACP, 0, aname, -1, name, PyString_Size(nameobj) + 1); in load_library()
1729 int linelen = PyString_Size(lineobj); in PyTokenizer_RestoreEncoding()1744 *offset = PyString_Size(offsetobj) + 1; in PyTokenizer_RestoreEncoding()
701 int size = PyString_Size(co->co_lnotab) / 2; in PyCode_Addr2Line()
543 "PyString_Size"
203 #define PYBIND11_BYTES_SIZE PyString_Size
1297 PyString_Size:int:::1298 PyString_Size:PyObject*:string:0: