Searched defs:positions (Results 26 - 50 of 113) sorted by relevance

12345

/external/icu/icu4c/source/test/perf/leperf/
H A Dxmlreader.cpp157 UnicodeString result_positions = UNICODE_STRING_SIMPLE("result-positions");
186 UnicodeString text, glyphs, indices, positions; local
222 positions = element->getText(TRUE);
234 expected.positions = getFloatArray(positions, positionCount);
247 DELETE_ARRAY(expected.positions);
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
H A DLZEncoder.java45 static void normalize(int[] positions, int normalizationOffset) { argument
46 for (int i = 0; i < positions.length; ++i) {
47 if (positions[i] <= normalizationOffset)
48 positions[i] = 0;
50 positions[i] -= normalizationOffset;
/external/replicaisland/src/com/replica/replicaisland/
H A DGrid.java150 public void set(int quadX, int quadY, float[][] positions, float[][] uvs) { argument
157 if (positions.length < 4) {
158 throw new IllegalArgumentException("positions");
167 setVertex(i, j, positions[0][0], positions[0][1], positions[0][2], uvs[0][0], uvs[0][1]);
168 setVertex(i + 1, j, positions[1][0], positions[1][1], positions[1][2], uvs[1][0], uvs[1][1]);
169 setVertex(i, j + 1, positions[
[all...]
/external/skia/bench/
H A DGLInstancedArraysBench.cpp35 * kUseOne_VboSetup - one vertex buffer with colors and positions interleaved
36 * kUseTwo_VboSetup - two vertex buffers, one for colors, one for positions
183 SkPoint positions[kVerticesPerTri]; local
184 positions[0].set(-1.0f, -1.0f);
185 positions[1].set( 1.0f, -1.0f);
186 positions[2].set( 1.0f, 1.0f);
187 viewMatrices[0].mapPointsWithStride(positions, sizeof(SkPoint), kVerticesPerTri);
203 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, sizeof(positions), positions, GR_GL_STATIC_DRAW));
224 SkPoint positions[kVerticesPerTr local
[all...]
/external/skia/src/core/
H A DSkVertices.cpp105 SkPoint* SkVertices::Builder::positions() { function in class:SkVertices::Builder
106 return fVertices ? const_cast<SkPoint*>(fVertices->positions()) : nullptr;
135 sk_careful_memcpy(builder.positions(), pos, sizes.fVSize);
212 reader.read(builder.positions(), sizes.fVSize);
/external/skia/src/gpu/ops/
H A DGrNonAAFillRectPerspectiveOp.cpp23 coords and just duplicate the positions when the caller hasn't provided a local coord rect,
64 SkPoint* positions = reinterpret_cast<SkPoint*>(vertices); local
66 positions->setRectFan(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, vertexStride);
69 viewMatrix->mapPointsWithStride(positions, vertexStride, kVertsPerInstance);
H A DGrDrawVerticesOp.cpp15 const SkPoint* positions, int vertexCount, const uint16_t* indices, int indexCount,
19 SkASSERT(positions);
25 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(kIgnoredMode, vertexCount, positions,
109 // If we have multiple view matrices we will transform the positions into device space. We
110 // must then also provide untransformed positions as local coords.
183 const SkPoint* positions = mesh.fVertices->positions(); local
201 Sk2f p = Sk2f::Load(positions++) + t;
213 mesh.fViewMatrix.mapPoints(((SkPoint*)verts), &positions[j], 1);
215 *((SkPoint*)verts) = positions[
13 Make( GrColor color, GrPrimitiveType primitiveType, const SkMatrix& viewMatrix, const SkPoint* positions, int vertexCount, const uint16_t* indices, int indexCount, const uint32_t* colors, const SkPoint* localCoords, const SkRect& bounds, GrRenderTargetContext::ColorArrayType colorArrayType) argument
338 randomize_params(size_t count, size_t maxVertex, SkScalar min, SkScalar max, SkRandom* random, SkTArray<SkPoint>* positions, SkTArray<SkPoint>* texCoords, bool hasTexCoords, SkTArray<uint32_t>* colors, bool hasColors, SkTArray<uint16_t>* indices, bool hasIndices) argument
363 SkTArray<SkPoint> positions; local
377 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, local
382 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, local
[all...]
/external/deqp/modules/egl/
H A DteglNativeColorMappingTests.cpp221 const float positions[] = local
243 gl.vertexAttribPointer(posLocation, 2, GL_FLOAT, GL_FALSE, 0, positions);
H A DteglNativeCoordMappingTests.cpp231 const tcu::Vec2 positions[] = local
247 gl.vertexAttribPointer(posLocation, 2, GL_FLOAT, GL_FALSE, 0, positions);
/external/deqp/modules/gles2/accuracy/
H A Des2aVaryingInterpolationTests.cpp203 float positions[] = local
243 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &positions[0]);
/external/deqp/modules/gles2/functional/
H A Des2fBufferTestUtil.cpp315 static void computePositions (vector<tcu::Vec2>& positions, int gridSizeX, int gridSizeY) argument
317 positions.resize(gridSizeX*gridSizeY*4);
332 positions[baseNdx+0] = tcu::Vec2(fx0, fy0);
333 positions[baseNdx+1] = tcu::Vec2(fx0, fy1);
334 positions[baseNdx+2] = tcu::Vec2(fx1, fy0);
335 positions[baseNdx+3] = tcu::Vec2(fx1, fy1);
420 vector<tcu::Vec2> positions;
428 computePositions(positions, maxQuadsX, maxQuadsY);
440 glVertexAttribPointer (m_posLoc, 2, GL_FLOAT, GL_FALSE, 0, &positions[0]);
576 std::vector<tcu::Vec2> positions;
[all...]
H A Des2fShaderBuiltinVarTests.cpp308 const float positions[] = local
318 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &positions[0]);
402 const float positions[] = local
411 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &positions[0]);
614 const float positions[] = local
624 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &positions[0]);
/external/deqp/modules/gles3/accuracy/
H A Des3aVaryingInterpolationTests.cpp209 float positions[] = local
249 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &positions[0]);
/external/deqp/modules/gles3/stress/
H A Des3sLongRunningShaderTests.cpp242 void genPositions (const tcu::RenderTarget& renderTarget, int numPoints, Vec2* positions) argument
257 positions[pointNdx] = Vec2(xf, yf);
277 vector<Vec2> positions (m_params->numInvocations);
281 vertexArrays.push_back(glu::va::Float("a_position", 2, (int)positions.size(), 0, positions[0].getPtr()));
285 genPositions(m_context.getRenderTarget(), (int)positions.size(), &positions[0]);
/external/icu/icu4c/source/i18n/
H A Dcollationruleparser.cpp440 static const char *const positions[] = { member in namespace:__anon7331
466 for(int32_t pos = 0; pos < UPRV_LENGTHOF(positions); ++pos) {
467 if(raw == UnicodeString(positions[pos], -1, US_INV)) {
/external/icu/icu4c/source/layoutex/layout/
H A DParagraphLayout.h189 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
196 * <code>LEGlyphIDs</code>, an array of (x, y) glyph positions and
256 * Get the (x, y) positions of the glyphs in the visual run. To simplify storage
257 * management, the x and y positions are stored in a single array with the x positions
262 * @return the address of the array of glyph positions for this visual run. The storage
350 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
572 float *positions; member in struct:ParagraphLayout::StyleRunInfo
740 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[])
742 fGlyphs(glyphs), fPositions(positions), fGlyphToCharMa
739 VisualRun(const LEFontInstance *font, UBiDiDirection direction, le_int32 glyphCount, const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]) argument
[all...]
/external/icu/icu4c/source/test/letest/
H A Dcletest.c48 float *positions = NULL; local
66 positions = NEW_ARRAY(float, glyphCount + 10);
117 le_getGlyphPositions(engine, positions, &status);
120 log_err("Calling getGlyphPositions(positions, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n");
123 DELETE_ARRAY(positions);
221 float positions[6 * 2 + 2]; local
242 le_getGlyphPositions(engine, positions, &status);
275 if (x != positions[glyph*2] || y != positions[glyph*2 + 1]) {
277 glyph, x, y, positions[glyp
[all...]
H A Dgendata.cpp211 float *positions = NULL; local
320 positions = NEW_ARRAY(float, glyphCount * 2 + 2);
324 engine->getGlyphPositions(positions, leStatus);
337 dumpFloats(outputFile, "result-positions", positions, glyphCount * 2 + 2);
342 DELETE_ARRAY(positions);
/external/libchrome/base/strings/
H A Dstring_util_unittest.cc26 const TrimPositions positions; member in struct:base::trim_case
44 const TrimPositions positions; member in struct:base::trim_case_ascii
236 TrimWhitespace(WideToUTF16(value.input), value.positions,
255 TrimWhitespaceASCII(value.input, value.positions, &output_ascii));
401 // Test a variety of the fragment start positions and lengths in order to make
/external/deqp/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryInstancedRenderingTests.cpp474 std::vector<Vec4> positions; local
483 positions.push_back(Vec4(x, y, 0.0f, 1.0f));
486 return positions;
/external/deqp/modules/gles3/functional/
H A Des3fPixelBufferObjectTests.cpp281 float positions[3*3]; local
283 positions[0] = a.x();
284 positions[1] = a.y();
285 positions[2] = a.z();
287 positions[3] = b.x();
288 positions[4] = b.y();
289 positions[5] = b.z();
291 positions[6] = c.x();
292 positions[7] = c.y();
293 positions[
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fAdvancedBlendTests.cpp417 vector<Vec2> positions (numQuads*4);
432 std::copy(DE_ARRAY_BEGIN(singleQuadPos), DE_ARRAY_END(singleQuadPos), &positions[quadNdx*4]); local
441 gl.bufferData(GL_ARRAY_BUFFER, (glw::GLsizeiptr)(positions.size()*sizeof(positions[0])), &positions[0], GL_STATIC_DRAW);
H A Des31fStencilTexturingTests.cpp89 static void rectsToTriangles (const vector<IVec4>& rects, int width, int height, vector<Vec2>& positions, vector<deUint16>& indices) argument
94 positions.resize(rects.size()*4);
109 positions[rectNdx*4 + 0] = Vec2(x0, y0);
110 positions[rectNdx*4 + 1] = Vec2(x1, y0);
111 positions[rectNdx*4 + 2] = Vec2(x0, y1);
112 positions[rectNdx*4 + 3] = Vec2(x1, y1);
139 vector<Vec2> positions; local
154 rectsToTriangles(rects, width, height, positions, indices);
157 const glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 2, (int)positions.size(), 0, positions[
222 const float positions[] = local
287 const float positions[] = local
353 const float positions[] = local
[all...]
/external/deqp/modules/gles31/stress/
H A Des31sVertexAttributeBindingTests.cpp451 const tcu::Vec4 positions[6] = local
463 memcpy(&dataBuf[m_spec.bufferOffset + m_spec.positionAttrOffset + m_spec.bufferStride * ((y * GRID_SIZE + x) * 6 + v)], positions[v].getPtr(), sizeof(positions[v]));
/external/deqp/modules/glshared/
H A DglsBufferTestUtil.cpp476 static void computePositions (vector<tcu::Vec2>& positions, int gridSizeX, int gridSizeY) argument
478 positions.resize(gridSizeX*gridSizeY*4);
493 positions[baseNdx+0] = tcu::Vec2(fx0, fy0);
494 positions[baseNdx+1] = tcu::Vec2(fx0, fy1);
495 positions[baseNdx+2] = tcu::Vec2(fx1, fy0);
496 positions[baseNdx+3] = tcu::Vec2(fx1, fy1);
581 vector<tcu::Vec2> positions;
589 computePositions(positions, maxQuadsX, maxQuadsY);
601 // Upload positions
603 glBufferData (GL_ARRAY_BUFFER, (glw::GLsizeiptr)(positions
[all...]

Completed in 1299 milliseconds

12345