Home
last modified time | relevance | path

Searched refs:sub_len (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Objects/stringlib/
Dfind.h9 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in STRINGLIB()
15 if (sub_len == 0) in STRINGLIB()
18 pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH); in STRINGLIB()
28 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in STRINGLIB()
34 if (sub_len == 0) in STRINGLIB()
37 pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_RSEARCH); in STRINGLIB()
47 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in STRINGLIB()
50 return STRINGLIB(find)(str + start, end - start, sub, sub_len, start); in STRINGLIB()
55 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in STRINGLIB()
58 return STRINGLIB(rfind)(str + start, end - start, sub, sub_len, start); in STRINGLIB()
Dcount.h9 const STRINGLIB_CHAR* sub, Py_ssize_t sub_len, in STRINGLIB()
16 if (sub_len == 0) in STRINGLIB()
19 count = FASTSEARCH(str, str_len, sub, sub_len, maxcount, FAST_COUNT); in STRINGLIB()
/third_party/python/Objects/
Dbytes_methods.c514 Py_ssize_t sub_len; in find_internal() local
527 sub_len = subbuf.len; in find_internal()
531 sub_len = 1; in find_internal()
535 if (end - start < sub_len) in find_internal()
537 else if (sub_len == 1) { in find_internal()
553 sub, sub_len, start, end); in find_internal()
557 sub, sub_len, start, end); in find_internal()
660 Py_ssize_t sub_len; in _Py_bytes_count() local
676 sub_len = vsub.len; in _Py_bytes_count()
680 sub_len = 1; in _Py_bytes_count()
[all …]
/third_party/ffmpeg/libavcodec/
Dinterplayacm.c435 static void juggle(int *wrap_p, int *block_p, unsigned sub_len, unsigned sub_count) in juggle() argument
441 for (i = 0; i < sub_len; i++) { in juggle()
448 p += sub_len; in juggle()
451 p += sub_len; in juggle()
464 unsigned sub_count, sub_len, todo_count, step_subcount, i; in juggle_block() local
489 sub_len = s->cols / 2; in juggle_block()
492 juggle(wrap_p, block_p, sub_len, sub_count); in juggle_block()
493 wrap_p += sub_len * 2; in juggle_block()
497 p += sub_len; in juggle_block()
500 while (sub_len > 1) { in juggle_block()
[all …]
/third_party/mbedtls/library/
Dx509write_crt.c436 size_t sub_len = 0, pub_len = 0, sig_and_oid_len = 0, sig_len; in mbedtls_x509write_crt_der() local
504 sub_len = 0; in mbedtls_x509write_crt_der()
506 MBEDTLS_ASN1_CHK_ADD(sub_len, in mbedtls_x509write_crt_der()
510 MBEDTLS_ASN1_CHK_ADD(sub_len, in mbedtls_x509write_crt_der()
514 len += sub_len; in mbedtls_x509write_crt_der()
515 MBEDTLS_ASN1_CHK_ADD(len, mbedtls_asn1_write_len(&c, buf, sub_len)); in mbedtls_x509write_crt_der()
566 sub_len = 0; in mbedtls_x509write_crt_der()
567 MBEDTLS_ASN1_CHK_ADD(sub_len, in mbedtls_x509write_crt_der()
569 len += sub_len; in mbedtls_x509write_crt_der()
571 mbedtls_asn1_write_len(&c, buf, sub_len)); in mbedtls_x509write_crt_der()
/third_party/libwebsockets/include/libwebsockets/
Dlws-jws.h529 char *sub, size_t sub_len, unsigned long *exp_unix_time);
/third_party/ffmpeg/libavformat/
Dasfdec_o.c1078 uint8_t sub_len; in asf_read_subpayload() local
1090 sub_len = avio_r8(pb); in asf_read_subpayload()
1091 if ((ret = av_get_packet(pb, pkt, sub_len)) < 0) // each subpayload is entire frame in asf_read_subpayload()
1100 if (!sub_len) in asf_read_subpayload()
1103 if (sub_len) in asf_read_subpayload()
/third_party/libwebsockets/lib/jose/jws/
Djws.c1224 char *sub, size_t sub_len, unsigned long *expiry_unix_time) in lws_jwt_token_sanity() argument
1279 lws_strnncpy(sub, cp, len, sub_len); in lws_jwt_token_sanity()