/third_party/skia/samplecode/ |
H A D | vertexdump.cpp | 9 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]); 11 void setup_vertexbug(SkPoint verts[], SkPoint texs[], uint16_t index[]) { in setup_vertexbug() argument 44 index[0] = 0; index[1] = 5; index[2] = 1; in setup_vertexbug() 45 index[3] = 0; index[4] = 4; index[5] = 5; in setup_vertexbug() 47 index[6] = 1; index[ in setup_vertexbug() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | PixelShader.cpp | 234 int sampler = inst->dst.index; in analyzeInterpolants() 246 int index = inst->dst.index + 2; in analyzeInterpolants() local 262 interpolant[index][0] = true; in analyzeInterpolants() 263 interpolant[index][1] = true; in analyzeInterpolants() 264 interpolant[index][2] = true; in analyzeInterpolants() 269 interpolant[index][0] = true; in analyzeInterpolants() 270 interpolant[index][1] = true; in analyzeInterpolants() 271 interpolant[index][2] = true; in analyzeInterpolants() 275 interpolant[index][ in analyzeInterpolants() 304 int index = inst->src[argument].index; analyzeInterpolants() local 694 unsigned char index = inst->usageIndex; analyzeInterpolants() local 705 unsigned char index = inst->dst.index; analyzeInterpolants() local [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
H A D | EOTWriter.java | 80 int index = 0; in convert() 82 index += writableFontData.writeULongLE(index, eotSize); // EOTSize in convert() 83 index += writableFontData.writeULongLE(index, fontData.length); // FontDataSize in convert() 84 index += writableFontData.writeULongLE(index, VERSION); // Version in convert() 85 index += writableFontData.writeULongLE(index, flags); // Flags in convert() 86 index in convert() 143 writeFontPANOSE(int index, OS2Table os2Table, WritableFontData writableFontData) writeFontPANOSE() argument 180 writePadding(int index, WritableFontData writableFontData) writePadding() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | api_arrayelt.c | 29 * state for the element/index. 97 VertexAttrib1NbvNV(GLuint index, const GLbyte *v) in VertexAttrib1NbvNV() argument 99 CALL_VertexAttrib1fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]))); in VertexAttrib1NbvNV() 103 VertexAttrib1bvNV(GLuint index, const GLbyte *v) in VertexAttrib1bvNV() argument 105 CALL_VertexAttrib1fNV(get_dispatch(), (index, (GLfloat)v[0])); in VertexAttrib1bvNV() 109 VertexAttrib2NbvNV(GLuint index, const GLbyte *v) in VertexAttrib2NbvNV() argument 111 CALL_VertexAttrib2fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]))); in VertexAttrib2NbvNV() 115 VertexAttrib2bvNV(GLuint index, const GLbyte *v) in VertexAttrib2bvNV() argument 117 CALL_VertexAttrib2fNV(get_dispatch(), (index, (GLfloat)v[0], (GLfloat)v[1])); in VertexAttrib2bvNV() 121 VertexAttrib3NbvNV(GLuint index, cons argument 129 VertexAttrib3bvNV(GLuint index, const GLbyte *v) VertexAttrib3bvNV() argument 135 VertexAttrib4NbvNV(GLuint index, const GLbyte *v) VertexAttrib4NbvNV() argument 144 VertexAttrib4bvNV(GLuint index, const GLbyte *v) VertexAttrib4bvNV() argument 152 VertexAttrib1NubvNV(GLuint index, const GLubyte *v) VertexAttrib1NubvNV() argument 158 VertexAttrib1ubvNV(GLuint index, const GLubyte *v) VertexAttrib1ubvNV() argument 164 VertexAttrib2NubvNV(GLuint index, const GLubyte *v) VertexAttrib2NubvNV() argument 171 VertexAttrib2ubvNV(GLuint index, const GLubyte *v) VertexAttrib2ubvNV() argument 177 VertexAttrib3NubvNV(GLuint index, const GLubyte *v) VertexAttrib3NubvNV() argument 184 VertexAttrib3ubvNV(GLuint index, const GLubyte *v) VertexAttrib3ubvNV() argument 191 VertexAttrib4NubvNV(GLuint index, const GLubyte *v) VertexAttrib4NubvNV() argument 200 VertexAttrib4ubvNV(GLuint index, const GLubyte *v) VertexAttrib4ubvNV() argument 210 VertexAttrib1NsvNV(GLuint index, const GLshort *v) VertexAttrib1NsvNV() argument 216 VertexAttrib1svNV(GLuint index, const GLshort *v) VertexAttrib1svNV() argument 222 VertexAttrib2NsvNV(GLuint index, const GLshort *v) VertexAttrib2NsvNV() argument 229 VertexAttrib2svNV(GLuint index, const GLshort *v) VertexAttrib2svNV() argument 235 VertexAttrib3NsvNV(GLuint index, const GLshort *v) VertexAttrib3NsvNV() argument 243 VertexAttrib3svNV(GLuint index, const GLshort *v) VertexAttrib3svNV() argument 250 VertexAttrib4NsvNV(GLuint index, const GLshort *v) VertexAttrib4NsvNV() argument 259 VertexAttrib4svNV(GLuint index, const GLshort *v) VertexAttrib4svNV() argument 268 VertexAttrib1NusvNV(GLuint index, const GLushort *v) VertexAttrib1NusvNV() argument 274 VertexAttrib1usvNV(GLuint index, const GLushort *v) VertexAttrib1usvNV() argument 280 VertexAttrib2NusvNV(GLuint index, const GLushort *v) VertexAttrib2NusvNV() argument 287 VertexAttrib2usvNV(GLuint index, const GLushort *v) VertexAttrib2usvNV() argument 294 VertexAttrib3NusvNV(GLuint index, const GLushort *v) VertexAttrib3NusvNV() argument 302 VertexAttrib3usvNV(GLuint index, const GLushort *v) VertexAttrib3usvNV() argument 309 VertexAttrib4NusvNV(GLuint index, const GLushort *v) VertexAttrib4NusvNV() argument 318 VertexAttrib4usvNV(GLuint index, const GLushort *v) VertexAttrib4usvNV() argument 327 VertexAttrib1NivNV(GLuint index, const GLint *v) VertexAttrib1NivNV() argument 333 VertexAttrib1ivNV(GLuint index, const GLint *v) VertexAttrib1ivNV() argument 339 VertexAttrib2NivNV(GLuint index, const GLint *v) VertexAttrib2NivNV() argument 346 VertexAttrib2ivNV(GLuint index, const GLint *v) VertexAttrib2ivNV() argument 352 VertexAttrib3NivNV(GLuint index, const GLint *v) VertexAttrib3NivNV() argument 360 VertexAttrib3ivNV(GLuint index, const GLint *v) VertexAttrib3ivNV() argument 367 VertexAttrib4NivNV(GLuint index, const GLint *v) VertexAttrib4NivNV() argument 376 VertexAttrib4ivNV(GLuint index, const GLint *v) VertexAttrib4ivNV() argument 385 VertexAttrib1NuivNV(GLuint index, const GLuint *v) VertexAttrib1NuivNV() argument 391 VertexAttrib1uivNV(GLuint index, const GLuint *v) VertexAttrib1uivNV() argument 397 VertexAttrib2NuivNV(GLuint index, const GLuint *v) VertexAttrib2NuivNV() argument 404 VertexAttrib2uivNV(GLuint index, const GLuint *v) VertexAttrib2uivNV() argument 411 VertexAttrib3NuivNV(GLuint index, const GLuint *v) VertexAttrib3NuivNV() argument 419 VertexAttrib3uivNV(GLuint index, const GLuint *v) VertexAttrib3uivNV() argument 426 VertexAttrib4NuivNV(GLuint index, const GLuint *v) VertexAttrib4NuivNV() argument 435 VertexAttrib4uivNV(GLuint index, const GLuint *v) VertexAttrib4uivNV() argument 444 VertexAttrib1fvNV(GLuint index, const GLfloat *v) VertexAttrib1fvNV() argument 450 VertexAttrib2fvNV(GLuint index, const GLfloat *v) VertexAttrib2fvNV() argument 456 VertexAttrib3fvNV(GLuint index, const GLfloat *v) VertexAttrib3fvNV() argument 462 VertexAttrib4fvNV(GLuint index, const GLfloat *v) VertexAttrib4fvNV() argument 470 VertexAttrib1dvNV(GLuint index, const GLdouble *v) VertexAttrib1dvNV() argument 476 VertexAttrib2dvNV(GLuint index, const GLdouble *v) VertexAttrib2dvNV() argument 482 VertexAttrib3dvNV(GLuint index, const GLdouble *v) VertexAttrib3dvNV() argument 488 VertexAttrib4dvNV(GLuint index, const GLdouble *v) VertexAttrib4dvNV() argument 602 VertexAttrib1NbvARB(GLuint index, const GLbyte *v) VertexAttrib1NbvARB() argument 608 VertexAttrib1bvARB(GLuint index, const GLbyte *v) VertexAttrib1bvARB() argument 614 VertexAttrib2NbvARB(GLuint index, const GLbyte *v) VertexAttrib2NbvARB() argument 620 VertexAttrib2bvARB(GLuint index, const GLbyte *v) VertexAttrib2bvARB() argument 626 VertexAttrib3NbvARB(GLuint index, const GLbyte *v) VertexAttrib3NbvARB() argument 634 VertexAttrib3bvARB(GLuint index, const GLbyte *v) VertexAttrib3bvARB() argument 640 VertexAttrib4NbvARB(GLuint index, const GLbyte *v) VertexAttrib4NbvARB() argument 649 VertexAttrib4bvARB(GLuint index, const GLbyte *v) VertexAttrib4bvARB() argument 657 VertexAttrib1NubvARB(GLuint index, const GLubyte *v) VertexAttrib1NubvARB() argument 663 VertexAttrib1ubvARB(GLuint index, const GLubyte *v) VertexAttrib1ubvARB() argument 669 VertexAttrib2NubvARB(GLuint index, const GLubyte *v) VertexAttrib2NubvARB() argument 677 VertexAttrib2ubvARB(GLuint index, const GLubyte *v) VertexAttrib2ubvARB() argument 684 VertexAttrib3NubvARB(GLuint index, const GLubyte *v) VertexAttrib3NubvARB() argument 692 VertexAttrib3ubvARB(GLuint index, const GLubyte *v) VertexAttrib3ubvARB() argument 701 VertexAttrib4NubvARB(GLuint index, const GLubyte *v) VertexAttrib4NubvARB() argument 712 VertexAttrib4ubvARB(GLuint index, const GLubyte *v) VertexAttrib4ubvARB() argument 723 VertexAttrib1NsvARB(GLuint index, const GLshort *v) VertexAttrib1NsvARB() argument 729 VertexAttrib1svARB(GLuint index, const GLshort *v) VertexAttrib1svARB() argument 735 VertexAttrib2NsvARB(GLuint index, const GLshort *v) VertexAttrib2NsvARB() argument 743 VertexAttrib2svARB(GLuint index, const GLshort *v) VertexAttrib2svARB() argument 750 VertexAttrib3NsvARB(GLuint index, const GLshort *v) VertexAttrib3NsvARB() argument 760 VertexAttrib3svARB(GLuint index, const GLshort *v) VertexAttrib3svARB() argument 768 VertexAttrib4NsvARB(GLuint index, const GLshort *v) VertexAttrib4NsvARB() argument 779 VertexAttrib4svARB(GLuint index, const GLshort *v) VertexAttrib4svARB() argument 788 VertexAttrib1NusvARB(GLuint index, const GLushort *v) VertexAttrib1NusvARB() argument 794 VertexAttrib1usvARB(GLuint index, const GLushort *v) VertexAttrib1usvARB() argument 800 VertexAttrib2NusvARB(GLuint index, const GLushort *v) VertexAttrib2NusvARB() argument 807 VertexAttrib2usvARB(GLuint index, const GLushort *v) VertexAttrib2usvARB() argument 814 VertexAttrib3NusvARB(GLuint index, const GLushort *v) VertexAttrib3NusvARB() argument 822 VertexAttrib3usvARB(GLuint index, const GLushort *v) VertexAttrib3usvARB() argument 829 VertexAttrib4NusvARB(GLuint index, const GLushort *v) VertexAttrib4NusvARB() argument 838 VertexAttrib4usvARB(GLuint index, const GLushort *v) VertexAttrib4usvARB() argument 846 VertexAttrib1NivARB(GLuint index, const GLint *v) VertexAttrib1NivARB() argument 852 VertexAttrib1ivARB(GLuint index, const GLint *v) VertexAttrib1ivARB() argument 858 VertexAttrib2NivARB(GLuint index, const GLint *v) VertexAttrib2NivARB() argument 865 VertexAttrib2ivARB(GLuint index, const GLint *v) VertexAttrib2ivARB() argument 872 VertexAttrib3NivARB(GLuint index, const GLint *v) VertexAttrib3NivARB() argument 880 VertexAttrib3ivARB(GLuint index, const GLint *v) VertexAttrib3ivARB() argument 887 VertexAttrib4NivARB(GLuint index, const GLint *v) VertexAttrib4NivARB() argument 896 VertexAttrib4ivARB(GLuint index, const GLint *v) VertexAttrib4ivARB() argument 905 VertexAttrib1NuivARB(GLuint index, const GLuint *v) VertexAttrib1NuivARB() argument 911 VertexAttrib1uivARB(GLuint index, const GLuint *v) VertexAttrib1uivARB() argument 917 VertexAttrib2NuivARB(GLuint index, const GLuint *v) VertexAttrib2NuivARB() argument 924 VertexAttrib2uivARB(GLuint index, const GLuint *v) VertexAttrib2uivARB() argument 931 VertexAttrib3NuivARB(GLuint index, const GLuint *v) VertexAttrib3NuivARB() argument 939 VertexAttrib3uivARB(GLuint index, const GLuint *v) VertexAttrib3uivARB() argument 946 VertexAttrib4NuivARB(GLuint index, const GLuint *v) VertexAttrib4NuivARB() argument 955 VertexAttrib4uivARB(GLuint index, const GLuint *v) VertexAttrib4uivARB() argument 964 VertexAttrib1fvARB(GLuint index, const GLfloat *v) VertexAttrib1fvARB() argument 970 VertexAttrib2fvARB(GLuint index, const GLfloat *v) VertexAttrib2fvARB() argument 976 VertexAttrib3fvARB(GLuint index, const GLfloat *v) VertexAttrib3fvARB() argument 982 VertexAttrib4fvARB(GLuint index, const GLfloat *v) VertexAttrib4fvARB() argument 990 VertexAttrib1dvARB(GLuint index, const GLdouble *v) VertexAttrib1dvARB() argument 996 VertexAttrib2dvARB(GLuint index, const GLdouble *v) VertexAttrib2dvARB() argument 1002 VertexAttrib3dvARB(GLuint index, const GLdouble *v) VertexAttrib3dvARB() argument 1008 VertexAttrib4dvARB(GLuint index, const GLdouble *v) VertexAttrib4dvARB() argument 1018 VertexAttribI1bv(GLuint index, const GLbyte *v) VertexAttribI1bv() argument 1024 VertexAttribI2bv(GLuint index, const GLbyte *v) VertexAttribI2bv() argument 1030 VertexAttribI3bv(GLuint index, const GLbyte *v) VertexAttribI3bv() argument 1036 VertexAttribI4bv(GLuint index, const GLbyte *v) VertexAttribI4bv() argument 1043 VertexAttribI1ubv(GLuint index, const GLubyte *v) VertexAttribI1ubv() argument 1049 VertexAttribI2ubv(GLuint index, const GLubyte *v) VertexAttribI2ubv() argument 1055 VertexAttribI3ubv(GLuint index, const GLubyte *v) VertexAttribI3ubv() argument 1061 VertexAttribI4ubv(GLuint index, const GLubyte *v) VertexAttribI4ubv() argument 1069 VertexAttribI1sv(GLuint index, const GLshort *v) VertexAttribI1sv() argument 1075 VertexAttribI2sv(GLuint index, const GLshort *v) VertexAttribI2sv() argument 1081 VertexAttribI3sv(GLuint index, const GLshort *v) VertexAttribI3sv() argument 1087 VertexAttribI4sv(GLuint index, const GLshort *v) VertexAttribI4sv() argument 1094 VertexAttribI1usv(GLuint index, const GLushort *v) VertexAttribI1usv() argument 1100 VertexAttribI2usv(GLuint index, const GLushort *v) VertexAttribI2usv() argument 1106 VertexAttribI3usv(GLuint index, const GLushort *v) VertexAttribI3usv() argument 1112 VertexAttribI4usv(GLuint index, const GLushort *v) VertexAttribI4usv() argument 1120 VertexAttribI1iv(GLuint index, const GLint *v) VertexAttribI1iv() argument 1126 VertexAttribI2iv(GLuint index, const GLint *v) VertexAttribI2iv() argument 1132 VertexAttribI3iv(GLuint index, const GLint *v) VertexAttribI3iv() argument 1138 VertexAttribI4iv(GLuint index, const GLint *v) VertexAttribI4iv() argument 1145 VertexAttribI1uiv(GLuint index, const GLuint *v) VertexAttribI1uiv() argument 1151 VertexAttribI2uiv(GLuint index, const GLuint *v) VertexAttribI2uiv() argument 1157 VertexAttribI3uiv(GLuint index, const GLuint *v) VertexAttribI3uiv() argument 1163 VertexAttribI4uiv(GLuint index, const GLuint *v) VertexAttribI4uiv() argument 1171 VertexAttribL1dv(GLuint index, const GLdouble *v) VertexAttribL1dv() argument 1177 VertexAttribL2dv(GLuint index, const GLdouble *v) VertexAttribL2dv() argument 1183 VertexAttribL3dv(GLuint index, const GLdouble *v) VertexAttribL3dv() argument 1189 VertexAttribL4dv(GLuint index, const GLdouble *v) VertexAttribL4dv() argument [all...] |
/third_party/skia/src/pathops/ |
H A D | SkIntersections.cpp | 14 for (int index = 0; index < fUsed; ++index) { in closestTo() 15 if (!between(rangeStart, fT[0][index], rangeEnd)) { in closestTo() 18 const SkDPoint& iPt = fPt[index]; in closestTo() 22 closest = index; in closestTo() 29 for (int index = 0; index < fUsed; ++index) { in flip() 30 fT[1][index] in flip() 40 int index; insert() local 117 int index = insertSwap(one, two, pt); insertCoincident() local 124 setCoincident(int index) setCoincident() argument 160 removeOne(int index) removeOne() argument [all...] |
/third_party/skia/src/utils/ |
H A D | SkCharToGlyphCache.cpp | 40 int index; in find_simple() local 41 for (index = 0;; ++index) { in find_simple() 42 if (value <= base[index]) { in find_simple() 43 if (value < base[index]) { in find_simple() 44 index = ~index; // not found in find_simple() 49 return index; in find_simple() 55 int index; in find_with_slope() local 57 index in find_with_slope() 98 int index; findGlyphIndex() local 110 insertCharAndGlyph(int index, SkUnichar unichar, SkGlyphID glyph) insertCharAndGlyph() argument [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | fixed-array-inl.h | 67 Object FixedArray::get(int index) const { in get() 69 return get(cage_base, index); in get() 72 Object FixedArray::get(PtrComprCageBase cage_base, int index) const { in get() 73 DCHECK_LT(static_cast<unsigned>(index), static_cast<unsigned>(length())); in get() 75 OffsetOfElementAt(index)); in get() 78 Handle<Object> FixedArray::get(FixedArray array, int index, Isolate* isolate) { in get() argument 79 return handle(array.get(isolate, index), isolate); in get() 82 bool FixedArray::is_the_hole(Isolate* isolate, int index) { in is_the_hole() argument 83 return get(isolate, index).IsTheHole(isolate); in is_the_hole() 87 void FixedArray::set(int index, Sm argument 96 set(int index, Object value) set() argument 105 set(int index, Object value, WriteBarrierMode mode) set() argument 114 NoWriteBarrierSet(FixedArray array, int index, Object value) NoWriteBarrierSet() argument 123 get(int index, RelaxedLoadTag) const get() argument 128 get(PtrComprCageBase cage_base, int index, RelaxedLoadTag) const get() argument 134 set(int index, Object value, RelaxedStoreTag, WriteBarrierMode mode) set() argument 142 set(int index, Smi value, RelaxedStoreTag tag) set() argument 147 get(int index, AcquireLoadTag) const get() argument 152 get(PtrComprCageBase cage_base, int index, AcquireLoadTag) const get() argument 158 set(int index, Object value, ReleaseStoreTag, WriteBarrierMode mode) set() argument 166 set(int index, Smi value, ReleaseStoreTag tag) set() argument 171 set_undefined(int index) set_undefined() argument 172 set_undefined(GetReadOnlyRoots(), index); set_undefined() local 175 set_undefined(Isolate* isolate, int index) set_undefined() argument 176 set_undefined(ReadOnlyRoots(isolate), index); set_undefined() local 179 set_undefined(ReadOnlyRoots ro_roots, int index) set_undefined() argument 183 void FixedArray::set_null(int index) { set_null(GetReadOnlyRoots(), index); } set_null() local 185 set_null(Isolate* isolate, int index) set_null() argument 186 set_null(ReadOnlyRoots(isolate), index); set_null() local 189 set_null(ReadOnlyRoots ro_roots, int index) set_null() argument 193 set_the_hole(int index) set_the_hole() argument 194 set_the_hole(GetReadOnlyRoots(), index); set_the_hole() local 197 set_the_hole(Isolate* isolate, int index) set_the_hole() argument 198 set_the_hole(ReadOnlyRoots(isolate), index); set_the_hole() local 201 set_the_hole(ReadOnlyRoots ro_roots, int index) set_the_hole() argument 213 RawFieldOfElementAt(int index) RawFieldOfElementAt() argument 361 get_scalar(int index) get_scalar() argument 369 get_representation(int index) get_representation() argument 378 get(FixedDoubleArray array, int index, Isolate* isolate) get() argument 387 set(int index, double value) set() argument 400 set_the_hole(Isolate* isolate, int index) set_the_hole() argument 404 set_the_hole(int index) set_the_hole() argument 412 is_the_hole(Isolate* isolate, int index) is_the_hole() argument 416 is_the_hole(int index) is_the_hole() argument 444 Set(int index, MaybeObject value, WriteBarrierMode mode) Set() argument 462 RawFieldOfElementAt(int index) RawFieldOfElementAt() argument 489 Set(int index, MaybeObject value, WriteBarrierMode mode) Set() argument 493 Set(int index, Smi value) Set() argument 543 Slot(int index) Slot() argument 547 Set(int index, Object obj, WriteBarrierMode mode) Set() argument 551 Set(int index, Smi value) Set() argument 555 Clear(int index, Object undefined) Clear() argument 569 set(int index, byte value) set() argument 575 copy_in(int index, const byte* buffer, int slice_length) copy_in() argument 584 copy_out(int index, byte* buffer, int slice_length) copy_out() argument 599 set_int(int index, int value) set_int() argument 611 set_uint32(int index, uint32_t value) set_uint32() argument 623 set_uint32_relaxed(int index, uint32_t value) set_uint32_relaxed() argument 635 set_uint16(int index, uint16_t value) set_uint16() argument 696 set(int index, Object value) set() argument [all...] |
H A D | osr-optimized-code-cache.cc | 42 for (int index = 0; index < osr_cache->length(); index += kEntryLength) { in Insert() 43 if (osr_cache->Get(index + kSharedOffset)->IsCleared() || in Insert() 44 osr_cache->Get(index + kCachedCodeOffset)->IsCleared()) { in Insert() 45 entry = index; in Insert() 111 int index = FindEntry(shared, osr_offset); in TryGet() local 112 if (index == -1) return {}; in TryGet() 114 CodeT code = GetCodeFromEntry(index); in TryGet() 116 ClearEntry(index, isolat in TryGet() 189 GetCodeFromEntry(int index) GetCodeFromEntry() argument 199 GetSFIFromEntry(int index) GetSFIFromEntry() argument 208 GetBytecodeOffsetFromEntry(int index) GetBytecodeOffsetFromEntry() argument 228 ClearEntry(int index, Isolate* isolate) ClearEntry() argument 298 RawSetForTesting(int index, MaybeObject value) RawSetForTesting() argument [all...] |
/third_party/node/deps/v8/src/utils/ |
H A D | identity-map.cc | 53 for (int index = start; index < capacity_; index++) { in ScanKeysFor() 54 if (keys_[index] == address) return index; // Found. in ScanKeysFor() 55 if (keys_[index] == not_mapped) return -1; // Not found. in ScanKeysFor() 57 for (int index = 0; index < start; index++) { in ScanKeysFor() 58 if (keys_[index] in ScanKeysFor() 78 int index = start; InsertKey() local 93 DeleteIndex(int index, uintptr_t* deleted_value) DeleteIndex() argument 135 int index = ScanKeysFor(key, hash); Lookup() local 147 int index = ScanKeysFor(key, hash); LookupOrInsert() local 187 int index = Lookup(key); FindEntry() local 216 int index; InsertEntry() local 229 int index = Lookup(key); DeleteEntry() local 290 int index = InsertKey(pair.first, Hash(pair.first)).first; Rehash() local 317 int index = InsertKey(old_keys[i], Hash(old_keys[i])).first; Resize() local [all...] |
/third_party/skia/src/core/ |
H A D | SkVertState.cpp | 11 int index = state->fCurrIndex; in Triangles() local 12 if (index + 3 > state->fCount) { in Triangles() 15 state->f0 = index + 0; in Triangles() 16 state->f1 = index + 1; in Triangles() 17 state->f2 = index + 2; in Triangles() 18 state->fCurrIndex = index + 3; in Triangles() 24 int index = state->fCurrIndex; in TrianglesX() local 25 if (index + 3 > state->fCount) { in TrianglesX() 28 state->f0 = indices[index + 0]; in TrianglesX() 29 state->f1 = indices[index in TrianglesX() 36 int index = state->fCurrIndex; TriangleStrip() local 54 int index = state->fCurrIndex; TriangleStripX() local 71 int index = state->fCurrIndex; TriangleFan() local 84 int index = state->fCurrIndex; TriangleFanX() local [all...] |
H A D | SkTDPQueue.h | 20 * Optionally objects may know their index into the priority queue. The queue will update the index 24 * afterwards. In debug builds the index will be set to -1 before an element is removed from the 68 int index = fArray.count(); in insert() local 71 this->percolateUpIfNecessary(index); in insert() 78 int index = *INDEX(entry); in remove() local 79 SkASSERT(index >= 0 && index < fArray.count()); in remove() 81 SkDEBUGCODE(*INDEX(fArray[index]) = -1;) in remove() 82 if (index in remove() 98 int index = *INDEX(entry); priorityDidChange() local 126 percolateUpOrDown(int index) percolateUpOrDown() argument 134 percolateUpIfNecessary(int index) percolateUpIfNecessary() argument 157 percolateDownIfNecessary(int index) percolateDownIfNecessary() argument 197 setIndex(int index) setIndex() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | gif_parser.c | 46 int index; member 58 int index, next = END_NOT_FOUND; in gif_find_frame_end() local 60 for (index = 0; index < buf_size; index++) { in gif_find_frame_end() 62 if (!memcmp(buf + index, gif87a_sig, 6) || in gif_find_frame_end() 63 !memcmp(buf + index, gif89a_sig, 6)) { in gif_find_frame_end() 66 } else if (buf[index] == GIF_EXTENSION_INTRODUCER) { in gif_find_frame_end() 69 } else if (buf[index] == GIF_IMAGE_SEPARATOR) { in gif_find_frame_end() 71 } else if (buf[index] in gif_find_frame_end() [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | external-reference-table.cc | 92 int index = 0; in Init() local 94 CopyIsolateIndependentReferences(&index); in Init() 96 AddIsolateDependentReferences(isolate, &index); in Init() 97 AddIsolateAddresses(isolate, &index); in Init() 98 AddStubCache(isolate, &index); in Init() 99 AddNativeCodeStatsCounters(isolate, &index); in Init() 102 CHECK_EQ(kSize, index); in Init() 119 int index = 0; in InitializeOncePerProcess() local 122 AddIsolateIndependent(kNullAddress, &index); in InitializeOncePerProcess() 123 AddIsolateIndependentReferences(&index); in InitializeOncePerProcess() 141 Add(Address address, int* index) Add() argument 145 AddIsolateIndependent(Address address, int* index) AddIsolateIndependent() argument 150 AddIsolateIndependentReferences(int* index) AddIsolateIndependentReferences() argument 162 AddIsolateDependentReferences(Isolate* isolate, int* index) AddIsolateDependentReferences() argument 175 AddBuiltins(int* index) AddBuiltins() argument 193 AddRuntimeFunctions(int* index) AddRuntimeFunctions() argument 213 CopyIsolateIndependentReferences(int* index) CopyIsolateIndependentReferences() argument 221 AddIsolateAddresses(Isolate* isolate, int* index) AddIsolateAddresses() argument 234 AddAccessors(int* index) AddAccessors() argument 261 AddStubCache(Isolate* isolate, int* index) AddStubCache() argument 301 AddNativeCodeStatsCounters(Isolate* isolate, int* index) AddNativeCodeStatsCounters() argument [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | messagepattern.cpp | 354 modified.insert(part.index, (UChar)part.value); in autoQuoteApostropheDeep() 374 * @param pluralStart the index of the first PluralFormat argument style part. (0..countParts()-1) 397 index==other.index && in operator ==() 434 MessagePattern::parseMessage(int32_t index, int32_t msgStartLength, in parseMessage() argument 445 addPart(UMSGPAT_PART_TYPE_MSG_START, index, msgStartLength, nestingLevel, errorCode); in parseMessage() 446 index+=msgStartLength; in parseMessage() 447 for(;;) { // while(index<msg.length()) with U_FAILURE(errorCode) check in parseMessage() 451 if(index>=msg.length()) { in parseMessage() 454 UChar c=msg.charAt(index in parseMessage() 539 parseArg(int32_t index, int32_t argStartLength, int32_t nestingLevel, UParseError *parseError, UErrorCode &errorCode) parseArg() argument 659 parseSimpleStyle(int32_t index, UParseError *parseError, UErrorCode &errorCode) parseSimpleStyle() argument 702 parseChoiceStyle(int32_t index, int32_t nestingLevel, UParseError *parseError, UErrorCode &errorCode) parseChoiceStyle() argument 770 parsePluralOrSelectStyle(UMessagePatternArgType argType, int32_t index, int32_t nestingLevel, UParseError *parseError, UErrorCode &errorCode) parsePluralOrSelectStyle() argument 1149 setParseError(UParseError *parseError, int32_t index) setParseError() argument 1214 int32_t index=part.getIndex(); appendSubMessageWithoutSkipSyntax() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | messagepattern.cpp | 354 modified.insert(part.index, (char16_t)part.value); in autoQuoteApostropheDeep() 374 * @param pluralStart the index of the first PluralFormat argument style part. (0..countParts()-1) 397 index==other.index && in operator ==() 434 MessagePattern::parseMessage(int32_t index, int32_t msgStartLength, in parseMessage() argument 445 addPart(UMSGPAT_PART_TYPE_MSG_START, index, msgStartLength, nestingLevel, errorCode); in parseMessage() 446 index+=msgStartLength; in parseMessage() 447 for(;;) { // while(index<msg.length()) with U_FAILURE(errorCode) check in parseMessage() 451 if(index>=msg.length()) { in parseMessage() 454 char16_t c=msg.charAt(index in parseMessage() 539 parseArg(int32_t index, int32_t argStartLength, int32_t nestingLevel, UParseError *parseError, UErrorCode &errorCode) parseArg() argument 659 parseSimpleStyle(int32_t index, UParseError *parseError, UErrorCode &errorCode) parseSimpleStyle() argument 702 parseChoiceStyle(int32_t index, int32_t nestingLevel, UParseError *parseError, UErrorCode &errorCode) parseChoiceStyle() argument 770 parsePluralOrSelectStyle(UMessagePatternArgType argType, int32_t index, int32_t nestingLevel, UParseError *parseError, UErrorCode &errorCode) parsePluralOrSelectStyle() argument 1149 setParseError(UParseError *parseError, int32_t index) setParseError() argument 1214 int32_t index=part.getIndex(); appendSubMessageWithoutSkipSyntax() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | messagepattern.cpp | 354 modified.insert(part.index, (UChar)part.value); in autoQuoteApostropheDeep() 374 * @param pluralStart the index of the first PluralFormat argument style part. (0..countParts()-1) 397 index==other.index && in operator ==() 434 MessagePattern::parseMessage(int32_t index, int32_t msgStartLength, in parseMessage() argument 445 addPart(UMSGPAT_PART_TYPE_MSG_START, index, msgStartLength, nestingLevel, errorCode); in parseMessage() 446 index+=msgStartLength; in parseMessage() 447 for(;;) { // while(index<msg.length()) with U_FAILURE(errorCode) check in parseMessage() 451 if(index>=msg.length()) { in parseMessage() 454 UChar c=msg.charAt(index in parseMessage() 539 parseArg(int32_t index, int32_t argStartLength, int32_t nestingLevel, UParseError *parseError, UErrorCode &errorCode) parseArg() argument 659 parseSimpleStyle(int32_t index, UParseError *parseError, UErrorCode &errorCode) parseSimpleStyle() argument 702 parseChoiceStyle(int32_t index, int32_t nestingLevel, UParseError *parseError, UErrorCode &errorCode) parseChoiceStyle() argument 770 parsePluralOrSelectStyle(UMessagePatternArgType argType, int32_t index, int32_t nestingLevel, UParseError *parseError, UErrorCode &errorCode) parsePluralOrSelectStyle() argument 1149 setParseError(UParseError *parseError, int32_t index) setParseError() argument 1214 int32_t index=part.getIndex(); appendSubMessageWithoutSkipSyntax() local [all...] |
/third_party/skia/src/sksl/lex/ |
H A D | TransitionTable.cpp | 64 for (size_t index = 0; index < result.v.size(); ++index) { in add_compact_entry() 65 translationTable[result.v[index]] = 1 + index; in add_compact_entry() 70 for (size_t index = 0; index < data.size(); ++index) { in add_compact_entry() 71 int value = data[index]; in add_compact_entry() 77 for (size_t index in add_compact_entry() 139 int index = add_compact_entry(transitionSet, data, &compactEntries); WriteTransitionTable() local 143 int index = add_full_entry(transitionSet, data, &fullEntries); WriteTransitionTable() local 233 out << ", entry.v" << index; WriteTransitionTable() local [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | alphaindextst.cpp | 34 UnicodeString joinLabelsAndAppend(AlphabeticIndex::ImmutableIndex &index, UnicodeString &dest) { in joinLabelsAndAppend() argument 37 for (int32_t i = 0; (bucket = index.getBucket(i)) != NULL; ++i) { in joinLabelsAndAppend() 54 void AlphabeticIndexTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par*/ ) in runIndexedTest() argument 99 LocalPointer<AlphabeticIndex> index(new AlphabeticIndex(Locale::getEnglish(), status)); in APITest() 101 lc = index->getBucketCount(status); in APITest() 105 index.adoptInstead(nullptr); in APITest() 115 index.adoptInstead(new AlphabeticIndex(coll.orphan(), status)); in APITest() 117 TEST_ASSERT(originalColl == &index->getCollator()); in APITest() 118 assertEquals("only the underflow label in an index built from a collator", in APITest() 119 1, index in APITest() [all...] |
/third_party/skia/third_party/externals/brotli/research/ |
H A D | brotlidump.py | 111 __slots__ = 'code', 'index' 114 self.index = value 117 return 'Symbol({}, {})'.format(self.code.name, self.index) 122 return self.code.length(self.index) 125 return self.index 131 return self.code.bitPattern(self.index) 136 return self.code.extraBits(self.index) 141 return self.code.mnemonic(self.index) 151 return self.code.value(self.index, extra) 154 return self.code.value(self.index) [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/ |
H A D | WritableFontData.java | 153 * Writes a byte at the given index. 155 * @param index index into the font data 159 public int writeByte(int index, byte b) { in writeByte() argument 160 this.array.put(this.boundOffset(index), b); in writeByte() 167 * @param index index into the font data 171 * @return the number of bytes actually written; -1 if the index is outside 174 public int writeBytes(int index, byte[] b, int offset, int length) { in writeBytes() argument 175 return this.array.put(this.boundOffset(index), in writeBytes() 192 writeBytesPad(int index, byte[] b, int offset, int length, byte pad) writeBytesPad() argument 206 writePadding(int index, int count) writePadding() argument 218 writePadding(int index, int count, byte pad) writePadding() argument 233 writeBytes(int index, byte[] b) writeBytes() argument 245 writeChar(int index, byte c) writeChar() argument 257 writeUShort(int index, int us) writeUShort() argument 271 writeUShortLE(int index, int us) writeUShortLE() argument 285 writeShort(int index, int s) writeShort() argument 297 writeUInt24(int index, int ui) writeUInt24() argument 312 writeULong(int index, long ul) writeULong() argument 328 writeULongLE(int index, long ul) writeULongLE() argument 344 writeLong(int index, long l) writeLong() argument 356 writeFixed(int index, int f) writeFixed() argument 368 writeDateTime(int index, long date) writeDateTime() argument [all...] |
H A D | ByteArray.java | 64 * Gets the byte from the given index. 66 * @param index the index into the byte array 69 public int get(int index) { in get() argument 70 if (index < 0 || index >= this.filledLength) { in get() 73 return this.internalGet(index) & 0xff; in get() 77 * Gets the bytes from the given index and fill the buffer with them. 81 * @param index the index int 85 get(int index, byte[] b) get() argument 99 get(int index, byte[] b, int offset, int length) get() argument 150 put(int index, byte b) put() argument 167 put(int index, byte[] b) put() argument 184 put(int index, byte[] b, int offset, int length) put() argument 325 internalPut(int index, byte b) internalPut() argument 336 internalPut(int index, byte[] b, int offset, int length) internalPut() argument 344 internalGet(int index) internalGet() argument 355 internalGet(int index, byte[] b, int offset, int length) internalGet() argument [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/ |
H A D | writable_font_data.cc | 57 int32_t WritableFontData::WriteByte(int32_t index, uint8_t b) { in WriteByte() argument 58 array_->Put(BoundOffset(index), b); in WriteByte() 62 int32_t WritableFontData::WriteBytes(int32_t index, in WriteBytes() argument 66 return array_->Put(BoundOffset(index), in WriteBytes() 69 BoundLength(index, length)); in WriteBytes() 72 int32_t WritableFontData::WriteBytes(int32_t index, std::vector<uint8_t>* b) { in WriteBytes() argument 74 return WriteBytes(index, &((*b)[0]), 0, b->size()); in WriteBytes() 77 int32_t WritableFontData::WriteBytesPad(int32_t index, in WriteBytesPad() argument 83 array_->Put(BoundOffset(index), in WriteBytesPad() 86 BoundLength(index, in WriteBytesPad() 92 WritePadding(int32_t index, int32_t count) WritePadding() argument 96 WritePadding(int32_t index, int32_t count, uint8_t pad) WritePadding() argument 104 WriteChar(int32_t index, uint8_t c) WriteChar() argument 108 WriteUShort(int32_t index, int32_t us) WriteUShort() argument 114 WriteUShortLE(int32_t index, int32_t us) WriteUShortLE() argument 120 WriteShort(int32_t index, int32_t s) WriteShort() argument 124 WriteUInt24(int32_t index, int32_t ui) WriteUInt24() argument 131 WriteULong(int32_t index, int64_t ul) WriteULong() argument 139 WriteULongLE(int32_t index, int64_t ul) WriteULongLE() argument 147 WriteLong(int32_t index, int64_t l) WriteLong() argument 151 WriteFixed(int32_t index, int32_t f) WriteFixed() argument 155 WriteDateTime(int32_t index, int64_t date) WriteDateTime() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | tls.cpp | 41 TLSIndex index; in CreateTLSIndex() local 49 index = result; in CreateTLSIndex() 53 index = nextTlsIndex++; in CreateTLSIndex() 56 index = TlsAlloc(); in CreateTLSIndex() 61 if ((pthread_key_create(&index, destructor)) != 0) in CreateTLSIndex() 63 index = TLS_INVALID_INDEX; in CreateTLSIndex() 67 ASSERT(index != TLS_INVALID_INDEX && "CreateTLSIndex: Unable to allocate Thread Local Storage"); in CreateTLSIndex() 68 return index; in CreateTLSIndex() 71 bool DestroyTLSIndex(TLSIndex index) in DestroyTLSIndex() argument 73 ASSERT(index ! in DestroyTLSIndex() [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/woff/ |
H A D | WoffWriter.java | 49 int index = 0; in convert() 51 index += writeWoffHeader(writableFontData, in convert() 52 index, in convert() 58 index += writeTableDirectoryEntries(writableFontData, index, tableDirectoryEntries); in convert() 59 index += writeTables(writableFontData, index, tableDirectoryEntries); in convert() 98 int index = start; in writeWoffHeader() 99 index += writableFontData.writeULong(index, SIGNATUR in writeWoffHeader() 234 writeTable(WritableFontData writableFontData, int index) writeTable() argument [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationRootElements.java | 151 int index = findP(p); in lastCEWithPrimaryBefore() 152 long q = elements[index]; in lastCEWithPrimaryBefore() 155 // p == elements[index] is a root primary. Find the CE before it. in lastCEWithPrimaryBefore() 158 secTer = elements[index - 1]; in lastCEWithPrimaryBefore() 165 index -= 2; in lastCEWithPrimaryBefore() 167 p = elements[index]; in lastCEWithPrimaryBefore() 172 --index; in lastCEWithPrimaryBefore() 176 // p > elements[index] which is the previous primary. in lastCEWithPrimaryBefore() 181 q = elements[++index]; in lastCEWithPrimaryBefore() 199 int index in firstCEWithPrimaryAtLeast() 321 getPrimaryAfter(long p, int index, boolean isCompressible) getPrimaryAfter() argument 351 getSecondaryAfter(int index, int s) getSecondaryAfter() argument 385 getTertiaryAfter(int index, int s, int t) getTertiaryAfter() argument 423 getFirstSecTerForPrimary(int index) getFirstSecTerForPrimary() argument [all...] |