Home
last modified time | relevance | path

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

/third_party/python/Objects/stringlib/
Dsplit.h56 Py_ssize_t maxcount) in STRINGLIB()
59 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB()
66 while (maxcount-- > 0) { in STRINGLIB()
105 Py_ssize_t maxcount) in STRINGLIB()
108 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB()
115 while ((j < str_len) && (maxcount-- > 0)) { in STRINGLIB()
148 Py_ssize_t maxcount) in STRINGLIB()
158 return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount); in STRINGLIB()
160 list = PyList_New(PREALLOC_SIZE(maxcount)); in STRINGLIB()
165 while (maxcount-- > 0) { in STRINGLIB()
[all …]
Dtransmogrify.h259 Py_ssize_t maxcount) in countchar() argument
267 if (count >= maxcount) in countchar()
281 Py_ssize_t maxcount) in stringlib_replace_interleave() argument
293 if (maxcount <= self_len) { in stringlib_replace_interleave()
294 count = maxcount; in stringlib_replace_interleave()
351 char from_c, Py_ssize_t maxcount) in stringlib_replace_delete_single_character() argument
362 count = countchar(self_s, self_len, from_c, maxcount); in stringlib_replace_delete_single_character()
396 Py_ssize_t maxcount) in stringlib_replace_delete_substring() argument
409 maxcount); in stringlib_replace_delete_substring()
448 Py_ssize_t maxcount) in stringlib_replace_single_character_in_place() argument
[all …]
Dcount.h10 Py_ssize_t maxcount) in STRINGLIB()
17 return (str_len < maxcount) ? str_len + 1 : maxcount; in STRINGLIB()
19 count = FASTSEARCH(str, str_len, sub, sub_len, maxcount, FAST_COUNT); in STRINGLIB()
Dfastsearch.h484 Py_ssize_t maxcount) in STRINGLIB()
498 if (count == maxcount) { in STRINGLIB()
499 return maxcount; in STRINGLIB()
519 Py_ssize_t maxcount, int mode) in FASTSEARCH() argument
527 if (w < 0 || (mode == FAST_COUNT && maxcount == 0)) in FASTSEARCH()
543 if (count == maxcount) in FASTSEARCH()
544 return maxcount; in FASTSEARCH()
564 return STRINGLIB(_two_way_count)(s, n, p, m, maxcount); in FASTSEARCH()
603 if (count == maxcount) { in FASTSEARCH()
604 return maxcount; in FASTSEARCH()
[all …]
Dreplace.h9 Py_UCS4 u1, Py_UCS4 u2, Py_ssize_t maxcount) in STRINGLIB()
12 while (--maxcount && ++s != end) { in STRINGLIB()
/third_party/f2fs-tools/fsck/
Ddict.c60 #define maxcount dict_maxcount macro
247 dict_t *dict_create(dictcount_t maxcount, dict_comp_t comp) in dict_create() argument
257 new->maxcount = maxcount; in dict_create()
323 dict_t *dict_init(dict_t *dict, dictcount_t maxcount, dict_comp_t comp) in dict_init() argument
330 dict->maxcount = maxcount; in dict_init()
350 dict->maxcount = template->maxcount; in dict_init_like()
939 return dict->nodecount == dict->maxcount; in dict_isfull()
1042 dict_assert(dict->nodecount < dict->maxcount); in dict_load_next()
/third_party/python/Objects/
Dunicodeobject.c10689 Py_ssize_t maxcount) in split() argument
10696 if (maxcount < 0) in split()
10697 maxcount = PY_SSIZE_T_MAX; in split()
10708 PyUnicode_GET_LENGTH(self), maxcount in split()
10713 PyUnicode_GET_LENGTH(self), maxcount in split()
10718 PyUnicode_GET_LENGTH(self), maxcount in split()
10723 PyUnicode_GET_LENGTH(self), maxcount in split()
10756 self, buf1, len1, buf2, len2, maxcount); in split()
10759 self, buf1, len1, buf2, len2, maxcount); in split()
10763 self, buf1, len1, buf2, len2, maxcount); in split()
[all …]
/third_party/python/Modules/
Dsre_lib.h205 SRE(count)(SRE_STATE* state, const SRE_CODE* pattern, Py_ssize_t maxcount) in SRE()
214 if (maxcount < end - ptr && maxcount != SRE_MAXREPEAT) in SRE()
215 end = ptr + maxcount; in SRE()
/third_party/python/Include/
Dunicodeobject.h977 Py_ssize_t maxcount /* Max. number of replacements to apply;
/third_party/elfutils/libdwfl/
Ddwfl_segment_report_module.c175 uint64_t maxcount = (size_t) (end - ptr) / (3 * sz); in handle_file_note() local
176 if (count > maxcount) in handle_file_note()
/third_party/vk-gl-cts/doc/
DGLES2 Negative API Functions.txt41 o glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
DGLES3 Negative API Functions.txt74 o glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
/third_party/python/Lib/
Dstatistics.py600 maxcount, mode_items = next(groupby(counts, key=itemgetter(1)), (0, []))
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrContextWrapper.hpp106 void glGetAttachedShaders (deUint32 program, int maxcount, int* count, deUint32* shaders);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DlibGLESv2.hpp115 …void (GL_APIENTRY *glGetAttachedShaders)(GLuint program, GLsizei maxcount, GLsizei* count, GLuint*…
DlibGLESv2.cpp2320 void GL_APIENTRY GetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shade… in GetAttachedShaders() argument
2323 program, maxcount, count, shaders); in GetAttachedShaders()
2325 if(maxcount < 0) in GetAttachedShaders()
2348 return programObject->getAttachedShaders(maxcount, count, shaders); in GetAttachedShaders()
Dentry_points.cpp420 GL_APICALL void GL_APIENTRY glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, … in glGetAttachedShaders() argument
422 return gl::GetAttachedShaders(program, maxcount, count, shaders); in glGetAttachedShaders()
Dentry_points.h95 …void GL_APIENTRY GetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shad…
/third_party/python/Doc/c-api/
Dunicode.rst1659 PyObject *replstr, Py_ssize_t maxcount)
1661 Replace at most *maxcount* occurrences of *substr* in *str* with *replstr* and
1662 return the resulting Unicode object. *maxcount* == ``-1`` means replace all
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationES2.cpp4313 GLsizei maxcount, in ValidateGetAttachedShaders() argument
4317 if (maxcount < 0) in ValidateGetAttachedShaders()
DContext.cpp6736 GLsizei maxcount, in getAttachedShaders() argument
6742 programObject->getAttachedShaders(maxcount, count, shaders); in getAttachedShaders()
/third_party/python/Doc/data/
Drefcounts.dat2708 PyUnicode_Replace:Py_ssize_t:maxcount::
/third_party/elfutils/src/
Dreadelf.c12613 uint64_t maxcount = (size_t) (end - ptr) / (3 * addrsize); in handle_file_note() local
12614 if (count > maxcount) in handle_file_note()