/external/zopfli/src/zopfli/ |
D | util.c | 28 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 …]
|
D | lz77.c | 59 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/selinux/python/sepolgen/src/sepolgen/ |
D | matching.py | 32 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/speex/libspeex/ |
D | vq.c | 82 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 …]
|
D | vq_sse.h | 39 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 …]
|
D | vq_bfin.h | 43 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/python/cpython2/Lib/distutils/tests/ |
D | test_dist.py | 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', 176 self.assertNotIn('options', dir(dist)) [all …]
|
D | test_build_py.py | 35 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 …]
|
D | test_build_ext.py | 50 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 …]
|
D | test_install.py | 39 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 …]
|
D | test_sdist.py | 84 dist = Distribution(metadata) 85 dist.script_name = 'setup.py' 86 dist.packages = ['somecode'] 87 dist.include_package_data = True 88 cmd = sdist(dist) 90 return dist, cmd 112 dist, cmd = self.get_cmd() 138 dist, cmd = self.get_cmd() 172 dist, cmd = self.get_cmd({'name': u'fake', 'version': u'1.0'}) 193 dist, cmd = self.get_cmd() [all …]
|
/external/libjpeg-turbo/release/ |
D | makemacpkg.in | 125 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/Doc/ |
D | Makefile | 17 suspicious coverage doctest pydoc-topics htmlview clean dist check serve \ 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 118 rm dist/python-$(DISTVERSION)-docs-html.tar [all …]
|
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
D | NeuQuant.java | 313 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/ |
D | aflatin2.c | 135 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 …]
|
D | aflatin.c | 209 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() 559 FT_Pos dist; in af_latin_metrics_init_blues() local 589 dist = FT_ABS( points[prev].y - best_y ); in af_latin_metrics_init_blues() 592 if ( dist > 5 ) in af_latin_metrics_init_blues() 593 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) in af_latin_metrics_init_blues() 614 dist = FT_ABS( points[next].y - best_y ); in af_latin_metrics_init_blues() [all …]
|
D | afcjk.c | 216 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/python/cpython2/Lib/distutils/ |
D | core.py | 19 from distutils.dist import Distribution 111 _setup_distribution = dist = klass(attrs) 120 return dist 124 dist.parse_config_files() 128 dist.dump_option_dicts() 131 return dist 137 ok = dist.parse_command_line() 139 raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg 143 dist.dump_option_dicts() 146 return dist [all …]
|
/external/skia/gm/ |
D | occludedrrectblur.cpp | 64 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/ |
D | build.sh | 8 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/iproute2/netem/ |
D | Makefile | 2 DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist 13 %.dist: % 16 experimental.dist: maketable experimental.dat 17 ./maketable experimental.dat > experimental.dist
|
/external/curl/projects/Windows/ |
D | .gitignore | 1 VC*/src/*curl.vcproj.dist 2 VC*/lib/*curl.vcproj.dist 3 VC*/src/*curl.vcxproj.dist 4 VC*/lib/*curl.vcxproj.dist 5 VC6/lib/libcurl.dsp.dist 6 VC6/src/curl.dsp.dist
|
/external/python/cpython2/Doc/library/ |
D | tix.rst | 37 `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/icu/icu4c/source/extra/ |
D | Makefile.in | 31 distclean-local distclean-recursive dist dist-recursive dist-local \ 42 dist: dist-recursive dist-local 48 all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: 69 dist-local:
|
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
D | toy_legalize.c | 309 int nest_level, dist; in patch_while_jip() local 312 dist = -1; in patch_while_jip() 324 dist++; in patch_while_jip() 335 dist--; in patch_while_jip() 339 inst->src[1] = tsrc_imm_d(dist * 16); in patch_while_jip() 341 inst->src[1] = tsrc_imm_w(dist * 2); in patch_while_jip() 343 inst->dst = tdst_imm_w(dist * 2); in patch_while_jip() 350 int nest_level, dist; in patch_if_else_jip() local 354 dist = 1; in patch_if_else_jip() 368 uip = dist * 2; in patch_if_else_jip() [all …]
|