HomeSort by relevance Sort by last modified time
    Searched defs:dist (Results 26 - 50 of 196) sorted by null

12 3 4 5 6 7 8

  /external/speex/libspeex/
quant_lsp.c 101 spx_word32_t dist; local
108 dist=0;
112 dist=MAC16_16(dist,tmp,tmp);
114 if (dist<best_dist)
116 best_dist=dist;
133 spx_word32_t dist; local
140 dist=0;
144 dist=MAC16_32_Q15(dist,weight[j],MULT16_16(tmp,tmp))
    [all...]
  /external/zlib/contrib/masmx64/
inffas8664.c 101 /*112 68 */ unsigned dist; /* r15 match distance */ member in struct:inffast_ar
  /external/zlib/
inffast.c 94 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 */
242 from = out - dist; /* rest from output *
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
EditDistanceTests.java 33 * dist(kitten, sitting) == 3
40 final int dist = BinaryDictionary.editDistance("kitten", "sitting"); local
42 3, dist);
46 * dist(Sunday, Saturday) == 3
53 final int dist = BinaryDictionary.editDistance("Saturday", "Sunday"); local
55 3, dist);
59 final int dist = BinaryDictionary.editDistance("", ""); local
61 0, dist);
65 final int dist = BinaryDictionary.editDistance("", "aaaa"); local
68 4, dist);
72 final int dist = BinaryDictionary.editDistance("aaaa", ""); local
81 final int dist = BinaryDictionary.editDistance(arg1, arg2); local
88 final int dist = BinaryDictionary.editDistance(arg, arg); local
    [all...]
  /dalvik/tests/083-jit-regressions/src/
Main.java 32 int dist = 360530809; local
37 int b = rotateLeft(x, dist);
  /external/chromium/chrome/browser/first_run/
try_chrome_dialog_view.cc 133 BrowserDistribution* dist = BrowserDistribution::GetDistribution(); local
134 if (!dist) {
139 if (!dist->GetExperimentDetails(&experiment, version_) ||
  /external/chromium/chrome/browser/
upgrade_detector.cc 95 BrowserDistribution* dist = BrowserDistribution::GetDistribution(); local
96 installed_version.reset(InstallUtil::GetChromeVersion(dist, false));
99 installed_version.reset(InstallUtil::GetChromeVersion(dist, true));
  /external/opencv/cv/src/
cvfeatureselect.cpp 200 int dist = dx * dx + dy * dy; local
202 if( dist < min_dist )
cvpgh.cpp 216 int dist = 0; local
297 dist = CV_IMAX( dist, d1 );
305 double scale = dist * buffer[i];
  /external/quake/quake/src/QW/client/
r_light.c 72 float dist; local
80 dist = DotProduct (light->origin, splitplane->normal) - splitplane->dist;
82 if (dist > light->radius)
87 if (dist < -light->radius)
163 front = DotProduct (start, plane->normal) - plane->dist;
164 back = DotProduct (end, plane->normal) - plane->dist;
r_local.h 91 float dist; member in struct:clipplane_s
137 void R_TransformPlane (mplane_t *p, float *normal, float *dist);
  /external/quake/quake/src/QW/server/
sv_move.c 233 qboolean SV_StepDirection (edict_t *ent, float yaw, float dist)
242 move[0] = cos(yaw)*dist;
243 move[1] = sin(yaw)*dist;
284 void SV_NewChaseDir (edict_t *actor, edict_t *enemy, float dist)
316 if (tdir != turnaround && SV_StepDirection(actor, tdir, dist))
329 && SV_StepDirection(actor, d[1], dist))
333 && SV_StepDirection(actor, d[2], dist))
338 if (olddir!=DI_NODIR && SV_StepDirection(actor, olddir, dist))
344 if (tdir!=turnaround && SV_StepDirection(actor, tdir, dist) )
350 if (tdir!=turnaround && SV_StepDirection(actor, tdir, dist) )
396 float dist; local
    [all...]
  /external/quake/quake/src/WinQuake/
cl_tent.cpp 329 vec3_t dist, org; local
350 VectorSubtract (b->end, b->start, dist);
352 if (dist[1] == 0 && dist[0] == 0)
355 if (dist[2] > 0)
362 yaw = (int) (atan2(dist[1], dist[0]) * 180 / M_PI);
366 forward = sqrt (dist[0]*dist[0] + dist[1]*dist[1]);
    [all...]
gl_rlight.cpp 195 float dist; local
203 dist = DotProduct (light->origin, splitplane->normal) - splitplane->dist;
205 if (dist > light->radius)
210 if (dist < -light->radius)
292 front = DotProduct (start, plane->normal) - plane->dist;
293 back = DotProduct (end, plane->normal) - plane->dist;
r_light.cpp 72 float dist; local
80 dist = DotProduct (light->origin, splitplane->normal) - splitplane->dist;
82 if (dist > light->radius)
87 if (dist < -light->radius)
163 front = DotProduct (start, plane->normal) - plane->dist;
164 back = DotProduct (end, plane->normal) - plane->dist;
r_local.h 90 float dist; member in struct:clipplane_s
136 void R_TransformPlane (mplane_t *p, float *normal, float *dist);
sv_move.cpp 233 qboolean SV_StepDirection (edict_t *ent, float yaw, float dist)
242 move[0] = cos(yaw)*dist;
243 move[1] = sin(yaw)*dist;
284 void SV_NewChaseDir (edict_t *actor, edict_t *enemy, float dist)
316 if (tdir != turnaround && SV_StepDirection(actor, tdir, dist))
329 && SV_StepDirection(actor, d[1], dist))
333 && SV_StepDirection(actor, d[2], dist))
338 if (olddir!=DI_NODIR && SV_StepDirection(actor, olddir, dist))
344 if (tdir!=turnaround && SV_StepDirection(actor, tdir, dist) )
350 if (tdir!=turnaround && SV_StepDirection(actor, tdir, dist) )
396 float dist; local
    [all...]
  /external/skia/src/core/
SkPathMeasure.cpp 78 SkScalar dist = SkMaxScalar(SkScalarAbs(dx), SkScalarAbs(dy)); local
79 return dist > CHEAP_DIST_LIMIT;
84 SkScalar dist = SkMaxScalar(SkScalarAbs(x - pt.fX), SkScalarAbs(y - pt.fY)); local
86 return dist > CHEAP_DIST_LIMIT;
  /external/zlib/contrib/inflate86/
inffas86.c 96 /*112 68 */ unsigned dist; /* r15 match distance */ member in struct:inffast_ar
151 /* r15d = dist */
257 " movl %%eax, %%r15d\n" /* dist = this */
258 " shrl $16, %%r15d\n" /* dist = this.val */
277 " addl %%eax, %%r15d\n" /* dist += hold & ((1 << op) - 1) */
285 " jb .L_clip_window\n" /* if (dist > nbytes) 4.2% */
289 " subq %%r15, %%rsi\n" /* from = out - dist */
309 " cmpl $1, %%r15d\n" /* if dist 1, is a memset */
351 " addl %%r15d, %%eax\n" /* eax += dist */
358 " movl 92(%%rsp), %%eax\n" /* eax = wsize, prepare for dist cmp *
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/src/
quantize.c 332 Word32 dist; local
342 dist = 0;
391 dist = L_add(dist, distSingle);
439 dist = L_add(dist, distSingle);
444 return dist;
  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
q_plsf_3.cpp 210 Word32 dist_min, dist;
219 dist = L_mult (temp, temp);
223 dist = L_mac (dist, temp, temp);
227 dist = L_mac (dist, temp, temp);
231 dist = L_mac (dist, temp, temp);
234 if (L_sub (dist, dist_min) < (Word32) 0)
236 dist_min = dist;
289 Word32 dist; local
619 Word32 dist; local
    [all...]
q_plsf_5.cpp 220 Word32 dist; local
248 dist = ((Word32)temp * temp);
250 if (dist >= dist_min)
257 dist += ((Word32)temp * temp);
259 if (dist >= dist_min)
266 dist += ((Word32)temp * temp);
268 if (dist >= dist_min)
275 dist += ((Word32)temp * temp);
278 if (dist < dist_min)
280 dist_min = dist;
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
qpisf_2s.c 453 Word32 dist_min, dist; local
461 dist = 0;
466 dist += (temp * temp)<<1;
469 if(dist < dist_min)
471 dist_min = dist;
500 Word32 dist_min[N_SURV_MAX], dist; local
515 dist = 0;
519 dist += (temp * temp)<<1;
524 if(dist < dist_min[k])
531 dist_min[k] = dist;
    [all...]
  /frameworks/base/core/java/android/util/
MathUtils.java 94 public static float dist(float x1, float y1, float x2, float y2) { method in class:MathUtils
100 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { method in class:MathUtils
  /gdk/samples/quake/jni/
cl_tent.cpp 329 vec3_t dist, org; local
350 VectorSubtract (b->end, b->start, dist);
352 if (dist[1] == 0 && dist[0] == 0)
355 if (dist[2] > 0)
362 yaw = (int) (atan2(dist[1], dist[0]) * 180 / M_PI);
366 forward = sqrt (dist[0]*dist[0] + dist[1]*dist[1])
    [all...]

Completed in 916 milliseconds

12 3 4 5 6 7 8