HomeSort by relevance Sort by last modified time
    Searched refs:entropy (Results 1 - 25 of 173) sorted by null

1 2 3 4 5 6 7

  /external/libjpeg-turbo/
jcphuff.c 10 * This file contains Huffman entropy encoding routines for progressive JPEG.
24 /* Expanded entropy encoder object for progressive Huffman encoding. */
110 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
115 entropy->cinfo = cinfo;
116 entropy->gather_statistics = gather_statistics;
125 entropy->pub.encode_mcu = encode_mcu_DC_first;
127 entropy->pub.encode_mcu = encode_mcu_AC_first;
130 entropy->pub.encode_mcu = encode_mcu_DC_refine;
132 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...]
jdarith.c 10 * This file contains portable arithmetic entropy decoding routines for JPEG
23 /* Expanded entropy decoder object for arithmetic decoding. */
110 register arith_entropy_ptr e = (arith_entropy_ptr) cinfo->entropy;
194 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
206 MEMZERO(entropy->dc_stats[compptr->dc_tbl_no], DC_STAT_BINS);
208 entropy->last_dc_val[ci] = 0;
209 entropy->dc_context[ci] = 0;
212 MEMZERO(entropy->ac_stats[compptr->ac_tbl_no], AC_STAT_BINS);
217 entropy->c = 0
245 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
324 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
398 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
431 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
500 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
627 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
736 arith_entropy_ptr entropy; local
    [all...]
jdphuff.c 10 * This file contains Huffman entropy decoding routines for progressive JPEG.
28 * Expanded entropy decoder object for progressive Huffman decoding.
96 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;
172 pdtbl = entropy->derived_tbls + tbl;
177 pdtbl = entropy->derived_tbls + tbl
235 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
293 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
364 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
449 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
498 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
648 phuff_entropy_ptr entropy; local
    [all...]
jcarith.c 10 * This file contains portable arithmetic entropy encoding routines for JPEG
23 /* Expanded entropy encoder object for arithmetic encoding. */
137 arith_entropy_ptr e = (arith_entropy_ptr) cinfo->entropy;
223 register arith_entropy_ptr e = (arith_entropy_ptr) cinfo->entropy;
323 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
337 MEMZERO(entropy->dc_stats[compptr->dc_tbl_no], DC_STAT_BINS);
339 entropy->last_dc_val[ci] = 0;
340 entropy->dc_context[ci] = 0;
344 MEMZERO(entropy->ac_stats[compptr->ac_tbl_no], AC_STAT_BINS)
366 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
457 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
556 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
591 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
684 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
826 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
909 arith_entropy_ptr entropy; local
    [all...]
jdhuff.c 10 * 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 pdtbl = entropy->dc_derived_tbls + dctbl;
113 pdtbl = entropy->ac_derived_tbls + actbl;
116 entropy->saved.last_dc_val[ci] = 0;
124 entropy->dc_cur_tbls[blkn] = entropy->dc_derived_tbls[compptr->dc_tbl_no];
125 entropy->ac_cur_tbls[blkn] = entropy->ac_derived_tbls[compptr->ac_tbl_no]
522 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
556 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
653 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
757 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
801 huff_entropy_ptr entropy; local
    [all...]
jchuff.c 10 * This file contains Huffman entropy encoding routines.
60 /* Expanded entropy encoder object for Huffman encoding.
144 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
150 entropy->pub.encode_mcu = encode_mcu_gather;
151 entropy->pub.finish_pass = finish_pass_gather;
156 entropy->pub.encode_mcu = encode_mcu_huff;
157 entropy->pub.finish_pass = finish_pass_huff;
174 if (entropy->dc_count_ptrs[dctbl] == NULL)
175 entropy->dc_count_ptrs[dctbl] = (long *
622 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
679 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
791 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
992 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
1037 huff_entropy_ptr entropy; local
    [all...]
  /external/pdfium/third_party/libjpeg/
fpdfapi_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...]
fpdfapi_jdphuff.c 8 * 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->derived_tbls[tbl])
230 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
288 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
359 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
444 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
493 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy; local
643 phuff_entropy_ptr entropy; local
    [all...]
fpdfapi_jdhuff.c 8 * 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->ac_cur_tbls[blkn] = entropy->ac_derived_tbls[compptr->ac_tbl_no]
473 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
522 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
640 huff_entropy_ptr entropy; local
    [all...]
fpdfapi_jchuff.c 8 * This file contains Huffman entropy encoding routines.
26 /* Expanded entropy encoder object for Huffman encoding.
111 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
117 entropy->pub.encode_mcu = encode_mcu_gather;
118 entropy->pub.finish_pass = finish_pass_gather;
123 entropy->pub.encode_mcu = encode_mcu_huff;
124 entropy->pub.finish_pass = finish_pass_huff;
141 if (entropy->dc_count_ptrs[dctbl] == NULL)
142 entropy->dc_count_ptrs[dctbl] = (long *
481 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
538 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
650 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
851 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
896 huff_entropy_ptr entropy; local
    [all...]
  /external/libcxx/test/std/numerics/rand/rand.device/
entropy.pass.cpp 14 // double entropy() const;
22 double e = r.entropy();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.device/
entropy.pass.cpp 14 // double entropy() const;
22 double e = r.entropy();
  /external/opencv3/3rdparty/libjpeg/
jchuff.c 9 * This file contains Huffman entropy encoding routines.
49 /* Expanded entropy encoder object for Huffman encoding.
251 * that is, entropy->gather_statistics == FALSE.
262 #define emit_byte_e(entropy,val) \
263 { *(entropy)->next_output_byte++ = (JOCTET) (val); \
264 if (--(entropy)->free_in_buffer == 0) \
265 dump_buffer_e(entropy); }
284 dump_buffer_e (huff_entropy_ptr entropy)
287 struct jpeg_destination_mgr * dest = entropy->cinfo->dest;
289 if (! (*dest->empty_output_buffer) (entropy->cinfo)
543 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
630 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
741 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
788 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
1018 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
1075 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
1199 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
1399 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
1453 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
1559 huff_entropy_ptr entropy; local
    [all...]
jdarith.c 8 * 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;
211 MEMZERO(entropy->ac_stats[compptr->ac_tbl_no], AC_STAT_BINS);
216 entropy->c = 0
244 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
323 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
403 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
436 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
511 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
643 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
753 arith_entropy_ptr entropy; local
    [all...]
jcarith.c 8 * 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->ac_stats[compptr->ac_tbl_no], AC_STAT_BINS)
364 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
455 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
560 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
595 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
694 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
842 arith_entropy_ptr entropy = (arith_entropy_ptr) cinfo->entropy; local
925 arith_entropy_ptr entropy; local
    [all...]
jdhuff.c 9 * This file contains Huffman entropy decoding routines.
192 * Expanded entropy decoder object for Huffman decoding.
545 if (! ((huff_entropy_ptr) cinfo->entropy)->insufficient_data) {
547 ((huff_entropy_ptr) cinfo->entropy)->insufficient_data = TRUE;
638 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
643 cinfo->marker->discarded_bytes += entropy->bitstate.bits_left / 8;
644 entropy->bitstate.bits_left = 0;
652 entropy->saved.last_dc_val[ci] = 0;
654 entropy->saved.EOBRUN = 0
697 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
768 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
856 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
905 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
1062 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
1190 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
1313 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; local
1512 huff_entropy_ptr entropy; local
    [all...]
  /external/tpm2/
Entropy.c 16 // This is the last 32-bits of hardware entropy produced. We have to check to see that two consecutive 32-
29 // This function is used to get available hardware entropy. In a hardware implementation of this function,
30 // there would be no call to the system to get entropy. If the caller does not ask for any entropy, then this is
35 // <0 hardware failure of the entropy generator, this is sticky
36 // >= 0 the returned amount of entropy (bytes)
40 unsigned char *entropy, // output buffer
51 // Only provide entropy 32 bits at a time to test the ability
60 memcpy(entropy, &rndNum, amount);
CpriRNG.c 25 // This function is called to initialize the random number generator. It collects entropy from the platform to
32 BYTE entropy[MAX_RNG_ENTROPY_SIZE]; local
34 // Initialize the entropy source
37 // Collect entropy until we have enough
42 returnedSize = _plat__GetEntropy(&entropy[entropySize],
45 // Got some entropy on the last call and did not get an error
48 // Seed OpenSSL with entropy
49 RAND_seed(entropy, entropySize);
84 // This function is called to add external entropy to the OpenSSL() random number generator.
89 BYTE *entropy
    [all...]
  /system/security/keystore/
user_state.h 28 #include "entropy.h"
50 ResponseCode initialize(const android::String8& pw, Entropy* entropy);
54 ResponseCode writeMasterKey(const android::String8& pw, Entropy* entropy);
55 ResponseCode readMasterKey(const android::String8& pw, Entropy* entropy);
71 bool generateSalt(Entropy* entropy);
72 bool generateMasterKey(Entropy* entropy)
    [all...]
user_state.cpp 79 ResponseCode UserState::initialize(const android::String8& pw, Entropy* entropy) {
80 if (!generateMasterKey(entropy)) {
83 ResponseCode response = writeMasterKey(pw, entropy);
133 ResponseCode UserState::writeMasterKey(const android::String8& pw, Entropy* entropy) {
139 return masterKeyBlob.writeBlob(mMasterKeyFile, &passwordAesKey, STATE_NO_ERROR, entropy);
142 ResponseCode UserState::readMasterKey(const android::String8& pw, Entropy* entropy) {
174 if (!generateSalt(entropy)) {
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
AslrTest.java 76 double entropy = Math.log(addresses.size()) / Math.log(2); local
78 Log.i(TAG, String.format("%.1f", entropy) +
79 " bits of entropy for " + mappingName);
81 return (int) Math.round(entropy);
90 int entropy = calculateEntropyBits(mappingName); local
93 entropy + " bits, >= " + aslrMinEntropyBits + " required)",
94 entropy >= aslrMinEntropyBits);
  /external/boringssl/src/include/openssl/
rand.h 46 * |RAND_set_urandom_fd| does not buffer any entropy, so it is safe to call
82 OPENSSL_EXPORT void RAND_add(const void *buf, int num, double entropy);
100 void (*add) (const void *buf, int num, double entropy);
  /external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
security.py 39 def generate_random_string(length=None, entropy=None, pool=ALPHANUMERIC):
44 Entropy is:
50 - H is the entropy in bits.
54 Entropy chart::
57 Symbol set Symbol Count (N) Entropy per symbol (H)
72 The length of the random sequence. Use this or `entropy`, not both.
73 :param entropy:
74 Desired entropy in bits. Use this or `length`, not both.
75 Use this to generate passwords based on entropy:
85 if length and entropy
    [all...]
  /external/ImageMagick/MagickCore/
random.c 178 *entropy,
217 entropy=GenerateEntropicChaos(random_info);
218 if (entropy == (StringInfo *) NULL)
220 UpdateSignature(random_info->signature_info,entropy);
224 entropy=DestroyStringInfo(entropy);
365 *entropy;
377 entropy=AcquireStringInfo(0);
380 SetStringInfoDatum(chaos,(unsigned char *) &entropy);
381 ConcatenateStringInfo(entropy,chaos)
172 *entropy, local
357 *entropy; local
    [all...]
  /cts/tests/aslr/src/
AslrMallocTest.cpp 39 /* minimum entropy for malloc return addresses */
127 size_t entropy = static_cast<size_t>(0.5 + local
130 ALOGV("%zu bits of entropy for allocation size %zu (minimum %zu)",
131 entropy, size, minEntropyBits);
132 ALOGE_IF(entropy < minEntropyBits,
133 "insufficient entropy for malloc(%zu)", size);
134 ASSERT_TRUE(entropy >= minEntropyBits);

Completed in 1741 milliseconds

1 2 3 4 5 6 7