/external/chromium_org/third_party/skia/src/utils/ |
SkNinePatch.cpp | 28 static int fillIndices(uint16_t indices[], int xCount, int yCount) { 29 uint16_t* startIndices = indices; 34 *indices++ = n; 35 *indices++ = n + xCount + 2; 36 *indices++ = n + 1; 38 *indices++ = n; 39 *indices++ = n + xCount + 1; 40 *indices++ = n + xCount + 2; 46 return indices - startIndices; 190 // allocate 2 times, one for verts, one for texs, plus indices 195 uint16_t* indices = (uint16_t*)(texs + vCount); local [all...] |
/external/chromium_org/v8/tools/oom_dump/ |
oom_dump.cc | 206 int indices[v8::internal::LAST_TYPE + 1]; local 208 indices[i] = i; 211 std::stable_sort(indices, indices + sizeof(indices)/sizeof(indices[0]), 260 int type = indices[i];
|
/external/eigen/Eigen/src/Core/ |
PermutationMatrix.h | 82 indices() = other.indices(); 102 indices() = other.indices(); 108 inline Index rows() const { return indices().size(); } 111 inline Index cols() const { return indices().size(); } 113 /** \returns the size of a side of the respective square matrix, i.e., the number of indices */ 114 inline Index size() const { return indices().size(); } 122 other.coeffRef(indices().coeff(i),i) = typename DenseDerived::Scalar(1); 135 /** const version of indices(). * 136 const IndicesType& indices() const { return derived().indices(); } function in class:Eigen::PermutationBase 138 IndicesType& indices() { return derived().indices(); } function in class:Eigen::PermutationBase 358 const IndicesType& indices() const { return m_indices; } function in class:Eigen::PermutationMatrix 360 IndicesType& indices() { return m_indices; } function in class:Eigen::PermutationMatrix 439 const IndicesType& indices() const { return m_indices; } function in class:Eigen::Map 441 IndicesType& indices() { return m_indices; } function in class:Eigen::Map 499 indices() const { return m_indices; } function in class:Eigen::PermutationWrapper [all...] |
/external/icu4c/test/letest/ |
cletest.c | 43 le_int32 *indices = NULL; local 61 indices = NEW_ARRAY(le_int32, glyphCount + 10); 85 le_getCharIndices(engine, indices, &status); 88 log_err("Calling getCharIndices(indices, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n"); 99 le_getCharIndicesWithBase(engine, indices, 1024, &status); 102 log_err("Calling getCharIndices(indices, 1024, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n"); 120 DELETE_ARRAY(indices); 216 le_int32 biasedIndices[6], indices[6], glyph; local 237 le_getCharIndices(engine, indices, &status); 241 log_err("Could not get glyph, indices and position arrays.\n") [all...] |
gendata.cpp | 165 le_int32 *indices = NULL; local 260 indices = NEW_ARRAY(le_int32, glyphCount); 264 engine->getCharIndices(indices, leStatus); 269 dumpLongs(outputFile, "result-indices", indices, glyphCount); 276 DELETE_ARRAY(indices);
|
xmlreader.cpp | 150 UnicodeString result_indices = UNICODE_STRING_SIMPLE("result-indices"); 180 UnicodeString text, glyphs, indices, positions; local 214 indices = element->getText(TRUE); 227 expected.indices = (le_int32 *) getHexArray(indices, indexCount); 242 DELETE_ARRAY(expected.indices);
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Surface.java | 106 int[] indices = new int[uSegments * vSegments * 6];
local 110 indices[arrayIndex++] = j + i * uVerticesAmount;
111 indices[arrayIndex++] = j + i * uVerticesAmount + 1;
112 indices[arrayIndex++] = j + i * uVerticesAmount + uVerticesAmount;
113 indices[arrayIndex++] = j + i * uVerticesAmount + 1;
114 indices[arrayIndex++] = j + i * uVerticesAmount + uVerticesAmount + 1;
115 indices[arrayIndex++] = j + i * uVerticesAmount + uVerticesAmount;
121 for (int i = 0; i < indices.length; i += 3) {
122 Vector3f n = FastMath.computeNormal(vertices[indices[i]], vertices[indices[i + 1]], vertices[indices[i + 2]]); [all...] |
/external/lzma/C/ |
7zDec.c | 360 UInt32 indices[] = { 3, 2, 0 };
local 362 si = indices[ci];
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_sanity.c | 44 uint indices[2]; member in struct:__anon24812 69 key |= (reg->indices[0] << 4); 70 key |= (reg->indices[1] << 18); 81 reg->indices[0] = index; 82 reg->indices[1] = 0; 91 reg->indices[0] = index1; 92 reg->indices[1] = index2; 280 reg->indices[0] = 0; 281 reg->indices[1] = 0; 293 reg->indices[0], reg->indices[1], name ) [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
tri-instanced.c | 78 static ushort indices[3] = { 0, 2, 1 }; variable 158 sizeof(indices), 159 indices);
|
/external/skia/bench/ |
GameBench.cpp | 134 uint16_t indices[6] = { 0, 1, 2, 0, 2, 3 }; variable 208 indices, 6, p2);
|
/external/skia/gm/ |
techtalk1.cpp | 71 const uint16_t indices[], int count) { 76 drawLine(canvas, pts[indices[i]], pts[indices[i+1]], paint); 77 drawLine(canvas, pts[indices[i+1]], pts[indices[i+2]], paint); 78 drawLine(canvas, pts[indices[i+2]], pts[indices[i]], paint); 99 uint16_t indices[256*6]; local 100 uint16_t* ndx = indices; 107 show_mesh(canvas, pts0, indices, ndx - indices) 171 const uint16_t indices[] = { local [all...] |
/external/skia/src/gpu/ |
GrGpu.cpp | 257 static inline void fill_indices(uint16_t* indices, int quadCount) { 259 indices[6 * i + 0] = 4 * i + 0; 260 indices[6 * i + 1] = 4 * i + 1; 261 indices[6 * i + 2] = 4 * i + 2; 262 indices[6 * i + 3] = 4 * i + 0; 263 indices[6 * i + 4] = 4 * i + 2; 264 indices[6 * i + 5] = 4 * i + 3; 274 uint16_t* indices = (uint16_t*)fQuadIndexBuffer->lock(); local 275 if (NULL != indices) { 276 fill_indices(indices, MAX_QUADS) [all...] |
/external/skia/src/utils/ |
SkNinePatch.cpp | 28 static int fillIndices(uint16_t indices[], int xCount, int yCount) { 29 uint16_t* startIndices = indices; 34 *indices++ = n; 35 *indices++ = n + xCount + 2; 36 *indices++ = n + 1; 38 *indices++ = n; 39 *indices++ = n + xCount + 1; 40 *indices++ = n + xCount + 2; 46 return indices - startIndices; 190 // allocate 2 times, one for verts, one for texs, plus indices 195 uint16_t* indices = (uint16_t*)(texs + vCount); local [all...] |
/external/v8/tools/oom_dump/ |
oom_dump.cc | 205 int indices[v8::internal::LAST_TYPE + 1]; local 207 indices[i] = i; 210 std::stable_sort(indices, indices + sizeof(indices)/sizeof(indices[0]), 259 int type = indices[i];
|
/frameworks/base/libs/hwui/font/ |
CacheTexture.h | 149 uint16_t* indices() const { function in class:android::uirenderer::CacheTexture
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
ManualActivity.java | 201 int[] indices = DisplayModifier.getIndices(); local 203 mSpinners[i].setSelection(indices[i]);
|
/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 249 GLushort* indices = (GLushort*)malloc(quads*sizeof(quadIndices)); local 251 memcpy(indices+(sizeof(quadIndices)/sizeof(indices[0]))*i, quadIndices, sizeof(quadIndices)); 271 glDrawElements(GL_TRIANGLES, nelem*quads, GL_UNSIGNED_SHORT, indices); 275 free(indices);
|
/sdk/emulator/opengl/tests/translator_tests/GLES_CM/ |
triangleCM.cpp | 316 unsigned short indices[] = { 2, 1, 0 }; local 338 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); 425 glDrawElements(drawType, 3, GL_UNSIGNED_SHORT, indices);
|
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
MeshLoader.java | 371 // - 4 bone indices 382 VertexBuffer indices = new VertexBuffer(Type.BoneIndex); local 386 indices.setupData(usage, 4, Format.UnsignedByte, indicesData); 389 mesh.setBuffer(indices);
|
/external/chromium/testing/gmock/include/gmock/ |
gmock-generated-matchers.h | 267 // Prints the indices of the selected fields. 270 const int indices[10] = { k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 }; local 272 if (indices[i] < 0) 278 *os << "#" << indices[i]; local [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
browser_tab_strip_controller.cc | 501 std::vector<int> indices = local 503 for (std::vector<int>::const_iterator i(indices.begin()); 504 i != indices.end(); ++i) {
|
/external/llvm/lib/IR/ |
ConstantsContext.h | 173 Indices(IdxList) { 177 /// Indices - These identify which value to extract. 178 const SmallVector<unsigned, 4> Indices; 199 Indices(IdxList) { 204 /// Indices - These identify the position for the insertion. 205 const SmallVector<unsigned, 4> Indices; 323 operands(ops.begin(), ops.end()), indices(inds.begin(), inds.end()) {} 328 SmallVector<unsigned, 4> indices; member in struct:llvm::ExprMapKeyType 334 this->indices == that.indices; [all...] |
/frameworks/base/tools/aapt/ |
StringPool.cpp | 173 ent.indices.add(pos); 292 newEntries.editItemAt(newOffset).indices.clear(); 298 // Update the indices to include this new position. 299 newEntries.editItemAt(newOffset).indices.add(i); 332 mValues.add(ent.value, ent.indices[0]); 560 const Vector<size_t>* indices = offsetsForString(val); local 561 ssize_t res = indices != NULL && indices->size() > 0 ? indices->itemAt(0) : -1; 573 return &mEntries[mEntryArray[pos]].indices; [all...] |
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZoneResultAdapter.java | 162 ArrayList<Integer> indices = mTimeZoneData.getTimeZonesByOffset(time); local 163 if (indices != null) { 164 for (Integer i : indices) {
|