/external/liblzf/cs/ |
CLZF.cs | 139 UInt32 IDX(UInt32 h) 178 hslot = IDX (hval); 230 htab[IDX (hval)] = iidx; 234 htab[IDX (hval)] = iidx;
|
/external/liblzf/ |
lzf_c.c | 51 # define IDX(h) ((( h >> (3*8 - HLOG)) - h ) & (HSIZE - 1)) 53 # define IDX(h) ((( h >> (3*8 - HLOG)) - h*5) & (HSIZE - 1)) 55 # define IDX(h) ((((h ^ (h << 5)) >> (3*8 - HLOG)) - h*5) & (HSIZE - 1)) 59 * IDX works because it is very similar to a multiplicative hash, e.g. 71 # define IDX(h) ((h) & (HSIZE - 1)) 145 hslot = htab + IDX (hval); 236 htab[IDX (hval)] = ip - LZF_HSLOT_BIAS; 241 htab[IDX (hval)] = ip - LZF_HSLOT_BIAS; 250 htab[IDX (hval)] = ip - LZF_HSLOT_BIAS;
|
/external/liblzf/src/org/liblzf/ |
CLZF.java | 139 static int IDX(int h) 178 hslot = IDX (hval); 230 htab[IDX (hval)] = iidx; 234 htab[IDX (hval)] = iidx;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_maos_vbtmp.h | 292 setup_tab[IDX].emit = TAG(emit); 293 setup_tab[IDX].vertex_format = IND; 294 setup_tab[IDX].vertex_size = sz; 300 #undef IDX
|
radeon_maos_verts.c | 86 #define IDX 0 93 #define IDX 1 100 #define IDX 2 108 #define IDX 3 116 #define IDX 4 124 #define IDX 5 133 #define IDX 6 142 #define IDX 7 152 #define IDX 8 161 #define IDX [all...] |
/external/skia/bench/ |
VertBench.cpp | 28 IDX = ROW * COL * 6, 33 uint16_t fIdx[IDX]; 35 static void load_2_tris(uint16_t idx[], int x, int y, int rb) { 37 idx[0] = n; idx[1] = n + 1; idx[2] = rb + n + 1; 38 idx[3] = n; idx[4] = rb + n + 1; idx[5] = n + rb; 47 uint16_t* idx = fIdx local [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_lighttmp.h | 31 #if IDX & LIGHT_TWOSIDE 64 #if IDX & LIGHT_TWOSIDE 79 #if IDX & LIGHT_TWOSIDE 93 #if IDX & LIGHT_MATERIAL 96 #if IDX & LIGHT_TWOSIDE 104 #if IDX & LIGHT_TWOSIDE 165 #if IDX & LIGHT_TWOSIDE 174 #if IDX & LIGHT_TWOSIDE 220 #if IDX & LIGHT_TWOSIDE 246 #if IDX & LIGHT_TWOSID [all...] |
t_vb_light.c | 295 #define IDX (0) 299 #define IDX (LIGHT_TWOSIDE) 303 #define IDX (LIGHT_MATERIAL) 307 #define IDX (LIGHT_TWOSIDE|LIGHT_MATERIAL) 332 GLuint idx; local 364 idx = 0; 367 idx |= LIGHT_MATERIAL; 370 idx |= LIGHT_TWOSIDE; 375 store->light_func_tab[idx]( ctx, VB, stage, input );
|
/external/llvm/lib/IR/ |
BasicBlock.cpp | 391 int IDX = PN->getBasicBlockIndex(this); 392 while (IDX != -1) { 393 PN->setIncomingBlock((unsigned)IDX, New); 394 IDX = PN->getBasicBlockIndex(this);
|
/external/mesa3d/src/glsl/ |
glsl_types.cpp | 432 #define IDX(c,r) (((c-1)*3) + (r-1)) 434 switch (IDX(columns, rows)) { 435 case IDX(2,2): return mat2_type; 436 case IDX(2,3): return mat2x3_type; 437 case IDX(2,4): return mat2x4_type; 438 case IDX(3,2): return mat3x2_type; 439 case IDX(3,3): return mat3_type; 440 case IDX(3,4): return mat3x4_type; 441 case IDX(4,2): return mat4x2_type; 442 case IDX(4,3): return mat4x3_type [all...] |
/prebuilts/tools/common/m2/repository/com/android/tools/external/liblzf/1.0/ |
liblzf-1.0.jar | |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/ |
btSoftBodyHelpers.cpp | 228 const int idx[]={hres.m_Indices[j*3+0],hres.m_Indices[j*3+1],hres.m_Indices[j*3+2]}; local 229 idraw->drawTriangle(hres.m_OutputVertices[idx[0]], 230 hres.m_OutputVertices[idx[1]], 231 hres.m_OutputVertices[idx[2]], 711 #define IDX(_x_,_y_) ((_y_)*rx+(_x_)) 729 x[IDX(ix,iy)]=lerp(py0,py1,tx); 730 m[IDX(ix,iy)]=1; 734 if(fixeds&1) psb->setMass(IDX(0,0),0); 735 if(fixeds&2) psb->setMass(IDX(rx-1,0),0); 736 if(fixeds&4) psb->setMass(IDX(0,ry-1),0) 745 const int idx=IDX(ix,iy); local 1040 const int idx[]={triangles[i],triangles[i+1],triangles[i+2]}; local 1076 const int idx[]={ static_cast<int>(hres.m_Indices[i*3+0]), local [all...] |
btSoftBody.cpp | 1050 #define IDX(_x_,_y_) ((_y_)*n+(_x_)) 1057 adj[IDX(i,j)]=adj[IDX(j,i)]=inf; 1061 adj[IDX(i,j)]=adj[IDX(j,i)]=0; 1069 adj[IDX(ia,ib)]=1; 1070 adj[IDX(ib,ia)]=1; 1106 const unsigned sum=adj[IDX(i,k)]+adj[IDX(k,j)]; 1108 if(adj[IDX(i,j)]>sum 1271 const int idx[]={ int(m_faces[i].m_n[0]-&m_nodes[0]), local 1469 const int idx[]={ int(feat.m_n[0]-nbase), local 1490 const int idx[]={ int(feat.m_n[0]-nbase), local 2720 const int idx=int(c.m_nodes[j]-&m_nodes[0]); local [all...] |