Home
last modified time | relevance | path

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

/third_party/python/Objects/stringlib/
H A Dtransmogrify.h259 Py_ssize_t maxcount) in countchar()
267 if (count >= maxcount) in countchar()
277 /* len(self)>=1, from="", len(to)>=1, maxcount>=1 */
281 Py_ssize_t maxcount) in stringlib_replace_interleave()
292 count = min(maxcount, self_len + 1) */ in stringlib_replace_interleave()
293 if (maxcount <= self_len) { in stringlib_replace_interleave()
294 count = maxcount; in stringlib_replace_interleave()
297 /* Can't overflow: self_len + 1 <= maxcount <= PY_SSIZE_T_MAX. */ in stringlib_replace_interleave()
348 /* len(self)>=1, len(from)==1, to="", maxcount>=1 */
351 char from_c, Py_ssize_t maxcount) in stringlib_replace_delete_single_character()
258 countchar(const char *target, Py_ssize_t target_len, char c, Py_ssize_t maxcount) countchar() argument
279 stringlib_replace_interleave(PyObject *self, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace_interleave() argument
350 stringlib_replace_delete_single_character(PyObject *self, char from_c, Py_ssize_t maxcount) stringlib_replace_delete_single_character() argument
394 stringlib_replace_delete_substring(PyObject *self, const char *from_s, Py_ssize_t from_len, Py_ssize_t maxcount) stringlib_replace_delete_substring() argument
446 stringlib_replace_single_character_in_place(PyObject *self, char from_c, char to_c, Py_ssize_t maxcount) stringlib_replace_single_character_in_place() argument
493 stringlib_replace_substring_in_place(PyObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace_substring_in_place() argument
545 stringlib_replace_single_character(PyObject *self, char from_c, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace_single_character() argument
609 stringlib_replace_substring(PyObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace_substring() argument
678 stringlib_replace(PyObject *self, const char *from_s, Py_ssize_t from_len, const char *to_s, Py_ssize_t to_len, Py_ssize_t maxcount) stringlib_replace() argument
[all...]
H A Dsplit.h56 Py_ssize_t maxcount) in split_whitespace()
59 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in split_whitespace()
66 while (maxcount-- > 0) { in split_whitespace()
86 /* Only occurs when maxcount was reached */ in split_whitespace()
105 Py_ssize_t maxcount) in split_char()
108 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); in split_char()
115 while ((j < str_len) && (maxcount-- > 0)) { in split_char()
148 Py_ssize_t maxcount) in split()
158 return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount); in split()
160 list = PyList_New(PREALLOC_SIZE(maxcount)); in split()
54 split_whitespace(PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, Py_ssize_t maxcount) split_whitespace() argument
102 split_char(PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, const STRINGLIB_CHAR ch, Py_ssize_t maxcount) split_char() argument
145 split(PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, Py_ssize_t maxcount) split() argument
193 rsplit_whitespace(PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, Py_ssize_t maxcount) rsplit_whitespace() argument
243 rsplit_char(PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, const STRINGLIB_CHAR ch, Py_ssize_t maxcount) rsplit_char() argument
287 rsplit(PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len, const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, Py_ssize_t maxcount) rsplit() argument
[all...]
H A Dfastsearch.h505 Py_ssize_t maxcount) in _two_way_count()
519 if (count == maxcount) { in _two_way_count()
520 return maxcount; in _two_way_count()
541 Py_ssize_t maxcount, int mode) in default_find()
573 if (count == maxcount) { in default_find()
574 return maxcount; in default_find()
601 Py_ssize_t maxcount, int mode) in adaptive_find()
634 if (count == maxcount) { in adaptive_find()
635 return maxcount; in adaptive_find()
648 maxcount in adaptive_find()
501 _two_way_count(const STRINGLIB_CHAR *haystack, Py_ssize_t len_haystack, const STRINGLIB_CHAR *needle, Py_ssize_t len_needle, Py_ssize_t maxcount) _two_way_count() argument
539 default_find(const STRINGLIB_CHAR* s, Py_ssize_t n, const STRINGLIB_CHAR* p, Py_ssize_t m, Py_ssize_t maxcount, int mode) default_find() argument
599 adaptive_find(const STRINGLIB_CHAR* s, Py_ssize_t n, const STRINGLIB_CHAR* p, Py_ssize_t m, Py_ssize_t maxcount, int mode) adaptive_find() argument
672 default_rfind(const STRINGLIB_CHAR* s, Py_ssize_t n, const STRINGLIB_CHAR* p, Py_ssize_t m, Py_ssize_t maxcount, int mode) default_rfind() argument
722 count_char(const STRINGLIB_CHAR *s, Py_ssize_t n, const STRINGLIB_CHAR p0, Py_ssize_t maxcount) count_char() argument
739 FASTSEARCH(const STRINGLIB_CHAR* s, Py_ssize_t n, const STRINGLIB_CHAR* p, Py_ssize_t m, Py_ssize_t maxcount, int mode) FASTSEARCH() argument
[all...]
H A Dcount.h10 Py_ssize_t maxcount) in count()
17 return (str_len < maxcount) ? str_len + 1 : maxcount; in count()
19 count = FASTSEARCH(str, str_len, sub, sub_len, maxcount, FAST_COUNT); in count()
8 count(const STRINGLIB_CHAR* str, Py_ssize_t str_len, const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, Py_ssize_t maxcount) count() argument
H A Dreplace.h9 Py_UCS4 u1, Py_UCS4 u2, Py_ssize_t maxcount) in replace_1char_inplace()
12 while (--maxcount && ++s != end) { in replace_1char_inplace()
8 replace_1char_inplace(STRINGLIB_CHAR* s, STRINGLIB_CHAR* end, Py_UCS4 u1, Py_UCS4 u2, Py_ssize_t maxcount) replace_1char_inplace() argument
/third_party/f2fs-tools/fsck/
H A 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()
[all...]
/third_party/python/Objects/
H A Dunicodeobject.c10362 Py_ssize_t maxcount) in split()
10369 if (maxcount < 0) in split()
10370 maxcount = PY_SSIZE_T_MAX; in split()
10381 PyUnicode_GET_LENGTH(self), maxcount in split()
10386 PyUnicode_GET_LENGTH(self), maxcount in split()
10391 PyUnicode_GET_LENGTH(self), maxcount in split()
10396 PyUnicode_GET_LENGTH(self), maxcount in split()
10429 self, buf1, len1, buf2, len2, maxcount); in split()
10432 self, buf1, len1, buf2, len2, maxcount); in split()
10436 self, buf1, len1, buf2, len2, maxcount); in split()
10360 split(PyObject *self, PyObject *substring, Py_ssize_t maxcount) split() argument
10452 rsplit(PyObject *self, PyObject *substring, Py_ssize_t maxcount) rsplit() argument
10562 anylib_count(int kind, PyObject *sstr, const void* sbuf, Py_ssize_t slen, PyObject *str1, const void *buf1, Py_ssize_t len1, Py_ssize_t maxcount) anylib_count() argument
10580 replace_1char_inplace(PyObject *u, Py_ssize_t pos, Py_UCS4 u1, Py_UCS4 u2, Py_ssize_t maxcount) replace_1char_inplace() argument
10605 replace(PyObject *self, PyObject *str1, PyObject *str2, Py_ssize_t maxcount) replace() argument
12795 PyUnicode_Replace(PyObject *str, PyObject *substr, PyObject *replstr, Py_ssize_t maxcount) PyUnicode_Replace() argument
[all...]
/third_party/elfutils/libdwfl/
H A Ddwfl_segment_report_module.c175 uint64_t maxcount = (size_t) (end - ptr) / (3 * sz); in handle_file_note()
176 if (count > maxcount) in handle_file_note()
/third_party/python/Lib/
H A Dstatistics.py732 maxcount = max(counts.values())
733 return [value for value, count in counts.items() if count == maxcount]
/third_party/python/Modules/_sre/
H A Dsre_lib.h205 SRE(count)(SRE_STATE* state, const SRE_CODE* pattern, Py_ssize_t maxcount) in count() argument
214 if (maxcount < end - ptr && maxcount != SRE_MAXREPEAT) in count()
215 end = ptr + maxcount; in count()
/third_party/python/Include/
H A Dunicodeobject.h966 /* Replace at most maxcount occurrences of substr in str with replstr
973 Py_ssize_t maxcount /* Max. number of replacements to apply;
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DlibGLESv2.hpp115 void (GL_APIENTRY *glGetAttachedShaders)(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
H A DlibGLESv2.cpp2320 void GL_APIENTRY GetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) in GetAttachedShaders() argument
2322 TRACE("(GLuint program = %d, GLsizei maxcount = %d, GLsizei* count = %p, GLuint* shaders = %p)", in GetAttachedShaders()
2323 program, maxcount, count, shaders); in GetAttachedShaders()
2325 if(maxcount < 0) in GetAttachedShaders()
2348 return programObject->getAttachedShaders(maxcount, count, shaders); in GetAttachedShaders()
H A Dentry_points.cpp420 GL_APICALL void GL_APIENTRY glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) in glGetAttachedShaders() argument
422 return gl::GetAttachedShaders(program, maxcount, count, shaders); in glGetAttachedShaders()
H A Dentry_points.h95 void GL_APIENTRY GetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrContextWrapper.hpp106 void glGetAttachedShaders (deUint32 program, int maxcount, int* count, deUint32* shaders);
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationES2.cpp4313 GLsizei maxcount, in ValidateGetAttachedShaders()
4317 if (maxcount < 0) in ValidateGetAttachedShaders()
4310 ValidateGetAttachedShaders(const Context *context, angle::EntryPoint entryPoint, ShaderProgramID program, GLsizei maxcount, const GLsizei *count, const ShaderProgramID *shaders) ValidateGetAttachedShaders() argument
H A DContext.cpp6736 GLsizei maxcount, in getAttachedShaders()
6742 programObject->getAttachedShaders(maxcount, count, shaders); in getAttachedShaders()
6735 getAttachedShaders(ShaderProgramID program, GLsizei maxcount, GLsizei *count, ShaderProgramID *shaders) getAttachedShaders() argument
/third_party/elfutils/src/
H A Dreadelf.c12614 uint64_t maxcount = (size_t) (end - ptr) / (3 * addrsize); in handle_file_note() local
12615 if (count > maxcount) in handle_file_note()

Completed in 108 milliseconds