/external/jpeg/ |
jcphuff.c | 8 * 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->pub.encode_mcu = encode_mcu_AC_refine 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...] |
jdphuff.c | 8 * 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->derived_tbls[tbl]) 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 643 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 659 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 688 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 702 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 724 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local 744 phuff_entropy_ptr entropy; local [all...] |
jdhuff.c | 8 * 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->ac_cur_tbls[blkn] = entropy->ac_derived_tbls[compptr->ac_tbl_no] 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...] |
jchuff.c | 8 * 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->dc_count_ptrs[dctbl] = (long * 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/qemu/distrib/jpeg-6b/ |
jcphuff.c | 8 * 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->pub.encode_mcu = encode_mcu_AC_refine 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...] |
jdphuff.c | 8 * 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->derived_tbls[tbl]) 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...] |
jdhuff.c | 8 * 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->ac_cur_tbls[blkn] = entropy->ac_derived_tbls[compptr->ac_tbl_no] 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...] |
jchuff.c | 8 * 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->dc_count_ptrs[dctbl] = (long * 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...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
random.h | 14 /* Get the entropy count. */ 17 /* Add to (or subtract from) the entropy count. (Superuser only.) */ 20 /* Get the contents of the entropy pool. (Superuser only.) */ 24 * Write bytes into the entropy pool and add to the entropy count. 29 /* Clear entropy count to 0. (Superuser only.) */ 32 /* Clear the entropy pool and associated counters. (Superuser only.) */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
random.h | 14 /* Get the entropy count. */ 17 /* Add to (or subtract from) the entropy count. (Superuser only.) */ 20 /* Get the contents of the entropy pool. (Superuser only.) */ 24 * Write bytes into the entropy pool and add to the entropy count. 29 /* Clear entropy count to 0. (Superuser only.) */ 32 /* Clear the entropy pool and associated counters. (Superuser only.) */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
random.h | 14 /* Get the entropy count. */ 17 /* Add to (or subtract from) the entropy count. (Superuser only.) */ 20 /* Get the contents of the entropy pool. (Superuser only.) */ 24 * Write bytes into the entropy pool and add to the entropy count. 29 /* Clear entropy count to 0. (Superuser only.) */ 32 /* Clear the entropy pool and associated counters. (Superuser only.) */
|
/external/openssh/contrib/hpux/ |
egd | 1 # EGD_START: Set to 1 to start entropy gathering daemon 14 EGD_ARGS='/etc/opt/egd/entropy'
|
/external/kernel-headers/original/linux/ |
random.h | 14 /* Get the entropy count. */ 17 /* Add to (or subtract from) the entropy count. (Superuser only.) */ 20 /* Get the contents of the entropy pool. (Superuser only.) */ 24 * Write bytes into the entropy pool and add to the entropy count. 29 /* Clear entropy count to 0. (Superuser only.) */ 32 /* Clear the entropy pool and associated counters. (Superuser only.) */
|
/external/chromium_org/net/quic/ |
quic_received_packet_manager.h | 5 // Manages the packet entropy calculation for both sent and received packets 20 // Records all received packets by a connection and tracks their entropy. 21 // Also calculates the correct entropy for the framer when it truncates an ack 42 // the received entropy hash for the truncated ack frame. 71 // Record the received entropy hash against |sequence_number|. 75 // Recalculate the entropy hash and clears old packet entropies, 89 // Map of received sequence numbers to their corresponding entropy. 90 // Every received packet has an entry, and packets without the entropy bit set 91 // have an entropy value of 0. 92 // TODO(ianswett): When the entropy flag is off, the entropy should not be 0 [all...] |
quic_sent_entropy_manager.h | 5 // Manages the packet entropy calculation for both sent and received packets 17 // Records all sent packets by a connection to track the cumulative entropy of 33 // Returns true if |entropy_hash| matches the expected sent entropy hash 52 // Linked hash map from sequence numbers to the sent entropy hash up to the 56 // Cumulative hash of entropy of all sent packets.
|
quic_sent_entropy_manager.cc | 30 DVLOG(2) << "setting cumulative sent entropy hash to: " 33 << " entropy hash: " << static_cast<int>(entropy_hash); 67 << "Invalid entropy hash: " << static_cast<int>(entropy_hash) 68 << " expected entropy hash: " << static_cast<int>(expected_entropy_hash); 83 DVLOG(2) << "Cleared entropy before: "
|
/external/chromium_org/chrome/common/metrics/ |
entropy_provider.h | 41 // SHA1EntropyProvider is an entropy provider suitable for high entropy 43 // entropy source concatenated with the trial name and using that for the 44 // final entropy value. 48 // should contain a large amount of entropy - for example, a textual 63 // PermutedEntropyProvider is an entropy provider suitable for low entropy 65 // permutation of a mapping array from an initial entropy value to a new value. 67 // in the entropy source.
|
caching_permuted_entropy_provider_unittest.cc | 15 // Size of the low entropy source to use for the permuted entropy provider
|
/external/dropbear/libtomcrypt/notes/ |
tech0001.txt | 2 How to Gather Entropy on Embedded Systems 8 This tech note explains a relatively simple way to gather entropy for a PRNG (Yarrow in this case) in embedded systems 9 where there are few sources of entropy or physical sources. 11 When trying to setup a secure random number generator a fresh source of random data (entropy) is required to ensure the 29 At this point the PRNG is ready to accept fresh entropy which is added with 33 This function is **NOT** thread safe which will come under consideration later. To add entropy to our PRNG we must 49 In this snippet the timer count and state of the joypad are added together into the entropy pool. The timer is important 50 because with respect to the joypad it is a good source of entropy (on its own its not). For example, the probability of 53 This method doesn't gather alot of entropy and has to be used to for quite a while. One way to speed it up is to tap 59 simply not add entropy during the call (jump over the yarrow_add_entropy() call [all...] |
/external/wpa_supplicant_8/src/crypto/ |
random.c | 8 * 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 extracted from the internal pool * [all...] |
/external/chromium_org/chrome/common/metrics/proto/ |
permuted_entropy_cache.proto | 11 // Represents a cache of permuted entropy mappings, where each entry maps from
|
/frameworks/base/services/java/com/android/server/ |
EntropyMixer.java | 41 * <p>When a Linux system starts up, the entropy pool associated with 45 * this effect, it's helpful to carry the entropy pool information across 63 * Handler that periodically updates the entropy on disk. 85 this(context, getSystemDir() + "/entropy.dat", "/dev/urandom"); 114 Slog.w(TAG, "No existing entropy file -- first boot?"); 116 Slog.w(TAG, "Failure loading existing entropy file", e); 122 Slog.i(TAG, "Writing entropy..."); 125 Slog.w(TAG, "Unable to write entropy", e); 130 * Add additional information to the kernel entropy pool. The 133 * because, while it doesn't increase the "quality" of the entropy pool [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/ |
EntropyComputeUtil.java | 16 * Computes the entropy value ? (delta) for a given terrain block and 49 float entropy = 0; local 64 entropy = Math.max(delta, entropy); 72 return entropy;
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
entropy.c | 23 static PyObject* entropy(PyObject *self, PyObject *args) function 104 static PyObject* entropy(PyObject *self, PyObject *args) function 123 "No entropy source found"); 149 static PyObject* entropy(PyObject *self, PyObject *args) function 163 {"entropy", (PyCFunction)entropy, METH_VARARGS, "Return a string of random bytes produced by a platform-specific\nentropy source."}, 172 Py_InitModule("entropy", entropy_functions);
|
/external/chromium_org/net/quic/crypto/ |
quic_random.h | 33 // Reseeds the random number generator with additional entropy input. 35 // itself with enough entropy input.
|