/external/puffin/src/ |
D | huffman_table.cc | 52 bool HuffmanTable::InitHuffmanCodes(const Buffer& lens, size_t* max_bits) { in InitHuffmanCodes() argument 58 for (auto len : lens) { in InitHuffmanCodes() 87 for (size_t idx = 0; idx < lens.size(); idx++) { in InitHuffmanCodes() 88 auto len = lens[idx]; in InitHuffmanCodes() 109 bool HuffmanTable::BuildHuffmanCodes(const Buffer& lens, in BuildHuffmanCodes() argument 112 TEST_AND_RETURN_FALSE(InitHuffmanCodes(lens, max_bits)); in BuildHuffmanCodes() 116 [&lens](const CodeIndexPair& a, const CodeIndexPair& b) { in BuildHuffmanCodes() 117 return lens[a.index] > lens[b.index]; in BuildHuffmanCodes() 126 auto fill_bits = *max_bits - lens[cip.index]; in BuildHuffmanCodes() 128 auto location = (idx << lens[cip.index]) | cip.code; in BuildHuffmanCodes() [all …]
|
D | huffman_table.h | 209 bool InitHuffmanCodes(const Buffer& lens, size_t* max_bits); 215 bool BuildHuffmanCodes(const Buffer& lens, 223 bool BuildHuffmanReverseCodes(const Buffer& lens, 245 Buffer* lens, 263 Buffer* lens,
|
/external/zlib/src/contrib/infback9/ |
D | infback9.c | 63 while (sym < 144) state.lens[sym++] = 8; in makefixed9() 64 while (sym < 256) state.lens[sym++] = 9; in makefixed9() 65 while (sym < 280) state.lens[sym++] = 7; in makefixed9() 66 while (sym < 288) state.lens[sym++] = 8; in makefixed9() 70 inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work); in makefixed9() 74 while (sym < 32) state.lens[sym++] = 5; in makefixed9() 77 inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work); in makefixed9() 364 state->lens[order[state->have++]] = (unsigned short)BITS(3); 368 state->lens[order[state->have++]] = 0; 372 ret = inflate_table9(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftree9.c | 32 int inflate_table9(type, lens, codes, table, bits, work) in inflate_table9() argument 34 unsigned short FAR *lens; 112 count[lens[sym]]++; 141 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 249 len = lens[work[sym]];
|
/external/zlib/src/ |
D | infback.c | 97 while (sym < 144) state->lens[sym++] = 8; 98 while (sym < 256) state->lens[sym++] = 9; 99 while (sym < 280) state->lens[sym++] = 7; 100 while (sym < 288) state->lens[sym++] = 8; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 108 while (sym < 32) state->lens[sym++] = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 380 state->lens[order[state->have++]] = (unsigned short)BITS(3); 384 state->lens[order[state->have++]] = 0; 388 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftrees.c | 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument 34 unsigned short FAR *lens; 110 count[lens[sym]]++; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 254 len = lens[work[sym]];
|
D | inflate.c | 293 while (sym < 144) state->lens[sym++] = 8; 294 while (sym < 256) state->lens[sym++] = 9; 295 while (sym < 280) state->lens[sym++] = 7; 296 while (sym < 288) state->lens[sym++] = 8; 300 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 304 while (sym < 32) state->lens[sym++] = 5; 307 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 941 state->lens[order[state->have++]] = (unsigned short)BITS(3); 945 state->lens[order[state->have++]] = 0; 949 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
/external/python/cpython3/Modules/zlib/ |
D | infback.c | 97 while (sym < 144) state->lens[sym++] = 8; 98 while (sym < 256) state->lens[sym++] = 9; 99 while (sym < 280) state->lens[sym++] = 7; 100 while (sym < 288) state->lens[sym++] = 8; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 108 while (sym < 32) state->lens[sym++] = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 380 state->lens[order[state->have++]] = (unsigned short)BITS(3); 384 state->lens[order[state->have++]] = 0; 388 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftrees.c | 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument 34 unsigned short FAR *lens; 110 count[lens[sym]]++; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 254 len = lens[work[sym]];
|
D | inflate.c | 293 while (sym < 144) state->lens[sym++] = 8; 294 while (sym < 256) state->lens[sym++] = 9; 295 while (sym < 280) state->lens[sym++] = 7; 296 while (sym < 288) state->lens[sym++] = 8; 300 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 304 while (sym < 32) state->lens[sym++] = 5; 307 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 941 state->lens[order[state->have++]] = (unsigned short)BITS(3); 945 state->lens[order[state->have++]] = 0; 949 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
/external/python/cpython2/Modules/zlib/ |
D | infback.c | 97 while (sym < 144) state->lens[sym++] = 8; 98 while (sym < 256) state->lens[sym++] = 9; 99 while (sym < 280) state->lens[sym++] = 7; 100 while (sym < 288) state->lens[sym++] = 8; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 108 while (sym < 32) state->lens[sym++] = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 380 state->lens[order[state->have++]] = (unsigned short)BITS(3); 384 state->lens[order[state->have++]] = 0; 388 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftrees.c | 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument 34 unsigned short FAR *lens; 110 count[lens[sym]]++; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 256 len = lens[work[sym]];
|
D | inflate.c | 276 while (sym < 144) state->lens[sym++] = 8; 277 while (sym < 256) state->lens[sym++] = 9; 278 while (sym < 280) state->lens[sym++] = 7; 279 while (sym < 288) state->lens[sym++] = 8; 283 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 287 while (sym < 32) state->lens[sym++] = 5; 290 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 918 state->lens[order[state->have++]] = (unsigned short)BITS(3); 922 state->lens[order[state->have++]] = 0; 926 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
/external/syslinux/com32/lib/zlib/ |
D | infback.c | 88 while (sym < 144) state->lens[sym++] = 8; 89 while (sym < 256) state->lens[sym++] = 9; 90 while (sym < 280) state->lens[sym++] = 7; 91 while (sym < 288) state->lens[sym++] = 8; 95 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 99 while (sym < 32) state->lens[sym++] = 5; 102 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 371 state->lens[order[state->have++]] = (unsigned short)BITS(3); 375 state->lens[order[state->have++]] = 0; 379 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftrees.c | 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument 34 unsigned short FAR *lens; 110 count[lens[sym]]++; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 256 len = lens[work[sym]];
|
D | inflate.c | 255 while (sym < 144) state->lens[sym++] = 8; 256 while (sym < 256) state->lens[sym++] = 9; 257 while (sym < 280) state->lens[sym++] = 7; 258 while (sym < 288) state->lens[sym++] = 8; 262 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 266 while (sym < 32) state->lens[sym++] = 5; 269 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 902 state->lens[order[state->have++]] = (unsigned short)BITS(3); 906 state->lens[order[state->have++]] = 0; 910 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
/external/valgrind/none/tests/x86/ |
D | bug152818-x86.c | 79 const int lens[] = { 4, 3, 2, 1, 0, 0, 1, 2, 3, 4}; variable 91 for (idx = 0; idx < sizeof (lens)/sizeof(lens[0]); ++idx) in main() 130 len = lens[idx]; in main() 131 df = (idx >= (sizeof(lens)/sizeof(lens[0]))/2); in main()
|
/external/icu/icu4c/source/samples/cal/ |
D | cal.c | 429 int32_t lens [DAY_COUNT]; in print_month() local 457 lens[i] = u_strlen(days[i]); in print_month() 458 width += lens[i]; in print_month() 496 indent(lens[i] + 1, stdout); in print_month() 506 pad = lens[current] - u_strlen(s); in print_month() 547 int32_t lens [DAY_COUNT]; in print_year() local 580 lens[i] = u_strlen(days[i]); in print_year() 581 width += lens[i]; in print_year() 670 indent(lens[j] + 1, stdout); in print_year() 677 pad = lens[left_current] - u_strlen(s); in print_year() [all …]
|
/external/e2fsprogs/lib/blkid/ |
D | devname.c | 405 int lens[2] = { 0, 0 }; in probe_all() local 453 lens[which] = strlen(ptname); in probe_all() 456 if (isdigit(ptname[lens[which] - 1])) { in probe_all() 464 lens[which] = 0; /* mark as checked */ in probe_all() 472 if (lens[last] && !strncmp(ptnames[last], ptname, lens[last])) { in probe_all() 488 lens[last] = 0; in probe_all() 495 if (lens[last] && strncmp(ptnames[last], ptname, lens[last])) { in probe_all() 501 lens[last] = 0; in probe_all() 506 if (lens[which]) in probe_all()
|
/external/bsdiff/ |
D | bsdiff.cc | 73 ssize_t overlap,Ss,lens; in bsdiff() local 160 s=0;Ss=0;lens=0; in bsdiff() 166 if(s>Ss) { Ss=s; lens=i+1; }; in bsdiff() 169 lenf+=lens-overlap; in bsdiff() 170 lenb-=lens; in bsdiff()
|
/external/swiftshader/third_party/LLVM/test/CodeGen/PowerPC/ |
D | 2006-07-07-ComputeMaskedBits.ll | 3 @lens = external global i8* ; <i8**> [#uses=1] 7 %tmp = load i8** @lens ; <i8*> [#uses=1]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | 2006-07-07-ComputeMaskedBits.ll | 3 @lens = external global i8* ; <i8**> [#uses=1] 7 %tmp = load i8*, i8** @lens ; <i8*> [#uses=1]
|
/external/autotest/cli/ |
D | topic_common.py | 651 lens = {} 659 lens[key] = max(len(self.__conv_value(key, 662 lens[key] = max(lens[key], len(KEYS_TO_NAMES_EN[key])) 663 lens[keys[-1]] = 0 665 return ' '.join(["%%-%ds" % lens[key] for key in keys])
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
D | TestStreaming.java | 34 public TestCase(String in, int ch, int[] np, int[][] lens, String[] msg) { in TestCase() argument 38 this.portionLens = lens; in TestCase()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
D | TestStreaming.java | 37 public TestCase(String in, int ch, int[] np, int[][] lens, String[] msg) { in TestCase() argument 41 this.portionLens = lens; in TestCase()
|