Searched refs:Py_ssize_t (Results 1 - 12 of 12) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Python/PyMod-2.7.1/Objects/stringlib/
H A Dlocaleutil.h18 Py_ssize_t i; /* Where we're currently pointing in grouping. */
30 static Py_ssize_t
47 return (Py_ssize_t)ch;
56 Py_ssize_t n_chars, Py_ssize_t n_zeros, const char* thousands_sep,
57 Py_ssize_t thousands_sep_len)
60 Py_ssize_t i;
116 Py_ssize_t
118 Py_ssize_t n_buffer,
120 Py_ssize_t n_digit
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Python/PyMod-2.7.2/Objects/stringlib/
H A Dlocaleutil.h29 Py_ssize_t i; /* Where we're currently pointing in grouping. */
41 static Py_ssize_t
58 return (Py_ssize_t)ch;
67 Py_ssize_t n_chars, Py_ssize_t n_zeros, const char* thousands_sep,
68 Py_ssize_t thousands_sep_len)
71 Py_ssize_t i;
127 Py_ssize_t
129 Py_ssize_t n_buffer,
131 Py_ssize_t n_digit
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/PyEfiCompressor/
H A DEfiCompressor.c34 Py_ssize_t SegNum;
35 Py_ssize_t Index;
66 Py_ssize_t Len;
83 return PyBuffer_FromMemory(DstBuf, (Py_ssize_t)DstDataSize);
111 Py_ssize_t SegNum;
112 Py_ssize_t Index;
143 Py_ssize_t Len;
160 return PyString_FromStringAndSize((CONST INT8*)DstBuf, (Py_ssize_t)DstDataSize);
/vbox/src/libs/xpcom18a4/python/src/
H A DPyIInputStream.cpp70 if (PyObject_AsWriteBuffer(obBuffer, &buf, (Py_ssize_t *)&buf_len) != 0) {
73 Py_ssize_t buf_len;
130 if (PyObject_AsWriteBuffer(rc, &ob_buf, (Py_ssize_t *)&buf_len) != 0) {
133 Py_ssize_t buf_len;
H A DPyGInputStream.cpp109 if (PyObject_AsReadBuffer(ret, &py_buf, (Py_ssize_t*)&py_size)!=0) {
113 Py_ssize_t py_size;
H A DPyXPCOM.h118 typedef int Py_ssize_t; typedef
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Python/PyMod-2.7.2/Objects/
H A Dlongobject.c65 Py_ssize_t j = ABS(Py_SIZE(v));
66 Py_ssize_t i = j;
82 _PyLong_New(Py_ssize_t size)
84 if (size > (Py_ssize_t)MAX_LONG_DIGITS) {
99 Py_ssize_t i;
254 Py_ssize_t i;
358 /* Get a Py_ssize_t from a long int object.
361 Py_ssize_t
365 Py_ssize_t i;
390 return (Py_ssize_t)
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Python/PyMod-2.7.1/Modules/
H A D_sre.c271 data_stack_grow(SRE_STATE* state, Py_ssize_t size)
273 Py_ssize_t minsize, cursize;
345 Py_ssize_t thisp, thatp;
486 Py_ssize_t count, block;
520 LOCAL(Py_ssize_t) SRE_MATCH(SRE_STATE* state, SRE_CODE* pattern);
522 LOCAL(Py_ssize_t)
523 SRE_COUNT(SRE_STATE* state, SRE_CODE* pattern, Py_ssize_t maxcount)
528 Py_ssize_t i;
618 Py_ssize_t i;
795 Py_ssize_t last_ctx_po
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
H A D_sre.c280 data_stack_grow(SRE_STATE* state, Py_ssize_t size)
282 Py_ssize_t minsize, cursize;
354 Py_ssize_t thisp, thatp;
495 Py_ssize_t count, block;
529 LOCAL(Py_ssize_t) SRE_MATCH(SRE_STATE* state, SRE_CODE* pattern);
531 LOCAL(Py_ssize_t)
532 SRE_COUNT(SRE_STATE* state, SRE_CODE* pattern, Py_ssize_t maxcount)
537 Py_ssize_t i;
627 Py_ssize_t i;
804 Py_ssize_t last_ctx_po
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Python/PyMod-2.7.1/Include/
H A Dpyport.h165 /* Py_ssize_t is a signed integral type such that sizeof(Py_ssize_t) ==
170 typedef ssize_t Py_ssize_t; typedef
172 typedef Py_intptr_t Py_ssize_t; typedef
174 # error "Python needs a typedef for Py_ssize_t in pyport.h."
188 /* Largest positive value of type Py_ssize_t. */
189 #define PY_SSIZE_T_MAX ((Py_ssize_t)(((size_t)-1)>>1))
190 /* Smallest negative value of type Py_ssize_t. */
198 * format to convert an argument with the width of a size_t or Py_ssize_t.
204 * the platform C requires to convert a size_t/Py_ssize_t argumen
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Python/PyMod-2.7.2/Include/
H A Dpyport.h178 /* Py_ssize_t is a signed integral type such that sizeof(Py_ssize_t) ==
183 typedef ssize_t Py_ssize_t; typedef
185 typedef Py_intptr_t Py_ssize_t; typedef
187 # error "Python needs a typedef for Py_ssize_t in pyport.h."
201 /* Largest positive value of type Py_ssize_t. */
202 #define PY_SSIZE_T_MAX ((Py_ssize_t)(((size_t)-1)>>1))
203 /* Smallest negative value of type Py_ssize_t. */
211 * format to convert an argument with the width of a size_t or Py_ssize_t.
217 * the platform C requires to convert a size_t/Py_ssize_t argumen
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Python/PyMod-2.7.2/Python/
H A Dmarshal.c83 Py_ssize_t size, newsize;
156 Py_ssize_t i, j, n, l;
194 Py_ssize_t i, n;
381 Py_ssize_t pos;
1184 PyMarshal_ReadObjectFromString(char *str, Py_ssize_t len)
1240 if (_PyString_Resize(&wf.str, (Py_ssize_t)(wf.ptr - base)))
1355 Py_ssize_t n;

Completed in 101 milliseconds