Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 117) sorted by relevance

12345

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dtraceback.py46 def print_tb(tb, limit=None, file=None): argument
56 if limit is None:
58 limit = sys.tracebacklimit
60 while tb is not None and (limit is None or n < limit):
74 def format_tb(tb, limit = None): argument
76 return format_list(extract_tb(tb, limit))
78 def extract_tb(tb, limit = None): argument
89 if limit is None:
91 limit = sys.tracebacklimit
94 while tb is not None and (limit is None or n < limit):
[all …]
D_pyio.py450 def readline(self, limit=-1): argument
466 if limit >= 0:
467 n = min(n, limit)
472 if limit is None:
473 limit = -1
474 elif not isinstance(limit, (int, long)):
477 while limit < 0 or len(res) < limit:
1872 def readline(self, limit=None): argument
1875 if limit is None:
1876 limit = -1
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dtraceback.py46 def print_tb(tb, limit=None, file=None): argument
56 if limit is None:
58 limit = sys.tracebacklimit
60 while tb is not None and (limit is None or n < limit):
74 def format_tb(tb, limit = None): argument
76 return format_list(extract_tb(tb, limit))
78 def extract_tb(tb, limit = None): argument
89 if limit is None:
91 limit = sys.tracebacklimit
94 while tb is not None and (limit is None or n < limit):
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dfind_recursionlimit.py107 limit = 1000 variable
109 check_limit(limit, "test_recurse")
110 check_limit(limit, "test_add")
111 check_limit(limit, "test_repr")
112 check_limit(limit, "test_init")
113 check_limit(limit, "test_getattr")
114 check_limit(limit, "test_getitem")
115 check_limit(limit, "test_cpickle")
116 print "Limit of %d is fine" % limit
117 limit = limit + 100 variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlmem.c47 int limit, const char *what) { in luaM_growaux_() argument
50 if (*size >= limit/2) { /* cannot double it? */ in luaM_growaux_()
51 if (*size >= limit) /* cannot grow even a little? */ in luaM_growaux_()
52 luaG_runerror(L, "too many %s (limit is %d)", what, limit); in luaM_growaux_()
53 newsize = limit; /* still have at least one free place */ in luaM_growaux_()
Dlmem.h40 #define luaM_growvector(L,v,nelems,size,t,limit,e) \ argument
42 ((v)=cast(t *, luaM_growaux_(L,v,&(size),sizeof(t),limit,e)))
53 size_t size_elem, int limit,
/device/linaro/bootloader/edk2/StdLib/PosixLib/Glob/
Dglob.c192 size_t limit[] = { 0, 0, 0 }; in glob() local
228 return globexp1(patbuf, pglob, limit); in glob()
230 return glob0(patbuf, pglob, limit); in glob()
239 globexp1(const Char *pattern, glob_t *pglob, size_t *limit) in globexp1() argument
249 return glob0(pattern, pglob, limit); in globexp1()
252 if (!globexp2(ptr, pattern, pglob, &rv, limit)) in globexp1()
255 return glob0(pattern, pglob, limit); in globexp1()
266 size_t *limit) in globexp2() argument
311 *rv = glob0(pattern, pglob, limit); in globexp2()
358 *rv = globexp1(patbuf, pglob, limit); in globexp2()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dfact.py22 limit = sqrt(n+1)
24 while i <= limit:
28 limit = sqrt(n+1)
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzmaDec.c28 #define TREE_DECODE(probs, limit, i) \ argument
29 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; }
56 #define TREE_DECODE_CHECK(probs, limit, i) \ argument
57 { i = 1; do { GET_BIT_CHECK(probs + i, i) } while (i < limit); i -= limit; }
137 static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, const Byte *bufLimit) in LzmaDec_DecodeReal() argument
269 unsigned limit, offset; in LzmaDec_DecodeReal() local
276 limit = (1 << kLenNumLowBits); in LzmaDec_DecodeReal()
287 limit = (1 << kLenNumMidBits); in LzmaDec_DecodeReal()
294 limit = (1 << kLenNumHighBits); in LzmaDec_DecodeReal()
297 TREE_DECODE(probLen, limit, len); in LzmaDec_DecodeReal()
[all …]
DBra86.c23 Byte *limit = data + size - 4; in x86_Convert() local
24 for (; p < limit; p++) in x86_Convert()
28 if (p >= limit) in x86_Convert()
/device/linaro/bootloader/edk2/UefiCpuPkg/ResetVector/Vtf0/Ia16/
DReal16ToFlat32.asm61 dw GDT_END - GDT_BASE - 1 ; GDT limit
96 DW 0 ; limit 15:0
100 DB 0 ; limit 19:16, flags
105 DW 0xffff ; limit 15:0
114 DW 0xffff ; limit 15:0
124 DW 0xffff ; limit 15:0
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_xrange.py28 def assert_iterators_equal(self, xs, ys, test_id, limit=None): argument
31 if limit is not None:
32 xs = itertools.islice(xs, limit)
33 ys = itertools.islice(ys, limit)
127 self.assert_iterators_equal(iter1, iter2, test_id, limit=100)
136 self.assert_iterators_equal(iter1, iter2, test_id, limit=100)
Dtest_format.py13 def testformat(formatstr, args, output=None, limit=None, overflowok=False): argument
28 if output and limit is None and result != output:
38 elif output and limit is not None and (
39 len(result)!=len(output) or result[:limit]!=output[:limit]):
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c47 #define TREE_DECODE(probs, limit, i) \ argument
48 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; }
75 #define TREE_DECODE_CHECK(probs, limit, i) \ argument
76 { i = 1; do { GET_BIT_CHECK(probs + i, i) } while (i < limit); i -= limit; }
156 static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, const Byte *bufLimit) in LzmaDec_DecodeReal() argument
405 if (limit == dicPos) in LzmaDec_DecodeReal()
408 SizeT rem = limit - dicPos; in LzmaDec_DecodeReal()
438 while (dicPos < limit && buf < bufLimit); in LzmaDec_DecodeReal()
455 static void MY_FAST_CALL LzmaDec_WriteRem(CLzmaDec *p, SizeT limit) in LzmaDec_WriteRem() argument
464 if (limit - dicPos < len) in LzmaDec_WriteRem()
[all …]
DBra86.c23 Byte *limit = data + size - 4; in x86_Convert() local
24 for (; p < limit; p++) in x86_Convert()
28 if (p >= limit) in x86_Convert()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c47 #define TREE_DECODE(probs, limit, i) \ argument
48 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; }
75 #define TREE_DECODE_CHECK(probs, limit, i) \ argument
76 { i = 1; do { GET_BIT_CHECK(probs + i, i) } while (i < limit); i -= limit; }
156 static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, const Byte *bufLimit) in LzmaDec_DecodeReal() argument
405 if (limit == dicPos) in LzmaDec_DecodeReal()
408 SizeT rem = limit - dicPos; in LzmaDec_DecodeReal()
438 while (dicPos < limit && buf < bufLimit); in LzmaDec_DecodeReal()
455 static void MY_FAST_CALL LzmaDec_WriteRem(CLzmaDec *p, SizeT limit) in LzmaDec_WriteRem() argument
464 if (limit - dicPos < len) in LzmaDec_WriteRem()
[all …]
DBra86.c23 Byte *limit = data + size - 4; in x86_Convert() local
24 for (; p < limit; p++) in x86_Convert()
28 if (p >= limit) in x86_Convert()
/device/google/contexthub/util/nanotool/
Dcontexthub.cpp270 void ContextHub::PrintAllEvents(unsigned int limit) { in PrintAllEvents() argument
271 bool continuous = (limit == 0); in PrintAllEvents()
272 auto event_printer = [&limit, continuous](const SensorEvent& event) -> bool { in PrintAllEvents()
274 return (continuous || --limit > 0); in PrintAllEvents()
328 void ContextHub::PrintSensorEvents(SensorType type, int limit) { in PrintSensorEvents() argument
329 bool continuous = (limit == 0); in PrintSensorEvents()
330 auto event_printer = [type, &limit, continuous](const SensorEvent& event) -> bool { in PrintSensorEvents()
334 limit -= event.GetNumSamples(); in PrintSensorEvents()
336 return (continuous || limit > 0); in PrintSensorEvents()
341 void ContextHub::PrintSensorEvents(const std::vector<SensorSpec>& sensors, int limit) { in PrintSensorEvents() argument
[all …]
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/Ia32/
DSecEntry.S258 .word 0xFFFF # limit 0xFFFFF
268 .word 0xFFFF # limit 0xFFFFF
278 .word 0xFFFF # limit 0xFFFFF
289 .word 0xFFFF # limit 0xFFFFF
299 .word 0xFFFF # limit 0xFFFFF
309 .word 0xFFFF # limit 0xFFFF
320 .word 0 # limit 0
332 .word GDT_SIZE - 1 # GDT limit
DSecEntry.asm271 DW 0FFFFh ; limit 0xFFFFF
281 DW 0FFFFh ; limit 0xFFFFF
291 DW 0FFFFh ; limit 0xFFFFF
302 DW 0FFFFh ; limit 0xFFFFF
312 DW 0FFFFh ; limit 0xFFFFF
322 DW 0FFFFh ; limit 0xFFFF
333 DW 0 ; limit 0
345 DW GDT_SIZE - 1 ; GDT limit
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dtraceback.c236 tb_printinternal(PyTracebackObject *tb, PyObject *f, long limit) in tb_printinternal() argument
246 if (depth <= limit) { in tb_printinternal()
266 long limit = 1000; in PyTraceBack_Print() local
275 limit = PyInt_AsLong(limitv); in PyTraceBack_Print()
276 if (limit <= 0) in PyTraceBack_Print()
281 err = tb_printinternal((PyTracebackObject *)v, f, limit); in PyTraceBack_Print()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dtraceback.c236 tb_printinternal(PyTracebackObject *tb, PyObject *f, long limit) in tb_printinternal() argument
246 if (depth <= limit) { in tb_printinternal()
266 long limit = 1000; in PyTraceBack_Print() local
275 limit = PyInt_AsLong(limitv); in PyTraceBack_Print()
276 if (limit <= 0) in PyTraceBack_Print()
281 err = tb_printinternal((PyTracebackObject *)v, f, limit); in PyTraceBack_Print()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Dstringio.c255 _stringio_readline(stringio *self, Py_ssize_t limit) in _stringio_readline() argument
265 if (limit < 0 || limit > self->string_size - self->pos) in _stringio_readline()
266 limit = self->string_size - self->pos; in _stringio_readline()
268 end = start + limit; in _stringio_readline()
278 len = limit; in _stringio_readline()
292 Py_ssize_t limit = -1; in stringio_readline() local
300 limit = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in stringio_readline()
301 if (limit == -1 && PyErr_Occurred()) in stringio_readline()
309 return _stringio_readline(self, limit); in stringio_readline()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dstringio.c255 _stringio_readline(stringio *self, Py_ssize_t limit) in _stringio_readline() argument
265 if (limit < 0 || limit > self->string_size - self->pos) in _stringio_readline()
266 limit = self->string_size - self->pos; in _stringio_readline()
268 end = start + limit; in _stringio_readline()
278 len = limit; in _stringio_readline()
292 Py_ssize_t limit = -1; in stringio_readline() local
300 limit = PyNumber_AsSsize_t(arg, PyExc_OverflowError); in stringio_readline()
301 if (limit == -1 && PyErr_Occurred()) in stringio_readline()
309 return _stringio_readline(self, limit); in stringio_readline()
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
Dstart.S451 gdtr: .long GDT_END - GDT_BASE - 1 # GDT limit
462 .word 0 # limit 15:0
466 .byte 0 # limit 19:16, flags
471 .word 0xFFFF # limit 0xFFFFF
480 .word 0xFFFF # limit 0xFFFFF
489 .word 0xFFFF # limit 0xFFFFF
498 .word 0xFFFF # limit 0xFFFFF
507 .word 0 # limit 0xFFFFF
516 .word 0 # limit 0xFFFFF
525 .word 0 # limit 0xFFFFF
[all …]

12345