Home
last modified time | relevance | path

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

12

/external/python/cpython2/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()
/external/python/cpython2/Objects/
Dbytearrayobject.c1548 countchar(const char *target, Py_ssize_t target_len, char c, Py_ssize_t maxcount) in countchar() argument
1556 if (count >= maxcount) in countchar()
1570 Py_ssize_t maxcount) in replace_interleave() argument
1581 if (maxcount < count) in replace_interleave()
1582 count = maxcount; in replace_interleave()
1629 char from_c, Py_ssize_t maxcount) in replace_delete_single_character() argument
1640 count = countchar(self_s, self_len, from_c, maxcount); in replace_delete_single_character()
1673 Py_ssize_t maxcount) in replace_delete_substring() argument
1686 maxcount); in replace_delete_substring()
1725 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.c5846 Py_ssize_t maxcount) in split() argument
5848 if (maxcount < 0) in split()
5849 maxcount = PY_SSIZE_T_MAX; in split()
5853 (PyObject*) self, self->str, self->length, maxcount in split()
5859 maxcount in split()
5866 Py_ssize_t maxcount) in rsplit() argument
5868 if (maxcount < 0) in rsplit()
5869 maxcount = PY_SSIZE_T_MAX; in rsplit()
5873 (PyObject*) self, self->str, self->length, maxcount in rsplit()
5879 maxcount in rsplit()
[all …]
/external/e2fsprogs/lib/support/
Ddict.c66 #define maxcount dict_maxcount macro
261 dict_t *dict_create(dictcount_t maxcount, dict_comp_t comp) in dict_create() argument
271 new->maxcount = maxcount; in dict_create()
341 dict_t *dict_init(dict_t *dict, dictcount_t maxcount, dict_comp_t comp) in dict_init() argument
348 dict->maxcount = maxcount; in dict_init()
369 dict->maxcount = template->maxcount; in dict_init_like()
970 return dict->nodecount == dict->maxcount; in dict_isfull()
1073 dict_assert (dict->nodecount < dict->maxcount); in dict_load_next()
/external/libvncserver/libvncserver/
Drre.c277 int maxcount = 0; in getBgColour() local
302 if (counts[k] > maxcount) { in getBgColour()
303 maxcount = counts[k]; in getBgColour()
Dcorre.c310 int maxcount = 0; in getBgColour() local
335 if (counts[k] > maxcount) { in getBgColour()
336 maxcount = counts[k]; in getBgColour()
/external/python/cpython2/Demo/threads/
Dsync.py407 self.maxcount = count
419 if self.count == self.maxcount:
421 'initial value %r' % self.maxcount
/external/elfutils/libdwfl/
Ddwfl_segment_report_module.c164 uint64_t maxcount = (size_t) (end - ptr) / (3 * sz); in handle_file_note() local
165 if (count > maxcount) in handle_file_note()
/external/deqp/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);
/external/python/cpython2/Include/
Dunicodeobject.h1276 Py_ssize_t maxcount /* Max. number of replacements to apply;
/external/python/cpython2/Modules/
D_sre.c519 SRE_COUNT(SRE_STATE* state, SRE_CODE* pattern, Py_ssize_t maxcount) in SRE_COUNT() argument
527 if (maxcount < end - ptr && maxcount != SRE_MAXREPEAT) in SRE_COUNT()
528 end = ptr + maxcount; in SRE_COUNT()
/external/python/cpython2/Doc/c-api/
Dunicode.rst1075 …yObject* PyUnicode_Replace(PyObject *str, PyObject *substr, PyObject *replstr, Py_ssize_t maxcount)
1077 Replace at most *maxcount* occurrences of *substr* in *str* with *replstr* and
1078 return the resulting Unicode object. *maxcount* == ``-1`` means replace all
1082 This function used an :c:type:`int` type for *maxcount*. This might
/external/swiftshader/src/OpenGL/libGLESv2/
Dmain.cpp224 void GetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
755 GL_APICALL void GL_APIENTRY glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, … in glGetAttachedShaders() argument
757 return es2::GetAttachedShaders(program, maxcount, count, shaders); in glGetAttachedShaders()
DlibGLESv2.hpp114 void (*glGetAttachedShaders)(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
DlibGLESv2.cpp2457 void GetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) in GetAttachedShaders() argument
2460 program, maxcount, count, shaders); in GetAttachedShaders()
2462 if(maxcount < 0) in GetAttachedShaders()
2485 return programObject->getAttachedShaders(maxcount, count, shaders); in GetAttachedShaders()
/external/deqp/framework/opengl/simplereference/
DsglrContextWrapper.hpp106 void glGetAttachedShaders (deUint32 program, int maxcount, int* count, deUint32* shaders);
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES2/
Dgl2.h530 GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei…
/external/libmojo/mojo/gpu/
Dmojo_gles2_impl_autogen.cc459 GLsizei maxcount, in GetAttachedShaders() argument
463 glGetAttachedShaders(program, maxcount, count, shaders); in GetAttachedShaders()
Dmojo_gles2_impl_autogen.h244 GLsizei maxcount,
/external/swiftshader/src/OpenGL/libGL/
DlibGL.cpp2306 void APIENTRY glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shader… in glGetAttachedShaders() argument
2309 program, maxcount, count, shaders); in glGetAttachedShaders()
2311 if(maxcount < 0) in glGetAttachedShaders()
2334 return programObject->getAttachedShaders(maxcount, count, shaders); in glGetAttachedShaders()
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES3/
Dgl3.h865 GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsiz…

12