/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/ |
D | Arrow.java | 53 private static final float[] positions = new float[]{ field in Arrow 82 float[] newPositions = new float[positions.length]; in Arrow() 83 for (int i = 0; i < positions.length; i += 3) { in Arrow() 84 Vector3f vec = tempVec.set(positions[i], in Arrow() 85 positions[i + 1], in Arrow() 86 positions[i + 2]); in Arrow() 125 for (int i = 0; i < positions.length; i += 3) { in setArrowExtent() 126 Vector3f vec = tempVec.set(positions[i], in setArrowExtent() 127 positions[i + 1], in setArrowExtent() 128 positions[i + 2]); in setArrowExtent()
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
D | UVProjectionGenerator.java | 34 FloatBuffer positions = mesh.getFloatBuffer(VertexBuffer.Type.Position); in flatProjection() local 35 float[] uvCoordinates = new float[positions.limit() / 3 * 2]; in flatProjection() 36 for (int i = 0, j = 0; i < positions.limit(); i += 3, j += 2) { in flatProjection() 37 uvCoordinates[j] = (positions.get(i) - min.x) / ext[0]; in flatProjection() 38 uvCoordinates[j + 1] = (positions.get(i + 1) - min.y) / ext[1]; in flatProjection() 117 FloatBuffer positions = mesh.getFloatBuffer(VertexBuffer.Type.Position); in tubeProjection() local 118 float[] uvCoordinates = new float[positions.limit() / 3 * 2]; in tubeProjection() 124 for (int i = 0, j = 0; i < positions.limit(); i += 3, j += 2) { in tubeProjection() 126 v.set(positions.get(i)-cx, positions.get(i + 1)-cy, 0); in tubeProjection() 135 float z = positions.get(i + 2); in tubeProjection() [all …]
|
D | UVCoordinatesGenerator.java | 287 FloatBuffer positions = mesh.getFloatBuffer(VertexBuffer.Type.Position); in getBoundingTube() local 288 int limit = positions.limit(); in getBoundingTube() 290 float x = positions.get(i); in getBoundingTube() 291 float y = positions.get(i + 1); in getBoundingTube() 292 float z = positions.get(i + 2); in getBoundingTube()
|
/external/v8/test/mjsunit/ |
D | debug-liveedit-patch-positions.js | 53 var positions = new Array(); 57 positions.push(match.index); 59 return positions; 62 function ReadPCMap(func, positions) { argument 64 for (var i = 0; i < positions.length; i++) { 65 var pc = Debug.LiveEdit.GetPcFromSourcePos(func, positions[i]);
|
/external/icu4c/test/letest/ |
D | cletest.c | 44 float *positions = NULL; in ParamTest() local 62 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest() 113 le_getGlyphPositions(engine, positions, &status); in ParamTest() 119 DELETE_ARRAY(positions); in ParamTest() 217 float positions[6 * 2 + 2]; in AccessTest() local 238 le_getGlyphPositions(engine, positions, &status); in AccessTest() 271 if (x != positions[glyph*2] || y != positions[glyph*2 + 1]) { in AccessTest() 273 glyph, x, y, positions[glyph*2], positions[glyph*2 + 1]); in AccessTest() 312 double xError = uprv_fabs(actual->positions[i * 2] - expected->positions[i * 2]); in compareResults() 313 double yError = uprv_fabs(actual->positions[i * 2 + 1] - expected->positions[i * 2 + 1]); in compareResults() [all …]
|
D | letest.cpp | 61 float *positions = NULL; in ParamTest() local 71 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest() 136 engine->getGlyphPositions(positions, status); in ParamTest() 142 DELETE_ARRAY(positions); in ParamTest() 247 float positions[6 * 2 + 2]; in AccessTest() local 268 engine->getGlyphPositions(positions, status); in AccessTest() 315 if (x != positions[glyph*2] || y != positions[glyph*2 + 1]) { in AccessTest() 317 glyph, x, y, positions[glyph*2], positions[glyph*2 + 1]); in AccessTest() 356 double xError = uprv_fabs(actual->positions[i * 2] - expected->positions[i * 2]); in compareResults() 360 testID, i, expected->positions[i * 2], actual->positions[i * 2]); in compareResults() [all …]
|
D | gendata.cpp | 166 float *positions = NULL; in main() local 261 positions = NEW_ARRAY(float, glyphCount * 2 + 2); in main() 265 engine->getGlyphPositions(positions, leStatus); in main() 271 dumpFloats(outputFile, "result-positions", positions, glyphCount * 2 + 2); in main() 275 DELETE_ARRAY(positions); in main()
|
D | xmlreader.cpp | 180 UnicodeString text, glyphs, indices, positions; in readTestFile() local 216 positions = element->getText(TRUE); in readTestFile() 228 expected.positions = getFloatArray(positions, positionCount); in readTestFile() 241 DELETE_ARRAY(expected.positions); in readTestFile()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | Grid.java | 150 public void set(int quadX, int quadY, float[][] positions, float[][] uvs) { in set() argument 157 if (positions.length < 4) { in set() 167 setVertex(i, j, positions[0][0], positions[0][1], positions[0][2], uvs[0][0], uvs[0][1]); in set() 168 … setVertex(i + 1, j, positions[1][0], positions[1][1], positions[1][2], uvs[1][0], uvs[1][1]); in set() 169 … setVertex(i, j + 1, positions[2][0], positions[2][1], positions[2][2], uvs[2][0], uvs[2][1]); in set() 170 … setVertex(i + 1, j + 1, positions[3][0], positions[3][1], positions[3][2], uvs[3][0], uvs[3][1]); in set()
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
D | ParticleTriMesh.java | 161 FloatBuffer positions = (FloatBuffer) pvb.getData(); in updateParticleData() local 188 positions.clear(); in updateParticleData() 197 positions.put(0).put(0).put(0); in updateParticleData() 198 positions.put(0).put(0).put(0); in updateParticleData() 199 positions.put(0).put(0).put(0); in updateParticleData() 200 positions.put(0).put(0).put(0); in updateParticleData() 232 positions.put(p.position.x + left.x + up.x) in updateParticleData() 236 positions.put(p.position.x - left.x + up.x) in updateParticleData() 240 positions.put(p.position.x + left.x - up.x) in updateParticleData() 244 positions.put(p.position.x - left.x - up.x) in updateParticleData() [all …]
|
D | ParticlePointMesh.java | 117 FloatBuffer positions = (FloatBuffer) pvb.getData(); in updateParticleData() local 131 positions.rewind(); in updateParticleData() 138 positions.put(p.position.x) in updateParticleData() 155 positions.flip(); in updateParticleData() 161 pvb.updateData(positions); in updateParticleData()
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
D | DalvCode.java | 57 private PositionList positions; field in DalvCode 95 this.positions = null; in DalvCode() 109 positions = PositionList.make(insns, positionInfo); in finishProcessingIfNecessary() 206 return positions; in getPositions()
|
/external/harfbuzz/src/ |
D | harfbuzz-buffer.c | 75 if ( buffer->positions ) in hb_buffer_ensure() 77 if ( REALLOC_ARRAY( buffer->positions, new_allocated, HB_PositionRec ) ) in hb_buffer_ensure() 140 buffer->positions = NULL; in hb_buffer_new() 155 FREE( buffer->positions ); in hb_buffer_free() 211 if ( !buffer->positions ) in _hb_buffer_clear_positions() 215 if ( ALLOC_ARRAY( buffer->positions, buffer->allocated, HB_PositionRec ) ) in _hb_buffer_clear_positions() 219 memset (buffer->positions, 0, sizeof (buffer->positions[0]) * buffer->in_length); in _hb_buffer_clear_positions()
|
/external/icu4c/layoutex/ |
D | ParagraphLayout.cpp | 394 fStyleRunInfo[run].positions = NULL; in ParagraphLayout() 452 fStyleRunInfo[run].positions = LE_NEW_ARRAY(float, glyphCount * 2 + 2); in ParagraphLayout() 454 (fStyleRunInfo[run].positions == NULL)) { in ParagraphLayout() 465 engine->getGlyphPositions(fStyleRunInfo[run].positions, layoutStatus); in ParagraphLayout() 478 …phWidths[glyphBase + glyph] = fStyleRunInfo[run].positions[glyph * 2 + 2] - fStyleRunInfo[run].pos… in ParagraphLayout() 591 LE_DELETE_ARRAY(fStyleRunInfo[run].positions); in ~ParagraphLayout() 594 fStyleRunInfo[run].positions = NULL; in ~ParagraphLayout() 1090 fVisualRunLastX -= fStyleRunInfo[run].positions[leftGlyph * 2]; in appendRun() 1099 float *positions = LE_NEW_ARRAY(float, glyphCount * 2 + 2); in appendRun() local 1105 positions[outGlyph] = fStyleRunInfo[run].positions[inGlyph] + fVisualRunLastX; in appendRun() [all …]
|
/external/qemu/distrib/sdl-1.2.15/test/ |
D | testsprite.c | 18 SDL_Rect *positions; variable 75 position = &positions[i]; in MoveSprites() 236 positions = sprite_rects; in main() 244 positions[i].x = rand()%(screen->w - sprite_w); in main() 245 positions[i].y = rand()%(screen->h - sprite_h); in main() 246 positions[i].w = sprite->w; in main() 247 positions[i].h = sprite->h; in main()
|
/external/icu4c/samples/layout/ |
D | GnomeFontInstance.cpp | 42 … const float *positions, le_int32 x, le_int32 y, le_int32 /*width*/, le_int32 /*height*/) in drawGlyphs() argument 46 gFont->rasterizeGlyphs(fCairo, glyphs, count, positions, x, y); in drawGlyphs() 178 …sterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions, in rasterizeGlyphs() argument 189 glyph_t[out].x = x + positions[in*2]; in rasterizeGlyphs() 190 glyph_t[out].y = y + positions[in*2 + 1]; in rasterizeGlyphs()
|
D | rsurface.cpp | 17 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) in rs_drawGlyphs() argument 21 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height); in rs_drawGlyphs()
|
D | GDIFontInstance.cpp | 53 …Glyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, in drawGlyphs() argument 72 dx[out] = (le_int32) (positions[g * 2 + 2] - positions[g * 2]); in drawGlyphs() 73 ps[out * 2] = positions[g * 2]; in drawGlyphs() 74 ps[out * 2 + 1] = positions[g * 2 + 1]; in drawGlyphs()
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
D | FontMac.mm | 110 Vector<CGPoint, 256> positions(count); 113 …positions[i] = CGPointApplyAffineTransform(CGPointMake(position.x - translation.width, position.y … 117 CGContextShowGlyphsAtPositions(context, glyphs, positions.data(), count); 127 Vector<CGPoint, 256> positions(count); 129 positions[0] = CGPointZero; 132 positions[i].x = positions[i - 1].x + advance.width; 133 positions[i].y = positions[i - 1].y + advance.height; 135 CTFontDrawGlyphs(platformData.ctFont(), glyphs, positions.data(), count, context);
|
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
D | RandomSetter.h | 239 VectorXi positions(mp_target->outerSize()); in ~RandomSetter() 240 positions.setZero(); in ~RandomSetter() 248 ++positions[outer]; in ~RandomSetter() 255 Index tmp = positions[j]; in ~RandomSetter() 257 positions[j] = count; in ~RandomSetter() 277 Index i = (positions[outer]++) - 1; in ~RandomSetter()
|
/external/openfst/src/include/fst/extensions/far/ |
D | sttable.h | 248 const vector<int64> &positions = positions_[id]; in LowerBound() local 249 size_t low = 0, high = positions.size() - 1; in LowerBound() 253 strm->seekg(positions[mid]); in LowerBound() 262 strm->seekg(positions[i - 1]); in LowerBound() 265 strm->seekg(positions[i]); in LowerBound() 269 strm->seekg(positions[low]); in LowerBound() 273 strm->seekg(positions[low]); in LowerBound()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/ |
D | EntropyComputeUtil.java | 30 FloatBuffer positions = terrainBlock.getFloatBuffer(Type.Position); in computeLodEntropy() local 50 for (int i = 0; i < positions.capacity() / 3; i++){ in computeLodEntropy() 51 BufferUtils.populateFromBuffer(pos, positions, i); in computeLodEntropy()
|
/external/icu4c/layoutex/layout/ |
D | ParagraphLayout.h | 180 … const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]); 341 … const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]); 560 float *positions; member 728 … const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]) in VisualRun() argument 730 fGlyphs(glyphs), fPositions(positions), fGlyphToCharMap(glyphToCharMap) in VisualRun()
|
/external/chromium/base/ |
D | string_util.cc | 210 TrimPositions positions, in TrimStringT() argument 214 const typename STR::size_type first_good_char = (positions & TRIM_LEADING) ? in TrimStringT() 216 const typename STR::size_type last_good_char = (positions & TRIM_TRAILING) ? in TrimStringT() 226 return input_was_empty ? TRIM_NONE : positions; in TrimStringT() 296 TrimPositions positions, in TrimWhitespace() argument 298 return TrimStringT(input, kWhitespaceWide, positions, output); in TrimWhitespace() 303 TrimPositions positions, in TrimWhitespace() argument 305 return TrimStringT(input, kWhitespaceUTF16, positions, output); in TrimWhitespace() 310 TrimPositions positions, in TrimWhitespaceASCII() argument 312 return TrimStringT(input, kWhitespaceASCII, positions, output); in TrimWhitespaceASCII() [all …]
|
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/ |
D | table_data_model.js | 197 var positions = []; 199 positions[this.indexes_[i]] = i; 205 sortPermutation[positions[this.indexes_[i]]] = i;
|