Searched defs:positions (Results 1 - 25 of 73) sorted by relevance

123

/external/lldb/examples/customization/bin-utils/
H A Dbinutils.py56 def positions(width): function
57 """Helper function returning a list describing the bit positions.
58 Bit positions greater than 99 are truncated to 2 digits, for example,
90 pos = positions(width)
119 pos = positions(width)
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
H A DArrow.java53 private static final float[] positions = new float[]{ field in class:Arrow
82 float[] newPositions = new float[positions.length];
83 for (int i = 0; i < positions.length; i += 3) {
84 Vector3f vec = tempVec.set(positions[i],
85 positions[i + 1],
86 positions[i + 2]);
125 for (int i = 0; i < positions.length; i += 3) {
126 Vector3f vec = tempVec.set(positions[i],
127 positions[i + 1],
128 positions[
[all...]
/external/harfbuzz_ng/src/
H A Dsample.py43 positions = hb.buffer_get_glyph_positions (buf) variable
45 for info,pos in zip(infos, positions):
H A Dtest.cc112 hb_glyph_position_t *positions = hb_buffer_get_glyph_positions (buffer, NULL); local
117 hb_glyph_position_t *pos = &positions[i];
/external/icu/icu4c/source/samples/layout/
H A Drsurface.cpp17 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height)
21 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
16 rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) argument
H A DGnomeFontInstance.cpp42 const float *positions, le_int32 x, le_int32 y, le_int32 /*width*/, le_int32 /*height*/)
46 gFont->rasterizeGlyphs(fCairo, glyphs, count, positions, x, y);
178 void GnomeFontInstance::rasterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions, argument
189 glyph_t[out].x = x + positions[in*2];
190 glyph_t[out].y = y + positions[in*2 + 1];
41 drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, le_int32 x, le_int32 y, le_int32 , le_int32 ) argument
H A DGDIFontInstance.cpp53 void GDISurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, argument
72 dx[out] = (le_int32) (positions[g * 2 + 2] - positions[g * 2]);
73 ps[out * 2] = positions[g * 2];
74 ps[out * 2 + 1] = positions[g * 2 + 1];
H A Dparagraph.cpp242 const float *positions = visualRun->getPositions(); local
244 surface->drawGlyphs(font, glyphs, glyphCount, positions, x, y, fWidth, fHeight);
/external/icu/icu4c/source/test/letest/
H A Dletest.h45 float *positions; member in struct:TestResult
H A Dxmlreader.cpp151 UnicodeString result_positions = UNICODE_STRING_SIMPLE("result-positions");
180 UnicodeString text, glyphs, indices, positions; local
216 positions = element->getText(TRUE);
228 expected.positions = getFloatArray(positions, positionCount);
241 DELETE_ARRAY(expected.positions);
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
H A DDalvCode.java54 * {@code null-ok;} source positions list; set in
57 private PositionList positions; field in class:DalvCode
95 this.positions = null;
109 positions = PositionList.make(insns, positionInfo);
200 * Gets the source positions list.
202 * @return {@code non-null;} the source positions list
206 return positions;
210 * Gets the source positions list.
212 * @return {@code non-null;} the source positions list
/external/icu/icu4c/source/test/perf/leperf/
H A Dleperf.cpp39 float *positions = NULL; local
45 positions = LE_NEW_ARRAY(float, glyphCount + 10);
52 delete positions;
H A Dxmlreader.cpp151 UnicodeString result_positions = UNICODE_STRING_SIMPLE("result-positions");
180 UnicodeString text, glyphs, indices, positions; local
216 positions = element->getText(TRUE);
228 expected.positions = getFloatArray(positions, positionCount);
241 DELETE_ARRAY(expected.positions);
/external/deqp/modules/glshared/
H A DglsRasterizationTestUtil.hpp67 tcu::Vec4 positions[3]; member in struct:deqp::gls::RasterizationTestUtil::TriangleSceneSpec::SceneTriangle
79 tcu::Vec4 positions[2]; member in struct:deqp::gls::RasterizationTestUtil::LineSceneSpec::SceneLine
/external/harfbuzz_ng/test/api/
H A Dtest-shape.c38 /* TODO Test positions too. And test non-native direction. Test commit 2e18c6dbdfb */
93 hb_glyph_position_t *positions; local
117 positions = hb_buffer_get_glyph_positions (buffer, NULL);
130 g_assert_cmpint (output_x_advances[i], ==, positions[i].x_advance);
131 g_assert_cmpint (output_x_offsets [i], ==, positions[i].x_offset);
132 g_assert_cmpint (0, ==, positions[i].y_advance);
133 g_assert_cmpint (0, ==, positions[i].y_offset);
H A Dtest-buffer.c301 hb_glyph_position_t *positions; local
303 /* Without shaping, positions should all be zero */
306 positions = hb_buffer_get_glyph_positions (b, &len2);
309 g_assert_cmpint (0, ==, positions[i].x_advance);
310 g_assert_cmpint (0, ==, positions[i].y_advance);
311 g_assert_cmpint (0, ==, positions[i].x_offset);
312 g_assert_cmpint (0, ==, positions[i].y_offset);
313 g_assert_cmpint (0, ==, positions[i].var.i32);
643 /* illegal code positions */
/external/icu/icu4c/source/layout/
H A Dloengine.cpp121 float positions[],
131 le->getGlyphPositions(positions, *success);
120 le_getGlyphPositions(le_engine *engine, float positions[], LEErrorCode *success) argument
/external/deqp/modules/gles2/functional/
H A Des2fShaderFragDataTests.cpp154 const float positions[] = local
173 glu::va::Float("a_position", 2, 4, 0, &positions[0]),
/external/deqp/modules/gles3/functional/
H A Des3fShaderFragDataTests.cpp154 const float positions[] = local
173 glu::va::Float("a_position", 2, 4, 0, &positions[0]),
256 const float positions[] = local
274 glu::va::Float("a_position", 2, 4, 0, &positions[0]),
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DDebugInfoDecoder.java48 /** positions decoded */
49 private final ArrayList<PositionEntry> positions; field in class:DebugInfoDecoder
107 positions = new ArrayList<PositionEntry>();
183 * Gets the decoded positions list.
186 * @return positions list in ascending address order.
189 return positions;
400 positions.add(new PositionEntry(address, line));
457 "Decoded positions table not same size was "
H A DDebugInfoEncoder.java58 /** {@code null-ok;} positions (line numbers) to encode */
59 private final PositionList positions; field in class:DebugInfoEncoder
99 * @param positions {@code null-ok;} positions (line numbers) to encode
108 public DebugInfoEncoder(PositionList positions, LocalList locals, argument
111 this.positions = positions;
341 * Emits all positions that occur at the current {@code address}
344 * @param sortedPositions positions, sorted by ascending address
364 * @param sortedPositions positions, sorte
[all...]
/external/openfst/src/include/fst/extensions/far/
H A Dsttable.h249 const vector<int64> &positions = positions_[id]; local
250 size_t low = 0, high = positions.size() - 1;
254 strm->seekg(positions[mid]);
263 strm->seekg(positions[i - 1]);
266 strm->seekg(positions[i]);
270 strm->seekg(positions[low]);
274 strm->seekg(positions[low]);
315 vector<vector<int64> > positions_; // Index of positions for each stream
/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/src/gpu/
H A DGrRectBatch.cpp19 and just duplicate the positions when the caller hasn't provided a local coord rect, but we
133 SkPoint* positions = GrTCast<SkPoint*>(offset); variable
135 positions->setRectFan(geom.fRect.fLeft, geom.fRect.fTop,
137 geom.fViewMatrix.mapPointsWithStride(positions, vertexStride, kVerticesPerQuad);
/external/deqp/modules/egl/
H A DteglNativeColorMappingTests.cpp221 const float positions[] = local
243 gl.vertexAttribPointer(posLocation, 2, GL_FLOAT, GL_FALSE, 0, positions);

Completed in 558 milliseconds

123