Searched refs:entropy (Results 1 - 25 of 102) sorted by relevance

12345

/external/chromium_org/third_party/libjpeg_turbo/
H A Djcphuff.c8 * This file contains Huffman entropy encoding routines for progressive JPEG.
22 /* Expanded entropy encoder object for progressive Huffman encoding. */
108 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
113 entropy->cinfo = cinfo;
114 entropy->gather_statistics = gather_statistics;
123 entropy->pub.encode_mcu = encode_mcu_DC_first;
125 entropy->pub.encode_mcu = encode_mcu_AC_first;
128 entropy->pub.encode_mcu = encode_mcu_DC_refine;
130 entropy
205 dump_buffer(phuff_entropy_ptr entropy) argument
227 emit_bits(phuff_entropy_ptr entropy, unsigned int code, int size) argument
266 flush_bits(phuff_entropy_ptr entropy) argument
279 emit_symbol(phuff_entropy_ptr entropy, int tbl_no, int symbol) argument
295 emit_buffered_bits(phuff_entropy_ptr entropy, char * bufstart, unsigned int nbits) argument
314 emit_eobrun(phuff_entropy_ptr entropy) argument
345 emit_restart(phuff_entropy_ptr entropy, int restart_num) argument
377 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
464 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
571 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
618 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
746 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
767 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
814 phuff_entropy_ptr entropy; local
[all...]
H A Djdarith.c8 * This file contains portable arithmetic entropy decoding routines for JPEG
21 /* Expanded entropy decoder object for arithmetic decoding. */
108 register arith_entropy_ptr e = (arith_entropy_ptr) cinfo->entropy;
192 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
204 MEMZERO(entropy->dc_stats[compptr->dc_tbl_no], DC_STAT_BINS);
206 entropy->last_dc_val[ci] = 0;
207 entropy->dc_context[ci] = 0;
210 MEMZERO(entropy->ac_stats[compptr->ac_tbl_no], AC_STAT_BINS);
215 entropy
243 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
322 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
396 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
429 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
498 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
623 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
732 arith_entropy_ptr entropy; local
[all...]
H A Djdphuff.c8 * This file contains Huffman entropy decoding routines for progressive JPEG.
26 * Expanded entropy decoder object for progressive Huffman decoding.
94 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
151 entropy->pub.decode_mcu = decode_mcu_DC_first;
153 entropy->pub.decode_mcu = decode_mcu_AC_first;
156 entropy->pub.decode_mcu = decode_mcu_DC_refine;
158 entropy->pub.decode_mcu = decode_mcu_AC_refine;
170 & entropy->derived_tbls[tbl]);
175 & entropy
231 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
289 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
360 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
445 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
494 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
644 phuff_entropy_ptr entropy; local
[all...]
H A Djcarith.c8 * This file contains portable arithmetic entropy encoding routines for JPEG
21 /* Expanded entropy encoder object for arithmetic encoding. */
135 arith_entropy_ptr e = (arith_entropy_ptr) cinfo->entropy;
221 register arith_entropy_ptr e = (arith_entropy_ptr) cinfo->entropy;
321 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
335 MEMZERO(entropy->dc_stats[compptr->dc_tbl_no], DC_STAT_BINS);
337 entropy->last_dc_val[ci] = 0;
338 entropy->dc_context[ci] = 0;
342 MEMZERO(entropy
364 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
455 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
554 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
589 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
682 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
824 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
907 arith_entropy_ptr entropy; local
[all...]
H A Djdhuff.c10 * This file contains Huffman entropy decoding routines.
27 * Expanded entropy decoder object for Huffman decoding.
91 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
110 & entropy->dc_derived_tbls[dctbl]);
112 & entropy->ac_derived_tbls[actbl]);
114 entropy->saved.last_dc_val[ci] = 0;
122 entropy->dc_cur_tbls[blkn] = entropy->dc_derived_tbls[compptr->dc_tbl_no];
123 entropy
519 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
553 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
648 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
751 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
795 huff_entropy_ptr entropy; local
[all...]
H A Djchuff.c10 * This file contains Huffman entropy encoding routines.
61 /* Expanded entropy encoder object for Huffman encoding.
146 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
152 entropy->pub.encode_mcu = encode_mcu_gather;
153 entropy->pub.finish_pass = finish_pass_gather;
158 entropy->pub.encode_mcu = encode_mcu_huff;
159 entropy->pub.finish_pass = finish_pass_huff;
176 if (entropy->dc_count_ptrs[dctbl] == NULL)
177 entropy
624 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
681 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
793 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
994 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
1039 huff_entropy_ptr entropy; local
[all...]
/external/jpeg/
H A Djcphuff.c8 * This file contains Huffman entropy encoding routines for progressive JPEG.
22 /* Expanded entropy encoder object for progressive Huffman encoding. */
108 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
113 entropy->cinfo = cinfo;
114 entropy->gather_statistics = gather_statistics;
123 entropy->pub.encode_mcu = encode_mcu_DC_first;
125 entropy->pub.encode_mcu = encode_mcu_AC_first;
128 entropy->pub.encode_mcu = encode_mcu_DC_refine;
130 entropy
205 dump_buffer(phuff_entropy_ptr entropy) argument
228 emit_bits(phuff_entropy_ptr entropy, unsigned int code, int size) argument
267 flush_bits(phuff_entropy_ptr entropy) argument
281 emit_symbol(phuff_entropy_ptr entropy, int tbl_no, int symbol) argument
297 emit_buffered_bits(phuff_entropy_ptr entropy, char * bufstart, unsigned int nbits) argument
316 emit_eobrun(phuff_entropy_ptr entropy) argument
347 emit_restart(phuff_entropy_ptr entropy, int restart_num) argument
379 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
466 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
573 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
620 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
748 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
769 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
816 phuff_entropy_ptr entropy; local
[all...]
H A Djdphuff.c8 * This file contains Huffman entropy decoding routines for progressive JPEG.
26 * Expanded entropy decoder object for progressive Huffman decoding.
93 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
150 entropy->pub.decode_mcu = decode_mcu_DC_first;
152 entropy->pub.decode_mcu = decode_mcu_AC_first;
155 entropy->pub.decode_mcu = decode_mcu_DC_refine;
157 entropy->pub.decode_mcu = decode_mcu_AC_refine;
169 & entropy->derived_tbls[tbl]);
174 & entropy
229 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
287 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
358 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
443 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
492 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
642 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
671 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
685 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
711 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
722 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
742 phuff_entropy_ptr entropy; local
[all...]
H A Djdhuff.c8 * This file contains Huffman entropy decoding routines.
26 * Expanded entropy decoder object for Huffman decoding.
89 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
108 & entropy->dc_derived_tbls[dctbl]);
110 & entropy->ac_derived_tbls[actbl]);
112 entropy->saved.last_dc_val[ci] = 0;
120 entropy->dc_cur_tbls[blkn] = entropy->dc_derived_tbls[compptr->dc_tbl_no];
121 entropy
471 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
509 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
526 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
553 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
569 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
605 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
724 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
803 huff_entropy_ptr entropy; local
879 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
[all...]
H A Djchuff.c8 * This file contains Huffman entropy encoding routines.
23 /* Expanded entropy encoder object for Huffman encoding.
108 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
114 entropy->pub.encode_mcu = encode_mcu_gather;
115 entropy->pub.finish_pass = finish_pass_gather;
120 entropy->pub.encode_mcu = encode_mcu_huff;
121 entropy->pub.finish_pass = finish_pass_huff;
138 if (entropy->dc_count_ptrs[dctbl] == NULL)
139 entropy
478 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
535 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
647 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
848 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
893 huff_entropy_ptr entropy; local
[all...]
/external/pdfium/core/src/fxcodec/libjpeg/
H A Dfpdfapi_jcphuff.c9 * This file contains Huffman entropy encoding routines for progressive JPEG.
23 /* Expanded entropy encoder object for progressive Huffman encoding. */
109 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
114 entropy->cinfo = cinfo;
115 entropy->gather_statistics = gather_statistics;
124 entropy->pub.encode_mcu = encode_mcu_DC_first;
126 entropy->pub.encode_mcu = encode_mcu_AC_first;
129 entropy->pub.encode_mcu = encode_mcu_DC_refine;
131 entropy
206 dump_buffer(phuff_entropy_ptr entropy) argument
229 emit_bits(phuff_entropy_ptr entropy, unsigned int code, int size) argument
268 flush_bits(phuff_entropy_ptr entropy) argument
282 emit_symbol(phuff_entropy_ptr entropy, int tbl_no, int symbol) argument
298 emit_buffered_bits(phuff_entropy_ptr entropy, char * bufstart, unsigned int nbits) argument
317 emit_eobrun(phuff_entropy_ptr entropy) argument
348 emit_restart(phuff_entropy_ptr entropy, int restart_num) argument
380 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
467 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
574 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
621 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
749 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
770 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
817 phuff_entropy_ptr entropy; local
[all...]
H A Dfpdfapi_jdphuff.c9 * This file contains Huffman entropy decoding routines for progressive JPEG.
27 * Expanded entropy decoder object for progressive Huffman decoding.
95 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
152 entropy->pub.decode_mcu = decode_mcu_DC_first;
154 entropy->pub.decode_mcu = decode_mcu_AC_first;
157 entropy->pub.decode_mcu = decode_mcu_DC_refine;
159 entropy->pub.decode_mcu = decode_mcu_AC_refine;
171 & entropy->derived_tbls[tbl]);
176 & entropy
231 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
289 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
360 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
445 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
494 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
644 phuff_entropy_ptr entropy; local
[all...]
H A Dfpdfapi_jdhuff.c9 * This file contains Huffman entropy decoding routines.
28 * Expanded entropy decoder object for Huffman decoding.
92 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
111 & entropy->dc_derived_tbls[dctbl]);
113 & entropy->ac_derived_tbls[actbl]);
115 entropy->saved.last_dc_val[ci] = 0;
123 entropy->dc_cur_tbls[blkn] = entropy->dc_derived_tbls[compptr->dc_tbl_no];
124 entropy
474 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
523 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
641 huff_entropy_ptr entropy; local
[all...]
H A Dfpdfapi_jchuff.c9 * This file contains Huffman entropy encoding routines.
27 /* Expanded entropy encoder object for Huffman encoding.
112 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
118 entropy->pub.encode_mcu = encode_mcu_gather;
119 entropy->pub.finish_pass = finish_pass_gather;
124 entropy->pub.encode_mcu = encode_mcu_huff;
125 entropy->pub.finish_pass = finish_pass_huff;
142 if (entropy->dc_count_ptrs[dctbl] == NULL)
143 entropy
482 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
539 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
651 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
852 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
897 huff_entropy_ptr entropy; local
[all...]
/external/qemu/distrib/jpeg-6b/
H A Djcphuff.c8 * This file contains Huffman entropy encoding routines for progressive JPEG.
22 /* Expanded entropy encoder object for progressive Huffman encoding. */
108 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
113 entropy->cinfo = cinfo;
114 entropy->gather_statistics = gather_statistics;
123 entropy->pub.encode_mcu = encode_mcu_DC_first;
125 entropy->pub.encode_mcu = encode_mcu_AC_first;
128 entropy->pub.encode_mcu = encode_mcu_DC_refine;
130 entropy
205 dump_buffer(phuff_entropy_ptr entropy) argument
228 emit_bits(phuff_entropy_ptr entropy, unsigned int code, int size) argument
267 flush_bits(phuff_entropy_ptr entropy) argument
281 emit_symbol(phuff_entropy_ptr entropy, int tbl_no, int symbol) argument
297 emit_buffered_bits(phuff_entropy_ptr entropy, char * bufstart, unsigned int nbits) argument
316 emit_eobrun(phuff_entropy_ptr entropy) argument
347 emit_restart(phuff_entropy_ptr entropy, int restart_num) argument
379 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
466 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
573 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
620 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
748 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
769 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
816 phuff_entropy_ptr entropy; local
[all...]
H A Djdphuff.c8 * This file contains Huffman entropy decoding routines for progressive JPEG.
26 * Expanded entropy decoder object for progressive Huffman decoding.
97 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
154 entropy->pub.decode_mcu = decode_mcu_DC_first;
156 entropy->pub.decode_mcu = decode_mcu_AC_first;
159 entropy->pub.decode_mcu = decode_mcu_DC_refine;
161 entropy->pub.decode_mcu = decode_mcu_AC_refine;
173 & entropy->derived_tbls[tbl]);
178 & entropy
233 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
291 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
362 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
447 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
496 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
647 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
663 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
692 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
706 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
728 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
748 phuff_entropy_ptr entropy; local
[all...]
H A Djdhuff.c8 * This file contains Huffman entropy decoding routines.
26 * Expanded entropy decoder object for Huffman decoding.
89 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
108 & entropy->dc_derived_tbls[dctbl]);
110 & entropy->ac_derived_tbls[actbl]);
112 entropy->saved.last_dc_val[ci] = 0;
120 entropy->dc_cur_tbls[blkn] = entropy->dc_derived_tbls[compptr->dc_tbl_no];
121 entropy
471 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
509 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
526 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
553 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
569 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
605 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
724 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
803 huff_entropy_ptr entropy; local
879 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
[all...]
H A Djchuff.c8 * This file contains Huffman entropy encoding routines.
23 /* Expanded entropy encoder object for Huffman encoding.
108 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
114 entropy->pub.encode_mcu = encode_mcu_gather;
115 entropy->pub.finish_pass = finish_pass_gather;
120 entropy->pub.encode_mcu = encode_mcu_huff;
121 entropy->pub.finish_pass = finish_pass_huff;
138 if (entropy->dc_count_ptrs[dctbl] == NULL)
139 entropy
478 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
535 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
647 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
848 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
893 huff_entropy_ptr entropy; local
[all...]
/external/libcxx/test/numerics/rand/rand.device/
H A Dentropy.pass.cpp14 // double entropy() const;
22 double e = r.entropy();
H A DAndroid.mk23 test_name := numerics/rand/rand.device/entropy
24 test_src := entropy.pass.cpp
/external/chromium_org/third_party/boringssl/src/crypto/rand/
H A Drand.c24 void RAND_add(const void *buf, int num, double entropy) {} argument
/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Drand.h43 OPENSSL_EXPORT void RAND_add(const void *buf, int num, double entropy);
/external/chromium_org/net/quic/
H A Dquic_sent_entropy_manager.h5 // Manages the packet entropy calculation for both sent and received packets
23 // Records all sent packets by a connection to track the cumulative entropy of
36 // Retrieves the cumulative entropy up to |sequence_number|.
41 // Returns true if |entropy_hash| matches the expected sent entropy hash
57 CumulativeEntropy() : sequence_number(0), entropy(0) {}
60 QuicPacketEntropyHash entropy; member in struct:net::QuicSentEntropyManager::CumulativeEntropy
66 // Convenience method to get the entropy hash for |sequence_number|.
70 // Update the cumulative entropy to |sequence_number|.
74 // Maps sequence numbers to the sent entropy hash for the sequence number.
78 // Cache the cumulative entropy fo
[all...]
H A Dquic_sent_entropy_manager.cc40 cumulative->entropy ^= GetPacketEntropy(cumulative->sequence_number);
49 // Every packet's entropy is recorded, even if it's not sent, so there
55 << " with entropy hash: " << static_cast<int>(entropy_hash);
62 // First the entropy for largest_observed sequence number should be updated.
64 return last_cumulative_entropy_.entropy;
80 // First the entropy for largest_observed sequence number should be updated.
84 QuicPacketEntropyHash expected_entropy_hash = last_valid_entropy_.entropy;
90 << "Invalid entropy hash: " << static_cast<int>(entropy_hash)
91 << " expected entropy hash: " << static_cast<int>(expected_entropy_hash);
97 // Don't discard entropy befor
[all...]
/external/openssl/crypto/rand/
H A Dmd_rand.c143 static double entropy=0; variable
188 entropy=0;
317 * much entropy as fits into md. */
322 if (entropy < ENTROPY_NEEDED) /* stop counting when we have enough */
323 entropy += add;
403 ok = (entropy >= ENTROPY_NEEDED);
408 * state; thus we have to decrease the entropy estimate.
410 * adjust the entropy count, though, because we're not ambitious
414 * we have enough entropy. Entropy should be collected
416 * output pool only when the entropy limi
[all...]

Completed in 487 milliseconds

12345