Searched defs:entropy (Results 1 - 23 of 23) sorted by relevance

/external/boringssl/src/crypto/rand/
H A Drand.c27 * entropy which is accessed via |CRYPTO_sysrand|. (If the operating system
28 * entropy source fails, it's up to |CRYPTO_sysrand| to abort the process—we
35 * the hardware entropy in.
37 * (We assume that the OS entropy is safe from fork()ing and VM duplication.
83 * entropy is used directly. */
164 void RAND_add(const void *buf, int num, double entropy) {} argument
/external/libopus/celt/tests/
H A Dtest_unit_entropy.c57 double entropy; local
68 entropy=0;
85 entropy+=log(ft)*M_LOG2E;
92 entropy+=ftb;
106 "Encoded %0.2lf bits of entropy to %0.2lf bits (%0.3lf%% wasted).\n",
107 entropy,ldexp(nbits,-3),100*(nbits-ldexp(entropy,3))/nbits);
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_pax_common.c22 * @entropy: Exchanged entropy to seed the KDF (Z)
23 * @entropy_len: Length of the entropy in bytes
32 const u8 *entropy, size_t entropy_len,
51 addr[1] = entropy;
30 eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, const char *identifier, const u8 *entropy, size_t entropy_len, size_t output_len, u8 *output) argument
/external/wpa_supplicant_8/src/eap_common/
H A Deap_pax_common.c22 * @entropy: Exchanged entropy to seed the KDF (Z)
23 * @entropy_len: Length of the entropy in bytes
32 const u8 *entropy, size_t entropy_len,
51 addr[1] = entropy;
30 eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, const char *identifier, const u8 *entropy, size_t entropy_len, size_t output_len, u8 *output) argument
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Deap_pax_common.c22 * @entropy: Exchanged entropy to seed the KDF (Z)
23 * @entropy_len: Length of the entropy in bytes
32 const u8 *entropy, size_t entropy_len,
51 addr[1] = entropy;
30 eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, const char *identifier, const u8 *entropy, size_t entropy_len, size_t output_len, u8 *output) argument
/external/jpeg/
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 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...]
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 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 Djpeglib.h129 int dc_tbl_no; /* DC entropy table selector (0..3) */
130 int ac_tbl_no; /* AC entropy table selector (0..3) */
326 boolean optimize_coding; /* TRUE=optimize entropy encoding parms */
407 struct jpeg_entropy_encoder * entropy; member in struct:jpeg_compress_struct
618 /* This field is shared between entropy decoder and marker parser.
633 struct jpeg_entropy_decoder * entropy; member in struct:jpeg_decompress_struct
650 // save the decoder current bit buffer, entropy->bitstate.get_buffer.
/external/pdfium/core/src/fxcodec/libjpeg/
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_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_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...]
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 Djpeglib.h196 int dc_tbl_no; /* DC entropy table selector (0..3) */
197 int ac_tbl_no; /* AC entropy table selector (0..3) */
389 boolean optimize_coding; /* TRUE=optimize entropy encoding parms */
470 struct jpeg_entropy_encoder * entropy; member in struct:jpeg_compress_struct
677 /* This field is shared between entropy decoder and marker parser.
692 struct jpeg_entropy_decoder * entropy; member in struct:jpeg_decompress_struct
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Drandom.c8 * This random number generator is used to provide additional entropy to the
60 static unsigned int entropy = 0; variable
132 if (entropy > MIN_COLLECT_ENTROPY && (count & 0x3ff) != 0) {
134 * No need to add more entropy at this point, so save CPU and
139 wpa_printf(MSG_EXCESSIVE, "Add randomness: count=%u entropy=%u",
140 count, entropy);
149 entropy++;
160 wpa_printf(MSG_MSGDUMP, "Get randomness: len=%u entropy=%u",
161 (unsigned int) len, entropy);
168 /* Mix in additional entropy extracte
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Drandom.c8 * This random number generator is used to provide additional entropy to the
60 static unsigned int entropy = 0; variable
132 if (entropy > MIN_COLLECT_ENTROPY && (count & 0x3ff) != 0) {
134 * No need to add more entropy at this point, so save CPU and
139 wpa_printf(MSG_EXCESSIVE, "Add randomness: count=%u entropy=%u",
140 count, entropy);
149 entropy++;
160 wpa_printf(MSG_MSGDUMP, "Get randomness: len=%u entropy=%u",
161 (unsigned int) len, entropy);
168 /* Mix in additional entropy extracte
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Drandom.c8 * This random number generator is used to provide additional entropy to the
60 static unsigned int entropy = 0; variable
132 if (entropy > MIN_COLLECT_ENTROPY && (count & 0x3ff) != 0) {
134 * No need to add more entropy at this point, so save CPU and
139 wpa_printf(MSG_EXCESSIVE, "Add randomness: count=%u entropy=%u",
140 count, entropy);
149 entropy++;
160 wpa_printf(MSG_MSGDUMP, "Get randomness: len=%u entropy=%u",
161 (unsigned int) len, entropy);
168 /* Mix in additional entropy extracte
[all...]
/external/webp/src/enc/
H A Dbackward_references.c239 // For lower entropy images, the rigorous search loop in HashChainFindCopy
879 // Returns entropy for the given cache bits.
888 double entropy = MAX_ENTROPY; local
926 entropy = VP8LHistogramEstimateBits(histo) +
931 return entropy;
952 // Do a binary search to find the optimal entropy for cache_bits.
/external/pdfium/core/include/thirdparties/libjpeg/
H A Djpeglib.h196 int dc_tbl_no; /* DC entropy table selector (0..3) */
197 int ac_tbl_no; /* AC entropy table selector (0..3) */
389 boolean optimize_coding; /* TRUE=optimize entropy encoding parms */
470 struct jpeg_entropy_encoder * entropy; member in struct:jpeg_compress_struct
677 /* This field is shared between entropy decoder and marker parser.
692 struct jpeg_entropy_decoder * entropy; member in struct:jpeg_decompress_struct
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.security_1.0.200.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 1089 milliseconds