HomeSort by relevance Sort by last modified time
    Searched defs:cbs (Results 26 - 50 of 64) sorted by null

12 3

  /external/strace/tests-mx32/
aio.c 188 const long *cbs = tail_memdup(proto_cbs, sizeof(proto_cbs)); local
230 rc = syscall(__NR_io_submit, *ctx, nr, cbs + nr);
232 *ctx, (long) nr, cbs + nr, sprintrc(rc));
234 rc = syscall(__NR_io_submit, *ctx, -1L, cbs);
236 *ctx, cbs, sprintrc(rc));
238 rc = syscall(__NR_io_submit, *ctx, nr, cbs);
  /external/boringssl/src/crypto/ec_extra/
ec_asn1.c 75 EC_KEY *EC_KEY_parse_private_key(CBS *cbs, const EC_GROUP *group) {
76 CBS ec_private_key, private_key;
78 if (!CBS_get_asn1(cbs, &ec_private_key, CBS_ASN1_SEQUENCE) ||
94 CBS child;
142 CBS child, public_key;
245 // is_unsigned_integer returns one if |cbs| is a valid unsigned DER INTEGER and
247 static int is_unsigned_integer(const CBS *cbs) {
248 if (CBS_len(cbs) == 0)
434 CBS cbs; local
463 CBS cbs; local
    [all...]
  /external/boringssl/src/crypto/obj/
obj.c 239 int OBJ_cbs2nid(const CBS *cbs) {
240 if (CBS_len(cbs) > INT_MAX) {
246 obj.data = CBS_data(cbs);
247 obj.length = (int)CBS_len(cbs);
458 CBS cbs; local
459 CBS_init(&cbs, obj->data, obj->length);
460 char *txt = CBS_asn1_oid_to_text(&cbs);
  /external/boringssl/src/ssl/
s3_both.cc 305 CBS v2_client_hello = CBS(ssl->s3->read_buffer.span().subspan(2, msg_length));
318 CBS cipher_specs, session_id, challenge;
406 CBS cbs; local
408 CBS_init(&cbs, reinterpret_cast<const uint8_t *>(ssl->s3->hs_buf->data),
410 if (!CBS_get_u8(&cbs, &out->type) ||
411 !CBS_get_u24(&cbs, &len)) {
416 if (!CBS_get_bytes(&cbs, &out->body, len)) {
tls_record.cc 220 CBS cbs = CBS(in); local
225 if (!CBS_get_u8(&cbs, &type) ||
226 !CBS_get_u16(&cbs, &version) ||
227 !CBS_get_u16(&cbs, &ciphertext_len)) {
255 CBS body;
256 if (!CBS_get_bytes(&cbs, &body, ciphertext_len)) {
264 *out_consumed = in.size() - CBS_len(&cbs);
d1_both.cc 350 CBS cbs; local
351 CBS_init(&cbs, record.data(), record.size());
352 while (CBS_len(&cbs) > 0) {
355 CBS body;
356 if (!dtls1_parse_fragment(&cbs, &msg_hdr, &body)) {
459 bool dtls1_parse_fragment(CBS *cbs, struct hm_header_st *out_hdr,
460 CBS *out_body) {
463 if (!CBS_get_u8(cbs, &out_hdr->type) |
666 CBS cbs, body; local
    [all...]
ssl_asn1.cc 402 // explicitly tagged with |tag| from |cbs| and saves it in |*out|. On
407 static int SSL_SESSION_parse_string(CBS *cbs, char **out, unsigned tag) {
408 CBS value;
410 if (!CBS_get_optional_asn1_octet_string(cbs, &value, &present, tag)) {
431 // explicitly tagged with |tag| from |cbs| and stows it in |*out_ptr|
436 static int SSL_SESSION_parse_octet_string(CBS *cbs, uint8_t **out_ptr,
438 CBS value;
439 if (!CBS_get_optional_asn1_octet_string(cbs, &value, NULL, tag))
832 CBS cbs; local
    [all...]
ssl_x509.cc 982 CBS cbs; local
983 CBS_init(&cbs, *pp, length);
985 UniquePtr<SSL_SESSION> ret = SSL_SESSION_parse(&cbs, &ssl_crypto_x509_method,
995 *pp = CBS_data(&cbs);
    [all...]
t1_lib.cc 152 static int tls1_check_duplicate_extensions(const CBS *cbs) {
155 CBS extensions = *cbs;
158 CBS extension;
178 extensions = *cbs;
180 CBS extension;
209 CBS client_hello, random, session_id;
225 CBS cookie;
232 CBS cipher_suites, compression_methods
3733 CBS cbs; local
    [all...]
  /external/boringssl/src/ssl/test/
fuzzer.h 282 CBS cbs; local
283 CBS_init(&cbs, buf, len);
284 bssl::UniquePtr<SSL> ssl = SetupTest(&cbs);
297 SSL_set0_rbio(ssl.get(), MakeBIO(CBS_data(&cbs), CBS_len(&cbs)).release());
374 CBS cbs; local
375 CBS_init(&cbs, kP256KeyPKCS8, sizeof(kP256KeyPKCS8));
376 pkey.reset(EVP_parse_private_key(&cbs));
453 CBS cbs; member in struct:__anon14390::TLSFuzzer::BIOData
    [all...]
bssl_shim.cc 544 CBS extension, server_name_list, host_name;
1055 CBS cbs; local
1056 CBS_init(&cbs, buf_u8, len);
1059 if (!CBS_get_u8(&cbs, &type) ||
1063 !CBS_skip(&cbs, 3 /* total */ + 2 /* seq */ + 3 /* frag_off */)) ||
1064 !CBS_get_u24(&cbs, &msg_len) ||
1065 !CBS_skip(&cbs, msg_len) ||
1066 CBS_len(&cbs) != 0) {
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
EngineJob.java 28 private final List<ResourceCallback> cbs = new ArrayList<ResourceCallback>(); field in class:EngineJob
82 cbs.add(cb);
91 cbs.remove(cb);
92 if (cbs.isEmpty()) {
143 } else if (cbs.isEmpty()) {
154 for (ResourceCallback cb : cbs) {
173 } else if (cbs.isEmpty()) {
180 for (ResourceCallback cb : cbs) {
  /external/libevent/
evthread.c 93 evthread_set_lock_callbacks(const struct evthread_lock_callbacks *cbs)
105 if (!cbs) {
114 if (target->lock_api_version == cbs->lock_api_version &&
115 target->supported_locktypes == cbs->supported_locktypes &&
116 target->alloc == cbs->alloc &&
117 target->free == cbs->free &&
118 target->lock == cbs->lock &&
119 target->unlock == cbs->unlock) {
127 if (cbs->alloc && cbs->free && cbs->lock && cbs->unlock)
320 struct evthread_lock_callbacks cbs = { local
    [all...]
evthread_win32.c 302 struct evthread_lock_callbacks cbs = { local
329 evthread_set_lock_callbacks(&cbs);
bufferevent.c 690 struct event_callback *cbs[MAX_CBS]; local
704 cbs[0] = &bufev->ev_read.ev_evcallback;
705 cbs[1] = &bufev->ev_write.ev_evcallback;
706 cbs[2] = &bufev_private->deferred;
711 cbs[n_cbs++] = &e->ev_evcallback;
713 n_cbs += evbuffer_get_callbacks_(bufev->input, cbs+n_cbs, MAX_CBS-n_cbs);
714 n_cbs += evbuffer_get_callbacks_(bufev->output, cbs+n_cbs, MAX_CBS-n_cbs);
716 event_callback_finalize_many_(bufev->ev_base, n_cbs, cbs,
  /external/boringssl/src/crypto/bytestring/
bytestring_test.cc 37 CBS data;
53 CBS data;
77 CBS data, prefixed;
98 CBS data, prefixed;
121 CBS data, contents;
262 CBS cbs, child; local
263 CBS_init(&cbs, t.in.data(), t.in.size());
264 ASSERT_EQ(t.ok, !!CBS_get_any_asn1(&cbs, &child, &tag));
268 EXPECT_EQ(0u, CBS_len(&cbs));
727 CBS cbs; local
747 CBS cbs; local
830 CBS cbs; local
848 CBS cbs; local
883 CBS cbs; local
962 CBS cbs; local
978 CBS cbs; local
    [all...]
cbb.c 530 // parse_dotted_decimal parses one decimal component from |cbs|, where |cbs| is
532 // component and the dot, so |cbs| may be passed into the function again for the
534 static int parse_dotted_decimal(CBS *cbs, uint64_t *out) {
542 if (!CBS_get_u8(cbs, &u) ||
543 (u == '.' && CBS_len(cbs) > 0)) {
566 CBS cbs; local
567 CBS_init(&cbs, (const uint8_t *)text, len)
619 CBS cbs; local
    [all...]
  /external/libevent/test/
regress_thread.c 402 struct event_callback cbs[CB_COUNT]; member in struct:deferred_test_data
426 event_deferred_cb_init_(&data->cbs[i], 0, deferred_callback,
428 event_deferred_cb_schedule_(data->queue, &data->cbs[i]);
regress_bufferevent.c 222 struct evthread_lock_callbacks cbs; member in struct:lock_unlock_base
247 lock = lu_base.cbs.alloc(locktype);
258 lu_base.cbs.free(lock_, locktype);
269 return lu_base.cbs.lock(mode, lock_);
280 return lu_base.cbs.unlock(mode, lock_);
292 /** avoid calling of event_global_setup_locks_() for new cbs */
300 struct evthread_lock_callbacks cbs = { local
308 memcpy(&lu_base.cbs, evthread_get_lock_callbacks(),
309 sizeof(lu_base.cbs));
313 evthread_set_lock_callbacks(&cbs);
    [all...]
  /external/mesa3d/src/vulkan/wsi/
wsi_common_wayland.c 68 const struct wsi_callbacks *cbs; member in struct:wsi_wayland
83 display->wsi_wl->cbs->get_phys_device_format_properties(display->wsi_wl->physical_device,
777 const struct wsi_callbacks *cbs)
791 wsi->cbs = cbs;
  /external/boringssl/src/crypto/fipsmodule/bn/
bn_test.cc 1172 CBS cbs; local
1193 CBS cbs; local
    [all...]
  /external/opencv/cv/src/
cvstereobm.cpp 270 __m128i cbs = _mm_load_si128((const __m128i*)(cbuf_sub + d)); local
272 __m128i diff_h = _mm_sub_epi16(_mm_unpackhi_epi8(diff, z), _mm_unpackhi_epi8(cbs, z));
274 diff = _mm_sub_epi16(_mm_unpacklo_epi8(diff, z), _mm_unpacklo_epi8(cbs, z));
  /external/ipsec-tools/src/racoon/
oakley.c 2199 CBS cbs; local
    [all...]
  /hardware/interfaces/camera/device/3.2/default/
CameraDeviceSession.cpp 277 CirculatingBuffers& cbs = mCirculatingBuffers[streamIds[i]]; local
278 if (cbs.count(bufId) == 0) {
290 cbs[bufId] = importedBuf;
293 allBufPtrs[i] = &cbs[bufId];
1014 CirculatingBuffers& cbs = cbsIt->second; local
    [all...]
  /bionic/libc/kernel/uapi/linux/
dcbnl.h 30 __u8 cbs; member in struct:ieee_ets

Completed in 1271 milliseconds

12 3