/third_party/python/Objects/stringlib/ |
H A D | find.h | 9 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in find() 15 if (sub_len == 0) in find() 18 pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH); in find() 28 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in rfind() 34 if (sub_len == 0) in rfind() 37 pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_RSEARCH); in rfind() 47 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in find_slice() 50 return STRINGLIB(find)(str + start, end - start, sub, sub_len, start); in find_slice() 55 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in rfind_slice() 58 return STRINGLIB(rfind)(str + start, end - start, sub, sub_len, star in rfind_slice() 8 find(const STRINGLIB_CHAR* str, Py_ssize_t str_len, const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, Py_ssize_t offset) find() argument 27 rfind(const STRINGLIB_CHAR* str, Py_ssize_t str_len, const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, Py_ssize_t offset) rfind() argument 46 find_slice(const STRINGLIB_CHAR* str, Py_ssize_t str_len, const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, Py_ssize_t start, Py_ssize_t end) find_slice() argument 54 rfind_slice(const STRINGLIB_CHAR* str, Py_ssize_t str_len, const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, Py_ssize_t start, Py_ssize_t end) rfind_slice() argument [all...] |
H A D | count.h | 9 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in count() 16 if (sub_len == 0) 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
|
/third_party/python/Objects/ |
H A D | bytes_methods.c | 514 Py_ssize_t sub_len; in Py_LOCAL_INLINE() local 527 sub_len = subbuf.len; in Py_LOCAL_INLINE() 531 sub_len = 1; in Py_LOCAL_INLINE() 535 if (end - start < sub_len) in Py_LOCAL_INLINE() 537 else if (sub_len == 1) { in Py_LOCAL_INLINE() 553 sub, sub_len, start, end); in Py_LOCAL_INLINE() 557 sub, sub_len, start, end); in Py_LOCAL_INLINE() 660 Py_ssize_t sub_len; in _Py_bytes_count() local 676 sub_len = vsub.len; in _Py_bytes_count() 680 sub_len in _Py_bytes_count() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | interplayacm.c | 446 static void juggle(int *wrap_p, int *block_p, unsigned sub_len, unsigned sub_count) in juggle() argument 452 for (i = 0; i < sub_len; i++) { in juggle() 459 p += sub_len; in juggle() 462 p += sub_len; in juggle() 475 unsigned sub_count, sub_len, todo_count, step_subcount, i; in juggle_block() local 500 sub_len = s->cols / 2; in juggle_block() 503 juggle(wrap_p, block_p, sub_len, sub_count); in juggle_block() 504 wrap_p += sub_len * 2; in juggle_block() 508 p += sub_len; in juggle_block() 511 while (sub_len > in juggle_block() [all...] |
/third_party/mbedtls/library/ |
H A D | x509write_crt.c | 432 size_t sub_len = 0, pub_len = 0, sig_and_oid_len = 0, sig_len; in mbedtls_x509write_crt_der() local 501 sub_len = 0; in mbedtls_x509write_crt_der() 503 MBEDTLS_ASN1_CHK_ADD(sub_len, in mbedtls_x509write_crt_der() 507 MBEDTLS_ASN1_CHK_ADD(sub_len, in mbedtls_x509write_crt_der() 511 len += sub_len; in mbedtls_x509write_crt_der() 512 MBEDTLS_ASN1_CHK_ADD(len, mbedtls_asn1_write_len(&c, buf, sub_len)); in mbedtls_x509write_crt_der() 574 sub_len = 0; in mbedtls_x509write_crt_der() 575 MBEDTLS_ASN1_CHK_ADD(sub_len, in mbedtls_x509write_crt_der() 577 len += sub_len; in mbedtls_x509write_crt_der() 579 mbedtls_asn1_write_len(&c, buf, sub_len)); in mbedtls_x509write_crt_der() [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | tx_template.c | 789 int sub_len = len / cd->factors[0]; in ff_tx_fft_pfa_init() local 797 sub_len, inv, scale))) in ff_tx_fft_pfa_init() 800 if ((ret = ff_tx_gen_compound_mapping(s, cd->factors[0], sub_len))) in ff_tx_fft_pfa_init() 806 TX_TAB(ff_tx_init_tabs)(len / sub_len); in ff_tx_fft_pfa_init() 1124 int ret, sub_len; in ff_tx_mdct_pfa_init() local 1128 sub_len = len / cd->factors[0]; in ff_tx_mdct_pfa_init() 1138 sub_len, inv, scale))) in ff_tx_mdct_pfa_init() 1141 if ((ret = ff_tx_gen_compound_mapping(s, cd->factors[0], sub_len))) in ff_tx_mdct_pfa_init() 1150 TX_TAB(ff_tx_init_tabs)(len / sub_len); in ff_tx_mdct_pfa_init()
|
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-jws.h | 509 * \param sub_len: the max length of the sub buffer 529 char *sub, size_t sub_len, unsigned long *exp_unix_time);
|
/third_party/ffmpeg/libavformat/ |
H A D | asfdec_o.c | 970 uint8_t sub_len; in asf_read_subpayload() local 982 sub_len = avio_r8(pb); in asf_read_subpayload() 983 if ((ret = av_get_packet(pb, pkt, sub_len)) < 0) // each subpayload is entire frame in asf_read_subpayload() 992 if (!sub_len) in asf_read_subpayload() 995 if (sub_len) in asf_read_subpayload()
|
/third_party/libwebsockets/lib/jose/jws/ |
H A D | jws.c | 1224 char *sub, size_t sub_len, unsigned long *expiry_unix_time) in lws_jwt_token_sanity() 1279 lws_strnncpy(sub, cp, len, sub_len); in lws_jwt_token_sanity() 1221 lws_jwt_token_sanity(const char *in, size_t in_len, const char *iss, const char *aud, const char *csrf_in, char *sub, size_t sub_len, unsigned long *expiry_unix_time) lws_jwt_token_sanity() argument
|