Home
last modified time | relevance | path

Searched refs:maxsize (Results 1 – 25 of 43) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DQueue.py26 def __init__(self, maxsize=0): argument
27 self.maxsize = maxsize
28 self._init(maxsize)
103 n = 0 < self.maxsize == self._qsize()
120 if self.maxsize > 0:
122 if self._qsize() == self.maxsize:
125 while self._qsize() == self.maxsize:
131 while self._qsize() == self.maxsize:
197 def _init(self, maxsize): argument
218 def _init(self, maxsize): argument
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
Dwcsftime.c58 wcsftime(wchar_t *wcs, size_t maxsize, in wcsftime() argument
84 if (SIZE_T_MAX / MB_CUR_MAX <= maxsize) { in wcsftime()
89 dst = malloc(maxsize * MB_CUR_MAX); in wcsftime()
92 if (strftime(dst, maxsize, sformat, timeptr) == 0) in wcsftime()
95 n = mbstowcs(wcs, dstp, maxsize); in wcsftime()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiConfigDxe.vfr36 maxsize = ISCSI_NAME_IFR_MAX_SIZE,
67 maxsize = IP_MAX_SIZE,
76 maxsize = IP_MAX_SIZE,
85 maxsize = IP_MAX_SIZE,
107 maxsize = ISCSI_NAME_IFR_MAX_SIZE,
116 maxsize = IP_MAX_SIZE,
134 maxsize = LUN_MAX_SIZE,
156 maxsize = ISCSI_CHAP_NAME_MAX_LEN,
165 maxsize = ISCSI_CHAP_SECRET_MAX_LEN,
178 maxsize = ISCSI_CHAP_NAME_MAX_LEN,
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiConfigVfr.vfr38 maxsize = ISCSI_NAME_IFR_MAX_SIZE,
127 maxsize = ATTEMPT_NAME_MAX_SIZE,
180 maxsize = ISID_CONFIGURABLE_MAX_LEN,
203 maxsize = IP4_MAX_SIZE,
212 maxsize = IP4_MAX_SIZE,
221 maxsize = IP4_MAX_SIZE,
248 maxsize = ISCSI_NAME_IFR_MAX_SIZE,
257 maxsize = IP_MAX_SIZE,
275 maxsize = LUN_MAX_SIZE,
308 maxsize = ISCSI_CHAP_NAME_MAX_LEN,
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Config2.vfr57 maxsize = IP_MAX_SIZE,
66 maxsize = IP_MAX_SIZE,
75 maxsize = IP_MAX_SIZE,
84 maxsize = ADDRESS_STR_MAX_SIZE,
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/
DSecurity.vfi85 maxsize = PASSWORD_MAX_SIZE,
94 maxsize = PASSWORD_MAX_SIZE,
103 maxsize = PASSWORD_MAX_SIZE,
112 maxsize = PASSWORD_MAX_SIZE,
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DFE.vfr50 maxsize = 75,
59 maxsize = 120,
92 maxsize = 75,
101 maxsize = 120,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_index.py5 maxsize = test_support.MAX_Py_ssize_t variable
6 minsize = -maxsize-1
265 self.assertEqual(x[self.neg:self.pos].indices(maxsize),
266 (0, maxsize, 1))
267 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize),
268 (0, maxsize, 1))
281 self.assertEqual(x[self.neg:self.pos], (maxint+minsize, maxsize))
282 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize),
283 (0, maxsize, 1))
Dtest_support.py902 MAX_Py_ssize_t = sys.maxsize
945 maxsize = 5147
946 self.assertFalse(maxsize * memuse + overhead > 20 * _1M)
948 maxsize = int((max_memuse - overhead) / memuse)
949 if maxsize < minsize:
956 maxsize = max(maxsize - 50 * _1M, minsize)
957 return f(self, maxsize)
968 maxsize = 5147
970 maxsize = size
972 if real_max_memuse and real_max_memuse < maxsize * memuse:
[all …]
Dtest_format.py6 maxsize = test_support.MAX_Py_ssize_t variable
283 if maxsize == 2**31-1:
286 "%*d"%(maxsize, -127)
Dtest_memoryview.py39 self.assertRaises(IndexError, lambda: m[sys.maxsize])
40 self.assertRaises(IndexError, lambda: m[-sys.maxsize])
106 self.assertRaises(IndexError, setitem, sys.maxsize, b"a")
107 self.assertRaises(IndexError, setitem, -sys.maxsize, b"a")
Dtest_kqueue.py73 bignum = sys.maxsize * 2 + 1
74 ev = select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum)
79 self.assertEqual(ev.data, sys.maxsize)
Dtest_itertools.py13 maxsize = test_support.MAX_Py_ssize_t variable
14 minsize = -maxsize-1
335 self.assertEqual(list(islice(count(maxsize-5), 10)), range(maxsize-5, maxsize+5))
336 self.assertEqual(list(islice(count(-maxsize-5), 10)), range(-maxsize-5, -maxsize+5))
367 … self.assertEqual(take(20, count(maxsize-15, 3)), take(20, range(maxsize-15, maxsize+100, 3)))
368 … self.assertEqual(take(20, count(-maxsize-15, 3)), take(20, range(-maxsize-15,-maxsize+100, 3)))
779 self.assertEqual(len(list(islice(count(), 1, 10, maxsize))), 1)
Dtest_list.py18 if sys.maxsize == 0x7fffffff:
Dtest_struct.py10 IS32BIT = sys.maxsize == 0x7fffffff
541 hugecount = '{}b'.format(sys.maxsize+1)
544 hugecount2 = '{}b{}H'.format(sys.maxsize//2, sys.maxsize//2)
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6Config.vfr96 maxsize = INTERFACE_ID_STR_MAX_SIZE,
142 maxsize = ADDRESS_STR_MAX_SIZE,
151 maxsize = ADDRESS_STR_MAX_SIZE,
160 maxsize = ADDRESS_STR_MAX_SIZE,
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootConfigVfr.vfr35 maxsize = DESCRIPTION_STR_MAX_SIZE,
51 maxsize = URI_STR_MAX_SIZE,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Dbytesio.c334 Py_ssize_t maxsize, size, n; in bytesio_readlines() local
345 maxsize = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in bytesio_readlines()
346 if (maxsize == -1 && PyErr_Occurred()) in bytesio_readlines()
351 maxsize = -1; in bytesio_readlines()
374 if (maxsize > 0 && size >= maxsize) in bytesio_readlines()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dbytesio.c344 Py_ssize_t maxsize, size, n; in bytesio_readlines() local
355 maxsize = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in bytesio_readlines()
356 if (maxsize == -1 && PyErr_Occurred()) in bytesio_readlines()
361 maxsize = -1; in bytesio_readlines()
384 if (maxsize > 0 && size >= maxsize) in bytesio_readlines()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/
DBootMaintenanceManager.vfr122 maxsize = 75,
131 maxsize = 120,
196 maxsize = 75,
205 maxsize = 120,
/device/linaro/bootloader/edk2/StdLib/LibC/Time/
Dstrftime.c94 size_t maxsize, in strftime() argument
104 p = _fmt(((format == NULL) ? "%c" : format), timeptr, s, s + maxsize, &warn); in strftime()
123 if (p == s + maxsize) in strftime()
/device/linaro/bootloader/edk2/StdLib/Include/
Dtime.h423 size_t strftime( char * __restrict s, size_t maxsize,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/
Dtest_scanstring.py105 self.json.decoder.scanstring(b"xxx", sys.maxsize+1)
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
DSecureBootConfig.vfr248 maxsize = SECURE_BOOT_GUID_SIZE,
411 maxsize = SECURE_BOOT_GUID_SIZE,
455 maxsize = SECURE_BOOT_GUID_SIZE,
532 maxsize = SECURE_BOOT_GUID_SIZE,
/device/linaro/bootloader/edk2/OvmfPkg/PlatformDxe/
DPlatformForms.vfr52 maxsize = MAXSIZE_RES_CUR,

12