Searched defs:lz (Results 1 - 25 of 28) sorted by relevance

12

/external/drrickorang/LoopbackApp/app/src/main/jni/audio_utils/
H A Droundup.c25 int lz = __builtin_clz((int) v); local
26 unsigned rounded = ((unsigned) 0x80000000) >> lz;
28 if (v > rounded && lz > 0) {
/external/libopus/silk/
H A Dlin2log.c39 opus_int32 lz, frac_Q7; local
41 silk_CLZ_FRAC( inLin, &lz, &frac_Q7 );
44 return silk_LSHIFT( 31 - lz, 7 ) + silk_SMLAWB( frac_Q7, silk_MUL( frac_Q7, 128 - frac_Q7 ), 179 );
H A DInlines.h58 opus_int32 *lz, /* O number of leading zeros */
64 * lz = lzeros;
73 opus_int32 y, lz, frac_Q7; local
79 silk_CLZ_FRAC(x, &lz, &frac_Q7);
81 if( lz & 1 ) {
88 y >>= silk_RSHIFT(lz, 1);
56 silk_CLZ_FRAC( opus_int32 in, opus_int32 *lz, opus_int32 *frac_Q7 ) argument
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
H A DCRC32Hash.java11 package org.tukaani.xz.lz;
H A DMatches.java11 package org.tukaani.xz.lz;
H A DBT4.java11 package org.tukaani.xz.lz;
H A DHC4.java11 package org.tukaani.xz.lz;
H A DHash234.java11 package org.tukaani.xz.lz;
H A DLZDecoder.java11 package org.tukaani.xz.lz;
H A DLZEncoder.java11 package org.tukaani.xz.lz;
/external/libopus/silk/fixed/
H A Dschur_FIX.c42 opus_int k, n, lz; local
49 lz = silk_CLZ32( c[ 0 ] );
52 if( lz < 2 ) {
53 /* lz must be 1, so shift one to the right */
57 } else if( lz > 2 ) {
59 lz -= 2;
61 C[ k ][ 0 ] = C[ k ][ 1 ] = silk_LSHIFT( c[ k ], lz );
H A Dburg_modified_FIX.c57 opus_int k, n, s, lz, rshifts, reached_max_gain; local
72 lz = silk_CLZ64(C0_64);
73 rshifts = 32 + 1 + N_BITS_HEAD_ROOM - lz;
177 lz = silk_CLZ32( silk_abs( Atmp_QA ) ) - 1;
178 lz = silk_min( 32 - QA, lz );
179 Atmp1 = silk_LSHIFT32( Atmp_QA, lz ); /* Q( QA + lz ) */
181 tmp1 = silk_ADD_LSHIFT32( tmp1, silk_SMMUL( C_last_row[ n - k - 1 ], Atmp1 ), 32 - QA - lz ); /* Q( -rshifts ) */
182 tmp2 = silk_ADD_LSHIFT32( tmp2, silk_SMMUL( C_first_row[ n - k - 1 ], Atmp1 ), 32 - QA - lz ); /*
[all...]
/external/fdlibm/
H A 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/fio/arch/
H A Darch-ppc.h29 int lz; local
31 asm (PPC_CNTLZL " %0,%1" : "=r" (lz) : "r" (bitmask));
32 return BITS_PER_LONG - 1 - lz;
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
H A DLZMADecoder.java14 import org.tukaani.xz.lz.LZDecoder;
18 private final LZDecoder lz; field in class:LZMADecoder
24 public LZMADecoder(LZDecoder lz, RangeDecoder rc, int lc, int lp, int pb) { argument
26 this.lz = lz;
50 lz.repeatPending();
52 while (lz.hasSpace()) {
53 int posState = lz.getPos() & posMask;
65 lz.repeat(reps[0], len);
150 int i = getSubcoderIndex(lz
[all...]
H A DLZMAEncoder.java13 import org.tukaani.xz.lz.LZEncoder;
14 import org.tukaani.xz.lz.Matches;
49 final LZEncoder lz; field in class:LZMAEncoder
155 * The literal itself needs to be read from <code>lz</code> separately.
166 LZMAEncoder(RangeEncoder rc, LZEncoder lz, argument
170 this.lz = lz;
184 return lz;
213 if (!lz.isStarted() && !encodeInit())
226 if (!lz
[all...]
/external/linux-kselftest/tools/testing/selftests/powerpc/primitives/
H A Dload_unaligned_zeropad.c36 int lz; local
38 asm (PPC_CNTLZL "%0,%1" : "=r" (lz) : "r" (x));
39 return sizeof(unsigned long) - 1 - lz;
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
H A DLZMA2InputStream.java16 import org.tukaani.xz.lz.LZDecoder;
48 private final LZDecoder lz; field in class:LZMA2InputStream
145 this.lz = new LZDecoder(getDictSize(dictSize), presetDict);
227 lz.copyUncompressed(in, copySizeMax);
229 lz.setLimit(copySizeMax);
235 int copiedSize = lz.flush(buf, off);
242 if (!rc.isFinished() || lz.hasPending())
265 lz.reset();
314 lzma = new LZMADecoder(lz, rc, lc, lp, pb);
H A DLZMA2OutputStream.java15 import org.tukaani.xz.lz.LZEncoder;
25 private final LZEncoder lz; field in class:LZMA2OutputStream
70 lz = lzma.getLZEncoder();
74 lz.setPresetDict(dictSize, presetDict);
98 int used = lz.fillWindow(buf, off, len);
172 lz.copyUncompressed(out, uncompressedSize, chunkSize);
186 lz.setFinishing();
211 lz.setFlushing();
H A DLZMAInputStream.java16 import org.tukaani.xz.lz.LZDecoder;
50 private LZDecoder lz; field in class:LZMAInputStream
418 lz = new LZDecoder(getDictSize(dictSize), presetDict);
420 lzma = new LZMADecoder(lz, rc, lc, lp, pb);
497 lz.setLimit(copySizeMax);
520 int copiedSize = lz.flush(buf, off);
539 if (!rc.isFinished() || lz.hasPending())
/external/skia/src/effects/
H A DSkEmbossMask.cpp53 SkFixed lz = SkScalarToFixed(light.fDirection[2]); local
54 SkFixed lz_dot_nz = lz * kDelta;
55 int lz_dot8 = lz >> 8;
/external/libopus/silk/fixed/x86/
H A Dburg_modified_FIX_sse.c62 opus_int k, n, s, lz, rshifts, rshifts_extra, reached_max_gain; local
84 lz = silk_CLZ32( C0 ) - 1;
85 rshifts_extra = N_BITS_HEAD_ROOM - lz;
274 lz = silk_CLZ32( silk_abs( Atmp_QA ) ) - 1;
275 lz = silk_min( 32 - QA, lz );
276 Atmp1 = silk_LSHIFT32( Atmp_QA, lz ); /* Q( QA + lz ) */
278 tmp1 = silk_ADD_LSHIFT32( tmp1, silk_SMMUL( C_last_row[ n - k - 1 ], Atmp1 ), 32 - QA - lz ); /* Q( -rshifts ) */
279 tmp2 = silk_ADD_LSHIFT32( tmp2, silk_SMMUL( C_first_row[ n - k - 1 ], Atmp1 ), 32 - QA - lz ); /*
[all...]
/external/skia/src/utils/
H A DSkCamera.cpp340 SkScalar lz = z * 72.0f; local
341 fCamera.fLocation.set(x * 72.0f, y * 72.0f, lz);
342 fCamera.fObserver.set(0, 0, lz);
/external/python/cpython2/Python/
H A Ddtoa.c1510 int esign, i, j, k, lz, nd, nd0, odd, sign; local
1535 /* Skip leading zeros: lz is true iff there were leading zeros. */
1539 lz = s != s1;
1558 lz = lz || s != s1;
1569 /* Now lz is true if and only if there were leading zero digits, and
1572 if (!ndigits && !lz) {
1604 /* Skip zeros. lz is true iff there are leading zeros. */
1608 lz = s != s1;
1629 if (s == s1 && !lz)
[all...]
/external/python/cpython2/Modules/
H A Ditertoolsmodule.c704 cycleobject *lz; local
724 lz = (cycleobject *)type->tp_alloc(type, 0);
725 if (lz == NULL) {
730 lz->it = it;
731 lz->saved = saved;
732 lz->firstpass = 0;
734 return (PyObject *)lz;
738 cycle_dealloc(cycleobject *lz) argument
740 PyObject_GC_UnTrack(lz);
741 Py_XDECREF(lz
747 cycle_traverse(cycleobject *lz, visitproc visit, void *arg) argument
755 cycle_next(cycleobject *lz) argument
855 dropwhileobject *lz; local
883 dropwhile_dealloc(dropwhileobject *lz) argument
892 dropwhile_traverse(dropwhileobject *lz, visitproc visit, void *arg) argument
900 dropwhile_next(dropwhileobject *lz) argument
999 takewhileobject *lz; local
1027 takewhile_dealloc(takewhileobject *lz) argument
1036 takewhile_traverse(takewhileobject *lz, visitproc visit, void *arg) argument
1044 takewhile_next(takewhileobject *lz) argument
1143 isliceobject *lz; local
1218 islice_dealloc(isliceobject *lz) argument
1226 islice_traverse(isliceobject *lz, visitproc visit, void *arg) argument
1233 islice_next(isliceobject *lz) argument
1341 starmapobject *lz; local
1368 starmap_dealloc(starmapobject *lz) argument
1377 starmap_traverse(starmapobject *lz, visitproc visit, void *arg) argument
1385 starmap_next(starmapobject *lz) argument
1471 imapobject *lz; local
1513 imap_dealloc(imapobject *lz) argument
1522 imap_traverse(imapobject *lz, visitproc visit, void *arg) argument
1555 imap_next(imapobject *lz) argument
1649 chainobject *lz; local
1690 chain_dealloc(chainobject *lz) argument
1699 chain_traverse(chainobject *lz, visitproc visit, void *arg) argument
1707 chain_next(chainobject *lz) argument
1819 productobject *lz; local
1899 product_dealloc(productobject *lz) argument
1910 product_traverse(productobject *lz, visitproc visit, void *arg) argument
1918 product_next(productobject *lz) argument
2821 compressobject *lz; local
2849 compress_dealloc(compressobject *lz) argument
2858 compress_traverse(compressobject *lz, visitproc visit, void *arg) argument
2866 compress_next(compressobject *lz) argument
2968 ifilterobject *lz; local
2995 ifilter_dealloc(ifilterobject *lz) argument
3004 ifilter_traverse(ifilterobject *lz, visitproc visit, void *arg) argument
3012 ifilter_next(ifilterobject *lz) argument
3112 ifilterfalseobject *lz; local
3140 ifilterfalse_dealloc(ifilterfalseobject *lz) argument
3149 ifilterfalse_traverse(ifilterfalseobject *lz, visitproc visit, void *arg) argument
3157 ifilterfalse_next(ifilterfalseobject *lz) argument
3273 countobject *lz; local
3344 count_dealloc(countobject *lz) argument
3353 count_traverse(countobject *lz, visitproc visit, void *arg) argument
3361 count_nextlong(countobject *lz) argument
3383 count_next(countobject *lz) argument
3391 count_repr(countobject *lz) argument
3420 count_reduce(countobject *lz) argument
3507 izipobject *lz; local
3563 izip_dealloc(izipobject *lz) argument
3572 izip_traverse(izipobject *lz, visitproc visit, void *arg) argument
3580 izip_next(izipobject *lz) argument
3842 iziplongestobject *lz; local
3907 izip_longest_dealloc(iziplongestobject *lz) argument
3917 izip_longest_traverse(iziplongestobject *lz, visitproc visit, void *arg) argument
3926 izip_longest_next(iziplongestobject *lz) argument
[all...]

Completed in 1963 milliseconds

12