/external/chromium_org/third_party/icu/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 | 381 *byteOffset += 4 + (res->u.fString.fLength + 1) * U_SIZEOF_UCHAR; in string_preWrite() 389 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength); in bin_preWrite() 396 *byteOffset += 4 + res->u.fBinaryValue.fLength; in bin_preWrite() 460 *byteOffset += 4 + (res->u.fString.fLength + 1) * U_SIZEOF_UCHAR; in res_preWrite() 497 int32_t length = res->u.fString.fLength; in string_write() 507 int32_t length = res->u.fString.fLength; in alias_write() 550 uint32_t dataStart = *byteOffset + sizeof(res->u.fBinaryValue.fLength); in bin_write() 558 udata_write32(mem, res->u.fBinaryValue.fLength); in bin_write() 559 if (res->u.fBinaryValue.fLength > 0) { in bin_write() 560 udata_writeBlock(mem, res->u.fBinaryValue.fData, res->u.fBinaryValue.fLength); in bin_write() [all …]
|
D | wrtxml.cpp | 425 capacity = src->fLength; in printNoteElements() 428 count = getCount(src->fChars,src->fLength, UPC_NOTE, status); in printNoteElements() 434 noteLen = getAt(src->fChars,src->fLength, ¬e, capacity, i, UPC_NOTE, status); in printNoteElements() 480 int32_t capacity = src->fLength + 1; in printComments() 493 src->fLength = removeCmtText(src->fChars, src->fLength, status); in printComments() 494 descLen = getDescription(src->fChars,src->fLength, &desc, capacity, status); in printComments() 495 transLen = getTranslate(src->fChars,src->fLength, &trans, capacity, status); in printComments() 568 if (res->fComment.fLength > 0) { in printContainer() 622 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status); in string_write_xml() 654 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status); in alias_write_xml() [all …]
|
/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/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 += 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 | 218 rec->fLength = SkToU32(len); in AllocRec() 238 SkASSERT(0 == gEmptyRec.fLength); in validate() 243 SkASSERT(fRec->fLength > 0); in validate() 245 SkASSERT(0 == fRec->data()[fRec->fLength]); in validate() 294 if (fRec->fLength) { in ~SkString() 313 return fRec->fLength == len && !memcmp(fRec->data(), text, len); in equals() 338 if (fRec->fLength) { in reset() 354 if (fRec->fLength) { in writable_str() 356 Rec* rec = AllocRec(fRec->data(), fRec->fLength); in writable_str() 381 } else if (1 == fRec->fRefCnt && len <= fRec->fLength) { in set() [all …]
|
D | SkPathMeasure.cpp | 209 fLength = distance; in buildSegments() 340 fLength = -1; // signal we need to compute it in SkPathMeasure() 347 fLength = -1; // signal we need to compute it in SkPathMeasure() 360 fLength = -1; // signal we need to compute it in setPath() 375 if (fLength < 0) { in getLength() 378 SkASSERT(fLength >= 0); in getLength() 379 return fLength; in getLength() 517 fLength = -1; in nextContour() 527 SkDebugf("pathmeas: length=%g, segs=%d\n", fLength, fSegments.count()); in dump()
|
/external/chromium_org/third_party/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 += 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 | 218 rec->fLength = SkToU32(len); in AllocRec() 238 SkASSERT(0 == gEmptyRec.fLength); in validate() 243 SkASSERT(fRec->fLength > 0); in validate() 245 SkASSERT(0 == fRec->data()[fRec->fLength]); in validate() 294 if (fRec->fLength) { in ~SkString() 313 return fRec->fLength == len && !memcmp(fRec->data(), text, len); in equals() 338 if (fRec->fLength) { in reset() 354 if (fRec->fLength) { in writable_str() 356 Rec* rec = AllocRec(fRec->data(), fRec->fLength); in writable_str() 381 } else if (1 == fRec->fRefCnt && len <= fRec->fLength) { in set() [all …]
|
D | SkPathMeasure.cpp | 209 fLength = distance; in buildSegments() 340 fLength = -1; // signal we need to compute it in SkPathMeasure() 347 fLength = -1; // signal we need to compute it in SkPathMeasure() 360 fLength = -1; // signal we need to compute it in setPath() 375 if (fLength < 0) { in getLength() 378 SkASSERT(fLength >= 0); in getLength() 379 return fLength; in getLength() 517 fLength = -1; in nextContour() 527 SkDebugf("pathmeas: length=%g, segs=%d\n", fLength, fSegments.count()); in dump()
|
/external/chromium_org/third_party/skia/src/gpu/gl/builders/ |
D | GrGLSLPrettyPrint.cpp | 18 fLength = input.size(); in prettify() 28 while (fLength > fIndex) { in prettify() 93 for (size_t j = 0; token[j] && fLength > i; i++, j++) { in hasToken() 106 while (fLength > fIndex) { in parseUntilNewline() 120 while (fLength > fIndex) { in parseUntil() 164 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/chromium_org/third_party/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()
|
/external/chromium_org/third_party/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()
|
/external/icu/icu4c/source/common/ |
D | rbbidata.cpp | 161 if (fHeader->fLength != other.fHeader->fLength) { in operator ==() 164 if (uprv_memcmp(fHeader, other.fHeader, fHeader->fLength) == 0) { in operator ==() 249 RBBIDebugPrintf(" total length of data = %d\n", fHeader->fLength); in printData() 326 ds->readUInt32(rbbiDH->fLength) < sizeof(RBBIDataHeader)) in ubrk_swap() 336 int32_t breakDataLength = ds->readUInt32(rbbiDH->fLength); in ubrk_swap()
|
/external/chromium_org/third_party/icu/source/common/ |
D | rbbidata.cpp | 161 if (fHeader->fLength != other.fHeader->fLength) { in operator ==() 164 if (uprv_memcmp(fHeader, other.fHeader, fHeader->fLength) == 0) { in operator ==() 249 RBBIDebugPrintf(" total length of data = %d\n", fHeader->fLength); in printData() 326 ds->readUInt32(rbbiDH->fLength) < sizeof(RBBIDataHeader)) in ubrk_swap() 336 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()
|
/external/chromium_org/third_party/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 | 29 virtual size_t getLength() const SK_OVERRIDE { return fLength; } in getLength() 36 const size_t fLength; member in FrontBufferedStream 76 , fLength(stream->getLength() - stream->getPosition()) in FrontBufferedStream()
|
/external/chromium_org/third_party/icu/source/tools/gennorm2/ |
D | n2builder.cpp | 544 BuilderReorderingBuffer() : fLength(0), fLastStarterIndex(-1), fDidReorder(FALSE) {} in BuilderReorderingBuffer() 546 fLength=0; in reset() 550 int32_t length() const { return fLength; } in length() 551 UBool isEmpty() const { return fLength==0; } in isEmpty() 557 if(cc==0 || fLength==0 || ccAt(fLength-1)<=cc) { in append() 559 fLastStarterIndex=fLength; in append() 561 fArray[fLength++]=(c<<8)|cc; in append() 565 int32_t i=fLength-1; in append() 571 for(int32_t j=fLength; i<j; --j) { in append() 575 ++fLength; in append() [all …]
|
/external/icu/icu4c/source/tools/gennorm2/ |
D | n2builder.cpp | 544 BuilderReorderingBuffer() : fLength(0), fLastStarterIndex(-1), fDidReorder(FALSE) {} in BuilderReorderingBuffer() 546 fLength=0; in reset() 550 int32_t length() const { return fLength; } in length() 551 UBool isEmpty() const { return fLength==0; } in isEmpty() 557 if(cc==0 || fLength==0 || ccAt(fLength-1)<=cc) { in append() 559 fLastStarterIndex=fLength; in append() 561 fArray[fLength++]=(c<<8)|cc; in append() 565 int32_t i=fLength-1; in append() 571 for(int32_t j=fLength; i<j; --j) { in append() 575 ++fLength; in append() [all …]
|