Home
last modified time | relevance | path

Searched refs:maxcount (Results 1 – 19 of 19) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dsplit.h59 Py_ssize_t maxcount) in stringlib_split_whitespace() argument
62 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_split_whitespace()
69 while (maxcount-- > 0) { in stringlib_split_whitespace()
108 Py_ssize_t maxcount) in stringlib_split_char() argument
111 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_split_char()
118 while ((j < str_len) && (maxcount-- > 0)) { in stringlib_split_char()
151 Py_ssize_t maxcount) in stringlib_split() argument
161 return stringlib_split_char(str_obj, str, str_len, sep[0], maxcount); in stringlib_split()
163 list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_split()
168 while (maxcount-- > 0) { in stringlib_split()
[all …]
Dcount.h13 Py_ssize_t maxcount) in stringlib_count() argument
20 return (str_len < maxcount) ? str_len + 1 : maxcount; in stringlib_count()
22 count = fastsearch(str, str_len, sub, sub_len, maxcount, FAST_COUNT); in stringlib_count()
Dfastsearch.h39 Py_ssize_t maxcount, int mode) in fastsearch() argument
47 if (w < 0 || (mode == FAST_COUNT && maxcount == 0)) in fastsearch()
59 if (count == maxcount) in fastsearch()
60 return maxcount; in fastsearch()
104 if (count == maxcount) in fastsearch()
105 return maxcount; in fastsearch()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dsplit.h59 Py_ssize_t maxcount) in stringlib_split_whitespace() argument
62 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_split_whitespace()
69 while (maxcount-- > 0) { in stringlib_split_whitespace()
108 Py_ssize_t maxcount) in stringlib_split_char() argument
111 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_split_char()
118 while ((j < str_len) && (maxcount-- > 0)) { in stringlib_split_char()
151 Py_ssize_t maxcount) in stringlib_split() argument
161 return stringlib_split_char(str_obj, str, str_len, sep[0], maxcount); in stringlib_split()
163 list = PyList_New(PREALLOC_SIZE(maxcount)); in stringlib_split()
168 while (maxcount-- > 0) { in stringlib_split()
[all …]
Dcount.h13 Py_ssize_t maxcount) in stringlib_count() argument
20 return (str_len < maxcount) ? str_len + 1 : maxcount; in stringlib_count()
22 count = fastsearch(str, str_len, sub, sub_len, maxcount, FAST_COUNT); in stringlib_count()
Dfastsearch.h39 Py_ssize_t maxcount, int mode) in fastsearch() argument
47 if (w < 0 || (mode == FAST_COUNT && maxcount == 0)) in fastsearch()
59 if (count == maxcount) in fastsearch()
60 return maxcount; in fastsearch()
104 if (count == maxcount) in fastsearch()
105 return maxcount; in fastsearch()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dbytearrayobject.c1543 countchar(const char *target, Py_ssize_t target_len, char c, Py_ssize_t maxcount) in countchar() argument
1551 if (count >= maxcount) in countchar()
1565 Py_ssize_t maxcount) in replace_interleave() argument
1576 if (maxcount < count) in replace_interleave()
1577 count = maxcount; in replace_interleave()
1624 char from_c, Py_ssize_t maxcount) in replace_delete_single_character() argument
1635 count = countchar(self_s, self_len, from_c, maxcount); in replace_delete_single_character()
1668 Py_ssize_t maxcount) in replace_delete_substring() argument
1681 maxcount); in replace_delete_substring()
1720 Py_ssize_t maxcount) in replace_single_character_in_place() argument
[all …]
Dstringobject.c2335 countchar(const char *target, Py_ssize_t target_len, char c, Py_ssize_t maxcount) in countchar() argument
2343 if (count >= maxcount) in countchar()
2357 Py_ssize_t maxcount) in replace_interleave() argument
2368 if (maxcount < count) in replace_interleave()
2369 count = maxcount; in replace_interleave()
2416 char from_c, Py_ssize_t maxcount) in replace_delete_single_character() argument
2427 count = countchar(self_s, self_len, from_c, maxcount); in replace_delete_single_character()
2460 Py_ssize_t maxcount) { in replace_delete_substring() argument
2472 maxcount); in replace_delete_substring()
2511 Py_ssize_t maxcount) in replace_single_character_in_place() argument
[all …]
Dunicodeobject.c5839 Py_ssize_t maxcount) in split() argument
5841 if (maxcount < 0) in split()
5842 maxcount = PY_SSIZE_T_MAX; in split()
5846 (PyObject*) self, self->str, self->length, maxcount in split()
5852 maxcount in split()
5859 Py_ssize_t maxcount) in rsplit() argument
5861 if (maxcount < 0) in rsplit()
5862 maxcount = PY_SSIZE_T_MAX; in rsplit()
5866 (PyObject*) self, self->str, self->length, maxcount in rsplit()
5872 maxcount in rsplit()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dbytearrayobject.c1539 countchar(const char *target, Py_ssize_t target_len, char c, Py_ssize_t maxcount) in countchar() argument
1547 if (count >= maxcount) in countchar()
1561 Py_ssize_t maxcount) in replace_interleave() argument
1572 if (maxcount < count) in replace_interleave()
1573 count = maxcount; in replace_interleave()
1620 char from_c, Py_ssize_t maxcount) in replace_delete_single_character() argument
1631 count = countchar(self_s, self_len, from_c, maxcount); in replace_delete_single_character()
1664 Py_ssize_t maxcount) in replace_delete_substring() argument
1677 maxcount); in replace_delete_substring()
1716 Py_ssize_t maxcount) in replace_single_character_in_place() argument
[all …]
Dstringobject.c2316 countchar(const char *target, int target_len, char c, Py_ssize_t maxcount) in countchar() argument
2324 if (count >= maxcount) in countchar()
2338 Py_ssize_t maxcount) in replace_interleave() argument
2349 if (maxcount < count) in replace_interleave()
2350 count = maxcount; in replace_interleave()
2397 char from_c, Py_ssize_t maxcount) in replace_delete_single_character() argument
2408 count = countchar(self_s, self_len, from_c, maxcount); in replace_delete_single_character()
2441 Py_ssize_t maxcount) { in replace_delete_substring() argument
2453 maxcount); in replace_delete_substring()
2492 Py_ssize_t maxcount) in replace_single_character_in_place() argument
[all …]
Dunicodeobject.c5744 Py_ssize_t maxcount) in split() argument
5746 if (maxcount < 0) in split()
5747 maxcount = PY_SSIZE_T_MAX; in split()
5751 (PyObject*) self, self->str, self->length, maxcount in split()
5757 maxcount in split()
5764 Py_ssize_t maxcount) in rsplit() argument
5766 if (maxcount < 0) in rsplit()
5767 maxcount = PY_SSIZE_T_MAX; in rsplit()
5771 (PyObject*) self, self->str, self->length, maxcount in rsplit()
5777 maxcount in rsplit()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dunicodeobject.h1276 Py_ssize_t maxcount /* Max. number of replacements to apply;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dunicodeobject.h1276 Py_ssize_t maxcount /* Max. number of replacements to apply;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_sre.c532 SRE_COUNT(SRE_STATE* state, SRE_CODE* pattern, Py_ssize_t maxcount) in SRE_COUNT() argument
540 if (maxcount < end - ptr && maxcount != 65535) in SRE_COUNT()
541 end = ptr + maxcount; in SRE_COUNT()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
D_sre.c533 SRE_COUNT(SRE_STATE* state, SRE_CODE* pattern, Py_ssize_t maxcount) in SRE_COUNT() argument
541 if (maxcount < end - ptr && maxcount != SRE_MAXREPEAT) in SRE_COUNT()
542 end = ptr + maxcount; in SRE_COUNT()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
D_sre.c532 SRE_COUNT(SRE_STATE* state, SRE_CODE* pattern, Py_ssize_t maxcount) in SRE_COUNT() argument
540 if (maxcount < end - ptr && maxcount != 65535) in SRE_COUNT()
541 end = ptr + maxcount; in SRE_COUNT()
/device/generic/goldfish-opengl/system/GLESv2_enc/
Dgl2_entry.cpp64 void glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
775 void glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) in glGetAttachedShaders() argument
778 ctx->glGetAttachedShaders(ctx, program, maxcount, count, shaders); in glGetAttachedShaders()
Dgl2_enc.cpp1682 void glGetAttachedShaders_enc(void *self , GLuint program, GLsizei maxcount, GLsizei* count, GLuint… in glGetAttachedShaders_enc() argument
1691 const unsigned int __size_shaders = (maxcount*sizeof(GLuint)); in glGetAttachedShaders_enc()
1703 memcpy(ptr, &maxcount, 4); ptr += 4; in glGetAttachedShaders_enc()