/external/icu/icu4c/source/tools/genrb/ |
D | ustr.c | 35 s->fLength = s->fCapacity = 0; in ustr_init() 44 s->fLength = s->fCapacity = 0; in ustr_initChars() 75 s->fLength = s->fCapacity = 0; in ustr_deinit() 87 if(dst->fCapacity < src->fLength) { in ustr_cpy() 88 ustr_resize(dst, ALLOCATION(src->fLength), status); in ustr_cpy() 95 uprv_memcpy(dst->fChars, src->fChars, sizeof(UChar) * src->fLength); in ustr_cpy() 96 dst->fLength = src->fLength; in ustr_cpy() 97 dst->fChars[dst->fLength] = 0x0000; in ustr_cpy() 114 s->fLength = len; in ustr_setlen() 123 ustr_ncat(dst, src, src->fLength, status); in ustr_cat() [all …]
|
D | reslist.c | 170 int32_t len = res->u.fString.fLength; in string_preflightStrings() 478 *byteOffset += 4 + (res->u.fString.fLength + 1) * U_SIZEOF_UCHAR; in string_preWrite() 486 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength); in bin_preWrite() 493 *byteOffset += 4 + res->u.fBinaryValue.fLength; in bin_preWrite() 557 *byteOffset += 4 + (res->u.fString.fLength + 1) * U_SIZEOF_UCHAR; in res_preWrite() 594 int32_t length = res->u.fString.fLength; in string_write() 604 int32_t length = res->u.fString.fLength; in alias_write() 647 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength); in bin_write() 655 udata_write32(mem, res->u.fBinaryValue.fLength); in bin_write() 656 if (res->u.fBinaryValue.fLength > 0) { in bin_write() [all …]
|
D | wrtxml.cpp | 435 capacity = src->fLength; in printNoteElements() 438 count = getCount(src->fChars,src->fLength, UPC_NOTE, status); in printNoteElements() 444 noteLen = getAt(src->fChars,src->fLength, ¬e, capacity, i, UPC_NOTE, status); in printNoteElements() 490 int32_t capacity = src->fLength + 1; in printComments() 503 src->fLength = removeCmtText(src->fChars, src->fLength, status); in printComments() 504 descLen = getDescription(src->fChars,src->fLength, &desc, capacity, status); in printComments() 505 transLen = getTranslate(src->fChars,src->fLength, &trans, capacity, status); in printComments() 578 if (res->fComment.fLength > 0) { in printContainer() 632 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status); in string_write_xml() 664 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status); in alias_write_xml() [all …]
|
/external/icu/icu4c/source/layout/ |
D | LETableReference.h | 56 fFont(font), fTag(tableTag), fParent(NULL), fStart(NULL),fLength(LE_UINTPTR_MAX) { in LETableReference() 61 …arent.fFont), fTag(parent.fTag), fParent(&parent), fStart(parent.fStart), fLength(parent.fLength) { in LETableReference() 69 fFont(NULL), fTag(kQuestionmarkTableTag), fParent(NULL), fStart(data), fLength(length) { in fFont() 73 fFont(NULL), fTag(kQuestionmarkTableTag), fParent(NULL), fStart(NULL), fLength(0) { in LETableReference() 90 fStart((parent.fStart)+offset), fLength(length) { in LETableReference() 95 } else if(offset >= fParent->fLength) { in LETableReference() 100 if(fLength == LE_UINTPTR_MAX && in LETableReference() 101 fParent->fLength != LE_UINTPTR_MAX) { in LETableReference() 102 fLength = (fParent->fLength) - offset; // decrement length as base address is incremented in LETableReference() 104 if(fLength != LE_UINTPTR_MAX) { // if we have bounds: in LETableReference() [all …]
|
/external/skia/src/pdf/ |
D | SkJpegInfo.cpp | 18 , fLength(0) {} in JpegSegment() 24 fLength = 0; in read() 28 if (!this->readBigendianUint16(&fLength) || fLength < 2) { in read() 31 fLength -= 2; // Length includes itself for some reason. in read() 32 if (fOffset + fLength > fSize) { in read() 36 fOffset += fLength; in read() 45 uint16_t length() { return fLength; } in length() 60 uint16_t fLength; member in __anon309d4a090111::JpegSegment
|
/external/skia/src/core/ |
D | SkDescriptor.h | 34 fLength = sizeof(SkDescriptor); in init() 38 uint32_t getLength() const { return fLength; } in getLength() 45 Entry* entry = (Entry*)((char*)this + fLength); 53 fLength = SkToU32(fLength + sizeof(Entry) + length); 84 SkDescriptor* desc = SkDescriptor::Alloc(fLength); in copy() 85 memcpy(desc, this, fLength); in copy() 99 const uint32_t* stop = (const uint32_t*)((const char*)aa + fLength); in equals() 120 uint32_t fLength; // must be second variable 125 size_t len = desc->fLength - sizeof(uint32_t); in ComputeChecksum()
|
D | SkString.cpp | 221 rec->fLength = SkToU32(len); in AllocRec() 241 SkASSERT(0 == gEmptyRec.fLength); in validate() 246 SkASSERT(fRec->fLength > 0); in validate() 248 SkASSERT(0 == fRec->data()[fRec->fLength]); in validate() 281 if (fRec->fLength) { in ~SkString() 300 return fRec->fLength == len && !memcmp(fRec->data(), text, len); in equals() 325 if (fRec->fLength) { in reset() 338 if (fRec->fLength) { in writable_str() 340 Rec* rec = AllocRec(fRec->data(), fRec->fLength); in writable_str() 362 } else if (1 == fRec->fRefCnt && len <= fRec->fLength) { in set() [all …]
|
D | SkPathMeasure.cpp | 243 fLength = distance; in buildSegments() 401 fLength = -1; // signal we need to compute it in SkPathMeasure() 408 fLength = -1; // signal we need to compute it in SkPathMeasure() 421 fLength = -1; // signal we need to compute it in setPath() 436 if (fLength < 0) { in getLength() 439 SkASSERT(fLength >= 0); in getLength() 440 return fLength; in getLength() 608 fLength = -1; in nextContour() 618 SkDebugf("pathmeas: length=%g, segs=%d\n", fLength, fSegments.count()); in dump()
|
D | SkFontStream.cpp | 36 uint32_t fLength; member 181 size_t realLength = SkEndian_SwapBE32(header.fDir[i].fLength); in GetTableData()
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLSLPrettyPrint.cpp | 36 fLength = lengths[i]; in prettify() 39 while (fLength > fIndex) { in prettify() 110 for (size_t j = 0; token[j] && fLength > i; i++, j++) { in hasToken() 123 while (fLength > fIndex) { in parseUntilNewline() 139 while (fLength > fIndex) { in parseUntil() 186 size_t fIndex, fLength; member in GrGLSLPrettyPrint::GLSLPrettyPrint
|
/external/skia/src/utils/ios/ |
D | SkOSFile_iOS.mm | 15 size_t fLength; field 52 rec->fLength = [data length]; 60 return rec->fLength; 71 return rec->fLength; 73 size_t remaining = rec->fLength - rec->fOffset; 79 SkASSERT(rec->fOffset <= rec->fLength);
|
/external/skia/src/animator/ |
D | SkDrawPath.cpp | 38 fLength = SK_ScalarNaN; in SkDrawPath() 64 fLength = SK_ScalarNaN; in dirty() 137 if (SkScalarIsNaN(fLength)) { in getProperty() 140 fLength = pathMeasure.getLength(); in getProperty() 143 value->fOperand.fScalar = fLength; in getProperty()
|
D | SkDrawBitmap.cpp | 135 base64.fLength = 0; in SkImageBaseBitmap() 184 SkImageDecoder::DecodeMemory(base64.fData, base64.fLength, &fBitmap); in resolve()
|
/external/icu/icu4c/source/common/ |
D | rbbidata.cpp | 189 if (fHeader->fLength != other.fHeader->fLength) { in operator ==() 192 if (uprv_memcmp(fHeader, other.fHeader, fHeader->fLength) == 0) { in operator ==() 277 RBBIDebugPrintf(" total length of data = %d\n", fHeader->fLength); in printData() 354 ds->readUInt32(rbbiDH->fLength) < sizeof(RBBIDataHeader)) in ubrk_swap() 364 int32_t breakDataLength = ds->readUInt32(rbbiDH->fLength); in ubrk_swap()
|
/external/skia/src/utils/ |
D | SkBase64.cpp | 29 SkBase64::SkBase64() : fLength((size_t) -1), fData(NULL) { in SkBase64() 104 fLength = dst - dstStart; in decode() 161 fData = new char[fLength]; // should use sk_malloc/sk_free in decode()
|
D | SkFrontBufferedStream.cpp | 31 size_t getLength() const override { return fLength; } in getLength() 38 const size_t fLength; member in FrontBufferedStream 78 , fLength(stream->getLength() - stream->getPosition()) in FrontBufferedStream()
|
/external/skia/src/gpu/ |
D | GrTRecorder.h | 121 block->fLength = length; in Alloc() 149 int fLength; // Length in units of TAlign of the block. member 214 while (fTailBlock->fBack + totalLength > fTailBlock->fLength) { in alloc_back() 216 fTailBlock = MemBlock::Alloc(SkTMax(2 * fTailBlock->fLength, totalLength), fTailBlock); in alloc_back() 346 if (fTailBlock->fBack <= fTailBlock->fLength / 2) { in reset()
|
/external/skia/tests/ |
D | GrTRecorderTest.cpp | 183 SubclassExtraData(int length) : fLength(length) { in SubclassExtraData() 185 for (int i = 0; i < fLength; ++i) { in SubclassExtraData() 195 for (int i = 0; i < fLength; ++i) { in validate() 202 int fLength; member in SubclassExtraData
|
D | PointTest.cpp | 126 SkScalar fLength; in DEF_TEST() member 133 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fLength); in DEF_TEST()
|
/external/icu/icu4c/source/tools/gennorm2/ |
D | n2builder.cpp | 545 BuilderReorderingBuffer() : fLength(0), fLastStarterIndex(-1), fDidReorder(FALSE) {} in BuilderReorderingBuffer() 547 fLength=0; in reset() 551 int32_t length() const { return fLength; } in length() 552 UBool isEmpty() const { return fLength==0; } in isEmpty() 558 if(cc==0 || fLength==0 || ccAt(fLength-1)<=cc) { in append() 560 fLastStarterIndex=fLength; in append() 562 fArray[fLength++]=(c<<8)|cc; in append() 566 int32_t i=fLength-1; in append() 572 for(int32_t j=fLength; i<j; --j) { in append() 576 ++fLength; in append() [all …]
|
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
D | Parallax.glsllib | 6 float fLength = length( vViewDir ); 7 float fParallaxLength = sqrt( fLength * fLength - vViewDir.z * vViewDir.z ) / vViewDir.z;
|
/external/skia/include/core/ |
D | SkTSearch.h | 132 size_t length() const { return fLength; } in length() 136 size_t fLength; variable
|
D | SkString.h | 125 bool isEmpty() const { return 0 == fRec->fLength; } in isEmpty() 126 size_t size() const { return (size_t) fRec->fLength; } in size() 231 uint32_t fLength; // logically size_t, but we want it to stay 32bits
|
/external/icu/icu4c/source/i18n/ |
D | uspoof_impl.cpp | 553 if (length < fRawData->fLength) { in SpoofData() 706 fRawData->fLength = fMemLimit; in reserveSpace() 770 ds->readUInt32(spoofDH->fLength) < sizeof(SpoofDataHeader)) in uspoof_swap() 780 int32_t spoofDataLength = ds->readUInt32(spoofDH->fLength); in uspoof_swap() 864 …s->swapArray32(ds, &spoofDH->fLength, sizeof(SpoofDataHeader)-8 /* minus magic and fFormatVersion[… in uspoof_swap()
|
/external/icu/icu4c/source/test/intltest/ |
D | strtest.cpp | 339 SimpleByteSink(char *outbuf) : fOutbuf(outbuf), fLength(0) {} in SimpleByteSink() 345 fLength += n; in Append() 348 int32_t length() { return fLength; } in length() 351 int32_t fLength; member in SimpleByteSink
|