Home
last modified time | relevance | path

Searched refs:dist (Results 1 – 25 of 437) sorted by relevance

12345678910>>...18

/external/zopfli/src/zopfli/
Dutil.c28 int ZopfliGetDistExtraBits(int dist) { in ZopfliGetDistExtraBits() argument
30 if (dist < 5) return 0; in ZopfliGetDistExtraBits()
31 return (31 ^ __builtin_clz(dist - 1)) - 1; /* log2(dist - 1) - 1 */ in ZopfliGetDistExtraBits()
33 if (dist < 5) return 0; in ZopfliGetDistExtraBits()
34 else if (dist < 9) return 1; in ZopfliGetDistExtraBits()
35 else if (dist < 17) return 2; in ZopfliGetDistExtraBits()
36 else if (dist < 33) return 3; in ZopfliGetDistExtraBits()
37 else if (dist < 65) return 4; in ZopfliGetDistExtraBits()
38 else if (dist < 129) return 5; in ZopfliGetDistExtraBits()
39 else if (dist < 257) return 6; in ZopfliGetDistExtraBits()
[all …]
Dlz77.c59 void ZopfliStoreLitLenDist(unsigned short length, unsigned short dist, in ZopfliStoreLitLenDist() argument
63 ZOPFLI_APPEND_DATA(dist, &store->dists, &size2); in ZopfliStoreLitLenDist()
96 unsigned short dist, unsigned short length) { in ZopfliVerifyLenDist() argument
103 if (data[pos - dist + i] != data[pos + i]) { in ZopfliVerifyLenDist()
104 assert(data[pos - dist + i] == data[pos + i]); in ZopfliVerifyLenDist()
172 s->lmc->dist[lmcpos] != 0); in TryGetFromLongestMatchCache()
187 assert(sublen[*length] == s->lmc->dist[lmcpos]); in TryGetFromLongestMatchCache()
190 *distance = s->lmc->dist[lmcpos]; in TryGetFromLongestMatchCache()
217 s->lmc->dist[lmcpos] != 0); in StoreInLongestMatchCache()
220 assert(s->lmc->length[lmcpos] == 1 && s->lmc->dist[lmcpos] == 0); in StoreInLongestMatchCache()
[all …]
/external/pcre/
DAndroid.mk5 dist/pcre_byte_order.c \
6 dist/pcre_compile.c \
7 dist/pcre_config.c \
8 dist/pcre_dfa_exec.c \
9 dist/pcre_exec.c \
10 dist/pcre_fullinfo.c \
11 dist/pcre_get.c \
12 dist/pcre_globals.c \
13 dist/pcre_jit_compile.c \
14 dist/pcre_maketables.c \
[all …]
/external/selinux/sepolgen/src/sepolgen/
Dmatching.py29 def __init__(self, interface=None, dist=0): argument
31 self.dist = dist
35 if self.dist == other.dist:
47 if self.dist < other.dist:
83 if match.dist <= self.threshold:
166 dist = 0
170 dist += self.type_distance(req.src_type, prov.src_type)
171 dist += self.type_distance(req.tgt_type, prov.tgt_type)
175 dist -= self.obj_penalty
182 if dist < 0:
[all …]
/external/speex/libspeex/
Dvq.c82 spx_word32_t dist=0; in vq_nbest() local
84 dist = MAC16_16(dist,in[j],*codebook++); in vq_nbest()
86 dist=SUB32(SHR32(E[i],1),dist); in vq_nbest()
88 dist=.5f*E[i]-dist; in vq_nbest()
90 if (i<N || dist<best_dist[N-1]) in vq_nbest()
92 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) in vq_nbest()
97 best_dist[k]=dist; in vq_nbest()
116 spx_word32_t dist=0; in vq_nbest_sign() local
118 dist = MAC16_16(dist,in[j],*codebook++); in vq_nbest_sign()
119 if (dist>0) in vq_nbest_sign()
[all …]
Dvq_sse.h39 VARDECL(float *dist); in vq_nbest()
43 ALLOC(dist, entries, float); in vq_nbest()
53 _mm_storeu_ps(dist+4*i, d); in vq_nbest()
57 if (i<N || dist[i]<best_dist[N-1]) in vq_nbest()
59 for (k=N-1; (k >= 1) && (k > used || dist[i] < best_dist[k-1]); k--) in vq_nbest()
64 best_dist[k]=dist[i]; in vq_nbest()
78 VARDECL(float *dist); in vq_nbest_sign()
82 ALLOC(dist, entries, float); in vq_nbest_sign()
92 _mm_storeu_ps(dist+4*i, d); in vq_nbest_sign()
97 if (dist[i]>0) in vq_nbest_sign()
[all …]
Dvq_bfin.h43 spx_word32_t dist; in vq_nbest() local
67 : "=&D" (dist), "=&a" (codebook), "=&d" (best_dist[0]), "=&d" (nbest[0]), "=&a" (E) in vq_nbest()
77 spx_word32_t dist; in vq_nbest() local
90 : "=D" (dist), "=a" (codebook) in vq_nbest()
94 if (i<N || dist<best_dist[N-1]) in vq_nbest()
96 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--) in vq_nbest()
101 best_dist[k]=dist; in vq_nbest()
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DNeuQuant.java313 int i, j, dist, a, bestd; in map() local
325 dist = p[1] - g; /* inx key */ in map()
326 if (dist >= bestd) in map()
330 if (dist < 0) in map()
331 dist = -dist; in map()
335 dist += a; in map()
336 if (dist < bestd) { in map()
340 dist += a; in map()
341 if (dist < bestd) { in map()
342 bestd = dist; in map()
[all …]
/external/freetype/src/autofit/
Daflatin2.c130 FT_Pos dist; in af_latin2_metrics_init_widths() local
133 dist = seg->pos - link->pos; in af_latin2_metrics_init_widths()
134 if ( dist < 0 ) in af_latin2_metrics_init_widths()
135 dist = -dist; in af_latin2_metrics_init_widths()
138 axis->widths[num_widths++].org = dist; in af_latin2_metrics_init_widths()
297 FT_Pos dist; in af_latin2_metrics_init_blues() local
310 dist = FT_ABS( points[prev].y - best_y ); in af_latin2_metrics_init_blues()
313 if ( dist > 5 ) in af_latin2_metrics_init_blues()
314 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) in af_latin2_metrics_init_blues()
327 dist = FT_ABS( points[next].y - best_y ); in af_latin2_metrics_init_blues()
[all …]
Daflatin.c209 FT_Pos dist; in af_latin_metrics_init_widths() local
212 dist = seg->pos - link->pos; in af_latin_metrics_init_widths()
213 if ( dist < 0 ) in af_latin_metrics_init_widths()
214 dist = -dist; in af_latin_metrics_init_widths()
217 axis->widths[num_widths++].org = dist; in af_latin_metrics_init_widths()
520 FT_Pos dist; in af_latin_metrics_init_blues() local
550 dist = FT_ABS( points[prev].y - best_y ); in af_latin_metrics_init_blues()
553 if ( dist > 5 ) in af_latin_metrics_init_blues()
554 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) in af_latin_metrics_init_blues()
575 dist = FT_ABS( points[next].y - best_y ); in af_latin_metrics_init_blues()
[all …]
Dafcjk.c216 FT_Pos dist; in af_cjk_metrics_init_widths() local
219 dist = seg->pos - link->pos; in af_cjk_metrics_init_widths()
220 if ( dist < 0 ) in af_cjk_metrics_init_widths()
221 dist = -dist; in af_cjk_metrics_init_widths()
224 axis->widths[num_widths++].org = dist; in af_cjk_metrics_init_widths()
681 FT_Pos dist; in af_cjk_metrics_scale_dim() local
691 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_cjk_metrics_scale_dim()
692 if ( dist <= 48 && dist >= -48 ) in af_cjk_metrics_scale_dim()
851 FT_Pos dist = seg2->pos - seg1->pos; in af_cjk_hints_link_segments() local
854 if ( dist < 0 ) in af_cjk_hints_link_segments()
[all …]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DFaultHeightMap.java179 float dist = ((x2 - x1) * (j - y1) - (y2 - y1) * (i - x1)) in addLineFault() local
181 tempBuffer[i][j] += calcHeight(dist, random, faultHeight, range); in addLineFault()
197 float dist; in addCircleFault() local
204 dist = FastMath.sign(dmag - radius) in addCircleFault()
207 dist = 0; in addCircleFault()
209 tempBuffer[i][j] += calcHeight(dist, random, faultHeight, range); in addCircleFault()
214 protected float calcHeight(float dist, Random random, float faultHeight, float range) { in calcHeight() argument
217 return FastMath.sign(dist) * faultHeight; in calcHeight()
220 if (FastMath.abs(dist) > range) { in calcHeight()
221 return FastMath.sign(dist) * faultHeight; in calcHeight()
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DConstraintDistLimit.java23 protected float dist; field in ConstraintDistLimit
45 dist = ((Number) data.getFieldValue("dist")).floatValue(); in ConstraintDistLimit()
94 if (currentDistance >= dist) { in distLimit()
96 v.multLocal(dist + (currentDistance - dist) * (1.0f - influence)); in distLimit()
101 if (currentDistance > dist) { in distLimit()
103 v.multLocal(dist + (currentDistance - dist) * (1.0f - influence)); in distLimit()
105 } else if(currentDistance < dist) { in distLimit()
106 v.normalizeLocal().multLocal(dist * influence); in distLimit()
111 if (currentDistance <= dist) { in distLimit()
112 v = targetLocation.subtract(currentLocation).normalizeLocal().multLocal(dist * influence); in distLimit()
/external/iproute2/netem/
DMakefile2 DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
13 %.dist: %
16 experimental.dist: maketable experimental.dat
17 ./maketable experimental.dat > experimental.dist
/external/icu/icu4c/source/extra/
DMakefile.in29 distclean-local distclean-recursive dist dist-recursive dist-local \
40 dist: dist-recursive dist-local
46 all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive:
67 dist-local:
/external/protobuf/
Dpost_process_dist.sh33 mkdir dist
34 cp $1 dist
35 cd dist
49 make dist-gzip
50 make dist-bzip2
55 make dist-zip
/external/selinux/sepolgen/tests/
Dtest_matching.py29 a.dist = 100
33 b.dist = 100
41 b.dist = 200
52 a.dist = 100
57 a.dist = 200
64 a.dist = 0
75 a.dist = 100
79 b.dist = 5
83 c.dist = 0
/external/libusb/
DMakefile.am1 AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
14 .PHONY: ChangeLog dist-up
18 dist-hook: ChangeLog
21 dist-up: dist
/external/icu/icu4c/source/samples/
DMakefile.in28 distclean-local distclean-recursive dist dist-recursive dist-local \
39 dist: dist-recursive dist-local
52 all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive:
92 dist-local:
/external/icu/icu4c/source/tools/
DMakefile.in23 distclean-local distclean-recursive dist dist-local dist-recursive \
34 dist: dist-recursive
40 all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive:
65 dist-local:
/external/chromium-trace/trace-viewer/tracing/third_party/python_gflags/
DMakefile34 rm -rf dist
36 dist: target
42 mv ../python-gflags*.deb ./dist/
50 @ls -l ./dist/
56 -p python-gflags ./dist/*
69 .PHONY: prep dist clean push check
/external/opencv/cv/src/
Dcvkdtree.cpp83 void find_nn(CvMat* d, int k, int emax, CvMat* results, CvMat* dist) { in find_nn()
87 uchar* distptr = dist->data.ptr; in find_nn()
92 assert(results->rows == dist->rows); in find_nn()
94 assert(dist->cols == k); in find_nn()
106 *distj++ = nn[j].dist; in find_nn()
113 distptr += dist->step; in find_nn()
162 void find_nn(CvMat* d, int k, int emax, CvMat* results, CvMat* dist) { in find_nn()
164 assert(CV_MAT_TYPE(dist->type) == CV_64FC1); in find_nn()
168 (d, k, emax, results, dist)); in find_nn()
208 CvMat* results, CvMat* dist, int k, int emax) { in cvFindFeatures() argument
[all …]
/external/blktrace/btt/
Dseek.c186 long long dist; in seek_dist() local
190 dist = start - sip->last_end; in seek_dist()
195 dist = 0; in seek_dist()
197 dist = start - sip->last_end; in seek_dist()
199 dist = start - sip->last_start; in seek_dist()
205 return dist; in seek_dist()
255 long long dist = seek_dist(sip, iop); in seeki_add() local
260 fprintf(fp, "%15.9lf %13lld %c\n", tstamp, dist, rw); in seeki_add()
262 fprintf(sip->cfp, "%15.9lf %13lld %c\n", tstamp, dist, rw); in seeki_add()
264 dist = llabs(dist); in seeki_add()
[all …]
/external/libusb-compat/
DMakefile.am1 AUTOMAKE_OPTIONS = dist-bzip2
16 .PHONY: ChangeLog dist-up
20 dist-hook: ChangeLog
22 dist-up: dist
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/
D_getpatches8 cp -p /dist/src/apps/VNC/tight_vnc_1.3dev5/tight-vncviewer*patch .
9 cp -p /dist/src/apps/VNC/tight_vnc_1.3dev5/vnc_unixsrc_vncviewer.patched.tar ../zips/
11 cp -p /dist/src/apps/VNC/etc/libvncserver_cvs/expts/java_ssl/ultra/ultraftp.tar ../zips/
12 cp -p /dist/src/apps/VNC/etc/libvncserver_cvs/expts/vncstorepw.tar ../zips/
14 cp -p /dist/src/apps/VNC/tight_vnc_1.3dev5/vnc_unixsrc/vncviewer/vncviewer.man ../../man/man1/ssvnc…

12345678910>>...18