Home
last modified time | relevance | path

Searched refs:fLength (Results 1 – 25 of 155) sorted by relevance

1234567

/third_party/flutter/skia/third_party/externals/icu/source/tools/genrb/
Dustr.c37 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 …]
/third_party/skia/third_party/externals/icu/source/tools/genrb/
Dustr.c37 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 …]
/third_party/node/deps/icu-small/source/tools/genrb/
Dustr.c37 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 …]
/third_party/icu/icu4c/source/tools/genrb/
Dustr.c37 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 …]
/third_party/icu/icu4c/source/i18n/
Dformatted_string_builder.cpp95 fLength = other.fLength; in operator =()
100 return fLength; in length()
104 return u_countChar32(getCharPtr() + fZero, fLength); in codePointCount()
108 if (fLength == 0) { in getFirstCodePoint()
112 U16_GET(getCharPtr() + fZero, 0, 0, fLength, cp); in getFirstCodePoint()
117 if (fLength == 0) { in getLastCodePoint()
120 int32_t offset = fLength; in getLastCodePoint()
123 U16_GET(getCharPtr() + fZero, 0, offset, fLength, cp); in getLastCodePoint()
129 U16_GET(getCharPtr() + fZero, 0, index, fLength, cp); in codePointAt()
137 U16_GET(getCharPtr() + fZero, 0, offset, fLength, cp); in codePointBefore()
[all …]
Dnumber_usageprefs.cpp38 fLength = 0; in operator =()
52 fValue = (char *)uprv_malloc(other.fLength + 1); in operator =()
57 fLength = other.fLength; in operator =()
58 uprv_strncpy(fValue, other.fValue, fLength + 1); in operator =()
64 fLength(src.fLength), in StringProp()
79 fLength = src.fLength; in operator =()
98 fLength = value.length(); in set()
99 fValue = (char *)uprv_malloc(fLength + 1); in set()
101 fLength = 0; in set()
105 uprv_strncpy(fValue, value.data(), fLength); in set()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dformatted_string_builder.cpp95 fLength = other.fLength; in operator =()
100 return fLength; in length()
104 return u_countChar32(getCharPtr() + fZero, fLength); in codePointCount()
108 if (fLength == 0) { in getFirstCodePoint()
112 U16_GET(getCharPtr() + fZero, 0, 0, fLength, cp); in getFirstCodePoint()
117 if (fLength == 0) { in getLastCodePoint()
120 int32_t offset = fLength; in getLastCodePoint()
123 U16_GET(getCharPtr() + fZero, 0, offset, fLength, cp); in getLastCodePoint()
129 U16_GET(getCharPtr() + fZero, 0, index, fLength, cp); in codePointAt()
137 U16_GET(getCharPtr() + fZero, 0, offset, fLength, cp); in codePointBefore()
[all …]
Dnumber_usageprefs.cpp38 fLength = 0; in operator =()
52 fValue = (char *)uprv_malloc(other.fLength + 1); in operator =()
57 fLength = other.fLength; in operator =()
58 uprv_strncpy(fValue, other.fValue, fLength + 1); in operator =()
64 fLength(src.fLength), in StringProp()
79 fLength = src.fLength; in operator =()
98 fLength = value.length(); in set()
99 fValue = (char *)uprv_malloc(fLength + 1); in set()
101 fLength = 0; in set()
105 uprv_strncpy(fValue, value.data(), fLength); in set()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dformatted_string_builder.cpp95 fLength = other.fLength; in operator =()
100 return fLength; in length()
104 return u_countChar32(getCharPtr() + fZero, fLength); in codePointCount()
108 if (fLength == 0) { in getFirstCodePoint()
112 U16_GET(getCharPtr() + fZero, 0, 0, fLength, cp); in getFirstCodePoint()
117 if (fLength == 0) { in getLastCodePoint()
120 int32_t offset = fLength; in getLastCodePoint()
123 U16_GET(getCharPtr() + fZero, 0, offset, fLength, cp); in getLastCodePoint()
129 U16_GET(getCharPtr() + fZero, 0, index, fLength, cp); in codePointAt()
137 U16_GET(getCharPtr() + fZero, 0, offset, fLength, cp); in codePointBefore()
[all …]
Dnumber_usageprefs.cpp38 fLength = 0; in operator =()
52 fValue = (char *)uprv_malloc(other.fLength + 1); in operator =()
57 fLength = other.fLength; in operator =()
58 uprv_strncpy(fValue, other.fValue, fLength + 1); in operator =()
64 fLength(src.fLength), in StringProp()
79 fLength = src.fLength; in operator =()
98 fLength = value.length(); in set()
99 fValue = (char *)uprv_malloc(fLength + 1); in set()
101 fLength = 0; in set()
105 uprv_strncpy(fValue, value.data(), fLength); in set()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_stringbuilder.cpp86 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 …]
/third_party/flutter/skia/experimental/editor/
Dstringslice.cpp17 , fLength(that.fLength) in StringSlice()
20 that.fLength = 0; in StringSlice()
34 fLength = 0; in operator =()
44 offset = std::min(fLength, offset); in insert()
45 this->reserve(fLength + length); in insert()
48 if (offset != fLength) { in insert()
49 std::memmove(s + offset + length, s + offset, fLength - offset); in insert()
56 fLength += length; in insert()
61 if (length && offset < fLength) { in remove()
62 length = std::min(length, fLength - offset); in remove()
[all …]
Dstringslice.h26 const char* end() const { return fPtr ? fPtr.get() + fLength : nullptr; } in end()
27 std::size_t size() const { return fLength; } in size()
28 editor::StringView view() const { return {fPtr.get(), fLength}; } in view()
36 void shrink() { this->realloc(fLength); } in shrink()
41 std::size_t fLength = 0; variable
/third_party/skia/modules/skplaintexteditor/src/
Dstringslice.cpp17 , fLength(that.fLength) in StringSlice()
20 that.fLength = 0; in StringSlice()
34 fLength = 0; in operator =()
44 offset = std::min(fLength, offset); in insert()
45 this->reserve(fLength + length); in insert()
48 if (offset != fLength) { in insert()
49 std::memmove(s + offset + length, s + offset, fLength - offset); in insert()
56 fLength += length; in insert()
61 if (length && offset < fLength) { in remove()
62 length = std::min(length, fLength - offset); in remove()
[all …]
/third_party/skia/include/core/
DSkStringView.h30 , fLength(0) {} in string_view()
36 , fLength(length) {} in string_view()
51 return fData + fLength; in end()
63 return fData[fLength - 1]; in back()
71 return fLength; in size()
75 return fLength; in length()
79 return fLength == 0; in empty()
83 if (s.length() > fLength) { in starts_with()
94 if (s.length() > fLength) { in ends_with()
129 if (pos > fLength) {
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLString.cpp104 result.append(s.fChars, s.fLength); in operator +()
124 this->append(s.fChars, s.fLength); in operator +=()
159 if (fLength != s.fLength) { in operator ==()
162 return !memcmp(fChars, s.fChars, fLength); in operator ==()
166 if (fLength != s.fLength) { in operator !=()
169 return memcmp(fChars, s.fChars, fLength); in operator !=()
173 for (size_t i = 0; i < fLength; ++i) { in operator ==()
178 return 0 == s[fLength]; in operator ==()
182 for (size_t i = 0; i < fLength; ++i) { in operator !=()
187 return 0 != s[fLength]; in operator !=()
[all …]
/third_party/flutter/skia/src/pdf/
DSkJpegInfo.cpp21 , 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 __anoncb8f78d10111::JpegSegment
/third_party/skia/src/pdf/
DSkJpegInfo.cpp21 , 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 __anoneb217a5c0111::JpegSegment
/third_party/flutter/skia/src/core/
DSkDescriptor.cpp28 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()
90 size_t lengthRemaining = this->fLength; in isValid()
/third_party/skia/modules/skplaintexteditor/include/
Dstringslice.h26 const char* end() const { return fPtr ? fPtr.get() + fLength : nullptr; } in end()
27 std::size_t size() const { return fLength; } in size()
28 SkPlainTextEditor::StringView view() const { return {fPtr.get(), fLength}; } in view()
36 void shrink() { this->realloc(fLength); } in shrink()
41 std::size_t fLength = 0; variable
/third_party/skia/src/core/
DSkString.cpp26 int fLength; member
260 SkASSERT(0 == gEmptyRec.fLength); in validate()
265 SkASSERT(fRec->fLength > 0); in validate()
267 SkASSERT(0 == fRec->data()[fRec->fLength]); in validate()
321 return fRec->fLength == len && !sk_careful_memcmp(fRec->data(), text, len); in equals()
352 if (fRec->fLength) { in writable_str()
354 fRec = Rec::Make(fRec->data(), fRec->fLength); in writable_str()
364 } else if (fRec->unique() && ((len >> 2) <= (fRec->fLength >> 2))) { in resize()
368 fRec->fLength = SkToU32(len); in resize()
387 } else if (fRec->unique() && ((len >> 2) <= (fRec->fLength >> 2))) { in set()
[all …]
DSkDescriptor.cpp32 Entry* entry = (Entry*)((char*)this + fLength); in addEntry()
40 fLength = SkToU32(fLength + sizeof(Entry) + length); in addEntry()
65 std::unique_ptr<SkDescriptor> desc = SkDescriptor::Alloc(fLength); in copy()
66 memcpy(desc.get(), this, fLength); in copy()
78 const uint32_t* stop = (const uint32_t*)((const char*)aa + fLength); in operator ==()
100 size_t len = desc->fLength - sizeof(uint32_t); in ComputeChecksum()
106 size_t lengthRemaining = this->fLength; in isValid()
/third_party/skia/gm/
Ddrawglyphs.cpp37 fLength = positions.back().x() - positions.front().x(); in onOnceBeforeDraw()
38 fRadius = fLength / SK_FloatPI; in onOnceBeforeDraw()
43 const SkScalar angle = SK_FloatPI * (fLength - lengthToGlyph) / fLength; in onOnceBeforeDraw()
73 {50 + fLength / 2, 160 + fRadius}, fFont, SkPaint{}); in onDraw()
86 SkScalar fLength; member in DrawGlyphsGM
/third_party/flutter/skia/src/sksl/ir/
DSkSLType.h74 fName.fLength = fNameString.size(); in Type()
85 fName.fLength = fNameString.size(); in Type()
95 fName.fLength = fNameString.size(); in Type()
106 fName.fLength = fNameString.size(); in Type()
117 fName.fLength = fNameString.size(); in Type()
131 fName.fLength = fNameString.size();
148 fName.fLength = fNameString.size(); in Type()
162 fName.fLength = fNameString.size(); in Type()
180 fName.fLength = fNameString.size(); in Type()
194 fName.fLength = fNameString.size(); in Type()
[all …]
/third_party/flutter/skia/src/gpu/
DGrShaderUtils.cpp32 fLength = string.length(); in prettify()
35 while (fLength > fIndex) { in prettify()
108 for (size_t j = 0; token[j] && fLength > i; i++, j++) { in hasToken()
121 while (fLength > fIndex) { in parseUntilNewline()
137 while (fLength > fIndex) { in parseUntil()
177 size_t fIndex, fLength; member in GrShaderUtils::GLSLPrettyPrint

1234567