/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
random_shuffle.h | 67 difference_type** dist; member in struct:__gnu_parallel::DRandomShufflingGlobalData 133 // Indexing: dist[bin][processor] 136 difference_type* dist = new difference_type[sd->num_bins + 1]; local 142 dist[b] = 0; 154 ++(dist[oracle + 1]); 158 sd->dist[b][iam + 1] = dist[b]; 164 // Sum up bins, sd->dist[s + 1][d->num_threads] now contains the 167 __gnu_sequential::partial_sum(sd->dist[s + 1], 168 sd->dist[s + 1] + d->num_threads + 1 [all...] |
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
GLSharedGroup.cpp | 89 GLint dist = location - m_Indexes[i].base; local 90 if (dist >= 0 && 91 (minDist < 0 || dist < minDist)) { 93 minDist = dist;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
WindowSurface.java | 167 int dist = Math.abs(mBrightLine-index); local 168 if (dist > 10) return 0; 169 return (255-(dist*(255/10))) << 8;
|
/external/chromium/chrome/browser/ui/views/ |
about_chrome_view.cc | 749 BrowserDistribution* dist = BrowserDistribution::GetDistribution(); local 752 InstallUtil::GetChromeVersion(dist, false)); 755 installed_version.reset(InstallUtil::GetChromeVersion(dist, true)); [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
FaultHeightMap.java | 179 float dist = ((x2 - x1) * (j - y1) - (y2 - y1) * (i - x1))
local 181 tempBuffer[i][j] += calcHeight(dist, random, faultHeight, range);
197 float dist;
local 204 dist = FastMath.sign(dmag - radius)
207 dist = 0;
209 tempBuffer[i][j] += calcHeight(dist, random, faultHeight, range);
214 protected float calcHeight(float dist, Random random, float faultHeight, float range) {
217 return FastMath.sign(dist) * faultHeight;
220 if (FastMath.abs(dist) > range) {
221 return FastMath.sign(dist) * faultHeight; [all...] |
/external/opencv/cv/src/ |
cvapprox.cpp | 581 int dx, dy, dist; local 587 dist = dx * dx + dy * dy; 589 if( dist > max_dist ) 591 max_dist = dist; 630 int dx, dy, dist, max_dist = 0; local 640 dist = abs((pt.y - start_pt.y) * dx - (pt.x - start_pt.x) * dy); 642 if( dist > max_dist ) 644 max_dist = dist; 688 int dx, dy, dist; local 693 dist = abs((pt.x - start_pt.x)*dy - (pt.y - start_pt.y)*dx) 786 double dx, dy, dist; local 835 double dx, dy, dist, max_dist = 0; local 893 double dx, dy, dist; local [all...] |
cvrotcalipers.cpp | 252 float dist; local 255 dist = (float)fabs(dx * base_a + dy * base_b); 257 dist = (float)fabs(dx * (-base_b) + dy * base_a); 259 if( dist > max_dist ) 260 max_dist = dist;
|
cvconvhull.cpp | 694 double dist = fabs(-dy0*dx + dx0*dy) * scale; local 696 if( dist > depth ) 698 depth = dist;
|
cvdistransform.cpp | 68 int step, float* dist, int dststep, CvSize size, const float* metrics ) 78 dststep /= sizeof(dist[0]); 112 float* d = (float*)(dist + i*dststep); 140 int step, float* dist, int dststep, CvSize size, const float* metrics ) 151 dststep /= sizeof(dist[0]); 193 float* d = (float*)(dist + i*dststep); 229 int step, float* dist, int dststep, int* labels, int lstep, 242 dststep /= sizeof(dist[0]); 327 float* d = (float*)(dist + i*dststep); 504 int j, dist = m-1 local [all...] |
cvinpaint.cpp | 239 float dist; local 255 dist = min4(FastMarching_solve(i-1,j,i,j-1,f,t), 259 CV_MAT_ELEM(*t,float,i,j) = dist; 261 Heap->Push(i,j,dist); 282 float dist; local 297 dist = min4(FastMarching_solve(i-1,j,i,j-1,f,t), 301 CV_MAT_ELEM(*t,float,i,j) = dist; 392 Heap->Push(i,j,dist); 410 dist = min4(FastMarching_solve(i-1,j,i,j-1,f,t), 414 CV_MAT_ELEM(*t,float,i,j) = dist; 516 float dist; local [all...] |
/external/opencv/cvaux/src/ |
cvbgfg_acmmm2003.cpp | 501 int dist, min_dist = 2147483647, indx = -1; local 523 dist = 0; 528 dist += val; 531 dist += val; 533 if( l == 3 && dist < min_dist ) 535 min_dist = dist; 609 int dist, min_dist = 2147483647, indx = -1; local 631 dist = 0; 636 dist += val; 638 if( l == 3 && dist < min_dist [all...] |
/external/opencv/ml/src/ |
mlknearest.cpp | 151 float* neighbor_responses, const float** neighbors, float* dist ) const 167 Cv32suf* dd = (Cv32suf*)(dist + i*k); 213 const float* neighbor_responses, const float* dist, 294 dst[j] = dist[j + i*k]; 380 float* dist = buf + blk_count*k; local 381 Cv32suf* sort_buf = (Cv32suf*)(dist + blk_count*k); 384 neighbor_responses, _neighbors, dist ); 386 float r = write_results( k, k1, i, i + blk_count, neighbor_responses, dist,
|
mlem.cpp | 626 double dist = 0; local 632 dist += t0*t0 + t1*t1; 635 dist += t0*t0 + t1*t1; 641 dist += t*t; 644 if( min_dist > dist ) 646 min_dist = dist; 716 double dist = 0; local 721 dist += t*t; 723 if( max_dist < dist ) 724 max_dist = dist; [all...] |
/external/quake/quake/src/QW/client/ |
r_bsp.c | 162 float dist, frac, lastdist; local 174 tplane.dist = splitplane->dist - 189 tplane.dist; 198 dist = DotProduct (pvert->position, tplane.normal) - tplane.dist; 200 if (dist > 0) 212 frac = lastdist / (lastdist - dist); 350 dot = DotProduct (modelorg, pplane->normal) - pplane->dist; 428 dot = DotProduct (modelorg, pplane->normal) - pplane->dist; [all...] |
r_surf.c | 66 float dist, rad, minlight; local 84 dist = DotProduct (cl_dlights[lnum].origin, surf->plane->normal) - 85 surf->plane->dist; 86 rad -= fabs(dist); 95 surf->plane->normal[i]*dist; 115 dist = sd + (td>>1); 117 dist = td + (sd>>1); 118 if (dist < minlight) 119 blocklights[t*smax + s] += (rad - dist)*256;
|
bspfile.h | 128 float dist; member in struct:__anon11503
|
gl_vidlinux.c | 221 float dist, bestdist; local 271 dist = sqrt(((r1*r1)+(g1*g1)+(b1*b1))); 272 if (dist < bestdist) { 274 bestdist = dist;
|
/external/quake/quake/src/WinQuake/ |
r_bsp.cpp | 162 float dist, frac, lastdist;
local 174 tplane.dist = splitplane->dist -
189 tplane.dist;
198 dist = DotProduct (pvert->position, tplane.normal) - tplane.dist;
200 if (dist > 0)
212 frac = lastdist / (lastdist - dist);
350 dot = DotProduct (modelorg, pplane->normal) - pplane->dist;
428 dot = DotProduct (modelorg, pplane->normal) - pplane->dist;
[all...] |
r_part.cpp | 132 float dist; local 134 dist = 64; 171 p->org[0] = ent->origin[0] + r_avertexnormals[i][0]*dist + forward[0]*beamlength; 172 p->org[1] = ent->origin[1] + r_avertexnormals[i][1]*dist + forward[1]*beamlength; 173 p->org[2] = ent->origin[2] + r_avertexnormals[i][2]*dist + forward[2]*beamlength;
|
r_surf.cpp | 66 float dist, rad, minlight;
local 84 dist = DotProduct (cl_dlights[lnum].origin, surf->plane->normal) -
85 surf->plane->dist;
86 rad -= fabs(dist);
95 surf->plane->normal[i]*dist;
115 dist = sd + (td>>1);
117 dist = td + (sd>>1);
118 if (dist < minlight)
122 temp = (rad - dist)*256;
135 blocklights[t*smax + s] += (rad - dist)*256; [all...] |
/external/skia/src/gpu/ |
GrAAConvexPathRenderer.cpp | 322 GrScalar dist = fanPt.distanceToLineBetween(verts[v + 1].fPos, local 324 verts[v + 0].fUV.set(0, dist);
|
/gdk/samples/quake/jni/ |
r_part.cpp | 132 float dist; local 134 dist = 64; 171 p->org[0] = ent->origin[0] + r_avertexnormals[i][0]*dist + forward[0]*beamlength; 172 p->org[1] = ent->origin[1] + r_avertexnormals[i][1]*dist + forward[1]*beamlength; 173 p->org[2] = ent->origin[2] + r_avertexnormals[i][2]*dist + forward[2]*beamlength;
|
/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_util.cc | 510 BrowserDistribution* dist = BrowserDistribution::GetDistribution(); local 511 std::string client_name(dist->GetSafeBrowsingName());
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
Utils.java | 156 int dist = da * da + dg * dg + db * db; local 157 if (dist < minDist) { 158 minDist = dist;
|
/external/qemu/distrib/zlib-1.2.3/ |
trees.c | 246 int dist; /* distance index */ local 274 /* Initialize the mapping dist (0..32K) -> dist code (0..29) */ 275 dist = 0; 277 base_dist[code] = dist; 279 _dist_code[dist++] = (uch)code; 282 Assert (dist == 256, "tr_static_init: dist != 256"); 283 dist >>= 7; /* from now on, all distances are divided by 128 */ 285 base_dist[code] = dist << 7 1077 unsigned dist; \/* distance of matched string *\/ local [all...] |