/third_party/python/Objects/stringlib/ |
H A D | transmogrify.h | 259 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 D | split.h | 56 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 D | fastsearch.h | 505 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 D | count.h | 10 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 D | replace.h | 9 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
|
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | mtdoops.c | 220 u32 count[2], maxcount = 0xffffffff; in find_next_position() local 242 if (maxcount == 0xffffffff) { in find_next_position() 243 maxcount = count[0]; in find_next_position() 245 } else if (count[0] < 0x40000000 && maxcount > 0xc0000000) { in find_next_position() 246 maxcount = count[0]; in find_next_position() 248 } else if (count[0] > maxcount && count[0] < 0xc0000000) { in find_next_position() 249 maxcount = count[0]; in find_next_position() 251 } else if (count[0] > maxcount && count[0] > 0xc0000000 in find_next_position() 252 && maxcount > 0x80000000) { in find_next_position() 253 maxcount in find_next_position() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | mtdoops.c | 250 u32 maxcount = 0xffffffff; in find_next_position() local 273 if (maxcount == 0xffffffff) { in find_next_position() 274 maxcount = hdr.seq; in find_next_position() 276 } else if (hdr.seq < 0x40000000 && maxcount > 0xc0000000) { in find_next_position() 277 maxcount = hdr.seq; in find_next_position() 279 } else if (hdr.seq > maxcount && hdr.seq < 0xc0000000) { in find_next_position() 280 maxcount = hdr.seq; in find_next_position() 282 } else if (hdr.seq > maxcount && hdr.seq > 0xc0000000 in find_next_position() 283 && maxcount > 0x80000000) { in find_next_position() 284 maxcount in find_next_position() [all...] |
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs4xdr.c | 1993 u32 maxcount; in nfsd4_decode_getxattr() local 1999 maxcount = svc_max_payload(argp->rqstp); in nfsd4_decode_getxattr() 2000 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_getxattr() 2002 getxattr->getxa_len = maxcount; in nfsd4_decode_getxattr() 2012 u32 flags, maxcount, size; in nfsd4_decode_setxattr() local 2027 maxcount = svc_max_payload(argp->rqstp); in nfsd4_decode_setxattr() 2028 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_setxattr() 2032 if (size > maxcount) in nfsd4_decode_setxattr() 2053 u32 maxcount; nfsd4_decode_listxattrs() local 3766 nfsd4_encode_splice_read( struct nfsd4_compoundres *resp, struct nfsd4_read *read, struct file *file, unsigned long maxcount) nfsd4_encode_splice_read() argument 3825 nfsd4_encode_readv(struct nfsd4_compoundres *resp, struct nfsd4_read *read, struct file *file, unsigned long maxcount) nfsd4_encode_readv() argument 3867 unsigned long maxcount; nfsd4_encode_read() local 3909 int maxcount; nfsd4_encode_readlink() local 3951 int maxcount; nfsd4_encode_readdir() local 4615 nfsd4_encode_read_plus_data(struct nfsd4_compoundres *resp, struct nfsd4_read *read, unsigned long *maxcount, u32 *eof, loff_t *pos) nfsd4_encode_read_plus_data() argument 4662 nfsd4_encode_read_plus_hole(struct nfsd4_compoundres *resp, struct nfsd4_read *read, unsigned long *maxcount, u32 *eof) nfsd4_encode_read_plus_hole() argument 4696 unsigned long maxcount, count; nfsd4_encode_read_plus() local [all...] |
H A D | nfs4proc.c | 2577 u32 maxcount = 0, rlen = 0; in nfsd4_read_rsize() local 2579 maxcount = svc_max_payload(rqstp); in nfsd4_read_rsize() 2580 rlen = min(op->u.read.rd_length, maxcount); in nfsd4_read_rsize() 2587 u32 maxcount = svc_max_payload(rqstp); in nfsd4_read_plus_rsize() local 2588 u32 rlen = min(op->u.read.rd_length, maxcount); in nfsd4_read_plus_rsize() 2601 u32 maxcount = 0, rlen = 0; in nfsd4_readdir_rsize() local 2603 maxcount = svc_max_payload(rqstp); in nfsd4_readdir_rsize() 2604 rlen = min(op->u.readdir.rd_maxcount, maxcount); in nfsd4_readdir_rsize() 2730 u32 maxcount = 0, rlen = 0; in nfsd4_getdeviceinfo_rsize() local 2732 maxcount in nfsd4_getdeviceinfo_rsize() 2779 u32 maxcount, rlen; nfsd4_getxattr_rsize() local 2796 u32 maxcount, rlen; nfsd4_listxattrs_rsize() local [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs4xdr.c | 2216 u32 maxcount; in nfsd4_decode_getxattr() local 2223 maxcount = svc_max_payload(argp->rqstp); in nfsd4_decode_getxattr() 2224 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_getxattr() 2226 getxattr->getxa_len = maxcount; in nfsd4_decode_getxattr() 2235 u32 flags, maxcount, size; in nfsd4_decode_setxattr() local 2251 maxcount = svc_max_payload(argp->rqstp); in nfsd4_decode_setxattr() 2252 maxcount = min_t(u32, XATTR_SIZE_MAX, maxcount); in nfsd4_decode_setxattr() 2256 if (size > maxcount) in nfsd4_decode_setxattr() 2277 u32 maxcount; nfsd4_decode_listxattrs() local 4054 nfsd4_encode_splice_read( struct nfsd4_compoundres *resp, struct nfsd4_read *read, struct file *file, unsigned long maxcount) nfsd4_encode_splice_read() argument 4111 nfsd4_encode_readv(struct nfsd4_compoundres *resp, struct nfsd4_read *read, struct file *file, unsigned long maxcount) nfsd4_encode_readv() argument 4145 unsigned long maxcount; nfsd4_encode_read() local 4191 int maxcount, status; nfsd4_encode_readlink() local 4235 int maxcount; nfsd4_encode_readdir() local 4905 unsigned long maxcount; nfsd4_encode_read_plus_data() local [all...] |
/third_party/f2fs-tools/fsck/ |
H A D | dict.c | 60 #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...] |
/kernel/linux/linux-5.10/drivers/media/pci/tw68/ |
H A D | tw68-video.c | 347 unsigned int maxcount; in tw68_buffer_count() local 349 maxcount = (4 * 1024 * 1024) / roundup(size, PAGE_SIZE); in tw68_buffer_count() 350 if (count > maxcount) in tw68_buffer_count() 351 count = maxcount; in tw68_buffer_count()
|
/kernel/linux/linux-6.6/drivers/media/pci/tw68/ |
H A D | tw68-video.c | 347 unsigned int maxcount; in tw68_buffer_count() local 349 maxcount = (4 * 1024 * 1024) / roundup(size, PAGE_SIZE); in tw68_buffer_count() 350 if (count > maxcount) in tw68_buffer_count() 351 count = maxcount; in tw68_buffer_count()
|
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
H A D | saa7134-core.c | 195 unsigned int maxcount; in saa7134_buffer_count() local 197 maxcount = 1024 / saa7134_buffer_pages(size); in saa7134_buffer_count() 198 if (count > maxcount) in saa7134_buffer_count() 199 count = maxcount; in saa7134_buffer_count()
|
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/ |
H A D | saa7134-core.c | 191 unsigned int maxcount; in saa7134_buffer_count() local 193 maxcount = 1024 / saa7134_buffer_pages(size); in saa7134_buffer_count() 194 if (count > maxcount) in saa7134_buffer_count() 195 count = maxcount; in saa7134_buffer_count()
|
/third_party/python/Objects/ |
H A D | unicodeobject.c | 10362 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...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | pnfs_dev.c | 108 * GETDEVICEINFO's maxcount in nfs4_get_device_info() 138 pdev->maxcount = max_resp_sz - nfs41_maxgetdevinfo_overhead; in nfs4_get_device_info()
|
H A D | pnfs.h | 223 unsigned int maxcount; /* gdia_maxcount */ member
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | pnfs_dev.c | 110 * GETDEVICEINFO's maxcount in nfs4_get_device_info() 140 pdev->maxcount = max_resp_sz - nfs41_maxgetdevinfo_overhead; in nfs4_get_device_info()
|
H A D | pnfs.h | 223 unsigned int maxcount; /* gdia_maxcount */ member
|
/third_party/elfutils/libdwfl/ |
H A D | dwfl_segment_report_module.c | 175 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 D | statistics.py | 732 maxcount = max(counts.values()) 733 return [value for value, count in counts.items() if count == maxcount]
|
/third_party/python/Modules/_sre/ |
H A D | sre_lib.h | 205 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 D | unicodeobject.h | 966 /* 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 D | libGLESv2.hpp | 115 void (GL_APIENTRY *glGetAttachedShaders)(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
|