/external/skia/legacy/include/core/ |
SkBuffer.h | 24 SkRBuffer() : fData(0), fPos(0), fStop(0) {} 30 fPos = (const char*)data; 38 fPos = (const char*)data; 45 size_t pos() const { return fPos - fData; } 54 bool eof() const { return fPos >= fStop; } 81 const char* fPos; 95 SkWBuffer() : fData(0), fPos(0), fStop(0) {} 101 fPos = (char*)data; 108 fPos = (char*)data; 112 size_t pos() const { return fPos - fData; [all...] |
SkDeque.h | 60 char* fPos;
|
/external/skia/legacy/src/core/ |
SkBuffer.cpp | 16 SkASSERT((fData != 0 && fStop == 0) || fPos + size <= fStop); 18 memcpy(buffer, fPos, size); 19 fPos += size; 24 const void* result = fPos; 33 fPos += n; 39 void* result = fPos; 46 SkASSERT(fData == 0 || fStop == 0 || fPos + size <= fStop); 48 memcpy(fPos, buffer, size); 49 fPos += size; 59 char* p = fPos; [all...] |
SkDeque.cpp | 220 SkDeque::F2BIter::F2BIter() : fHead(NULL), fPos(NULL), fElemSize(0) {} 227 char* pos = fPos; 238 fPos = next; 249 fPos = fHead ? fHead->fBegin : NULL;
|
/external/skia/src/core/ |
SkBuffer.cpp | 16 SkASSERT((fData != 0 && fStop == 0) || fPos + size <= fStop); 18 memcpy(buffer, fPos, size); 19 fPos += size; 24 const void* result = fPos; 33 fPos += n; 39 void* result = fPos; 46 SkASSERT(fData == 0 || fStop == 0 || fPos + size <= fStop); 48 memcpy(fPos, buffer, size); 49 fPos += size; 59 char* p = fPos; [all...] |
SkBuffer.h | 24 SkRBuffer() : fData(0), fPos(0), fStop(0) {} 30 fPos = (const char*)data; 38 fPos = (const char*)data; 45 size_t pos() const { return fPos - fData; } 54 bool eof() const { return fPos >= fStop; } 81 const char* fPos; 95 SkWBuffer() : fData(0), fPos(0), fStop(0) {} 101 fPos = (char*)data; 108 fPos = (char*)data; 112 size_t pos() const { return fPos - fData; [all...] |
SkDeque.cpp | 241 SkDeque::Iter::Iter() : fCurBlock(NULL), fPos(NULL), fElemSize(0) {} 248 // pointed to by fPos and then updates fPos to point to the next one. 250 char* pos = fPos; 261 fPos = next; 266 // Like next, prev actually returns the current element pointed to by fPos and 267 // then makes fPos point to the previous element. 269 char* pos = fPos; 280 fPos = prev; 286 // of the doubly linked list until a non-empty one is found. The fPos [all...] |
/external/skia/src/utils/win/ |
SkDWriteFontFileStream.cpp | 20 , fPos(0) 45 fPos = 0; 62 if (fPos + size > fileSize) { 63 size_t skipped = fileSize - fPos; 64 fPos = fileSize; 67 fPos += size; 75 hr = fFontFileStream->ReadFileFragment(&start, fPos, size, &fragmentLock); 79 fPos += size; 90 if (fPos + size > fileSize) { 91 size_t read = fileSize - fPos; [all...] |
SkDWriteFontFileStream.h | 33 size_t fPos;
|
/external/icu4c/io/ |
ustdio.c | 335 int32_t charsLeft = (int32_t)(f->str.fLimit - f->str.fPos); 340 u_strncpy(f->str.fPos, mySource, written); 341 f->str.fPos += written; 420 dataSize = (int32_t)(str->fLimit - str->fPos); 428 uprv_memmove(f->fUCBuffer, str->fPos, dataSize * sizeof(UChar)); /* not accessing beyond memory */ 477 str->fPos = str->fBuffer; 501 if (str->fPos >= str->fLimit) { 509 dataSize = (int32_t)(str->fLimit - str->fPos); 520 alias = str->fPos; 564 str->fPos = alias [all...] |
ufile.c | 71 result->str.fPos = result->fUCBuffer; 161 result->str.fPos = stringBuf; 183 endOfBuffer = (UBool)(f->str.fPos >= f->str.fLimit); 198 else if (file->str.fPos < file->str.fLimit) { 199 *(file->str.fPos++) = 0; 212 file->str.fPos = file->fUCBuffer; 215 file->str.fPos = file->str.fBuffer; 285 if ((file->str.fPos == file->str.fBuffer) && (file->str.fLimit == file->str.fBuffer)) {
|
uscanf_p.c | 436 len = (int32_t)(input->str.fLimit - input->str.fPos); 453 num = unum_parseDouble(format, input->str.fPos, len, &parsePos, &status); 469 input->str.fPos += parsePos; 504 len = (int32_t)(input->str.fLimit - input->str.fPos); 552 num = unum_parseDouble(format, input->str.fPos, len, &parsePos, &status); 568 input->str.fPos += parsePos; 607 len = (int32_t)(input->str.fLimit - input->str.fPos); 626 scientificResult = unum_parseDouble(scientificFormat, input->str.fPos, len, 629 genericResult = unum_parseDouble(genericFormat, input->str.fPos, len, 645 input->str.fPos += parsePos [all...] |
ufile.h | 48 UChar *fPos; /* current pos in fUCBuffer */
|
sscanf.c | 112 inStr.str.fPos = (UChar *)buffer;
|
/external/icu4c/tools/toolutil/ |
xmlparser.cpp | 334 fPos = 0; // TODO use just a local pos variable and pass it into functions 353 if (mXMLDecl.lookingAt(fPos, status)) { 354 fPos = mXMLDecl.end(status); 361 if (mXMLDoctype.lookingAt(fPos, status)) { 362 fPos = mXMLDoctype.end(status); 369 if (mXMLElemEmpty.lookingAt(fPos, status)) { 372 fPos = mXMLElemEmpty.end(status); 374 if (mXMLElemStart.lookingAt(fPos, status) == FALSE) { 390 if (mXMLElemStart.lookingAt(fPos, status)) { 415 if (mXMLComment.lookingAt(fPos, status)) [all...] |
/external/skia/bench/ |
TextBench.cpp | 47 SkPoint* fPos; 52 fPos = NULL; 66 fPos = new SkPoint[len]; 69 fPos[i].set(x, SkIntToScalar(50)); 77 delete[] fPos; 117 canvas->drawPosText(fText.c_str(), fText.size(), fPos, paint);
|
GradientBench.cpp | 21 const SkScalar* fPos; 45 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, 57 data.fPos, data.fCount, tm, mapper); 68 data.fPos, data.fCount, mapper); 83 data.fColors, data.fPos, data.fCount, tm, mapper); 97 data.fColors, data.fPos, data.fCount, tm, mapper);
|
/external/skia/src/gpu/ |
GrAAConvexPathRenderer.cpp | 295 GrPoint fPos; 315 verts[v + 0].fPos = sega.endPt(); 316 verts[v + 1].fPos = verts[v + 0].fPos + sega.endNorm(); 317 verts[v + 2].fPos = verts[v + 0].fPos + segb.fMid; 318 verts[v + 3].fPos = verts[v + 0].fPos + segb.fNorms[0]; 339 verts[v + 0].fPos = fanPt; 340 verts[v + 1].fPos = sega.endPt() [all...] |
GrAAHairLinePathRenderer.cpp | 323 GrPoint fPos; 414 a0.fPos = a; 415 a0.fPos += abN; 416 a1.fPos = a; 417 a1.fPos -= abN; 419 c0.fPos = c; 420 c0.fPos += cbN; 421 c1.fPos = c; 422 c1.fPos -= cbN; 424 intersect_lines(a0.fPos, abN, c0.fPos, cbN, &b0.fPos) [all...] |
/external/skia/tests/ |
GradientTest.cpp | 19 const SkScalar* fPos; 39 !memcmp(info->fColorOffsets, fPos, fColorCount * sizeof(SkScalar))); 63 rec.fPos, 76 rec.fPos, 92 rec.fPos, 106 rec.fPos, 120 rec.fPos, 174 rec.fPos = gPos;
|
/external/stlport/test/eh/ |
test_insert.h | 331 : original( orig ), fPos( random_number( orig.size() )) 336 fPos = size_t(pos); 350 EH_STD::advance( pos, size_t(fPos) ); 356 VerifyInsertion( original, c, &fInsVal, 1+&fInsVal, fPos ); 361 size_t fPos; 368 : original( orig ), fPos( random_number( orig.size() )), fInsCnt(insCnt) 373 fPos=size_t(pos); 387 EH_STD::advance( pos, fPos ); 393 VerifyInsertN( original, c, fInsCnt, fInsVal, fPos ); 398 size_t fPos; [all...] |
/external/skia/gm/ |
shadertext.cpp | 53 const SkScalar* fPos; 67 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, 77 data.fPos, data.fCount, tm, mapper); 86 data.fPos, data.fCount, mapper); 99 data.fColors, data.fPos, data.fCount, tm, mapper);
|
gradients.cpp | 16 const SkScalar* fPos; 38 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, 48 data.fPos, data.fCount, tm, mapper); 57 data.fPos, data.fCount, mapper); 70 data.fColors, data.fPos, data.fCount, tm, mapper); 82 data.fColors, data.fPos,
|
/external/skia/include/core/ |
SkDeque.h | 85 char* fPos;
|
/external/skia/src/effects/gradients/ |
SkGradientShader.cpp | 80 recs->fPos = 0; 108 recs->fPos = curr; 123 recs->fPos = p; 157 recs[0].fPos = 0; 159 recs[i].fPos = buffer.readInt(); 195 buffer.writeInt(recs[i].fPos); 384 int nextIndex = SkFixedToFFFF(rec[i].fPos) >> kCache16Shift; 428 int nextIndex = SkFixedToFFFF(rec[i].fPos) >> kCache32Shift; 483 count += fColorCount - 1; // fRecs[].fPos 494 *buffer++ = fRecs[i].fPos; [all...] |