Home
last modified time | relevance | path

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

123

/AliOS-Things-master/components/freetype/src/autofit/
A Daflatin2.c135 dist = -dist; in af_latin2_metrics_init_widths()
646 if ( dist <= 48 && dist >= -48 ) in af_latin2_metrics_scale_dim()
1151 dist = -dist; in af_latin2_hints_compute_edges()
1171 dist = -dist; in af_latin2_hints_compute_edges()
1452 dist = -dist; in af_latin2_hints_compute_blue_edges()
1475 dist = -dist; in af_latin2_hints_compute_blue_edges()
1597 dist = -dist; in af_latin2_snap_width()
1710 dist = ( dist + 32 ) & ~63; in af_latin2_compute_stem_width()
1727 dist = ( dist + 16 ) & ~63; in af_latin2_compute_stem_width()
1750 dist = ( dist + 64 ) >> 1; in af_latin2_compute_stem_width()
[all …]
A Daflatin.c192 dist = -dist; in af_latin_metrics_init_widths()
1021 if ( dist <= 48 && dist >= -48 ) in af_latin_metrics_scale_dim()
1525 dist = -dist; in af_latin_hints_compute_edges()
1808 dist = -dist; in af_latin_hints_compute_blue_edges()
1830 dist = -dist; in af_latin_hints_compute_blue_edges()
1951 dist = -dist; in af_latin_snap_width()
2061 dist = ( dist + 32 ) & ~63; in af_latin_compute_stem_width()
2079 dist = ( dist + 16 ) & ~63; in af_latin_compute_stem_width()
2093 dist = ( dist + 32 ) & ~63; in af_latin_compute_stem_width()
2102 dist = ( dist + 64 ) >> 1; in af_latin_compute_stem_width()
[all …]
A Dafcjk.c198 dist = -dist; in af_cjk_metrics_init_widths()
621 if ( dist <= 48 && dist >= -48 ) in af_cjk_metrics_scale_dim()
965 dist = -dist; in af_cjk_hints_compute_edges()
1254 dist = -dist; in af_cjk_hints_compute_blue_edges()
1366 dist = -dist; in af_cjk_snap_width()
1439 dist += ( 54 - dist ) / 2 ; in af_cjk_compute_stem_width()
1472 dist = ( dist + 16 ) & ~63; in af_cjk_compute_stem_width()
1486 dist = ( dist + 32 ) & ~63; in af_cjk_compute_stem_width()
1495 dist = ( dist + 64 ) >> 1; in af_cjk_compute_stem_width()
1498 dist = ( dist + 22 ) & ~63; in af_cjk_compute_stem_width()
[all …]
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_compare.c45 int dist; in SDLTest_CompareSurfaces() local
82 dist = 0; in SDLTest_CompareSurfaces()
83 dist += (R-Rd)*(R-Rd); in SDLTest_CompareSurfaces()
84 dist += (G-Gd)*(G-Gd); in SDLTest_CompareSurfaces()
85 dist += (B-Bd)*(B-Bd); in SDLTest_CompareSurfaces()
88 if (dist > allowable_error) { in SDLTest_CompareSurfaces()
93 sampleDist = dist; in SDLTest_CompareSurfaces()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Dinffast.c77 unsigned dist; /* match distance */ local
148 dist = (unsigned)(here.val);
158 dist += (unsigned)hold & ((1U << op) - 1);
160 if (dist > dmax) {
168 Tracevv((stderr, "inflate: distance %u\n", dist));
170 if (dist > op) { /* see if copy from window */
171 op = dist - op; /* distance back in window */
191 from = out - dist;
207 from = out - dist; /* rest from output */
236 from = out - dist; /* rest from output */
[all …]
A Ddeflate.h300 int ZLIB_INTERNAL _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
308 #define d_code(dist) \ argument
309 ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)])
335 ush dist = (ush)(distance); \
336 s->d_buf[s->last_lit] = dist; \
338 dist--; \
340 s->dyn_dtree[d_code(dist)].Freq++; \
A Dtrees.c240 int dist; /* distance index */ in tr_static_init() local
271 dist = 0; in tr_static_init()
273 base_dist[code] = dist; in tr_static_init()
275 _dist_code[dist++] = (uch)code; in tr_static_init()
281 base_dist[code] = dist << 7; in tr_static_init()
1014 int ZLIB_INTERNAL _tr_tally (s, dist, lc) in _tr_tally() argument
1019 s->d_buf[s->last_lit] = (ush)dist;
1021 if (dist == 0) {
1076 dist = s->d_buf[lx];
1078 if (dist == 0) {
[all …]
/AliOS-Things-master/components/py_engine/external/unzip/src/
A Dinffast.c94 unsigned dist; /* match distance */ local
165 dist = (unsigned)(here.val);
175 dist += (unsigned)hold & ((1U << op) - 1);
177 if (dist > dmax) {
185 Tracevv((stderr, "inflate: distance %u\n", dist));
187 if (dist > op) { /* see if copy from window */
188 op = dist - op; /* distance back in window */
208 from = out - dist;
224 from = out - dist; /* rest from output */
253 from = out - dist; /* rest from output */
[all …]
A Dtrees.c247 int dist; /* distance index */ in tr_static_init() local
278 dist = 0; in tr_static_init()
280 base_dist[code] = dist; in tr_static_init()
282 _dist_code[dist++] = (uch)code; in tr_static_init()
288 base_dist[code] = dist << 7; in tr_static_init()
1031 s->d_buf[s->last_lit] = (ush)dist;
1033 if (dist == 0) {
1088 dist = s->d_buf[lx];
1090 if (dist == 0) {
1103 code = d_code(dist);
[all …]
/AliOS-Things-master/components/py_engine/external/unzip/internal/
A Ddeflate.h294 int ZLIB_INTERNAL _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
301 #define d_code(dist) \ argument
302 ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)])
328 ush dist = (distance); \
329 s->d_buf[s->last_lit] = dist; \
331 dist--; \
333 s->dyn_dtree[d_code(dist)].Freq++; \
/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_win.h267 static inline void lv_win_scroll_hor(lv_obj_t * win, lv_coord_t dist) in lv_win_scroll_hor() argument
270 lv_page_scroll_hor(ext->page, dist); in lv_win_scroll_hor()
277 static inline void lv_win_scroll_ver(lv_obj_t * win, lv_coord_t dist) in lv_win_scroll_ver() argument
280 lv_page_scroll_ver(ext->page, dist); in lv_win_scroll_ver()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/
A DMakefile.in141 cscope distdir distdir-am dist dist-all distcheck
588 dist-gzip: distdir
596 dist-lzip: distdir
600 dist-xz: distdir
604 dist-tarZ: distdir
611 dist-shar: distdir
618 dist-zip: distdir
623 dist dist-all:
630 distcheck: dist
822 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/blast/
A Dblast.c288 unsigned dist; /* distance for copy */ in decomp() local
339 dist = decode(s, &distcode) << symbol; in decomp()
340 dist += bits(s, symbol); in decomp()
341 dist++; in decomp()
342 if (s->first && dist > s->next) in decomp()
348 from = to - dist; in decomp()
350 if (s->next < dist) { in decomp()
352 copy = dist; in decomp()
/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DMakefile.in512 dist-gzip: distdir
520 dist-lzip: distdir
524 dist-lzma: distdir
528 dist-xz: distdir
532 dist-tarZ: distdir
536 dist-shar: distdir
540 dist-zip: distdir
545 dist dist-all: distdir
552 distcheck: dist
748 dist-all dist-bzip2 dist-gzip dist-lzip dist-lzma dist-shar \
[all …]
/AliOS-Things-master/components/freetype/src/pshinter/
A Dpshglob.c62 FT_Pos w, dist; in psh_globals_scale_widths() local
66 dist = w - stand->cur; in psh_globals_scale_widths()
68 if ( dist < 0 ) in psh_globals_scale_widths()
69 dist = -dist; in psh_globals_scale_widths()
71 if ( dist < 128 ) in psh_globals_scale_widths()
97 FT_Pos dist;
101 dist = width - w;
102 if ( dist < 0 )
103 dist = -dist;
104 if ( dist < best )
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/
A DMakefile.in196 cscope distdir dist dist-all distcheck
264 DIST_TARGETS = dist-gzip dist-zip
709 dist-gzip: distdir
717 dist-lzip: distdir
721 dist-xz: distdir
725 dist-tarZ: distdir
738 dist-zip: distdir
743 dist dist-all:
750 distcheck: dist
946 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dtiffmedian.c666 mindist = dist; in create_colorcell()
677 dist = 0; in create_colorcell()
680 dist += tmp*tmp; in create_colorcell()
683 dist += tmp*tmp; in create_colorcell()
686 dist += tmp*tmp; in create_colorcell()
737 dist = 9999999; in map_colortable()
747 if (d2 < dist) { in map_colortable()
748 dist = d2; in map_colortable()
861 dist = 9999999; in quant_fsdither()
870 if (d2 < dist) { in quant_fsdither()
[all …]
/AliOS-Things-master/components/SDL2/src/gfx/
A DMakefile.in567 dist-gzip: distdir
575 dist-lzip: distdir
579 dist-lzma: distdir
583 dist-xz: distdir
587 dist-tarZ: distdir
591 dist-shar: distdir
595 dist-zip: distdir
600 dist dist-all: distdir
607 distcheck: dist
808 dist-all dist-bzip2 dist-gzip dist-lzip dist-lzma dist-shar \
[all …]
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsopengl.c250 unsigned int dist, best_dist = ~0U; in WIN_GL_ChoosePixelFormat() local
271 dist = 0; in WIN_GL_ChoosePixelFormat()
276 dist += (pfd.cColorBits - target->cColorBits); in WIN_GL_ChoosePixelFormat()
281 dist += (pfd.cRedBits - target->cRedBits); in WIN_GL_ChoosePixelFormat()
286 dist += (pfd.cGreenBits - target->cGreenBits); in WIN_GL_ChoosePixelFormat()
291 dist += (pfd.cBlueBits - target->cBlueBits); in WIN_GL_ChoosePixelFormat()
296 dist += (pfd.cAlphaBits - target->cAlphaBits); in WIN_GL_ChoosePixelFormat()
301 dist += (pfd.cAccumBits - target->cAccumBits); in WIN_GL_ChoosePixelFormat()
326 dist += (pfd.cDepthBits - target->cDepthBits); in WIN_GL_ChoosePixelFormat()
334 if (dist < best_dist) { in WIN_GL_ChoosePixelFormat()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/release/write_flash_gui/
A Dqt.conf2 Prefix = D:/LuZhiLong/Work/Code/Git/productline/dev_env/tools/PyInstaller/dld_main/dist/dld_main/Py…
3 Binaries = D:/LuZhiLong/Work/Code/Git/productline/dev_env/tools/PyInstaller/dld_main/dist/dld_main/…
/AliOS-Things-master/components/jsoncpp/
A Ddev.makefile15 rsync -va -c --delete dist/doxygen/jsoncpp-api-html-${VER}/ ../jsoncpp-docs/doxygen/
27 cd dist; gcc -I. -c jsoncpp.cpp
33 \rm -rf *.gz *.asc dist/
/AliOS-Things-master/components/SDL2/src/image/
A DMakefile.in781 dist-gzip: distdir
785 dist-bzip2: distdir
789 dist-lzip: distdir
793 dist-xz: distdir
797 dist-tarZ: distdir
804 dist-shar: distdir
811 dist-zip: distdir
816 dist dist-all:
823 distcheck: dist
1023 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
[all …]
/AliOS-Things-master/components/freetype/src/gzip/
A Dinfcodes.c45 uInt dist; /* distance back to copy from */ member
176 c->sub.copy.dist = t->base; in inflate_codes()
193 c->sub.copy.dist += (uInt)b & inflate_mask[j]; in inflate_codes()
195 Tracevv((stderr, "inflate: distance %u\n", c->sub.copy.dist)); in inflate_codes()
198 f = q - c->sub.copy.dist; in inflate_codes()
/AliOS-Things-master/components/freetype/src/truetype/
A Dttpload.c128 FT_Long dist = 0x7FFFFFFFL; in tt_face_load_loca() local
137 if ( diff > 0 && diff < dist ) in tt_face_load_loca()
138 dist = diff; in tt_face_load_loca()
144 dist = stream->size - pos; in tt_face_load_loca()
147 if ( new_loca_len <= dist ) in tt_face_load_loca()
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_gesture.c288 float dist = 0; in dollarDifference() local
294 dist += (float)(SDL_sqrt((p.x-templ[i].x)*(p.x-templ[i].x)+ in dollarDifference()
297 return dist/DOLLARNPOINTS; in dollarDifference()
344 float dist; in dollarNormalize() local
363 dist = interval; in dollarNormalize()
372 while (dist + d > interval) { in dollarNormalize()
374 ((interval-dist)/d)*(path->p[i].x-path->p[i-1].x); in dollarNormalize()
376 ((interval-dist)/d)*(path->p[i].y-path->p[i-1].y); in dollarNormalize()
381 dist -= interval; in dollarNormalize()
383 dist += d; in dollarNormalize()

Completed in 93 milliseconds

123