Searched refs:fLength (Results 1 - 25 of 40) sorted by relevance

12

/external/icu4c/i18n/
H A Ddecnumstr.cpp21 fLength = 0;
29 fLength = 0;
35 if (ensureCapacity(fLength + 2, status) == FALSE) {
38 fText[fLength++] = c;
39 fText[fLength] = 0;
45 if (ensureCapacity(fLength + sLength + 1, status) == FALSE) {
48 uprv_memcpy(&fText[fLength], str.data(), sLength);
49 fLength += sLength;
50 fText[fLength] = 0;
55 U_ASSERT(index>=0 && index<fLength);
[all...]
H A Ddecnumstr.h45 int32_t fLength; member in class:DecimalNumberString
/external/skia/src/pdf/
H A DSkPDFStream.cpp28 fLength = fCompressedData.getOffset();
33 fLength = fPlainData->getLength();
35 insert("Length", new SkPDFInt(fLength))->unref();
49 stream->write(fPlainData->getMemoryBase(), fLength);
51 stream->write(fCompressedData.getStream(), fLength);
60 strlen(" stream\n\nendstream") + fLength;
/external/skia/gpu/src/
H A DGrBinHashKey.h63 , fLength(0)
105 memcpy(fHeapData, key.fHeapData, fLength);
123 if (fLength > fPhysicalSize) {
128 GrMalloc(sizeof(uint8_t) * fLength));
129 fPhysicalSize = fLength;
132 fLength = 0;
146 GrAssert(fLength + len <= fPhysicalSize);
147 memcpy(&fHeapData[fLength], dataToAdd, len );
149 if (fLength + len <= StackSize) {
150 memcpy(&fStackData[fLength], dataToAd
224 size_t fLength; // length of data accumulated so far member in class:GrBinHashKey
[all...]
/external/icu4c/tools/genrb/
H A Dustr.c34 s->fLength = s->fCapacity = 0;
43 s->fLength = s->fCapacity = 0;
74 s->fLength = s->fCapacity = 0;
86 if(dst->fCapacity < src->fLength) {
87 ustr_resize(dst, ALLOCATION(src->fLength), status);
94 uprv_memcpy(dst->fChars, src->fChars, sizeof(UChar) * src->fLength);
95 dst->fLength = src->fLength;
96 dst->fChars[dst->fLength] = 0x0000;
113 s->fLength
[all...]
H A Dustr.h41 int32_t fLength; member in struct:UString
H A Dreslist.c379 *byteOffset += 4 + (res->u.fString.fLength + 1) * U_SIZEOF_UCHAR;
387 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength);
394 *byteOffset += 4 + res->u.fBinaryValue.fLength;
458 *byteOffset += 4 + (res->u.fString.fLength + 1) * U_SIZEOF_UCHAR;
495 int32_t length = res->u.fString.fLength;
505 int32_t length = res->u.fString.fLength;
548 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength);
556 udata_write32(mem, res->u.fBinaryValue.fLength);
557 if (res->u.fBinaryValue.fLength > 0) {
558 udata_writeBlock(mem, res->u.fBinaryValue.fData, res->u.fBinaryValue.fLength);
[all...]
H A Dwrtxml.cpp423 capacity = src->fLength;
426 count = getCount(src->fChars,src->fLength, UPC_NOTE, status);
432 noteLen = getAt(src->fChars,src->fLength, &note, capacity, i, UPC_NOTE, status);
478 int32_t capacity = src->fLength + 1;
491 src->fLength = removeCmtText(src->fChars, src->fLength, status);
492 descLen = getDescription(src->fChars,src->fLength, &desc, capacity, status);
493 transLen = getTranslate(src->fChars,src->fLength, &trans, capacity, status);
566 if (res->fComment.fLength > 0) {
620 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, statu
[all...]
H A Dwrtjava.c312 str_write_java(res->u.fString.fChars,res->u.fString.fLength,TRUE,status);
316 UChar* buf = (UChar*) uprv_malloc(sizeof(UChar)*res->u.fString.fLength);
317 uprv_memcpy(buf,res->u.fString.fChars,res->u.fString.fLength);
453 int32_t srcLen=res->u.fBinaryValue.fLength;
/external/skia/include/core/
H A DSkDescriptor.h44 fLength = sizeof(SkDescriptor);
48 uint32_t getLength() const { return fLength; }
56 Entry* entry = (Entry*)((char*)this + fLength);
63 fLength += sizeof(Entry) + length;
99 SkDescriptor* desc = SkDescriptor::Alloc(fLength);
100 memcpy(desc, this, fLength);
107 // SkASSERT(a.fChecksum != b.fChecksum || memcmp(&a, &b, a.fLength) == 0);
115 const uint32_t* stop = (const uint32_t*)((const char*)aa + fLength);
136 uint32_t fLength; // must be second member in class:SkDescriptor
142 const uint32_t* stop = (const uint32_t*)((const char*)desc + desc->fLength);
[all...]
H A DSkTSearch.h148 size_t length() const { return fLength; }
152 size_t fLength; member in class:SkAutoAsciiToLC
H A DSkPathMeasure.h88 SkScalar fLength; // relative to the current contour member in class:SkPathMeasure
H A DSkString.h76 bool isEmpty() const { return fRec->fLength == 0; }
77 size_t size() const { return (size_t) fRec->fLength; }
161 uint16_t fLength; member in struct:SkString::Rec
/external/skia/include/pdf/
H A DSkPDFStream.h47 size_t fLength; member in class:SkPDFStream
/external/skia/src/animator/
H A DSkBase64.h42 size_t fLength; member in struct:SkBase64
H A DSkDrawPath.cpp46 fLength = SK_ScalarNaN;
72 fLength = SK_ScalarNaN;
145 if (SkScalarIsNaN(fLength)) {
148 fLength = pathMeasure.getLength();
151 value->fOperand.fScalar = fLength;
H A DSkBase64.cpp37 SkBase64::SkBase64() : fLength((size_t) -1), fData(NULL) {
111 fLength = dst - dstStart;
162 fData = new char[fLength]; // should use sk_malloc/sk_free
180 SkASSERT(length == tryMe.fLength);
H A DSkDrawPath.h52 mutable SkScalar fLength; member in class:SkDrawPath
H A DSkDrawBitmap.cpp144 base64.fLength = 0;
193 SkImageDecoder::DecodeMemory(base64.fData, base64.fLength, &fBitmap);
/external/skia/src/core/
H A DSkString.cpp206 rec->fLength = SkToU16(len);
219 src = AllocRec(src->data(), src->fLength);
230 SkASSERT(gEmptyRec.fLength == 0);
235 SkASSERT(fRec->fLength > 0);
237 SkASSERT(fRec->data()[fRec->fLength] == 0);
288 if (fRec->fLength) {
307 return fRec->fLength == len && !memcmp(fRec->data(), text, len);
332 if (fRec->fLength) {
348 if (fRec->fLength) {
351 fRec = AllocRec(fRec->data(), fRec->fLength);
[all...]
H A DSkPathMeasure.cpp210 fLength = distance;
361 fLength = -1; // signal we need to compute it
368 fLength = -1; // signal we need to compute it
381 fLength = -1; // signal we need to compute it
395 if (fLength < 0) {
398 SkASSERT(fLength >= 0);
399 return fLength;
541 fLength = -1;
551 SkDebugf("pathmeas: length=%g, segs=%d\n", fLength, fSegments.count());
/external/skia/src/ports/
H A DSkFontHost_tables.cpp29 uint32_t fLength; member in struct:SkSFNTDirEntry
149 return SkEndian_SwapBE32(header.fDir[i].fLength);
171 size_t realLength = SkEndian_SwapBE32(header.fDir[i].fLength);
/external/icu4c/common/
H A Drbbidata.cpp161 if (fHeader->fLength != other.fHeader->fLength) {
164 if (uprv_memcmp(fHeader, other.fHeader, fHeader->fLength) == 0) {
249 RBBIDebugPrintf(" total length of data = %d\n", fHeader->fLength);
326 ds->readUInt32(rbbiDH->fLength) < sizeof(RBBIDataHeader))
336 int32_t breakDataLength = ds->readUInt32(rbbiDH->fLength);
H A Drbbidata.h67 uint32_t fLength; /* Total length in bytes of this RBBI Data, */ member in struct:RBBIDataHeader
/external/icu4c/tools/gennorm2/
H A Dn2builder.cpp513 BuilderReorderingBuffer() : fLength(0), fLastStarterIndex(-1), fDidReorder(FALSE) {}
515 fLength=0;
519 int32_t length() const { return fLength; }
520 UBool isEmpty() const { return fLength==0; }
526 if(cc==0 || fLength==0 || ccAt(fLength-1)<=cc) {
528 fLastStarterIndex=fLength;
530 fArray[fLength++]=(c<<8)|cc;
534 int32_t i=fLength-1;
540 for(int32_t j=fLength;
564 int32_t fLength; member in class:BuilderReorderingBuffer
[all...]

Completed in 260 milliseconds

12