Home
last modified time | relevance | path

Searched refs:lz (Results 1 – 25 of 415) sorted by relevance

12345678910>>...17

/external/python/cpython3/Modules/
Ditertoolsmodule.c141 groupby_reduce(groupbyobject *lz) in groupby_reduce() argument
147 if (lz->tgtkey && lz->currkey && lz->currvalue) in groupby_reduce()
148 value = Py_BuildValue("O(OO)(OOO)", Py_TYPE(lz), in groupby_reduce()
149 lz->it, lz->keyfunc, lz->currkey, lz->currvalue, lz->tgtkey); in groupby_reduce()
151 value = Py_BuildValue("O(OO)", Py_TYPE(lz), in groupby_reduce()
152 lz->it, lz->keyfunc); in groupby_reduce()
160 groupby_setstate(groupbyobject *lz, PyObject *state) in groupby_setstate() argument
171 Py_XSETREF(lz->currkey, currkey); in groupby_setstate()
173 Py_XSETREF(lz->currvalue, currvalue); in groupby_setstate()
175 Py_XSETREF(lz->tgtkey, tgtkey); in groupby_setstate()
[all …]
/external/python/cpython2/Modules/
Ditertoolsmodule.c690 cycleobject *lz; in cycle_new() local
710 lz = (cycleobject *)type->tp_alloc(type, 0); in cycle_new()
711 if (lz == NULL) { in cycle_new()
716 lz->it = it; in cycle_new()
717 lz->saved = saved; in cycle_new()
718 lz->firstpass = 0; in cycle_new()
720 return (PyObject *)lz; in cycle_new()
724 cycle_dealloc(cycleobject *lz) in cycle_dealloc() argument
726 PyObject_GC_UnTrack(lz); in cycle_dealloc()
727 Py_XDECREF(lz->saved); in cycle_dealloc()
[all …]
/external/xz-java/src/org/tukaani/xz/lzma/
DLZMADecoder.java14 import org.tukaani.xz.lz.LZDecoder;
18 private final LZDecoder lz; field in LZMADecoder
24 public LZMADecoder(LZDecoder lz, RangeDecoder rc, int lc, int lp, int pb) { in LZMADecoder() argument
26 this.lz = lz; in LZMADecoder()
50 lz.repeatPending(); in decode()
52 while (lz.hasSpace()) { in decode()
53 int posState = lz.getPos() & posMask; in decode()
65 lz.repeat(reps[0], len); in decode()
150 int i = getSubcoderIndex(lz.getByte(0), lz.getPos()); in decode()
165 int matchByte = lz.getByte(reps[0]); in decode()
[all …]
DLZMAEncoder.java15 import org.tukaani.xz.lz.LZEncoder;
16 import org.tukaani.xz.lz.Matches;
51 final LZEncoder lz; field in LZMAEncoder
115 lz.putArraysToCache(arrayCache); in putArraysToCache()
175 LZMAEncoder(RangeEncoder rc, LZEncoder lz, in LZMAEncoder() argument
179 this.lz = lz; in LZMAEncoder()
193 return lz; in getLZEncoder()
220 if (!lz.isStarted() && !encodeInit()) in encodeForLZMA1()
233 int posState = (lz.getPos() - readAhead) & posMask; in encodeLZMA1EndMarker()
247 if (!lz.isStarted() && !encodeInit()) in encodeForLZMA2()
[all …]
DLZMAEncoderNormal.java14 import org.tukaani.xz.lz.LZEncoder;
15 import org.tukaani.xz.lz.Matches;
123 int avail = Math.min(lz.getAvail(), MATCH_LEN_MAX); in getNextSymbol()
130 repLens[rep] = lz.getMatchLen(reps[rep], avail); in getNextSymbol()
164 int curByte = lz.getByte(0); in getNextSymbol()
165 int matchByte = lz.getByte(reps[0] + 1); in getNextSymbol()
175 int pos = lz.getPos(); in getNextSymbol()
180 int prevByte = lz.getByte(1); in getNextSymbol()
269 avail = Math.min(lz.getAvail(), OPTS - 1); in getNextSymbol()
378 int curByte = lz.getByte(0);
[all …]
DLZMAEncoderFast.java14 import org.tukaani.xz.lz.LZEncoder;
15 import org.tukaani.xz.lz.Matches;
60 int avail = Math.min(lz.getAvail(), MATCH_LEN_MAX); in getNextSymbol()
68 int len = lz.getMatchLen(reps[rep], avail); in getNextSymbol()
146 if (lz.getMatchLen(reps[rep], limit) == limit) in getNextSymbol()
/external/xz-java/src/org/tukaani/xz/
DLZMA2InputStream.java16 import org.tukaani.xz.lz.LZDecoder;
49 private LZDecoder lz; field in LZMA2InputStream
173 this.lz = new LZDecoder(getDictSize(dictSize), presetDict, arrayCache); in LZMA2InputStream()
255 lz.copyUncompressed(in, copySizeMax); in read()
257 lz.setLimit(copySizeMax); in read()
261 int copiedSize = lz.flush(buf, off); in read()
268 if (!rc.isFinished() || lz.hasPending()) in read()
292 lz.reset(); in decodeChunkHeader()
341 lzma = new LZMADecoder(lz, rc, lc, lp, pb); in decodeProps()
374 if (lz != null) { in putArraysToCache()
[all …]
DLZMAInputStream.java16 import org.tukaani.xz.lz.LZDecoder;
51 private LZDecoder lz; field in LZMAInputStream
601 lz = new LZDecoder(getDictSize(dictSize), presetDict, arrayCache); in initialize()
603 lzma = new LZMADecoder(lz, rc, lc, lp, pb); in initialize()
681 lz.setLimit(copySizeMax); in read()
704 int copiedSize = lz.flush(buf, off); in read()
723 if (!rc.isFinished() || lz.hasPending()) in read()
740 if (lz != null) { in putArraysToCache()
741 lz.putArraysToCache(arrayCache); in putArraysToCache()
742 lz = null; in putArraysToCache()
DLZMA2OutputStream.java15 import org.tukaani.xz.lz.LZEncoder;
27 private LZEncoder lz; field in LZMA2OutputStream
75 lz = lzma.getLZEncoder(); in LZMA2OutputStream()
79 lz.setPresetDict(dictSize, presetDict); in LZMA2OutputStream()
103 int used = lz.fillWindow(buf, off, len); in write()
177 lz.copyUncompressed(out, uncompressedSize, chunkSize); in writeUncompressed()
191 lz.setFinishing(); in writeEndMarker()
209 lz = null; in writeEndMarker()
222 lz.setFlushing(); in flush()
DLZMAOutputStream.java15 import org.tukaani.xz.lz.LZEncoder;
29 private LZEncoder lz; field in LZMAOutputStream
72 lz = lzma.getLZEncoder(); in LZMAOutputStream()
81 lz.setPresetDict(dictSize, presetDict); in LZMAOutputStream()
255 int used = lz.fillWindow(buf, off, len); in write()
289 lz.setFinishing(); in finish()
305 lz = null; in finish()
/external/python/cpython3/Python/
Dbltinmodule.c543 filterobject *lz; in filter_new() local
557 lz = (filterobject *)type->tp_alloc(type, 0); in filter_new()
558 if (lz == NULL) { in filter_new()
563 lz->func = func; in filter_new()
564 lz->it = it; in filter_new()
566 return (PyObject *)lz; in filter_new()
570 filter_dealloc(filterobject *lz) in filter_dealloc() argument
572 PyObject_GC_UnTrack(lz); in filter_dealloc()
573 Py_XDECREF(lz->func); in filter_dealloc()
574 Py_XDECREF(lz->it); in filter_dealloc()
[all …]
/external/fdlibm/
De_fmod.c36 unsigned lx,ly,lz; local
103 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1;
106 if((hz|lz)==0) /* return sign(x)*0 */
108 hx = hz+hz+(lz>>31); lx = lz+lz;
111 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1;
112 if(hz>=0) {hx=hz;lx=lz;}
/external/libopus/silk/fixed/
Dschur_FIX.c42 opus_int k, n, lz; in silk_schur() local
49 lz = silk_CLZ32( c[ 0 ] ); in silk_schur()
53 if( lz < 2 ) { in silk_schur()
58 } else if( lz > 2 ) { in silk_schur()
60 lz -= 2; in silk_schur()
62 C[ k ][ 0 ] = C[ k ][ 1 ] = silk_LSHIFT( c[ k ], lz ); in silk_schur()
Dburg_modified_FIX.c57 opus_int k, n, s, lz, rshifts, reached_max_gain; in silk_burg_modified_c() local
72 lz = silk_CLZ64(C0_64); in silk_burg_modified_c()
73 rshifts = 32 + 1 + N_BITS_HEAD_ROOM - lz; in silk_burg_modified_c()
177 lz = silk_CLZ32( silk_abs( Atmp_QA ) ) - 1; in silk_burg_modified_c()
178 lz = silk_min( 32 - QA, lz ); in silk_burg_modified_c()
179 …Atmp1 = silk_LSHIFT32( Atmp_QA, lz ); /* Q( … in silk_burg_modified_c()
181 …D_LSHIFT32( tmp1, silk_SMMUL( C_last_row[ n - k - 1 ], Atmp1 ), 32 - QA - lz ); /* Q( -rshifts )… in silk_burg_modified_c()
182 …D_LSHIFT32( tmp2, silk_SMMUL( C_first_row[ n - k - 1 ], Atmp1 ), 32 - QA - lz ); /* Q( -rshifts )… in silk_burg_modified_c()
183 …D_LSHIFT32( num, silk_SMMUL( CAb[ n - k ], Atmp1 ), 32 - QA - lz ); /* Q( -rshifts )… in silk_burg_modified_c()
185 … Atmp1 ), 32 - QA - lz ); /* Q( 1-rshifts ) */ in silk_burg_modified_c()
/external/libopus/silk/
DInlines.h58 opus_int32 *lz, /* O number of leading zeros */ in silk_CLZ_FRAC() argument
64 * lz = lzeros; in silk_CLZ_FRAC()
73 opus_int32 y, lz, frac_Q7; in silk_SQRT_APPROX() local
79 silk_CLZ_FRAC(x, &lz, &frac_Q7); in silk_SQRT_APPROX()
81 if( lz & 1 ) { in silk_SQRT_APPROX()
88 y >>= silk_RSHIFT(lz, 1); in silk_SQRT_APPROX()
Dlin2log.c39 opus_int32 lz, frac_Q7; in silk_lin2log() local
41 silk_CLZ_FRAC( inLin, &lz, &frac_Q7 ); in silk_lin2log()
44 …n silk_ADD_LSHIFT32( silk_SMLAWB( frac_Q7, silk_MUL( frac_Q7, 128 - frac_Q7 ), 179 ), 31 - lz, 7 ); in silk_lin2log()
/external/drrickorang/LoopbackApp/app/src/main/cpp/audio_utils/
Droundup.c25 int lz = __builtin_clz((int) v); in roundup() local
26 unsigned rounded = ((unsigned) 0x80000000) >> lz; in roundup()
28 if (v > rounded && lz > 0) { in roundup()
/external/libopus/silk/fixed/x86/
Dburg_modified_FIX_sse4_1.c62 opus_int k, n, s, lz, rshifts, rshifts_extra, reached_max_gain; in silk_burg_modified_sse4_1() local
84 lz = silk_CLZ32( C0 ) - 1; in silk_burg_modified_sse4_1()
85 rshifts_extra = N_BITS_HEAD_ROOM - lz; in silk_burg_modified_sse4_1()
274 lz = silk_CLZ32( silk_abs( Atmp_QA ) ) - 1; in silk_burg_modified_sse4_1()
275 lz = silk_min( 32 - QA, lz ); in silk_burg_modified_sse4_1()
276 …Atmp1 = silk_LSHIFT32( Atmp_QA, lz ); /* Q( … in silk_burg_modified_sse4_1()
278 …D_LSHIFT32( tmp1, silk_SMMUL( C_last_row[ n - k - 1 ], Atmp1 ), 32 - QA - lz ); /* Q( -rshifts )… in silk_burg_modified_sse4_1()
279 …D_LSHIFT32( tmp2, silk_SMMUL( C_first_row[ n - k - 1 ], Atmp1 ), 32 - QA - lz ); /* Q( -rshifts )… in silk_burg_modified_sse4_1()
280 …D_LSHIFT32( num, silk_SMMUL( CAb[ n - k ], Atmp1 ), 32 - QA - lz ); /* Q( -rshifts )… in silk_burg_modified_sse4_1()
282 … Atmp1 ), 32 - QA - lz ); /* Q( 1-rshifts ) */ in silk_burg_modified_sse4_1()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DUtilities.java50 int lz = Integer.numberOfLeadingZeros(size); in roundup() local
51 int rounded = 0x80000000 >>> lz; in roundup()
53 if (size > rounded && lz > 0) { in roundup()
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/MachO/
Dlinker-options.ll4 ; CHECK-ASM: .linker_option "-lz"
13 ; CHECK-OBJ: Value: -lz
30 !0 = !{!"-lz"}
/external/llvm/test/MC/MachO/
Dlinker-options.ll4 ; CHECK-ASM: .linker_option "-lz"
13 ; CHECK-OBJ: Value: -lz
30 !0 = !{i32 6, !"Linker Options", !{!{!"-lz"}, !{!"-framework", !"Cocoa"}, !{!"-lmath"}}}
/external/xz-java/
Dfileset-src.txt81 src/org/tukaani/xz/lz/BT4.java
82 src/org/tukaani/xz/lz/CRC32Hash.java
83 src/org/tukaani/xz/lz/HC4.java
84 src/org/tukaani/xz/lz/Hash234.java
85 src/org/tukaani/xz/lz/LZDecoder.java
86 src/org/tukaani/xz/lz/LZEncoder.java
87 src/org/tukaani/xz/lz/Matches.java
/external/linux-kselftest/tools/testing/selftests/powerpc/primitives/
Dload_unaligned_zeropad.c36 int lz; in __fls() local
38 asm (PPC_CNTLZL "%0,%1" : "=r" (lz) : "r" (x)); in __fls()
39 return sizeof(unsigned long) - 1 - lz; in __fls()
/external/skia/src/effects/
DSkEmbossMask.cpp55 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss() local
56 SkFixed lz_dot_nz = lz * kDelta; in Emboss()
57 int lz_dot8 = lz >> 8; in Emboss()
/external/libpng/scripts/
Dmakefile.sgi51 LDFLAGS_A=$(ABI) -L. -L$(ZLIBLIB) -lpng16 -lz -lm
52 LDFLAGS=$(ABI) -L. -L$(ZLIBLIB) -lpng -lz -lm
103 -e s!-lpng16!-lpng16\ -lz\ -lm! > libpng.pc

12345678910>>...17