Home
last modified time | relevance | path

Searched refs:fPos (Results 1 – 15 of 15) sorted by relevance

/external/skia/include/core/
DSkBuffer.h31 SkRBuffer() : fData(0), fPos(0), fStop(0) {} in SkRBuffer()
38 fPos = (const char*)data; in SkRBuffer()
47 fPos = (const char*)data; in SkRBuffer()
54 size_t pos() const { return fPos - fData; } in pos()
63 bool eof() const { return fPos >= fStop; } in eof()
85 const char* fPos; variable
99 SkWBuffer() : fData(0), fPos(0), fStop(0) {} in SkWBuffer()
106 fPos = (char*)data; in reset()
113 fPos = (char*)data; in reset()
118 size_t pos() const { return fPos - fData; } in pos()
[all …]
DSkDeque.h60 char* fPos; variable
/external/skia/src/core/
DSkBuffer.cpp24 SkASSERT((fData != 0 && fStop == 0) || fPos + size <= fStop); in readNoSizeCheck()
26 memcpy(buffer, fPos, size); in readNoSizeCheck()
27 fPos += size; in readNoSizeCheck()
32 const void* result = fPos; in skip()
41 fPos += n; in skipToAlign4()
47 void* result = fPos; in skip()
54 SkASSERT(fData == 0 || fStop == 0 || fPos + size <= fStop); in writeNoSizeCheck()
56 memcpy(fPos, buffer, size); in writeNoSizeCheck()
57 fPos += size; in writeNoSizeCheck()
67 char* p = fPos; in padToAlign4()
[all …]
DSkDeque.cpp233 fPos = fHead ? fHead->fBegin : NULL; in Iter()
237 char* pos = fPos; in next()
248 fPos = next; in next()
/external/icu4c/io/
Dustdio.c319 int32_t charsLeft = (int32_t)(f->str.fLimit - f->str.fPos); in u_file_write_flush()
324 u_strncpy(f->str.fPos, mySource, written); in u_file_write_flush()
325 f->str.fPos += written; in u_file_write_flush()
397 dataSize = (int32_t)(str->fLimit - str->fPos); in ufile_fill_uchar_buffer()
405 uprv_memmove(f->fUCBuffer, str->fPos, dataSize * sizeof(UChar)); in ufile_fill_uchar_buffer()
454 str->fPos = str->fBuffer; in ufile_fill_uchar_buffer()
478 if (str->fPos >= str->fLimit) { in u_fgets()
486 dataSize = (int32_t)(str->fLimit - str->fPos); in u_fgets()
497 alias = str->fPos; in u_fgets()
541 str->fPos = alias; in u_fgets()
[all …]
Duscanf_p.c436 len = (int32_t)(input->str.fLimit - input->str.fPos); in u_scanf_double_handler()
453 num = unum_parseDouble(format, input->str.fPos, len, &parsePos, &status); in u_scanf_double_handler()
469 input->str.fPos += parsePos; in u_scanf_double_handler()
499 len = (int32_t)(input->str.fLimit - input->str.fPos); in u_scanf_scientific_handler()
516 num = unum_parseDouble(format, input->str.fPos, len, &parsePos, &status); in u_scanf_scientific_handler()
532 input->str.fPos += parsePos; in u_scanf_scientific_handler()
571 len = (int32_t)(input->str.fLimit - input->str.fPos); in u_scanf_scidbl_handler()
590 scientificResult = unum_parseDouble(scientificFormat, input->str.fPos, len, in u_scanf_scidbl_handler()
593 genericResult = unum_parseDouble(genericFormat, input->str.fPos, len, in u_scanf_scidbl_handler()
609 input->str.fPos += parsePos; in u_scanf_scidbl_handler()
[all …]
Dufile.c79 result->str.fPos = result->fUCBuffer; in u_finit()
149 result->str.fPos = stringBuf; in u_fstropen()
171 endOfBuffer = (UBool)(f->str.fPos >= f->str.fLimit); in u_feof()
185 else if (file->str.fPos < file->str.fLimit) { in u_fflush()
186 *(file->str.fPos++) = 0; in u_fflush()
199 file->str.fPos = file->fUCBuffer; in u_frewind()
202 file->str.fPos = file->str.fBuffer; in u_frewind()
270 if ((file->str.fPos == file->str.fBuffer) && (file->str.fLimit == file->str.fBuffer)) { in u_fsetcodepage()
Dufile.h48 UChar *fPos; /* current pos in fUCBuffer */ member
Dsscanf.c112 inStr.str.fPos = (UChar *)buffer; in u_vsscanf_u()
/external/icu4c/tools/toolutil/
Dxmlparser.cpp329 fPos = 0; // TODO use just a local pos variable and pass it into functions in parse()
348 if (mXMLDecl.lookingAt(fPos, status)) { in parse()
349 fPos = mXMLDecl.end(status); in parse()
356 if (mXMLDoctype.lookingAt(fPos, status)) { in parse()
357 fPos = mXMLDoctype.end(status); in parse()
364 if (mXMLElemEmpty.lookingAt(fPos, status)) { in parse()
367 fPos = mXMLElemEmpty.end(status); in parse()
369 if (mXMLElemStart.lookingAt(fPos, status) == FALSE) { in parse()
385 if (mXMLElemStart.lookingAt(fPos, status)) { in parse()
410 if (mXMLComment.lookingAt(fPos, status)) { in parse()
[all …]
Dxmlparser.h237 int32_t fPos; // String index of the current scan position in variable
/external/skia/bench/
DTextBench.cpp22 SkPoint* fPos; member in TextBench
39 fPos = new SkPoint[fCount]; in TextBench()
42 fPos[i].set(x, 0); in TextBench()
47 fPos = NULL; in TextBench()
52 delete[] fPos; in ~TextBench()
61 if (fPos) { in onGetName()
80 if (fPos) { in onDraw()
83 canvas->drawPosText(fText.c_str(), fText.size(), fPos, paint); in onDraw()
/external/skia/gm/
Dgradients.cpp9 const SkScalar* fPos; member
31 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, in MakeLinear()
41 data.fPos, data.fCount, tm, mapper); in MakeRadial()
50 data.fPos, data.fCount, mapper); in MakeSweep()
/external/skia/src/effects/
DSkGradientShader.cpp104 SkFixed fPos; // 0...1 member
214 recs->fPos = 0; in Gradient_Shader()
242 recs->fPos = curr; in Gradient_Shader()
257 recs->fPos = p; in Gradient_Shader()
290 recs[0].fPos = 0; in Gradient_Shader()
292 recs[i].fPos = buffer.readS32(); in Gradient_Shader()
322 buffer.write32(recs[i].fPos); in flatten()
504 int nextIndex = SkFixedToFFFF(rec[i].fPos) >> (16 - kCache16Bits); in getCache16()
544 int nextIndex = SkFixedToFFFF(rec[i].fPos) >> (16 - kCache32Bits); in getCache32()
/external/srec/tools/grxmlcompile/
Dsub_grph.cpp42 int fPos= label.find_first_of ("___"); in IsSlot() local
45 if (fPos >= 0 && lPos == count) in IsSlot()