Home
last modified time | relevance | path

Searched refs:pub (Results 1 – 25 of 695) sorted by relevance

12345678910>>...28

/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/
DIntegrationTest.kt41 val pub = publish<String>(ctx(coroutineContext)) { in <lambda>() constant
45 assertFailsWith<NoSuchElementException> { pub.awaitFirst() } in <lambda>()
46 assertEquals("OK", pub.awaitFirstOrDefault("OK")) in <lambda>()
47 assertNull(pub.awaitFirstOrNull()) in <lambda>()
48 assertEquals("ELSE", pub.awaitFirstOrElse { "ELSE" }) in <lambda>()
49 assertFailsWith<NoSuchElementException> { pub.awaitLast() } in <lambda>()
50 assertFailsWith<NoSuchElementException> { pub.awaitSingle() } in <lambda>()
51 assertEquals("OK", pub.awaitSingleOrDefault("OK")) in <lambda>()
52 assertNull(pub.awaitSingleOrNull()) in <lambda>()
53 assertEquals("ELSE", pub.awaitSingleOrElse { "ELSE" }) in <lambda>()
[all …]
/external/rust/crates/libc/patches/
Dmissing.diff5 @@ -501,6 +501,8 @@ pub const SYS_pwritev2: ::c_long = 393;
6 pub const SYS_pkey_mprotect: ::c_long = 394;
7 pub const SYS_pkey_alloc: ::c_long = 395;
8 pub const SYS_pkey_free: ::c_long = 396;
9 +pub const SYS_io_uring_setup: ::c_long = 425;
10 +pub const SYS_io_uring_enter: ::c_long = 426;
13 pub const REG_R0: ::c_int = 0;
18 @@ -533,6 +533,8 @@ pub const SYS_pwritev2: ::c_long = 379;
19 pub const SYS_pkey_mprotect: ::c_long = 380;
20 pub const SYS_pkey_alloc: ::c_long = 381;
[all …]
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-jdk9/test/
DIntegrationTest.kt42 val pub = flowPublish<String>(ctx(coroutineContext)) { in <lambda>() constant
46 assertFailsWith<NoSuchElementException> { pub.awaitFirst() } in <lambda>()
47 assertEquals("OK", pub.awaitFirstOrDefault("OK")) in <lambda>()
48 assertNull(pub.awaitFirstOrNull()) in <lambda>()
49 assertEquals("ELSE", pub.awaitFirstOrElse { "ELSE" }) in <lambda>()
50 assertFailsWith<NoSuchElementException> { pub.awaitLast() } in <lambda>()
51 assertFailsWith<NoSuchElementException> { pub.awaitSingle() } in <lambda>()
53 pub.collect { cnt++ } in <lambda>()
59 val pub = flowPublish(ctx(coroutineContext)) { in <lambda>() constant
63 assertEquals("OK", pub.awaitFirst()) in <lambda>()
[all …]
/external/llvm-project/clang/test/CodeCompletion/
Daccessibility.cpp3 int pub; member in X
12 static int pub; member in Unrelated
21 this->pub = 10; in test()
32 X().pub + 10; in test()
39 Y().pub + 10; in test()
46 this->X::pub = 10; in test()
47 X::pub = 10; in test()
59 this->Unrelated::pub = 10; // a check we don't crash in this cases. in test()
60 Y().Unrelated::pub = 10; // a check we don't crash in this cases. in test()
61 Unrelated::pub = 10; in test()
[all …]
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_handle.cc48 dest->pub.next_output_byte = dest->buffer; in MemInitDestination()
49 dest->pub.free_in_buffer = dest->bufsize; in MemInitDestination()
63 dest->pub.next_output_byte = dest->buffer; in MemEmptyOutputBuffer()
64 dest->pub.free_in_buffer = dest->bufsize; in MemEmptyOutputBuffer()
71 VLOG(1) << "Writing " << dest->bufsize - dest->pub.free_in_buffer << " bytes"; in MemTermDestination()
74 dest->bufsize - dest->pub.free_in_buffer); in MemTermDestination()
77 dest->datacount = dest->bufsize - dest->pub.free_in_buffer; in MemTermDestination()
99 dest->pub.init_destination = MemInitDestination; in SetDest()
100 dest->pub.empty_output_buffer = MemEmptyOutputBuffer; in SetDest()
101 dest->pub.term_destination = MemTermDestination; in SetDest()
[all …]
/external/libjpeg-turbo/
Dwrppm.c69 struct djpeg_dest_struct pub; /* public fields */ member
95 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_pixel_rows()
115 ptr = dest->pub.buffer[0]; in copy_pixel_rows()
124 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in copy_pixel_rows()
144 ptr = dest->pub.buffer[0]; in put_rgb()
152 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_rgb()
169 ptr = dest->pub.buffer[0]; in put_cmyk()
178 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_cmyk()
200 ptr = dest->pub.buffer[0]; in put_demapped_rgb()
208 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_demapped_rgb()
[all …]
Dwrgif.c72 struct djpeg_dest_struct pub; /* public fields */ member
117 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) != in flush_packet()
236 putc(w & 0xFF, dinfo->pub.output_file); in put_word()
237 putc((w >> 8) & 0xFF, dinfo->pub.output_file); in put_word()
245 putc(val, dinfo->pub.output_file); in put_3bytes()
246 putc(val, dinfo->pub.output_file); in put_3bytes()
247 putc(val, dinfo->pub.output_file); in put_3bytes()
275 putc('G', dinfo->pub.output_file); in emit_header()
276 putc('I', dinfo->pub.output_file); in emit_header()
277 putc('F', dinfo->pub.output_file); in emit_header()
[all …]
Dwrtarga.c38 struct djpeg_dest_struct pub; /* public fields */ member
102 inptr = dest->pub.buffer[0]; in put_pixel_rows()
110 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_pixel_rows()
122 inptr = dest->pub.buffer[0]; in put_gray_rows()
125 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_gray_rows()
144 inptr = dest->pub.buffer[0]; in put_demapped_gray()
149 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_demapped_gray()
169 dest->pub.put_pixel_rows = put_demapped_gray; in start_output_tga()
171 dest->pub.put_pixel_rows = put_gray_rows; in start_output_tga()
180 outfile = dest->pub.output_file; in start_output_tga()
[all …]
Djdatadst.c35 struct jpeg_destination_mgr pub; /* public fields */ member
50 struct jpeg_destination_mgr pub; /* public fields */ member
78 dest->pub.next_output_byte = dest->buffer; in init_destination()
79 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
123 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer()
124 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer()
150 dest->pub.next_output_byte = nextbuffer + dest->bufsize; in empty_mem_output_buffer()
151 dest->pub.free_in_buffer = dest->bufsize; in empty_mem_output_buffer()
174 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
194 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
[all …]
Drdppm.c61 struct cjpeg_source_struct pub; /* public fields */ member
139 FILE *infile = source->pub.input_file; in get_text_gray_row()
145 ptr = source->pub.buffer[0]; in get_text_gray_row()
167 FILE *infile = source->pub.input_file; in get_text_gray_rgb_row()
178 ptr = source->pub.buffer[0]; in get_text_gray_rgb_row()
202 FILE *infile = source->pub.input_file; in get_text_gray_cmyk_row()
208 ptr = source->pub.buffer[0]; in get_text_gray_cmyk_row()
241 FILE *infile = source->pub.input_file; in get_text_rgb_row()
252 ptr = source->pub.buffer[0]; in get_text_rgb_row()
276 FILE *infile = source->pub.input_file; in get_text_rgb_cmyk_row()
[all …]
Drdtarga.c44 struct cjpeg_source_struct pub; /* public fields */ member
86 register FILE *infile = sinfo->pub.input_file; in read_byte()
174 ptr = source->pub.buffer[0]; in get_8bit_gray_row()
193 ptr = source->pub.buffer[0]; in get_8bit_row()
215 ptr = source->pub.buffer[0]; in get_16bit_row()
242 ptr = source->pub.buffer[0]; in get_24bit_row()
280 source->pub.buffer = (*cinfo->mem->access_virt_sarray) in get_memory_row()
305 progress->pub.pass_counter = (long)row; in preload_image()
306 progress->pub.pass_limit = (long)cinfo->image_height; in preload_image()
307 (*progress->pub.progress_monitor) ((j_common_ptr)cinfo); in preload_image()
[all …]
Dwrbmp.c51 struct djpeg_dest_struct pub; /* public fields */ member
121 inptr = dest->pub.buffer[0]; in put_pixel_rows()
168 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->row_width); in put_pixel_rows()
193 inptr = dest->pub.buffer[0]; in put_gray_rows()
203 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->row_width); in put_gray_rows()
284 if (JFWRITE(dest->pub.output_file, bmpfileheader, 14) != (size_t)14) in write_bmp_header()
286 if (JFWRITE(dest->pub.output_file, bmpinfoheader, 40) != (size_t)40) in write_bmp_header()
345 if (JFWRITE(dest->pub.output_file, bmpfileheader, 14) != (size_t)14) in write_os2_header()
347 if (JFWRITE(dest->pub.output_file, bmpcoreheader, 12) != (size_t)12) in write_os2_header()
366 FILE *outfile = dest->pub.output_file; in write_colormap()
[all …]
Djdatasrc.c30 struct jpeg_source_mgr pub; /* public fields */ member
119 src->pub.next_input_byte = src->buffer; in fill_input_buffer()
120 src->pub.bytes_in_buffer = nbytes; in fill_input_buffer()
245 src->pub.init_source = init_source; in jpeg_stdio_src()
246 src->pub.fill_input_buffer = fill_input_buffer; in jpeg_stdio_src()
247 src->pub.skip_input_data = skip_input_data; in jpeg_stdio_src()
248 src->pub.resync_to_restart = jpeg_resync_to_restart; /* use default method */ in jpeg_stdio_src()
249 src->pub.term_source = term_source; in jpeg_stdio_src()
251 src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ in jpeg_stdio_src()
252 src->pub.next_input_byte = NULL; /* until buffer loaded */ in jpeg_stdio_src()
Drdbmp.c54 struct cjpeg_source_struct pub; /* public fields */ member
84 register FILE *infile = sinfo->pub.input_file; in read_byte()
163 if (!ReadOK(source->pub.input_file, source->iobuffer, source->row_width)) in get_8bit_row()
169 outptr = source->pub.buffer[0]; in get_8bit_row()
238 if (!ReadOK(source->pub.input_file, source->iobuffer, source->row_width)) in get_24bit_row()
246 outptr = source->pub.buffer[0]; in get_24bit_row()
301 if (!ReadOK(source->pub.input_file, source->iobuffer, source->row_width)) in get_32bit_row()
309 outptr = source->pub.buffer[0]; in get_32bit_row()
360 register FILE *infile = source->pub.input_file; in preload_image()
369 progress->pub.pass_counter = (long)row; in preload_image()
[all …]
Djdatadst-tj.c40 struct jpeg_destination_mgr pub; /* public fields */ member
110 dest->pub.next_output_byte = nextbuffer + dest->bufsize; in empty_mem_output_buffer()
111 dest->pub.free_in_buffer = dest->bufsize; in empty_mem_output_buffer()
135 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
178 dest->pub.init_destination = init_mem_destination; in jpeg_mem_dest_tj()
179 dest->pub.empty_output_buffer = empty_mem_output_buffer; in jpeg_mem_dest_tj()
180 dest->pub.term_destination = term_mem_destination; in jpeg_mem_dest_tj()
198 dest->pub.next_output_byte = dest->buffer = *outbuffer; in jpeg_mem_dest_tj()
201 dest->pub.free_in_buffer = dest->bufsize; in jpeg_mem_dest_tj()
/external/llvm-project/clang/test/CXX/class.access/class.access.base/
Dp1.cpp11 public: int pub; static int spub; member in test0::Base
18 pub++; in test()
25 Base::pub++; in test()
35 t->pub++; in test()
42 t->Base::pub++; in test()
59 int pub; // expected-note{{member is declared here}} member in test1::Base
67 pub++; in test()
74 Base::pub++; in test()
84 t->pub++; // expected-error {{protected member}} in test()
92 t->Base::pub++; // expected-error {{protected member}} expected-error {{protected base class}} in test()
[all …]
/external/clang/test/CXX/class.access/class.access.base/
Dp1.cpp11 public: int pub; static int spub; member in test0::Base
18 pub++; in test()
25 Base::pub++; in test()
35 t->pub++; in test()
42 t->Base::pub++; in test()
59 int pub; // expected-note{{member is declared here}} member in test1::Base
67 pub++; in test()
74 Base::pub++; in test()
84 t->pub++; // expected-error {{protected member}} expected-error {{protected base class}} in test()
92 t->Base::pub++; // expected-error {{protected member}} expected-error {{protected base class}} in test()
[all …]
/external/tpm2-tss/test/unit/
DTPMT-marshal.c26 TPMT_PUBLIC pub = {0}; in tpmt_marshal_success() local
27 uint8_t buffer[sizeof(tkt) + sizeof(pub)] = { 0 }; in tpmt_marshal_success()
58 pub.type = TPM2_ALG_RSA; in tpmt_marshal_success()
59 pub.parameters.rsaDetail.symmetric.algorithm = TPM2_ALG_AES; in tpmt_marshal_success()
60 pub.parameters.rsaDetail.symmetric.keyBits.aes = 128; in tpmt_marshal_success()
61 pub.parameters.rsaDetail.symmetric.mode.aes = TPM2_ALG_CBC; in tpmt_marshal_success()
62 rc = Tss2_MU_TPMT_PUBLIC_Marshal(&pub, buffer, buffer_size, NULL); in tpmt_marshal_success()
78 TPMT_PUBLIC_PARMS pub = {0}; in tpmt_marshal_success_offset() local
79 uint8_t buffer[sizeof(tkt) + sizeof(pub) + 10] = { 0 }; in tpmt_marshal_success_offset()
113 pub.type = TPM2_ALG_KEYEDHASH; in tpmt_marshal_success_offset()
[all …]
/external/openssh/regress/
Dcert-hostkey.sh64 kh_ca host_ca_key.pub host_ca_key2.pub > $OBJ/known_hosts-cert.orig
71 cat $OBJ/host_ca_key.pub $OBJ/host_ca_key2.pub > $OBJ/host_revoked_ca
83 ${SSHKEYGEN} -kf $OBJ/host_krl_ca $OBJ/host_ca_key.pub $OBJ/host_ca_key2.pub \
95 $OBJ/cert_host_key_${ktype}.pub || fatal "KRL update failed"
96 cat $OBJ/cert_host_key_${ktype}.pub >> $OBJ/host_revoked_plain
106 $OBJ/cert_host_key_${ktype}-cert.pub || \
108 cat $OBJ/cert_host_key_${ktype}-cert.pub >> $OBJ/host_revoked_cert
140 echo HostCertificate $OBJ/cert_host_key_${ktype}-cert.pub
166 kh_ca host_ca_key.pub host_ca_key2.pub > $OBJ/known_hosts-cert.orig
169 kh_revoke cert_host_key_${ktype}.pub >> $OBJ/known_hosts-cert.orig
[all …]
Dkeygen-convert.sh25 ${SSHKEYGEN} -q -e -f $OBJ/$t-key.pub >$OBJ/$t-key-rfc.pub || \
28 cmp $OBJ/$t-key-rfc $OBJ/$t-key-rfc.pub || \
35 cut -f1,2 -d " " $OBJ/$t-key.pub >$OBJ/$t-key-nocomment.pub
36 cmp $OBJ/$t-key-nocomment.pub $OBJ/$t-rfc-imported || \
39 rm -f $OBJ/$t-key $OBJ/$t-key.pub $OBJ/$t-key-rfc $OBJ/$t-key-rfc.pub \
40 $OBJ/$t-rfc-imported $OBJ/$t-key-nocomment.pub
/external/boringssl/src/crypto/x509/
Dx_pubkey.c183 int X509_PUBKEY_set0_param(X509_PUBKEY *pub, const ASN1_OBJECT *aobj, in X509_PUBKEY_set0_param() argument
187 if (!X509_ALGOR_set0(pub->algor, aobj, ptype, pval)) in X509_PUBKEY_set0_param()
190 if (pub->public_key->data) in X509_PUBKEY_set0_param()
191 OPENSSL_free(pub->public_key->data); in X509_PUBKEY_set0_param()
192 pub->public_key->data = penc; in X509_PUBKEY_set0_param()
193 pub->public_key->length = penclen; in X509_PUBKEY_set0_param()
195 pub->public_key->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07); in X509_PUBKEY_set0_param()
196 pub->public_key->flags |= ASN1_STRING_FLAG_BITS_LEFT; in X509_PUBKEY_set0_param()
203 X509_ALGOR **pa, X509_PUBKEY *pub) in X509_PUBKEY_get0_param() argument
206 *ppkalg = pub->algor->algorithm; in X509_PUBKEY_get0_param()
[all …]
/external/openssh/regress/unittests/sshkey/
Dmktestdata.sh36 grep -v '^[a-zA-Z]' | tr -d ' \n:' > ${_outbase}.pub
40 for x in priv pub g ; do
57 grep -v '^[a-zA-Z]' | tr -d ' \n:' > ${_outbase}.pub
61 for x in priv pub curve ; do
78 rm -f pw *.pub *.bn.* *.param.* *.fp *.fp.bb
124 -V 19990101:20110101 -z 1 rsa_1.pub
127 -V 19990101:20110101 -z 2 dsa_1.pub
130 -V 19990101:20110101 -z 3 ecdsa_1.pub
133 -V 19990101:20110101 -z 4 ed25519_1.pub
138 cp rsa_1.pub rsa_1_sha1.pub
[all …]
/external/rust/crates/pin-project/tests/ui/pin_project/
Dvisibility.stderr4 15 | pub use crate::pub_::DProj; //~ ERROR E0365
7 = note: consider declaring type or module `DProj` with `pub`
12 17 | pub use crate::pub_::DProjRef; //~ ERROR E0365
15 = note: consider declaring type or module `DProjRef` with `pub`
20 19 | pub use crate::pub_::RProj; //~ ERROR E0365
23 = note: consider declaring type or module `RProj` with `pub`
28 21 | pub use crate::pub_::RProjOwn; //~ ERROR E0365
31 = note: consider declaring type or module `RProjOwn` with `pub`
36 23 | pub use crate::pub_::RProjRef; //~ ERROR E0365
39 = note: consider declaring type or module `RProjRef` with `pub`
/external/python/rsa/tests/
Dtest_integers.py25 (self.pub, self.priv) = rsa.newkeys(64)
31 encrypted = rsa.core.encrypt_int(message, self.pub.e, self.pub.n)
34 decrypted = rsa.core.decrypt_int(encrypted, self.priv.d, self.pub.n)
42 signed = rsa.core.encrypt_int(message, self.priv.d, self.pub.n)
45 verified = rsa.core.decrypt_int(signed, self.pub.e, self.pub.n)
/external/libwebsockets/lib/roles/mqtt/
Dmqtt.c548 lws_mqtt_publish_param_t *pub = NULL; in _lws_mqtt_rx_parser() local
578 pub = (lws_mqtt_publish_param_t *)wsi->mqtt->rx_cpkt_param; in _lws_mqtt_rx_parser()
580 pub->topic_len = par->n; in _lws_mqtt_rx_parser()
583 pub->topic = (char *)lws_zalloc((size_t)pub->topic_len + 1, in _lws_mqtt_rx_parser()
585 if (!pub->topic) in _lws_mqtt_rx_parser()
587 lws_strncpy(pub->topic, (const char *)buf, in _lws_mqtt_rx_parser()
588 (size_t)pub->topic_len + 1); in _lws_mqtt_rx_parser()
589 buf += pub->topic_len; in _lws_mqtt_rx_parser()
590 len -= pub->topic_len; in _lws_mqtt_rx_parser()
593 pub->qos = (lws_mqtt_qos_levels_t) in _lws_mqtt_rx_parser()
[all …]

12345678910>>...28