Home
last modified time | relevance | path

Searched refs:cbs (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/third_party/boringssl/src/crypto/bytestring/
Dcbs.c25 void CBS_init(CBS *cbs, const uint8_t *data, size_t len) { in CBS_init() argument
26 cbs->data = data; in CBS_init()
27 cbs->len = len; in CBS_init()
30 static int cbs_get(CBS *cbs, const uint8_t **p, size_t n) { in cbs_get() argument
31 if (cbs->len < n) { in cbs_get()
35 *p = cbs->data; in cbs_get()
36 cbs->data += n; in cbs_get()
37 cbs->len -= n; in cbs_get()
41 int CBS_skip(CBS *cbs, size_t len) { in CBS_skip() argument
43 return cbs_get(cbs, &dummy, len); in CBS_skip()
[all …]
DCMakeLists.txt9 cbs.c
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dbytestring.h44 OPENSSL_EXPORT void CBS_init(CBS *cbs, const uint8_t *data, size_t len);
48 OPENSSL_EXPORT int CBS_skip(CBS *cbs, size_t len);
51 OPENSSL_EXPORT const uint8_t *CBS_data(const CBS *cbs);
54 OPENSSL_EXPORT size_t CBS_len(const CBS *cbs);
61 OPENSSL_EXPORT int CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len);
70 OPENSSL_EXPORT int CBS_strdup(const CBS *cbs, char **out_ptr);
74 OPENSSL_EXPORT int CBS_contains_zero_byte(const CBS *cbs);
79 OPENSSL_EXPORT int CBS_mem_equal(const CBS *cbs, const uint8_t *data,
84 OPENSSL_EXPORT int CBS_get_u8(CBS *cbs, uint8_t *out);
88 OPENSSL_EXPORT int CBS_get_u16(CBS *cbs, uint16_t *out);
[all …]
Dobj.h103 OPENSSL_EXPORT int OBJ_cbs2nid(const CBS *cbs);
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DEngineJob.java18 private List<ResourceCallback> cbs; field in EngineJob
34 if (cbs == null) { in addCallback()
35 cbs = new ArrayList<ResourceCallback>(2); in addCallback()
36 cbs.add(this.cb); in addCallback()
38 cbs.add(cb); in addCallback()
43 if (cbs != null) { in removeCallback()
44 cbs.remove(cb); in removeCallback()
45 if (cbs.size() == 0) { in removeCallback()
89 if (cbs != null) { in onResourceReady()
90 resource.acquire(cbs.size()); in onResourceReady()
[all …]
/external/ltrace/
Dbreakpoints.c66 if (bp->cbs != NULL && bp->cbs->on_hit != NULL) in breakpoint_on_hit()
67 (bp->cbs->on_hit)(bp, proc); in breakpoint_on_hit()
74 if (bp->cbs != NULL && bp->cbs->on_continue != NULL) in breakpoint_on_continue()
75 (bp->cbs->on_continue)(bp, proc); in breakpoint_on_continue()
84 if (bp->cbs != NULL && bp->cbs->on_retract != NULL) in breakpoint_on_retract()
85 (bp->cbs->on_retract)(bp, proc); in breakpoint_on_retract()
92 if (bp->cbs != NULL && bp->cbs->on_install != NULL) in breakpoint_on_install()
93 (bp->cbs->on_install)(bp, proc); in breakpoint_on_install()
101 if (bp->cbs != NULL && bp->cbs->get_return_bp != NULL) in breakpoint_get_return_bp()
102 return (bp->cbs->get_return_bp)(ret, bp, proc); in breakpoint_get_return_bp()
[all …]
Dbreakpoint.h63 struct bp_callbacks *cbs; member
113 void breakpoint_set_callbacks(struct breakpoint *bp, struct bp_callbacks *cbs);
/external/chromium_org/third_party/boringssl/src/ssl/
Dt1_reneg.c150 int ssl_parse_clienthello_renegotiate_ext(SSL *s, CBS *cbs, int *out_alert) in ssl_parse_clienthello_renegotiate_ext() argument
154 if (!CBS_get_u8_length_prefixed(cbs, &renegotiated_connection) || in ssl_parse_clienthello_renegotiate_ext()
155 CBS_len(cbs) != 0) in ssl_parse_clienthello_renegotiate_ext()
214 int ssl_parse_serverhello_renegotiate_ext(SSL *s, CBS *cbs, int *out_alert) in ssl_parse_serverhello_renegotiate_ext() argument
226 if (!CBS_get_u8_length_prefixed(cbs, &renegotiated_connection) || in ssl_parse_serverhello_renegotiate_ext()
227 CBS_len(cbs) != 0) in ssl_parse_serverhello_renegotiate_ext()
Dd1_srtp.c310 int ssl_parse_clienthello_use_srtp_ext(SSL *s, CBS *cbs, int *out_alert) in ssl_parse_clienthello_use_srtp_ext() argument
318 if (!CBS_get_u16_length_prefixed(cbs, &profile_ids) || in ssl_parse_clienthello_use_srtp_ext()
320 !CBS_get_u8_length_prefixed(cbs, &srtp_mki) || in ssl_parse_clienthello_use_srtp_ext()
321 CBS_len(cbs) != 0) in ssl_parse_clienthello_use_srtp_ext()
404 int ssl_parse_serverhello_use_srtp_ext(SSL *s, CBS *cbs, int *out_alert) in ssl_parse_serverhello_use_srtp_ext() argument
419 if (!CBS_get_u16_length_prefixed(cbs, &profile_ids) || in ssl_parse_serverhello_use_srtp_ext()
422 !CBS_get_u8_length_prefixed(cbs, &srtp_mki) || in ssl_parse_serverhello_use_srtp_ext()
423 CBS_len(cbs) != 0) in ssl_parse_serverhello_use_srtp_ext()
Dt1_lib.c207 static int tls1_check_duplicate_extensions(const CBS *cbs) in tls1_check_duplicate_extensions() argument
209 CBS extensions = *cbs; in tls1_check_duplicate_extensions()
242 extensions = *cbs; in tls1_check_duplicate_extensions()
457 int tls1_check_curve(SSL *s, CBS *cbs, uint16_t *out_curve_id) in tls1_check_curve() argument
465 if (!CBS_get_u8(cbs, &curve_type) || in tls1_check_curve()
467 !CBS_get_u16(cbs, &curve_id)) in tls1_check_curve()
754 SSL *s, CBS *cbs, EVP_PKEY *pkey) in tls12_check_peer_sigalg() argument
767 if (!CBS_get_u8(cbs, &hash) || in tls12_check_peer_sigalg()
768 !CBS_get_u8(cbs, &signature)) in tls12_check_peer_sigalg()
1369 static int tls1_alpn_handle_client_hello(SSL *s, CBS *cbs, int *out_alert) in tls1_alpn_handle_client_hello() argument
[all …]
Dssl_locl.h805 STACK_OF(SSL_CIPHER) *ssl_bytes_to_cipher_list(SSL *s, const CBS *cbs,
1043 int tls1_check_curve(SSL *s, CBS *cbs, uint16_t *out_curve_id);
1065 int ssl_parse_clienthello_tlsext(SSL *s, CBS *cbs);
1066 int ssl_parse_serverhello_tlsext(SSL *s, CBS *cbs);
1108 int ssl_parse_serverhello_renegotiate_ext(SSL *s, CBS *cbs, int *out_alert);
1111 int ssl_parse_clienthello_renegotiate_ext(SSL *s, CBS *cbs, int *out_alert);
1116 CBS *cbs, EVP_PKEY *pkey);
1120 int ssl_parse_clienthello_use_srtp_ext(SSL *s, CBS *cbs, int *out_alert);
1122 int ssl_parse_serverhello_use_srtp_ext(SSL *s, CBS *cbs, int *out_alert);
Ds3_clnt.c1001 CBS cbs, certificate_list; in ssl3_get_server_certificate() local
1014 CBS_init(&cbs, s->init_msg, n); in ssl3_get_server_certificate()
1022 if (!CBS_get_u24_length_prefixed(&cbs, &certificate_list) || in ssl3_get_server_certificate()
1023 CBS_len(&cbs) != 0) in ssl3_get_server_certificate()
1589 CBS cbs; in ssl3_get_certificate_request() local
1638 CBS_init(&cbs, s->init_msg, n); in ssl3_get_certificate_request()
1648 if (!CBS_get_u8_length_prefixed(&cbs, &certificate_types)) in ssl3_get_certificate_request()
1664 if (!CBS_get_u16_length_prefixed(&cbs, &supported_signature_algorithms)) in ssl3_get_certificate_request()
1685 if (!CBS_get_u16_length_prefixed(&cbs, &certificate_authorities)) in ssl3_get_certificate_request()
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
DViewTarget.java81 private Set<SizeReadyCallback> cbs = new HashSet<SizeReadyCallback>(); field in ViewTarget.SizeDeterminer
89 for (SizeReadyCallback cb : cbs) { in notifyCbs()
92 cbs.clear(); in notifyCbs()
96 if (cbs.isEmpty()) { in checkCurrentDimens()
143 cbs.add(cb); in getSize()
/external/chromium_org/third_party/boringssl/src/crypto/x509/
Dpkcs7.c25 int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs) { in PKCS7_get_certificates() argument
35 if (!CBS_asn1_ber_to_der(cbs, &der_bytes, &der_len)) { in PKCS7_get_certificates()
41 CBS_init(&in, CBS_data(cbs), CBS_len(cbs)); in PKCS7_get_certificates()
/external/chromium_org/net/cert/
Dct_objects_extractor_openssl.cc270 CBS cbs; in ExtractSCTListFromOCSPResponse() local
271 CBS_init(&cbs, in ExtractSCTListFromOCSPResponse()
279 if (!CBS_get_asn1(&cbs, &sequence, CBS_ASN1_SEQUENCE) || in ExtractSCTListFromOCSPResponse()
280 CBS_len(&cbs) != 0 || in ExtractSCTListFromOCSPResponse()
/external/chromium_org/third_party/boringssl/src/crypto/obj/
Dobj.c217 int OBJ_cbs2nid(const CBS *cbs) { in OBJ_cbs2nid() argument
220 obj.data = CBS_data(cbs); in OBJ_cbs2nid()
221 obj.length = CBS_len(cbs); in OBJ_cbs2nid()
/external/ltrace/sysdeps/linux-gnu/
Dtrace.c602 static struct bp_callbacks cbs = { in sw_singlestep_add_bp() local
607 breakpoint_set_callbacks(bp, &cbs); in sw_singlestep_add_bp()
1487 static struct bp_callbacks cbs = { in create_ifunc_ret_bp() local
1490 breakpoint_set_callbacks(*ret, &cbs); in create_ifunc_ret_bp()
1501 static struct bp_callbacks cbs = { in os_breakpoint_init() local
1504 breakpoint_set_callbacks(bp, &cbs); in os_breakpoint_init()
Dproc.c647 rdebug_bp->cbs = &rdebug_callbacks; in linkmap_init()
/external/kernel-headers/original/uapi/linux/
Ddcbnl.h60 __u8 cbs; member
/external/ltrace/sysdeps/linux-gnu/ppc/
Dplt.c927 leader->arch.dl_plt_update_bp->cbs = &dl_plt_update_cbs; in cb_keep_stepping_p()
1170 static struct bp_callbacks cbs = { in arch_breakpoint_init() local
1175 breakpoint_set_callbacks(bp, &cbs); in arch_breakpoint_init()
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-crypto.js335 var cbs = BI_DB-bs;
336 var bm = (1<<cbs)-1;
339 r_array[i+ds+1] = (this_array[i]>>cbs)|c;
357 var cbs = BI_DB-bs;
361 r_array[i-ds-1] |= (this_array[i]&bm)<<cbs;
364 if(bs > 0) r_array[this.t-ds-1] |= (this.s&bm)<<cbs;
/external/chromium_org/v8/benchmarks/
Dcrypto.js343 var cbs = BI_DB-bs;
344 var bm = (1<<cbs)-1;
347 r_array[i+ds+1] = (this_array[i]>>cbs)|c;
365 var cbs = BI_DB-bs;
369 r_array[i-ds-1] |= (this_array[i]&bm)<<cbs;
372 if(bs > 0) r_array[this.t-ds-1] |= (this.s&bm)<<cbs;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-crypto.js335 var cbs = BI_DB-bs;
336 var bm = (1<<cbs)-1;
339 r_array[i+ds+1] = (this_array[i]>>cbs)|c;
357 var cbs = BI_DB-bs;
361 r_array[i-ds-1] |= (this_array[i]&bm)<<cbs;
364 if(bs > 0) r_array[this.t-ds-1] |= (this.s&bm)<<cbs;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/
Dv8-crypto.js335 var cbs = BI_DB-bs;
336 var bm = (1<<cbs)-1;
339 r_array[i+ds+1] = (this_array[i]>>cbs)|c;
357 var cbs = BI_DB-bs;
361 r_array[i-ds-1] |= (this_array[i]&bm)<<cbs;
364 if(bs > 0) r_array[this.t-ds-1] |= (this.s&bm)<<cbs;
/external/opencv/cv/src/
Dcvstereobm.cpp270 __m128i cbs = _mm_load_si128((const __m128i*)(cbuf_sub + d)); in icvFindStereoCorrespondenceBM_SSE2() local
272 … __m128i diff_h = _mm_sub_epi16(_mm_unpackhi_epi8(diff, z), _mm_unpackhi_epi8(cbs, z)); in icvFindStereoCorrespondenceBM_SSE2()
274 diff = _mm_sub_epi16(_mm_unpacklo_epi8(diff, z), _mm_unpacklo_epi8(cbs, z)); in icvFindStereoCorrespondenceBM_SSE2()

12