Home
last modified time | relevance | path

Searched full:dist (Results 1 – 25 of 933) sorted by relevance

12345678910>>...38

/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()
169 /* Length > 0 and dist 0 is invalid combination, which indicates on purpose in TryGetFromLongestMatchCache()
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()
214 /* Length > 0 and dist 0 is invalid combination, which indicates on purpose in StoreInLongestMatchCache()
[all …]
/external/libjpeg-turbo/release/
Dmakemacpkg.in125 mkdir -p $TMPDIR/dist.x86
127 make install DESTDIR=$TMPDIR/dist.x86
129 if [ ! -h $TMPDIR/dist.x86/$LIBDIR/libjpeg.@SO_MAJOR_VERSION@.dylib -a \
132 -arch i386 $TMPDIR/dist.x86/$LIBDIR/libjpeg.@SO_MAJOR_VERSION@.dylib \
135 elif [ ! -h $TMPDIR/dist.x86/$LIBDIR/libjpeg.@SO_MAJOR_VERSION@.0.@SO_MINOR_VERSION@.dylib -a \
138 -arch i386 $TMPDIR/dist.x86/$LIBDIR/libjpeg.@SO_MAJOR_VERSION@.0.@SO_MINOR_VERSION@.dylib \
143 -arch i386 $TMPDIR/dist.x86/$LIBDIR/libjpeg.a \
147 -arch i386 $TMPDIR/dist.x86/$LIBDIR/libturbojpeg.0.dylib \
151 -arch i386 $TMPDIR/dist.x86/$LIBDIR/libturbojpeg.a \
155 -arch i386 $TMPDIR/dist.x86/$BINDIR/cjpeg \
[all …]
/external/python/cpython2/Lib/distutils/tests/
Dtest_dist.py3 """Tests for distutils.dist."""
11 from distutils.dist import Distribution, fix_help_options
13 import distutils.dist
77 distutils.dist.DEBUG = True
84 distutils.dist.DEBUG = False
138 dist = klass(attrs={'author': u'Mister Café',
147 dist.metadata.write_pkg_file(open(my_file, 'w'))
150 dist = klass(attrs={'author': 'Mister Cafe',
157 dist.metadata.write_pkg_file(open(my_file2, 'w'))
171 dist = Distribution(attrs={'author': 'xxx', 'name': 'xxx',
[all …]
Dtest_build_py.py35 dist = Distribution({"packages": ["pkg"],
38 dist.script_name = os.path.join(sources, "setup.py")
39 dist.command_obj["build"] = support.DummyCommand(
42 dist.packages = ["pkg"]
43 dist.package_data = {"pkg": ["README.txt"]}
44 dist.package_dir = {"pkg": sources}
46 cmd = build_py(dist)
49 self.assertEqual(cmd.package_data, dist.package_data)
85 dist = Distribution({"packages": ["pkg"],
89 dist.script_name = os.path.join(sources, "setup.py")
[all …]
Dtest_bdist_rpm.py68 dist = Distribution({'name': 'foo', 'version': '0.1',
72 dist.script_name = 'setup.py'
76 cmd = bdist_rpm(dist)
84 dist_created = os.listdir(os.path.join(pkg_dir, 'dist'))
88 self.assertIn(('bdist_rpm', 'any', 'dist/foo-0.1-1.src.rpm'), dist.dist_files)
89 self.assertIn(('bdist_rpm', 'any', 'dist/foo-0.1-1.noarch.rpm'), dist.dist_files)
112 dist = Distribution({'name': 'foo', 'version': '0.1',
116 dist.script_name = 'setup.py'
120 cmd = bdist_rpm(dist)
127 dist_created = os.listdir(os.path.join(pkg_dir, 'dist'))
[all …]
Dtest_sdist.py66 os.mkdir(join(self.tmp_dir, 'dist'))
84 dist = Distribution(metadata)
85 dist.script_name = 'setup.py'
86 dist.packages = ['somecode']
87 dist.include_package_data = True
88 cmd = sdist(dist)
89 cmd.dist_dir = 'dist'
90 return dist, cmd
112 dist, cmd = self.get_cmd()
122 dist_folder = join(self.tmp_dir, 'dist')
[all …]
Dtest_build_ext.py50 dist = Distribution({'name': 'xx', 'ext_modules': [xx_ext]})
51 dist.package_dir = self.tmp_dir
52 cmd = build_ext(dist)
87 dist = Distribution({'name': 'xx'})
88 cmd = build_ext(dist)
111 dist = Distribution({'name': 'xx'})
112 cmd = build_ext(dist)
139 dist = Distribution({'name': 'xx', 'ext_modules': modules})
140 cmd = build_ext(dist)
151 cmd = build_ext(dist)
[all …]
Dtest_install.py39 dist = Distribution({"name": "foopkg"})
41 dist.script_name = os.path.join(builddir, "setup.py")
42 dist.command_obj["build"] = support.DummyCommand(
47 cmd = install(dist)
99 dist = Distribution({'name': 'xx'})
100 cmd = install(dist)
125 dist = Distribution({'name': 'xx', 'extra_path': 'path,dirs'})
126 cmd = install(dist)
142 dist.extra_path = cmd.extra_path = None
153 dist = Distribution({'name': 'xx'})
[all …]
Dtest_install_lib.py18 pkg_dir, dist = self.create_dist()
19 cmd = install_lib(dist)
36 pkg_dir, dist = self.create_dist()
37 cmd = install_lib(dist)
54 pkg_dir, dist = self.create_dist()
55 cmd = install_lib(dist)
57 # setting up a dist environment
71 pkg_dir, dist = self.create_dist()
72 cmd = install_lib(dist)
74 # setting up a dist environment
[all …]
/external/selinux/python/sepolgen/src/sepolgen/
Dmatching.py32 def __init__(self, interface=None, dist=0): argument
34 self.dist = dist
42 a = (self.dist, self.info_dir_change)
43 b = (other.dist, other.info_dir_change)
80 if match.dist <= self.threshold:
163 dist = 0
167 dist += self.type_distance(req.src_type, prov.src_type)
168 dist += self.type_distance(req.tgt_type, prov.tgt_type)
172 dist -= self.obj_penalty
179 if dist < 0:
[all …]
/external/python/cpython2/Doc/library/
Dtix.rst37 `Tix Man Pages <http://tix.sourceforge.net/dist/current/man/>`_
40 `Tix Programming Guide <http://tix.sourceforge.net/dist/current/docs/tix-book/tix.book.html>`_
91 `Tix <http://tix.sourceforge.net/dist/current/man/html/TixCmd/TixIntro.htm>`_
106 <http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixBalloon.htm>`_ that
112 .. \ulink{Balloon}{http://tix.sourceforge.net/dist/current/demos/samples/Balloon.tcl}
118 <http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixButtonBox.htm>`_
122 .. \ulink{ButtonBox}{http://tix.sourceforge.net/dist/current/demos/samples/BtnBox.tcl}
128 <http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixComboBox.htm>`_
134 .. \ulink{ComboBox}{http://tix.sourceforge.net/dist/current/demos/samples/ComboBox.tcl}
140 <http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixControl.htm>`_
[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 …]
/external/python/cpython2/Doc/
DMakefile17 suspicious coverage doctest pydoc-topics htmlview clean dist check serve \
34 @echo " dist to create a \"dist\" directory with archived docs for download"
107 dist: target
108 rm -rf dist
109 mkdir -p dist
113 cp -pPR build/html dist/python-$(DISTVERSION)-docs-html
114 tar -C dist -cf dist/python-$(DISTVERSION)-docs-html.tar python-$(DISTVERSION)-docs-html
115 bzip2 -9 -k dist/python-$(DISTVERSION)-docs-html.tar
116 (cd dist; zip -q -r -9 python-$(DISTVERSION)-docs-html.zip python-$(DISTVERSION)-docs-html)
117 rm -r dist/python-$(DISTVERSION)-docs-html
[all …]
/external/skia/gm/
Doccludedrrectblur.cpp64 SkScalar dist, const SkPoint& center) { in draw_45() argument
103 offset_center_to(r.roundOut(), center.fX + dist*dir.fX, center.fY + dist*dir.fY), in draw_45()
107 dist -= 10.0f; in draw_45()
109 offset_center_to(r.roundOut(), center.fX + dist*dir.fX, center.fY + dist*dir.fY), in draw_45()
116 SkScalar dist, const SkPoint& center) { in draw_45_simple() argument
119 offset_center_to(r, center.fX + dist*v.fX, center.fY + dist*v.fY), in draw_45_simple()
122 dist -= 10.0f; in draw_45_simple()
124 offset_center_to(r, center.fX + dist*v.fX, center.fY + dist*v.fY), in draw_45_simple()
130 static void draw_90(SkCanvas* canvas, const SkVector& v, SkScalar dist, const SkPoint& center) { in draw_90() argument
140 offset_center_to(r, center.fX + dist*v.fX, center.fY + dist*v.fY)); in draw_90()
[all …]
/external/jsr330/
Dbuild.sh8 mkdir -p build/dist
10 mkdir -p build/tck/dist
42 jar cfM build/dist/$NAME-src.zip -C build/src .
43 jar cfM build/tck/dist/$NAME-tck-src.zip -C build/tck/src .
45 jar cfM build/dist/$NAME-javadoc.zip -C build/javadoc .
46 jar cfM build/tck/dist/$NAME-tck-javadoc.zip -C build/tck/javadoc .
47 jar cfM build/dist/$NAME.jar -C build/classes .
48 jar cfM build/tck/dist/$NAME-tck.jar -C build/tck/classes .
50 jar cfM build/$NAME.zip -C build/dist .
51 jar cfM build/$NAME-tck.zip -C build/tck/dist .
[all …]
/external/protobuf/util/
Dpost_process_dist.sh3 # This script takes the result of "make dist" and:
7 # "make dist" process does not correct for this, so the result is that
8 # the entire dist is still marked read-only when unpacked, which is
14 # deposites them in the "dist" directory. In the .zip version, all
34 # Create a directory called "dist", copy the tarball there and unpack it.
35 mkdir dist
36 cp $1 dist
37 cd dist
46 # Build the dist again in .tar.gz
48 make dist-gzip
[all …]
/external/protobuf/
Dpost_process_dist.sh3 # This script takes the result of "make dist" and:
7 # "make dist" process does not correct for this, so the result is that
8 # the entire dist is still marked read-only when unpacked, which is
14 # deposites them in the "dist" directory. In the .zip version, all
34 # Create a directory called "dist", copy the tarball there and unpack it.
35 mkdir dist
36 cp $1 dist
37 cd dist
46 # Build the dist again in .tar.gz
48 make dist-gzip
[all …]
/external/jarjar/
Dbuild.xml19 <property name="dist" location="dist" />
27 <property name="maven-jar" value="${dist}/${artifactId}-${version}.jar" />
28 <property name="maven-javadoc-jar" value="${dist}/${artifactId}-${version}-javadoc.jar" />
29 <property name="maven-sources-jar" value="${dist}/${artifactId}-${version}-sources.jar" />
38 <property name="jarfile" value="dist/jarjar-${version}.jar"/>
39 <property name="jarfile.util" value="dist/jarjar-util-${version}.jar"/>
40 <property name="jarfile.mojo" value="dist/jarjar-plugin-${version}.jar"/>
90 <delete dir="dist"/>
91 <delete dir="dist/javadoc"/>
95 <mkdir dir="dist"/>
[all …]
/external/valgrind/docs/html/
Ddist.html10 <link rel="next" href="dist.authors.html" title="1.�AUTHORS">
18 <td width="22px" align="center" valign="middle"><a accesskey="n" href="dist.authors.html"><img src=…
24 <a name="dist"></a>Valgrind Distribution Documents</h1></div>
36 <dt><span class="chapter"><a href="dist.authors.html">1. AUTHORS</a></span></dt>
37 <dt><span class="chapter"><a href="dist.news.html">2. NEWS</a></span></dt>
38 <dt><span class="chapter"><a href="dist.news.old.html">3. OLDER NEWS</a></span></dt>
39 <dt><span class="chapter"><a href="dist.readme.html">4. README</a></span></dt>
40 <dt><span class="chapter"><a href="dist.readme-missing.html">5. README_MISSING_SYSCALL_OR_IOCTL</a>…
41 <dt><span class="chapter"><a href="dist.readme-developers.html">6. README_DEVELOPERS</a></span></dt>
42 <dt><span class="chapter"><a href="dist.readme-packagers.html">7. README_PACKAGERS</a></span></dt>
[all …]
/external/freetype/src/autofit/
Daflatin2.c135 FT_Pos dist; in af_latin2_metrics_init_widths() local
138 dist = seg->pos - link->pos; in af_latin2_metrics_init_widths()
139 if ( dist < 0 ) in af_latin2_metrics_init_widths()
140 dist = -dist; in af_latin2_metrics_init_widths()
143 axis->widths[num_widths++].org = dist; in af_latin2_metrics_init_widths()
302 FT_Pos dist; in af_latin2_metrics_init_blues() local
315 dist = FT_ABS( points[prev].y - best_y ); in af_latin2_metrics_init_blues()
318 if ( dist > 5 ) in af_latin2_metrics_init_blues()
319 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) in af_latin2_metrics_init_blues()
332 dist = FT_ABS( points[next].y - best_y ); in af_latin2_metrics_init_blues()
[all …]
/external/valgrind/docs/xml/
Ddist-docs.xml7 <book id="dist" xreflabel="Distribution Documents">
24 <chapter id="dist.authors" xreflabel="Valgrind Developers">
25 <title id="dist.authors.title">AUTHORS</title>
32 <chapter id="dist.news" xreflabel="News">
39 <chapter id="dist.news.old" xreflabel="Old News">
47 <chapter id="dist.readme" xreflabel="Readme">
55 <chapter id="dist.readme-missing"
65 <chapter id="dist.readme-developers"
75 <chapter id="dist.readme-packagers"
85 <chapter id="dist.readme-s390"
[all …]
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DNeuQuant.java313 int i, j, dist, a, bestd; in map() local
317 bestd = 1000; /* biggest possible dist is 256*3 */ in map()
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()
[all …]
/external/python/cpython2/Lib/ensurepip/_bundled/
Dsetuptools-28.8.0-py2.py3-none-any.whl ... archive_util.py setuptools/depends.py setuptools/dist.py setuptools/extension.py setuptools/glob

12345678910>>...38