Home
last modified time | relevance | path

Searched refs:blen (Results 76 - 100 of 118) sorted by relevance

12345

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
H A Ddbus_new_helpers.c134 size_t blen = registered_sig + MAX_SIG_LEN - pos; in is_signature_correct() local
136 ret = os_snprintf(pos, blen, "%s", arg->type); in is_signature_correct()
137 if (os_snprintf_error(blen, ret)) in is_signature_correct()
/third_party/node/deps/openssl/openssl/ssl/
H A Dssl_cert.c596 int alen, blen, ret; in xname_cmp() local
602 blen = i2d_X509_NAME((X509_NAME *)b, &bbuf); in xname_cmp()
604 if (alen < 0 || blen < 0) in xname_cmp()
606 else if (alen != blen) in xname_cmp()
607 ret = alen - blen; in xname_cmp()
608 else /* alen == blen */ in xname_cmp()
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dv3_utl.c833 unsigned int flags, const char *b, size_t blen, in do_check_string()
844 rv = equal(a->data, a->length, (unsigned char *)b, blen, flags); in do_check_string()
845 else if (a->length == (int)blen && !memcmp(a->data, b, blen)) in do_check_string()
863 rv = equal(astr, astrlen, (unsigned char *)b, blen, flags); in do_check_string()
832 do_check_string(const ASN1_STRING *a, int cmp_type, equal_fn equal, unsigned int flags, const char *b, size_t blen, char **peername) do_check_string() argument
/third_party/openssl/crypto/x509/
H A Dv3_utl.c833 unsigned int flags, const char *b, size_t blen, in do_check_string()
844 rv = equal(a->data, a->length, (unsigned char *)b, blen, flags); in do_check_string()
845 else if (a->length == (int)blen && !memcmp(a->data, b, blen)) in do_check_string()
863 rv = equal(astr, astrlen, (unsigned char *)b, blen, flags); in do_check_string()
832 do_check_string(const ASN1_STRING *a, int cmp_type, equal_fn equal, unsigned int flags, const char *b, size_t blen, char **peername) do_check_string() argument
/third_party/openssl/ssl/
H A Dssl_cert.c596 int alen, blen, ret; in xname_cmp() local
602 blen = i2d_X509_NAME((X509_NAME *)b, &bbuf); in xname_cmp()
604 if (alen < 0 || blen < 0) in xname_cmp()
606 else if (alen != blen) in xname_cmp()
607 ret = alen - blen; in xname_cmp()
608 else /* alen == blen */ in xname_cmp()
/third_party/curl/lib/vquic/
H A Dcurl_osslq.c1203 size_t blen; in cf_osslq_stream_recv() local
1205 while(Curl_bufq_peek(&s->recvbuf, &buf, &blen)) { in cf_osslq_stream_recv()
1207 buf, blen, 0); in cf_osslq_stream_recv()
1209 "to nghttp3 -> %zd", s->id, blen, nread); in cf_osslq_stream_recv()
1212 blen, nghttp3_strerror((int)nread)); in cf_osslq_stream_recv()
1219 Curl_bufq_skip(&s->recvbuf, blen); in cf_osslq_stream_recv()
1220 total_recv_len += blen; in cf_osslq_stream_recv()
/third_party/openssl/test/
H A Ddhtest.c54 int i, alen, blen, clen, aout, bout, cout; in dh_test() local
191 blen = DH_size(b); in dh_test()
192 if (!TEST_ptr(bbuf = OPENSSL_malloc(blen)) in dh_test()
645 int i, alen, blen, aout, bout; in rfc7919_test() local
677 blen = DH_size(b); in rfc7919_test()
678 if (!TEST_int_gt(blen, 0) || !TEST_ptr(bbuf = OPENSSL_malloc(blen)) in rfc7919_test()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcloctst.c2230 int32_t blen; in TestKeywordSetError() local
2233 blen=0; in TestKeywordSetError()
2237 res = uloc_setKeywordValue(kwSetTestCases[i].k, kwSetTestCases[i].v, buffer, blen, &status); in TestKeywordSetError()
2246 if(buffer[blen]!='%') { in TestKeywordSetError()
2247 log_err("Buffer byte %d was modified: now %c\n", blen, buffer[blen]); in TestKeywordSetError()
2254 blen=(int32_t)strlen(kwSetTestCases[i].l)+1; in TestKeywordSetError()
2258 res = uloc_setKeywordValue(kwSetTestCases[i].k, kwSetTestCases[i].v, buffer, blen, &status); in TestKeywordSetError()
2260 log_err("expected buffer overflow on buffer %d got %s, len %d (%s + [%s=%s])\n", blen, u_errorName(status), res, kwSetTestCases[i].l, kwSetTestCases[i].k, kwSetTestCases[i].v); in TestKeywordSetError()
2267 if(buffer[blen]! in TestKeywordSetError()
[all...]
/third_party/curl/lib/vtls/
H A Dgtls.c83 static ssize_t gtls_push(void *s, const void *buf, size_t blen) in gtls_push() argument
92 nwritten = Curl_conn_cf_send(cf->next, data, buf, blen, &result); in gtls_push()
103 static ssize_t gtls_pull(void *s, void *buf, size_t blen) in gtls_pull() argument
112 nread = Curl_conn_cf_recv(cf->next, data, buf, blen, &result); in gtls_pull()
H A Dvtls.c2076 unsigned char blen; in Curl_alpn_to_proto_buf() local
2083 blen = (unsigned char)len; in Curl_alpn_to_proto_buf()
2084 if(off + blen + 1 >= (int)sizeof(buf->data)) in Curl_alpn_to_proto_buf()
2086 buf->data[off++] = blen; in Curl_alpn_to_proto_buf()
2087 memcpy(buf->data + off, spec->entries[i], blen); in Curl_alpn_to_proto_buf()
2088 off += blen; in Curl_alpn_to_proto_buf()
H A Dopenssl.c725 static int ossl_bio_cf_out_write(BIO *bio, const char *buf, int blen) in ossl_bio_cf_out_write() argument
736 nwritten = Curl_conn_cf_send(cf->next, data, buf, blen, &result); in ossl_bio_cf_out_write()
738 blen, (int)nwritten, result); in ossl_bio_cf_out_write()
748 static int ossl_bio_cf_in_read(BIO *bio, char *buf, int blen) in ossl_bio_cf_in_read() argument
763 nread = Curl_conn_cf_recv(cf->next, data, buf, blen, &result); in ossl_bio_cf_in_read()
765 blen, (int)nread, result); in ossl_bio_cf_in_read()
/third_party/nghttp2/lib/
H A Dnghttp2_frame.c987 size_t blen) { in bytes_compar()
990 if (alen == blen) { in bytes_compar()
994 if (alen < blen) { in bytes_compar()
1004 rv = memcmp(a, b, blen); in bytes_compar()
986 bytes_compar(const uint8_t *a, size_t alen, const uint8_t *b, size_t blen) bytes_compar() argument
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_frame.c987 size_t blen) { in bytes_compar()
990 if (alen == blen) { in bytes_compar()
994 if (alen < blen) { in bytes_compar()
1004 rv = memcmp(a, b, blen); in bytes_compar()
986 bytes_compar(const uint8_t *a, size_t alen, const uint8_t *b, size_t blen) bytes_compar() argument
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftstroke.c1477 FT_Fixed blen, sinA, sinB, alen; in FT_EXPORT_DEF() local
1487 blen = FT_Vector_Length( &bvec ); in FT_EXPORT_DEF()
1492 alen = FT_MulDiv( blen, sinA, sinB ); in FT_EXPORT_DEF()
1691 FT_Fixed blen, sinA, sinB, alen; in FT_EXPORT_DEF() local
1701 blen = FT_Vector_Length( &bvec ); in FT_EXPORT_DEF()
1706 alen = FT_MulDiv( blen, sinA, sinB ); in FT_EXPORT_DEF()
/third_party/rust/crates/env_logger/src/filter/
H A Dmod.rs250 let blen = b.name.as_ref().map(|b| b.len()).unwrap_or(0); in build()
251 alen.cmp(&blen) in build()
/third_party/python/Objects/
H A Dlongobject.c4592 * length of `pending` is `blen`. in long_pow()
4594 int pending = 0, blen = 0; in long_pow() local
4597 assert(pending && blen); \ in long_pow()
4598 assert(pending >> (blen - 1)); \ in long_pow()
4599 assert(pending >> blen == 0); \ in long_pow()
4604 assert(ntz < blen); \ in long_pow()
4605 blen -= ntz; \ in long_pow()
4608 } while (--blen); \ in long_pow()
4612 assert(blen == 0); \ in long_pow()
4622 ++blen; in long_pow()
[all...]
/third_party/mbedtls/library/
H A Decp.c879 unsigned char *buf, size_t blen) in mbedtls_ecp_tls_write_point()
890 if (blen < 1) { in mbedtls_ecp_tls_write_point()
895 olen, buf + 1, blen - 1)) != 0) { in mbedtls_ecp_tls_write_point()
965 unsigned char *buf, size_t blen) in mbedtls_ecp_tls_write_group()
976 if (blen < *olen) { in mbedtls_ecp_tls_write_group()
877 mbedtls_ecp_tls_write_point(const mbedtls_ecp_group *grp, const mbedtls_ecp_point *pt, int format, size_t *olen, unsigned char *buf, size_t blen) mbedtls_ecp_tls_write_point() argument
964 mbedtls_ecp_tls_write_group(const mbedtls_ecp_group *grp, size_t *olen, unsigned char *buf, size_t blen) mbedtls_ecp_tls_write_group() argument
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-misc.h824 * \param blen: the length of the blob in memory
835 lws_tls_jit_trust_blob_queury_skid(const void *_blob, size_t blen,
/third_party/ffmpeg/libavcodec/
H A Dilbcdec.c915 int16_t lag, int16_t blen, int16_t srange, int16_t scale) in correlation()
919 w16ptr = &buffer[blen - srange - lag]; in correlation()
921 *corr = scale_dot_product(&buffer[blen - srange], w16ptr, srange, scale); in correlation()
914 correlation(int32_t *corr, int32_t *ener, int16_t *buffer, int16_t lag, int16_t blen, int16_t srange, int16_t scale) correlation() argument
/third_party/icu/icu4c/source/i18n/
H A Dmsgfmt.cpp1558 int32_t blen = plen * 2 + 1; // space for null termination, convenience in autoQuoteApostrophe() local
1559 UChar* buf = result.getBuffer(blen); in autoQuoteApostrophe()
1563 int32_t len = umsg_autoQuoteApostrophe(pat, plen, buf, blen, &status); in autoQuoteApostrophe()
/third_party/node/deps/icu-small/source/i18n/
H A Dmsgfmt.cpp1559 int32_t blen = plen * 2 + 1; // space for null termination, convenience in autoQuoteApostrophe() local
1560 char16_t* buf = result.getBuffer(blen); in autoQuoteApostrophe()
1564 int32_t len = umsg_autoQuoteApostrophe(pat, plen, buf, blen, &status); in autoQuoteApostrophe()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dmsgfmt.cpp1556 int32_t blen = plen * 2 + 1; // space for null termination, convenience in autoQuoteApostrophe() local
1557 UChar* buf = result.getBuffer(blen); in autoQuoteApostrophe()
1561 int32_t len = umsg_autoQuoteApostrophe(pat, plen, buf, blen, &status); in autoQuoteApostrophe()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwps_hostapd.c342 size_t blen = attr_len * 2 + 1; in hapd_new_ap_event() local
343 char *buf = os_malloc(blen); in hapd_new_ap_event()
345 wpa_snprintf_hex(buf, blen, attr, attr_len); in hapd_new_ap_event()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwps_hostapd.c302 size_t blen = attr_len * 2 + 1; in hapd_new_ap_event() local
303 char *buf = os_malloc(blen); in hapd_new_ap_event()
305 wpa_snprintf_hex(buf, blen, attr, attr_len); in hapd_new_ap_event()
/third_party/backends/backend/
H A Dcanon_dr.c6627 int flen=0, blen=0; in copy_duplex() local
6667 back[blen++] = buf[i+j+3]; in copy_duplex()
6668 back[blen++] = buf[i+j]; in copy_duplex()
6669 back[blen++] = buf[i+j+1]; in copy_duplex()
6683 memcpy(back+blen,buf+i+j*pwidth*2+pwidth,pwidth); in copy_duplex()
6684 blen+=pwidth; in copy_duplex()
6698 memcpy(back+blen,buf+i+bwidth,bwidth); in copy_duplex()
6699 blen+=bwidth; in copy_duplex()
6707 back[blen++] = buf[i+1]; in copy_duplex()
6712 copy_simplex(s,back,blen,SIDE_BAC in copy_duplex()
[all...]

Completed in 67 milliseconds

12345