Lines Matching defs:size
602 - The total size we need to allocate for the REPARSE_DATA_BUFFER, thus,
604 - the fixed header size (REPARSE_DATA_BUFFER_HEADER_SIZE)
605 - the size of the MountPointReparseBuffer member without the PathBuffer
606 - the size of the prefix ("\??\") in bytes
607 - the size of the print name in bytes
608 - the size of the substitute name in bytes
609 - the size of two NUL terminators in bytes */
716 size: DWORD
725 _winapi_CreatePipe_impl(PyObject *module, PyObject *pipe_attrs, DWORD size)
737 result = CreatePipe(&read_pipe, &write_pipe, NULL, size);
810 "environment changed size during iteration");
818 Py_ssize_t size;
840 size = PyUnicode_AsWideChar(key, NULL, 0);
841 assert(size > 1);
842 if (totalsize > PY_SSIZE_T_MAX - size) {
846 totalsize += size; /* including '=' */
848 size = PyUnicode_AsWideChar(value, NULL, 0);
849 assert(size > 0);
850 if (totalsize > PY_SSIZE_T_MAX - size) {
854 totalsize += size; /* including trailing '\0' */
868 Py_ssize_t size = PyUnicode_AsWideChar(key, p, end - p);
869 assert(1 <= size && size < end - p);
870 p += size;
872 size = PyUnicode_AsWideChar(value, p, end - p);
873 assert(0 <= size && size < end - p);
874 p += size + 1;
888 gethandlelist(PyObject *mapping, const char *name, Py_ssize_t *size)
909 *size = PySequence_Fast_GET_SIZE(value_fast) * sizeof(HANDLE);
912 if (*size == 0) {
916 ret = PyMem_Malloc(*size);
1495 size: int = 0
1500 _winapi_PeekNamedPipe_impl(PyObject *module, HANDLE handle, int size)
1507 if (size < 0) {
1508 PyErr_SetString(PyExc_ValueError, "negative size");
1512 if (size) {
1513 buf = PyBytes_FromStringAndSize(NULL, size);
1517 ret = PeekNamedPipe(handle, PyBytes_AS_STRING(buf), size, &nread,
1611 size: DWORD
1616 _winapi_ReadFile_impl(PyObject *module, HANDLE handle, DWORD size,
1626 buf = PyBytes_FromStringAndSize(NULL, size);
1640 ret = ReadFile(handle, PyBytes_AS_STRING(buf), size, &nread,