Home
last modified time | relevance | path

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

12345678910>>...20

/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/
Dwrgif.c51 struct djpeg_dest_struct pub; /* public fields */ member
89 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) != in flush_packet()
206 putc(w & 0xFF, dinfo->pub.output_file); in put_word()
207 putc((w >> 8) & 0xFF, dinfo->pub.output_file); in put_word()
215 putc(val, dinfo->pub.output_file); in put_3bytes()
216 putc(val, dinfo->pub.output_file); in put_3bytes()
217 putc(val, dinfo->pub.output_file); in put_3bytes()
245 putc('G', dinfo->pub.output_file); in emit_header()
246 putc('I', dinfo->pub.output_file); in emit_header()
247 putc('F', dinfo->pub.output_file); in emit_header()
[all …]
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 …]
Drdppm.c71 struct cjpeg_source_struct pub; /* public fields */ member
150 FILE *infile = source->pub.input_file; in get_text_gray_row()
156 ptr = source->pub.buffer[0]; in get_text_gray_row()
178 FILE *infile = source->pub.input_file; in get_text_gray_rgb_row()
189 ptr = source->pub.buffer[0]; in get_text_gray_rgb_row()
213 FILE *infile = source->pub.input_file; in get_text_gray_cmyk_row()
219 ptr = source->pub.buffer[0]; in get_text_gray_cmyk_row()
252 FILE *infile = source->pub.input_file; in get_text_rgb_row()
263 ptr = source->pub.buffer[0]; in get_text_rgb_row()
287 FILE *infile = source->pub.input_file; in get_text_rgb_cmyk_row()
[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()
151 dest->pub.next_output_byte = nextbuffer + dest->bufsize; in empty_mem_output_buffer()
152 dest->pub.free_in_buffer = dest->bufsize; in empty_mem_output_buffer()
175 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
195 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
[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()
123 inptr = dest->pub.buffer[0]; in put_gray_rows()
128 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_gray_rows()
147 inptr = dest->pub.buffer[0]; in put_demapped_gray()
152 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_demapped_gray()
172 dest->pub.put_pixel_rows = put_demapped_gray; in start_output_tga()
174 dest->pub.put_pixel_rows = put_gray_rows; in start_output_tga()
183 outfile = dest->pub.output_file; in start_output_tga()
[all …]
Dwrrle.c57 struct djpeg_dest_struct pub; /* public fields */ member
135 dest->pub.buffer = (*cinfo->mem->access_virt_sarray) in start_output_rle()
137 dest->pub.buffer_height = 1; in start_output_rle()
139 dest->pub.put_pixel_rows = rle_put_pixel_rows; in start_output_rle()
162 dest->pub.buffer = (*cinfo->mem->access_virt_sarray) in rle_put_pixel_rows()
190 header.rle_file = dest->pub.output_file; in finish_output_rle()
219 progress->pub.pass_limit = cinfo->output_height; in finish_output_rle()
220 progress->pub.pass_counter = 0; in finish_output_rle()
221 (*progress->pub.progress_monitor) ((j_common_ptr)cinfo); in finish_output_rle()
233 progress->pub.pass_counter++; in finish_output_rle()
[all …]
Drdrle.c68 struct cjpeg_source_struct pub; /* public fields */ member
94 source->header.rle_file = source->pub.input_file; in start_input_rle()
179 source->pub.buffer_height = 1; in start_input_rle()
195 source->pub.buffer = (*cinfo->mem->access_virt_sarray) in get_rle_row()
217 dest_row = source->pub.buffer[0]; in get_pseudocolor_row()
266 progress->pub.pass_limit = cinfo->image_height; in load_image()
267 progress->pub.pass_counter = 0; in load_image()
268 (*progress->pub.progress_monitor) ((j_common_ptr)cinfo); in load_image()
282 progress->pub.pass_counter++; in load_image()
283 (*progress->pub.progress_monitor) ((j_common_ptr)cinfo); in load_image()
[all …]
Dwrbmp.c51 struct djpeg_dest_struct pub; /* public fields */ member
121 inptr = dest->pub.buffer[0]; in put_pixel_rows()
170 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->row_width); in put_pixel_rows()
195 inptr = dest->pub.buffer[0]; in put_gray_rows()
205 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->row_width); in put_gray_rows()
286 if (JFWRITE(dest->pub.output_file, bmpfileheader, 14) != (size_t)14) in write_bmp_header()
288 if (JFWRITE(dest->pub.output_file, bmpinfoheader, 40) != (size_t)40) in write_bmp_header()
347 if (JFWRITE(dest->pub.output_file, bmpfileheader, 14) != (size_t)14) in write_os2_header()
349 if (JFWRITE(dest->pub.output_file, bmpcoreheader, 12) != (size_t)12) in write_os2_header()
368 FILE *outfile = dest->pub.output_file; in write_colormap()
[all …]
Drdtarga.c54 struct cjpeg_source_struct pub; /* public fields */ member
96 register FILE *infile = sinfo->pub.input_file; in read_byte()
184 ptr = source->pub.buffer[0]; in get_8bit_gray_row()
203 ptr = source->pub.buffer[0]; in get_8bit_row()
225 ptr = source->pub.buffer[0]; in get_16bit_row()
252 ptr = source->pub.buffer[0]; in get_24bit_row()
290 source->pub.buffer = (*cinfo->mem->access_virt_sarray) in get_memory_row()
315 progress->pub.pass_counter = (long)row; in preload_image()
316 progress->pub.pass_limit = (long)cinfo->image_height; in preload_image()
317 (*progress->pub.progress_monitor) ((j_common_ptr)cinfo); in preload_image()
[all …]
Drdbmp.c64 struct cjpeg_source_struct pub; /* public fields */ member
94 register FILE *infile = sinfo->pub.input_file; in read_byte()
173 if (!ReadOK(source->pub.input_file, source->iobuffer, source->row_width)) in get_8bit_row()
179 outptr = source->pub.buffer[0]; in get_8bit_row()
248 if (!ReadOK(source->pub.input_file, source->iobuffer, source->row_width)) in get_24bit_row()
256 outptr = source->pub.buffer[0]; in get_24bit_row()
312 if (!ReadOK(source->pub.input_file, source->iobuffer, source->row_width)) in get_32bit_row()
320 outptr = source->pub.buffer[0]; in get_32bit_row()
372 register FILE *infile = source->pub.input_file; in preload_image()
381 progress->pub.pass_counter = (long)row; in preload_image()
[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()
Djdatadst-tj.c38 struct jpeg_destination_mgr pub; /* public fields */ member
109 dest->pub.next_output_byte = nextbuffer + dest->bufsize; in empty_mem_output_buffer()
110 dest->pub.free_in_buffer = dest->bufsize; in empty_mem_output_buffer()
134 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
177 dest->pub.init_destination = init_mem_destination; in jpeg_mem_dest_tj()
178 dest->pub.empty_output_buffer = empty_mem_output_buffer; in jpeg_mem_dest_tj()
179 dest->pub.term_destination = term_mem_destination; in jpeg_mem_dest_tj()
197 dest->pub.next_output_byte = dest->buffer = *outbuffer; in jpeg_mem_dest_tj()
200 dest->pub.free_in_buffer = dest->bufsize; in jpeg_mem_dest_tj()
Djccolor.c26 struct jpeg_color_converter pub; /* public fields */ member
536 cconvert->pub.start_pass = null_method; in jinit_color_converter()
583 cconvert->pub.color_convert = grayscale_convert; in jinit_color_converter()
596 cconvert->pub.color_convert = jsimd_rgb_gray_convert; in jinit_color_converter()
598 cconvert->pub.start_pass = rgb_ycc_start; in jinit_color_converter()
599 cconvert->pub.color_convert = rgb_gray_convert; in jinit_color_converter()
602 cconvert->pub.color_convert = grayscale_convert; in jinit_color_converter()
616 cconvert->pub.color_convert = jsimd_c_null_convert; in jinit_color_converter()
619 cconvert->pub.color_convert = null_convert; in jinit_color_converter()
631 cconvert->pub.color_convert = rgb_rgb_convert; in jinit_color_converter()
[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/openssh/regress/
Dcert-hostkey.sh53 kh_ca host_ca_key.pub host_ca_key2.pub > $OBJ/known_hosts-cert.orig
60 cat $OBJ/host_ca_key.pub $OBJ/host_ca_key2.pub > $OBJ/host_revoked_ca
72 ${SSHKEYGEN} -kf $OBJ/host_krl_ca $OBJ/host_ca_key.pub $OBJ/host_ca_key2.pub \
84 $OBJ/cert_host_key_${ktype}.pub || fatal "KRL update failed"
85 cat $OBJ/cert_host_key_${ktype}.pub >> $OBJ/host_revoked_plain
95 $OBJ/cert_host_key_${ktype}-cert.pub || \
97 cat $OBJ/cert_host_key_${ktype}-cert.pub >> $OBJ/host_revoked_cert
129 echo HostCertificate $OBJ/cert_host_key_${ktype}-cert.pub
155 kh_ca host_ca_key.pub host_ca_key2.pub > $OBJ/known_hosts-cert.orig
158 kh_revoke cert_host_key_${ktype}.pub >> $OBJ/known_hosts-cert.orig
[all …]
Dkeygen-convert.sh17 ${SSHKEYGEN} -q -e -f $OBJ/$t-key.pub >$OBJ/$t-key-rfc.pub || \
20 cmp $OBJ/$t-key-rfc $OBJ/$t-key-rfc.pub || \
27 cut -f1,2 -d " " $OBJ/$t-key.pub >$OBJ/$t-key-nocomment.pub
28 cmp $OBJ/$t-key-nocomment.pub $OBJ/$t-rfc-imported || \
31 rm -f $OBJ/$t-key $OBJ/$t-key.pub $OBJ/$t-key-rfc $OBJ/$t-key-rfc.pub \
32 $OBJ/$t-rfc-imported $OBJ/$t-key-nocomment.pub
DMakefile98 ed25519-agent.pub empty.in expect failed-regress.log \
101 key.dsa-* key.ecdsa-* key.ed25519-512 key.ed25519-512.pub \
105 revoked-* rsa rsa-agent rsa-agent.pub rsa.pub rsa1 \
106 rsa1-agent rsa1-agent.pub rsa1.pub rsa_ssh2_cr.prv \
113 t10.out t10.out.pub t12.out t12.out.pub t2.out t3.out \
114 t6.out1 t6.out2 t7.out t7.out.pub t8.out t8.out.pub \
115 t9.out t9.out.pub testdata user_*key* user_ca* user_key*
136 ${TEST_SSH_SSHKEYGEN} -yf $(OBJ)/t2.out | diff - ${.CURDIR}/rsa_openssh.pub
139 ${TEST_SSH_SSHKEYGEN} -ef ${.CURDIR}/rsa_openssh.pub >$(OBJ)/t3.out
140 ${TEST_SSH_SSHKEYGEN} -if $(OBJ)/t3.out | diff - ${.CURDIR}/rsa_openssh.pub
[all …]
Dssh-com-client.sh36 ${SSHKEYGEN} -e -f ${OBJ}/id.openssh > $OBJ/id.com.pub
41 rm -f ${OBJ}/$t ${OBJ}/$t.pub
49 ${SSHKEYGEN} -e -f ${OBJ}/rsa.pub > ${HK}.ssh-rsa.pub
50 ${SSHKEYGEN} -e -f ${OBJ}/dsa.pub > ${HK}.ssh-dss.pub
87 cp ${HK}.$key.pub ${HK}.pub
Dmultipubkey.sh26 mv $OBJ/user_key1-cert.pub $OBJ/cert_user_key1.pub
46 cat $OBJ/user_key1.pub > $OBJ/authorized_keys_$USER
51 cat $OBJ/user_key1.pub > $OBJ/authorized_keys_$USER
56 cat $OBJ/user_key1.pub $OBJ/user_key2.pub > \
63 cat $OBJ/user_key2.pub > $OBJ/authorized_keys_$USER
/external/openssh/
Dauthfile.c352 struct sshkey *pub = NULL; in sshkey_load_public() local
382 if ((pub = sshkey_new(KEY_UNSPEC)) == NULL) in sshkey_load_public()
384 if ((r = sshkey_try_load_public(pub, filename, commentp)) == 0) { in sshkey_load_public()
386 *keyp = pub; in sshkey_load_public()
389 sshkey_free(pub); in sshkey_load_public()
393 if ((pub = sshkey_new(KEY_RSA1)) == NULL) in sshkey_load_public()
395 if ((r = sshkey_try_load_public(pub, filename, commentp)) == 0) { in sshkey_load_public()
397 *keyp = pub; in sshkey_load_public()
400 sshkey_free(pub); in sshkey_load_public()
405 if ((pub = sshkey_new(KEY_UNSPEC)) == NULL) in sshkey_load_public()
[all …]
/external/python/rsa/tests/
Dtest_integers.py27 (self.pub, self.priv) = rsa.newkeys(64)
33 encrypted = rsa.core.encrypt_int(message, self.pub.e, self.pub.n)
36 decrypted = rsa.core.decrypt_int(encrypted, self.priv.d, self.pub.n)
44 signed = rsa.core.encrypt_int(message, self.priv.d, self.pub.n)
47 verified = rsa.core.decrypt_int(signed, self.pub.e, self.pub.n)
Dtest_pkcs1.py29 (self.pub, self.priv) = rsa.newkeys(256)
35 encrypted = pkcs1.encrypt(message, self.pub)
45 encrypted = pkcs1.encrypt(message, self.pub)
63 encrypted1 = pkcs1.encrypt(message, self.pub)
64 encrypted2 = pkcs1.encrypt(message, self.pub)
71 (self.pub, self.priv) = rsa.newkeys(512)
79 self.assertEqual('SHA-256', pkcs1.verify(message, signature, self.pub))
87 self.assertEqual('SHA-256', pkcs1.find_signature_hash(signature, self.pub))
94 b'mijn moeder', signature, self.pub)
134 self.assertTrue(pkcs1.verify(message, signature, self.pub))
/external/openssh/regress/unittests/sshkey/
Dmktestdata.sh53 grep -v '^[a-zA-Z]' | tr -d ' \n:' > ${_outbase}.pub
57 for x in priv pub g ; do
74 grep -v '^[a-zA-Z]' | tr -d ' \n:' > ${_outbase}.pub
78 for x in priv pub curve ; do
95 rm -f pw *.pub *.bn.* *.param.* *.fp *.fp.bb
143 -V 19990101:20110101 -z 1 rsa_1.pub
146 -V 19990101:20110101 -z 2 dsa_1.pub
149 -V 19990101:20110101 -z 3 ecdsa_1.pub
152 -V 19990101:20110101 -z 4 ed25519_1.pub
155 -V 19990101:20110101 -z 5 rsa_1.pub
[all …]
/external/boringssl/src/crypto/x509/
Dx_pubkey.c337 int X509_PUBKEY_set0_param(X509_PUBKEY *pub, const ASN1_OBJECT *aobj, in X509_PUBKEY_set0_param() argument
341 if (!X509_ALGOR_set0(pub->algor, aobj, ptype, pval)) in X509_PUBKEY_set0_param()
344 if (pub->public_key->data) in X509_PUBKEY_set0_param()
345 OPENSSL_free(pub->public_key->data); in X509_PUBKEY_set0_param()
346 pub->public_key->data = penc; in X509_PUBKEY_set0_param()
347 pub->public_key->length = penclen; in X509_PUBKEY_set0_param()
349 pub->public_key->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07); in X509_PUBKEY_set0_param()
350 pub->public_key->flags |= ASN1_STRING_FLAG_BITS_LEFT; in X509_PUBKEY_set0_param()
357 X509_ALGOR **pa, X509_PUBKEY *pub) in X509_PUBKEY_get0_param() argument
360 *ppkalg = pub->algor->algorithm; in X509_PUBKEY_get0_param()
[all …]

12345678910>>...20