Home
last modified time | relevance | path

Searched refs:positions (Results 1 – 25 of 223) sorted by relevance

123456789

/external/icu/icu4c/source/test/letest/
Dcletest.c46 float *positions = NULL; in ParamTest() local
64 positions = NEW_ARRAY(float, glyphCount + 10); in ParamTest()
115 le_getGlyphPositions(engine, positions, &status); in ParamTest()
121 DELETE_ARRAY(positions); in ParamTest()
219 float positions[6 * 2 + 2]; in AccessTest() local
240 le_getGlyphPositions(engine, positions, &status); in AccessTest()
273 if (x != positions[glyph*2] || y != positions[glyph*2 + 1]) { in AccessTest()
275 glyph, x, y, positions[glyph*2], positions[glyph*2 + 1]); in AccessTest()
314 double xError = uprv_fabs(actual->positions[i * 2] - expected->positions[i * 2]); in compareResults()
315 double yError = uprv_fabs(actual->positions[i * 2 + 1] - expected->positions[i * 2 + 1]); in compareResults()
[all …]
Dletest.cpp61 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 …]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/
DSortIndex.java49 private int[] positions; field in SortIndex
75 if (positions == null || positions.length < items.size()) { in init()
76 positions = new int[items.size()]; in init()
80 positions[e.idx] = pos++; in init()
93 return positions[idx]; in getPosition()
/external/v8/test/mjsunit/
Ddebug-liveedit-patch-positions.js54 var positions = new Array();
58 positions.push(match.index);
60 return positions;
63 function ReadPCMap(func, positions) { argument
65 for (var i = 0; i < positions.length; i++) {
66 var pc = Debug.LiveEdit.GetPcFromSourcePos(func, positions[i]);
/external/libweave/third_party/chromium/base/strings/
Dstring_util.cc135 TrimPositions positions, in TrimStringT() argument
143 const size_t first_good_char = (positions & TRIM_LEADING) ? in TrimStringT()
145 const size_t last_good_char = (positions & TRIM_TRAILING) ? in TrimStringT()
155 return input_was_empty ? TRIM_NONE : positions; in TrimStringT()
177 TrimPositions positions) { in TrimStringPieceT() argument
178 size_t begin = (positions & TRIM_LEADING) ? in TrimStringPieceT()
180 size_t end = (positions & TRIM_TRAILING) ? in TrimStringPieceT()
187 TrimPositions positions) { in TrimString() argument
188 return TrimStringPieceT(input, trim_chars, positions); in TrimString()
192 TrimPositions positions, in TrimWhitespaceASCII() argument
[all …]
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp595 outTriangles[0].positions[0] = outData[0]; outTriangles[0].sharedEdge[0] = false; in generateTriangles()
596 outTriangles[0].positions[1] = outData[1]; outTriangles[0].sharedEdge[1] = false; in generateTriangles()
597 outTriangles[0].positions[2] = outData[2]; outTriangles[0].sharedEdge[2] = false; in generateTriangles()
599 outTriangles[1].positions[0] = outData[3]; outTriangles[1].sharedEdge[0] = false; in generateTriangles()
600 outTriangles[1].positions[1] = outData[4]; outTriangles[1].sharedEdge[1] = false; in generateTriangles()
601 outTriangles[1].positions[2] = outData[5]; outTriangles[1].sharedEdge[2] = false; in generateTriangles()
610 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles()
611 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles()
612 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()
663 outTriangles[0].positions[0] = outData[0]; outTriangles[0].sharedEdge[0] = false; in generateTriangles()
[all …]
Des2fBufferTestUtil.cpp315 static void computePositions (vector<tcu::Vec2>& positions, int gridSizeX, int gridSizeY) in computePositions() argument
317 positions.resize(gridSizeX*gridSizeY*4); in computePositions()
332 positions[baseNdx+0] = tcu::Vec2(fx0, fy0); in computePositions()
333 positions[baseNdx+1] = tcu::Vec2(fx0, fy1); in computePositions()
334 positions[baseNdx+2] = tcu::Vec2(fx1, fy0); in computePositions()
335 positions[baseNdx+3] = tcu::Vec2(fx1, fy1); in computePositions()
420 vector<tcu::Vec2> positions; in verify() local
428 computePositions(positions, maxQuadsX, maxQuadsY); in verify()
440 glVertexAttribPointer (m_posLoc, 2, GL_FLOAT, GL_FALSE, 0, &positions[0]); in verify()
576 std::vector<tcu::Vec2> positions; in verify() local
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java150 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/chromium-trace/catapult/third_party/flot/
Djquery.flot.canvas.min.js7positions=info.positions,lines=info.lines;if(updateStyles){context.fillStyle=info.font.color;conte…
Djquery.flot.canvas.js83 positions = info.positions,
96 for (var i = 0, position; position = positions[i]; i++) {
102 positions.splice(i--, 1);
106 if (positions.length == 0) {
225 positions: [],
273 positions = info.positions,
304 for (var i = 0, position; position = positions[i]; i++) {
320 positions.push(position);
/external/deqp/modules/glshared/
DglsRasterizationTestUtil.cpp147 …tcu::Vec2(triangle.positions[0].x() / triangle.positions[0].w(), triangle.positions[0].y() / trian… in pixelOnlyOnASharedEdge()
148 …tcu::Vec2(triangle.positions[1].x() / triangle.positions[1].w(), triangle.positions[1].y() / trian… in pixelOnlyOnASharedEdge()
149 …tcu::Vec2(triangle.positions[2].x() / triangle.positions[2].w(), triangle.positions[2].y() / trian… in pixelOnlyOnASharedEdge()
188 …tcu::Vec2(triangle.positions[0].x() / triangle.positions[0].w(), triangle.positions[0].y() / trian… in getTriangleAABB()
189 …tcu::Vec2(triangle.positions[1].x() / triangle.positions[1].w(), triangle.positions[1].y() / trian… in getTriangleAABB()
190 …tcu::Vec2(triangle.positions[2].x() / triangle.positions[2].w(), triangle.positions[2].y() / trian… in getTriangleAABB()
587 …ene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], scene.triang… in interpolate()
588 …ene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], scene.triang… in interpolate()
589 …ene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], scene.triang… in interpolate()
590 …ene.triangles[primitiveNdx].positions[0], scene.triangles[primitiveNdx].positions[1], scene.triang… in interpolate()
[all …]
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp872 outTriangles[0].positions[0] = outData[0]; outTriangles[0].sharedEdge[0] = false; in generateTriangles()
873 outTriangles[0].positions[1] = outData[1]; outTriangles[0].sharedEdge[1] = false; in generateTriangles()
874 outTriangles[0].positions[2] = outData[2]; outTriangles[0].sharedEdge[2] = false; in generateTriangles()
876 outTriangles[1].positions[0] = outData[3]; outTriangles[1].sharedEdge[0] = false; in generateTriangles()
877 outTriangles[1].positions[1] = outData[4]; outTriangles[1].sharedEdge[1] = false; in generateTriangles()
878 outTriangles[1].positions[2] = outData[5]; outTriangles[1].sharedEdge[2] = false; in generateTriangles()
887 << "\n\t" << outTriangles[triangleNdx].positions[0] in generateTriangles()
888 << "\n\t" << outTriangles[triangleNdx].positions[1] in generateTriangles()
889 << "\n\t" << outTriangles[triangleNdx].positions[2] in generateTriangles()
940 outTriangles[0].positions[0] = outData[0]; outTriangles[0].sharedEdge[0] = false; in generateTriangles()
[all …]
Des3fPixelBufferObjectTests.cpp281 float positions[3*3]; in renderTriangle() local
283 positions[0] = a.x(); in renderTriangle()
284 positions[1] = a.y(); in renderTriangle()
285 positions[2] = a.z(); in renderTriangle()
287 positions[3] = b.x(); in renderTriangle()
288 positions[4] = b.y(); in renderTriangle()
289 positions[5] = b.z(); in renderTriangle()
291 positions[6] = c.x(); in renderTriangle()
292 positions[7] = c.y(); in renderTriangle()
293 positions[8] = c.z(); in renderTriangle()
[all …]
/external/guice/core/src/com/google/inject/spi/
DElementSource.java153 Integer[] positions = new Integer[size]; in getModuleConfigurePositionsInStackTrace() local
155 positions[0] = chunkSize - 1; in getModuleConfigurePositionsInStackTrace()
159 positions[cursor] = positions[cursor - 1] + chunkSize; in getModuleConfigurePositionsInStackTrace()
162 return ImmutableList.<Integer>copyOf(positions); in getModuleConfigurePositionsInStackTrace()
/external/skia/src/gpu/batches/
DGrDrawVerticesBatch.cpp36 const SkPoint* positions, int vertexCount, in GrDrawVerticesBatch() argument
41 SkASSERT(positions); in GrDrawVerticesBatch()
46 installedGeo.fPositions.append(vertexCount, positions); in GrDrawVerticesBatch()
256 SkTArray<SkPoint>* positions, in randomize_params() argument
261 positions->push_back(random_point(random, min, max)); in randomize_params()
280 SkTArray<SkPoint> positions; in DRAW_BATCH_TEST_DEFINE() local
295 &positions, in DRAW_BATCH_TEST_DEFINE()
303 &positions, in DRAW_BATCH_TEST_DEFINE()
311 SkDEBUGCODE(bool result = ) bounds.setBoundsCheck(positions.begin(), vertexCount); in DRAW_BATCH_TEST_DEFINE()
319 positions.begin(), vertexCount, in DRAW_BATCH_TEST_DEFINE()
/external/harfbuzz_ng/test/api/
Dtest-shape.c93 hb_glyph_position_t *positions; in test_shape() local
117 positions = hb_buffer_get_glyph_positions (buffer, NULL); in test_shape()
130 g_assert_cmpint (output_x_advances[i], ==, positions[i].x_advance); in test_shape()
131 g_assert_cmpint (output_x_offsets [i], ==, positions[i].x_offset); in test_shape()
132 g_assert_cmpint (0, ==, positions[i].y_advance); in test_shape()
133 g_assert_cmpint (0, ==, positions[i].y_offset); in test_shape()
/external/skia/src/gpu/text/
DGrAtlasTextBlob.cpp68 const SkRect& positions, in appendGlyph() argument
98 subRun->joinGlyphBounds(positions); in appendGlyph()
106 position->set(positions.fLeft, positions.fTop); in appendGlyph()
113 position->set(positions.fLeft, positions.fBottom); in appendGlyph()
120 position->set(positions.fRight, positions.fBottom); in appendGlyph()
127 position->set(positions.fRight, positions.fTop); in appendGlyph()
133 position->set(positions.fLeft, positions.fTop); in appendGlyph()
138 position->set(positions.fLeft, positions.fBottom); in appendGlyph()
143 position->set(positions.fRight, positions.fBottom); in appendGlyph()
148 position->set(positions.fRight, positions.fTop); in appendGlyph()
/external/skia/bench/
DGLInstancedArraysBench.cpp185 SkPoint positions[kVerticesPerTri]; in setupInstanceVbo() local
186 positions[0].set(-1.0f, -1.0f); in setupInstanceVbo()
187 positions[1].set( 1.0f, -1.0f); in setupInstanceVbo()
188 positions[2].set( 1.0f, 1.0f); in setupInstanceVbo()
189 viewMatrices[0].mapPointsWithStride(positions, sizeof(SkPoint), kVerticesPerTri); in setupInstanceVbo()
205 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, sizeof(positions), positions, GR_GL_STATIC_DRAW)); in setupInstanceVbo()
226 SkPoint positions[kVerticesPerTri * kNumTri]; in setupDoubleVbo() local
229 SkPoint* position = &positions[i * kVerticesPerTri]; in setupDoubleVbo()
250 GR_GL_CALL(gl, BufferData(GR_GL_ARRAY_BUFFER, sizeof(positions), positions, GR_GL_STATIC_DRAW)); in setupDoubleVbo()
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DDalvCode.java57 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/v8/src/compiler/
Dgraph-visualizer.h28 AsJSON(const Graph& g, SourcePositionTable* p) : graph(g), positions(p) {} in AsJSON()
30 const SourcePositionTable* positions; member
51 const SourcePositionTable* positions = nullptr,
55 positions_(positions), in schedule_()
/external/libchrome/base/strings/
Dstring_util.cc283 TrimPositions positions, in TrimStringT() argument
291 const size_t first_good_char = (positions & TRIM_LEADING) ? in TrimStringT()
293 const size_t last_good_char = (positions & TRIM_TRAILING) ? in TrimStringT()
303 return input_was_empty ? TRIM_NONE : positions; in TrimStringT()
331 TrimPositions positions) { in TrimStringPieceT() argument
332 size_t begin = (positions & TRIM_LEADING) ? in TrimStringPieceT()
334 size_t end = (positions & TRIM_TRAILING) ? in TrimStringPieceT()
341 TrimPositions positions) { in TrimString() argument
342 return TrimStringPieceT(input, trim_chars, positions); in TrimString()
347 TrimPositions positions) { in TrimString() argument
[all …]
/external/opencv3/modules/cudaimgproc/perf/
Dperf_hough.cpp256 cv::cuda::GpuMat positions; in PERF_TEST_P() local
260 TEST_CYCLE() alg->detect(d_edges, d_dx, d_dy, positions); in PERF_TEST_P()
262 CUDA_SANITY_CHECK(positions); in PERF_TEST_P()
268 cv::Mat positions; in PERF_TEST_P() local
272 TEST_CYCLE() alg->detect(edges, dx, dy, positions); in PERF_TEST_P()
274 CPU_SANITY_CHECK(positions); in PERF_TEST_P()
327 cv::cuda::GpuMat positions; in PERF_TEST_P() local
331 TEST_CYCLE() alg->detect(d_edges, d_dx, d_dy, positions); in PERF_TEST_P()
339 cv::Mat positions; in PERF_TEST_P() local
343 TEST_CYCLE() alg->detect(edges, dx, dy, positions); in PERF_TEST_P()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp397 fStyleRunInfo[run].positions = NULL; in ParagraphLayout()
455 fStyleRunInfo[run].positions = LE_NEW_ARRAY(float, glyphCount * 2 + 2); in ParagraphLayout()
457 (fStyleRunInfo[run].positions == NULL)) { in ParagraphLayout()
468 engine->getGlyphPositions(fStyleRunInfo[run].positions, layoutStatus); in ParagraphLayout()
481 …phWidths[glyphBase + glyph] = fStyleRunInfo[run].positions[glyph * 2 + 2] - fStyleRunInfo[run].pos… in ParagraphLayout()
594 LE_DELETE_ARRAY(fStyleRunInfo[run].positions); in ~ParagraphLayout()
597 fStyleRunInfo[run].positions = NULL; in ~ParagraphLayout()
1093 fVisualRunLastX -= fStyleRunInfo[run].positions[leftGlyph * 2]; in appendRun()
1102 float *positions = LE_NEW_ARRAY(float, glyphCount * 2 + 2); in appendRun() local
1108 positions[outGlyph] = fStyleRunInfo[run].positions[inGlyph] + fVisualRunLastX; in appendRun()
[all …]
/external/opencv3/modules/cudaimgproc/src/
Dgeneralized_hough.cpp112 void detectImpl(InputArray image, OutputArray positions, OutputArray votes);
113 …void detectImpl(InputArray edges, InputArray dx, InputArray dy, OutputArray positions, OutputArray…
148 void convertTo(OutputArray positions, OutputArray votes);
239 … void GeneralizedHoughBase::detectImpl(InputArray image, OutputArray positions, OutputArray votes) in detectImpl() argument
243 (void) positions; in detectImpl()
257 positions.release(); in detectImpl()
265 convertTo(positions, votes); in detectImpl()
270 …:detectImpl(InputArray edges, InputArray dx, InputArray dy, OutputArray positions, OutputArray vot… in detectImpl() argument
288 positions.release(); in detectImpl()
296 convertTo(positions, votes); in detectImpl()
[all …]
/external/icu/icu4c/source/samples/layout/
DGnomeFontInstance.cpp42 … 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()

123456789