/external/icu/icu4c/source/tools/genrb/ |
D | ustr.c | 37 s->fLength = s->fCapacity = 0; in ustr_init() 46 s->fLength = s->fCapacity = 0; in ustr_initChars() 77 s->fLength = s->fCapacity = 0; in ustr_deinit() 89 if(dst->fCapacity < src->fLength) { in ustr_cpy() 90 ustr_resize(dst, ALLOCATION(src->fLength), status); in ustr_cpy() 97 u_memcpy(dst->fChars, src->fChars, src->fLength); in ustr_cpy() 98 dst->fLength = src->fLength; in ustr_cpy() 99 dst->fChars[dst->fLength] = 0x0000; in ustr_cpy() 116 s->fLength = len; in ustr_setlen() 125 ustr_ncat(dst, src, src->fLength, status); in ustr_cat() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_stringbuilder.cpp | 86 fLength = other.fLength; in operator =() 91 return fLength; in length() 95 return u_countChar32(getCharPtr() + fZero, fLength); in codePointCount() 99 if (fLength == 0) { in getFirstCodePoint() 103 U16_GET(getCharPtr() + fZero, 0, 0, fLength, cp); in getFirstCodePoint() 108 if (fLength == 0) { in getLastCodePoint() 111 int32_t offset = fLength; in getLastCodePoint() 114 U16_GET(getCharPtr() + fZero, 0, offset, fLength, cp); in getLastCodePoint() 120 U16_GET(getCharPtr() + fZero, 0, index, fLength, cp); in codePointAt() 128 U16_GET(getCharPtr() + fZero, 0, offset, fLength, cp); in codePointBefore() [all …]
|
/external/skia/src/sksl/ |
D | SkSLString.cpp | 124 result.append(s.fChars, s.fLength); in operator +() 144 this->append(s.fChars, s.fLength); in operator +=() 179 if (fLength != s.fLength) { in operator ==() 182 return !memcmp(fChars, s.fChars, fLength); in operator ==() 186 if (fLength != s.fLength) { in operator !=() 189 return memcmp(fChars, s.fChars, fLength); in operator !=() 193 for (size_t i = 0; i < fLength; ++i) { in operator ==() 198 return 0 == s[fLength]; in operator ==() 202 for (size_t i = 0; i < fLength; ++i) { in operator !=() 207 return 0 != s[fLength]; in operator !=() [all …]
|
D | SkSLString.h | 31 , fLength(0) {} in StringFragment() 35 , fLength(strlen(chars)) {} in StringFragment() 39 , fLength(length) {} in StringFragment() 52 size_t fLength; member 79 : INHERITED(s.fChars, s.fLength) {} in String() 142 for (size_t i = 0; i < s.fLength; ++i) {
|
D | SkSLLexer.h | 218 Token() : fKind(Kind::INVALID), fOffset(-1), fLength(-1) {} in Token() 221 : fKind(kind), fOffset(offset), fLength(length) {} in Token() 225 int fLength; member 232 fLength = length; in start() 240 int32_t fLength; variable
|
/external/skqp/src/sksl/ |
D | SkSLString.cpp | 124 result.append(s.fChars, s.fLength); in operator +() 144 this->append(s.fChars, s.fLength); in operator +=() 179 if (fLength != s.fLength) { in operator ==() 182 return !memcmp(fChars, s.fChars, fLength); in operator ==() 186 if (fLength != s.fLength) { in operator !=() 189 return memcmp(fChars, s.fChars, fLength); in operator !=() 193 for (size_t i = 0; i < fLength; ++i) { in operator ==() 198 return 0 == s[fLength]; in operator ==() 202 for (size_t i = 0; i < fLength; ++i) { in operator !=() 207 return 0 != s[fLength]; in operator !=() [all …]
|
D | SkSLString.h | 31 , fLength(0) {} in StringFragment() 35 , fLength(strlen(chars)) {} in StringFragment() 39 , fLength(length) {} in StringFragment() 52 size_t fLength; member 79 : INHERITED(s.fChars, s.fLength) {} in String() 142 for (size_t i = 0; i < s.fLength; ++i) {
|
D | SkSLLexer.h | 222 Token() : fKind(Kind::INVALID), fOffset(-1), fLength(-1) {} in Token() 225 : fKind(kind), fOffset(offset), fLength(length) {} in Token() 229 int fLength; member 236 fLength = length; in start() 244 int32_t fLength; variable
|
/external/skia/src/pdf/ |
D | SkJpegInfo.cpp | 21 , fLength(0) {} in JpegSegment() 27 fLength = 0; in read() 31 if (!this->readBigendianUint16(&fLength) || fLength < 2) { in read() 34 fLength -= 2; // Length includes itself for some reason. in read() 35 if (fOffset + fLength > fSize) { in read() 39 fOffset += fLength; in read() 48 uint16_t length() { return fLength; } in length() 63 uint16_t fLength; member in __anon7c7dc1d20111::JpegSegment
|
/external/skqp/src/pdf/ |
D | SkJpegInfo.cpp | 21 , fLength(0) {} in JpegSegment() 27 fLength = 0; in read() 31 if (!this->readBigendianUint16(&fLength) || fLength < 2) { in read() 34 fLength -= 2; // Length includes itself for some reason. in read() 35 if (fOffset + fLength > fSize) { in read() 39 fOffset += fLength; in read() 48 uint16_t length() { return fLength; } in length() 63 uint16_t fLength; member in __anonfcee51090111::JpegSegment
|
/external/skia/src/core/ |
D | SkDescriptor.cpp | 28 Entry* entry = (Entry*)((char*)this + fLength); in addEntry() 36 fLength = SkToU32(fLength + sizeof(Entry) + length); in addEntry() 61 std::unique_ptr<SkDescriptor> desc = SkDescriptor::Alloc(fLength); in copy() 62 memcpy(desc.get(), this, fLength); in copy() 74 const uint32_t* stop = (const uint32_t*)((const char*)aa + fLength); in operator ==() 84 size_t len = desc->fLength - sizeof(uint32_t); in ComputeChecksum()
|
D | SkString.cpp | 251 SkASSERT(0 == gEmptyRec.fLength); in validate() 256 SkASSERT(fRec->fLength > 0); in validate() 258 SkASSERT(0 == fRec->data()[fRec->fLength]); in validate() 310 return fRec->fLength == len && !memcmp(fRec->data(), text, len); in equals() 349 if (fRec->fLength) { in writable_str() 351 fRec = Rec::Make(fRec->data(), fRec->fLength); in writable_str() 366 } else if (unique && len <= fRec->fLength) { in set() 374 fRec->fLength = SkToU32(len); in set() 375 } else if (unique && (fRec->fLength >> 2) == (len >> 2)) { in set() 382 fRec->fLength = SkToU32(len); in set() [all …]
|
D | SkDescriptor.h | 29 fLength = sizeof(SkDescriptor); in init() 32 uint32_t getLength() const { return fLength; } in getLength() 69 uint32_t fLength; // must be second variable
|
/external/skqp/src/core/ |
D | SkDescriptor.cpp | 28 Entry* entry = (Entry*)((char*)this + fLength); in addEntry() 36 fLength = SkToU32(fLength + sizeof(Entry) + length); in addEntry() 61 std::unique_ptr<SkDescriptor> desc = SkDescriptor::Alloc(fLength); in copy() 62 memcpy(desc.get(), this, fLength); in copy() 74 const uint32_t* stop = (const uint32_t*)((const char*)aa + fLength); in operator ==() 84 size_t len = desc->fLength - sizeof(uint32_t); in ComputeChecksum()
|
D | SkString.cpp | 251 SkASSERT(0 == gEmptyRec.fLength); in validate() 256 SkASSERT(fRec->fLength > 0); in validate() 258 SkASSERT(0 == fRec->data()[fRec->fLength]); in validate() 310 return fRec->fLength == len && !memcmp(fRec->data(), text, len); in equals() 349 if (fRec->fLength) { in writable_str() 351 fRec = Rec::Make(fRec->data(), fRec->fLength); in writable_str() 366 } else if (unique && len <= fRec->fLength) { in set() 374 fRec->fLength = SkToU32(len); in set() 375 } else if (unique && (fRec->fLength >> 2) == (len >> 2)) { in set() 382 fRec->fLength = SkToU32(len); in set() [all …]
|
D | SkDescriptor.h | 29 fLength = sizeof(SkDescriptor); in init() 32 uint32_t getLength() const { return fLength; } in getLength() 69 uint32_t fLength; // must be second variable
|
D | SkPathMeasure.cpp | 418 fLength = 0; in buildSegments() 425 fLength = distance; in buildSegments() 499 fLength = -1; // signal we need to compute it in SkPathMeasure() 507 fLength = -1; // signal we need to compute it in SkPathMeasure() 524 fLength = -1; // signal we need to compute it in setPath() 534 if (fLength < 0) { in getLength() 537 if (SkScalarIsNaN(fLength)) { in getLength() 538 fLength = 0; in getLength() 541 SkASSERT(fLength >= 0); in getLength() 542 return fLength; in getLength() [all …]
|
/external/skia/src/sksl/ir/ |
D | SkSLType.h | 72 fName.fLength = fNameString.size(); in Type() 83 fName.fLength = fNameString.size(); in Type() 93 fName.fLength = fNameString.size(); in Type() 104 fName.fLength = fNameString.size(); in Type() 115 fName.fLength = fNameString.size(); in Type() 129 fName.fLength = fNameString.size(); 146 fName.fLength = fNameString.size(); in Type() 160 fName.fLength = fNameString.size(); in Type() 178 fName.fLength = fNameString.size(); in Type() 192 fName.fLength = fNameString.size(); in Type() [all …]
|
/external/skqp/src/sksl/ir/ |
D | SkSLType.h | 71 fName.fLength = fNameString.size(); in Type() 82 fName.fLength = fNameString.size(); in Type() 92 fName.fLength = fNameString.size(); in Type() 103 fName.fLength = fNameString.size(); in Type() 114 fName.fLength = fNameString.size(); in Type() 127 fName.fLength = fNameString.size(); in Type() 144 fName.fLength = fNameString.size(); in Type() 162 fName.fLength = fNameString.size(); in Type() 176 fName.fLength = fNameString.size(); in Type() 192 fName.fLength = fNameString.size(); in Type()
|
/external/skqp/src/gpu/ |
D | GrSKSLPrettyPrint.cpp | 34 fLength = lengths[i]; in prettify() 37 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 GrSKSLPrettyPrint::GLSLPrettyPrint
|
/external/skia/src/gpu/ |
D | GrSKSLPrettyPrint.cpp | 34 fLength = lengths[i]; in prettify() 37 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 GrSKSLPrettyPrint::GLSLPrettyPrint
|
/external/icu/icu4c/source/tools/gennorm2/ |
D | norms.cpp | 26 if(cc==0 || fLength==0 || ccAt(fLength-1)<=cc) { in append() 28 fLastStarterIndex=fLength; in append() 30 fArray[fLength++]=(c<<8)|cc; in append() 34 int32_t i=fLength-1; in append() 40 for(int32_t j=fLength; i<j; --j) { in append() 44 ++fLength; in append() 50 for(int32_t i=0; i<fLength; ++i) { in toString()
|
D | norms.h | 30 BuilderReorderingBuffer() : fLength(0), fLastStarterIndex(-1), fDidReorder(FALSE) {} in BuilderReorderingBuffer() 32 fLength=0; in reset() 36 int32_t length() const { return fLength; } in length() 37 UBool isEmpty() const { return fLength==0; } in isEmpty() 48 int32_t fLength; variable
|
/external/pdfium/xfa/fwl/ |
D | cfwl_scrollbar.cpp | 168 float fLength = IsVertical() ? m_rtClient.height : m_rtClient.width; in CalcButtonLen() local 169 if (fLength < m_fButtonLen * 2) { in CalcButtonLen() 170 m_fButtonLen = fLength / 2; in CalcButtonLen() 213 float fLength = IsVertical() ? rtClient.height : rtClient.width; in CalcThumbButtonRect() local 215 fLength -= fSize * 2.0f; in CalcThumbButtonRect() 216 if (fLength < fSize) in CalcThumbButtonRect() 217 fLength = 0.0f; in CalcThumbButtonRect() 219 float fThumbSize = fLength * fLength / (fRange + fLength); in CalcThumbButtonRect() 222 float fDiff = std::max(fLength - fThumbSize, 0.0f); in CalcThumbButtonRect()
|
/external/icu/icu4c/source/common/ |
D | rbbidata.cpp | 170 if (fHeader->fLength != other.fHeader->fLength) { in operator ==() 173 if (uprv_memcmp(fHeader, other.fHeader, fHeader->fLength) == 0) { in operator ==() 258 RBBIDebugPrintf(" total length of data = %d\n", fHeader->fLength); in printData() 328 ds->readUInt32(rbbiDH->fLength) < sizeof(RBBIDataHeader)) { in ubrk_swap() 337 int32_t breakDataLength = ds->readUInt32(rbbiDH->fLength); in ubrk_swap()
|