Home
last modified time | relevance | path

Searched refs:fFields (Results 1 – 25 of 32) sorted by relevance

12

/external/cronet/third_party/icu/source/i18n/
Dformattedval_iterimpl.cpp21 : fFields(initialFieldCapacity * 4, status) { in FormattedValueFieldPositionIteratorImpl()
48 U_ASSERT(fFields.size() % 4 == 0); in nextPosition()
49 int32_t numFields = fFields.size() / 4; in nextPosition()
52 UFieldCategory category = static_cast<UFieldCategory>(fFields.elementAti(i * 4)); in nextPosition()
53 int32_t field = fFields.elementAti(i * 4 + 1); in nextPosition()
55 int32_t start = fFields.elementAti(i * 4 + 2); in nextPosition()
56 int32_t limit = fFields.elementAti(i * 4 + 3); in nextPosition()
68 return FieldPositionIteratorHandler(&fFields, status); in getHandler()
96 int32_t numFields = fFields.size() / 4; in addOverlapSpans()
98 int32_t field1 = fFields.elementAti(i * 4 + 1); in addOverlapSpans()
[all …]
Dcalendar.cpp134 fprintf(stderr, " %25s: %-11ld", f, fFields[i]); in dump()
835 uprv_arrayCopy(right.fFields, fFields, UCAL_FIELD_COUNT); in operator =()
1195 fFields[i] = 0; in setTimeInMillis()
1212 return U_SUCCESS(status) ? fFields[field] : 0; in get()
1224 fFields[field] = value; in set()
1404 fFields[i] = 0; // Must do this; other code depends on it in clear()
1421 fFields[field] = 0; in clear()
1513 if (fFields[field] > max) { in pinField()
1515 } else if (fFields[field] < min) { in pinField()
1574 computeGregorianAndDOWFields(fFields[UCAL_JULIAN_DAY], ec); in computeFields()
[all …]
Dformatted_string_builder.h187 ValueOrHeapArray<Field> fFields; variable
200 return fUsingHeap ? fFields.heap.ptr : fFields.value; in getFieldPtr()
204 return fUsingHeap ? fFields.heap.ptr : fFields.value; in getFieldPtr()
Dsortkey.cpp98 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in ~CollationKey()
107 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in reallocate()
108 fUnion.fFields.fBytes = newBytes; in reallocate()
109 fUnion.fFields.fCapacity = newCapacity; in reallocate()
Dformatted_string_builder.cpp50 uprv_free(fFields.heap.ptr); in ~FormattedStringBuilder()
67 uprv_free(fFields.heap.ptr); in operator =()
88 fFields.heap.capacity = capacity; in operator =()
89 fFields.heap.ptr = newFields; in operator =()
337 fFields.heap.ptr = newFields; in prepareForInsertHelper()
338 fFields.heap.capacity = newCapacity; in prepareForInsertHelper()
/external/icu/icu4c/source/i18n/
Dformattedval_iterimpl.cpp21 : fFields(initialFieldCapacity * 4, status) { in FormattedValueFieldPositionIteratorImpl()
48 U_ASSERT(fFields.size() % 4 == 0); in nextPosition()
49 int32_t numFields = fFields.size() / 4; in nextPosition()
52 UFieldCategory category = static_cast<UFieldCategory>(fFields.elementAti(i * 4)); in nextPosition()
53 int32_t field = fFields.elementAti(i * 4 + 1); in nextPosition()
55 int32_t start = fFields.elementAti(i * 4 + 2); in nextPosition()
56 int32_t limit = fFields.elementAti(i * 4 + 3); in nextPosition()
68 return FieldPositionIteratorHandler(&fFields, status); in getHandler()
96 int32_t numFields = fFields.size() / 4; in addOverlapSpans()
98 int32_t field1 = fFields.elementAti(i * 4 + 1); in addOverlapSpans()
[all …]
Dcalendar.cpp134 fprintf(stderr, " %25s: %-11ld", f, fFields[i]); in dump()
835 uprv_arrayCopy(right.fFields, fFields, UCAL_FIELD_COUNT); in operator =()
1195 fFields[i] = 0; in setTimeInMillis()
1212 return U_SUCCESS(status) ? fFields[field] : 0; in get()
1224 fFields[field] = value; in set()
1404 fFields[i] = 0; // Must do this; other code depends on it in clear()
1421 fFields[field] = 0; in clear()
1513 if (fFields[field] > max) { in pinField()
1515 } else if (fFields[field] < min) { in pinField()
1574 computeGregorianAndDOWFields(fFields[UCAL_JULIAN_DAY], ec); in computeFields()
[all …]
Dformatted_string_builder.h187 ValueOrHeapArray<Field> fFields; variable
200 return fUsingHeap ? fFields.heap.ptr : fFields.value; in getFieldPtr()
204 return fUsingHeap ? fFields.heap.ptr : fFields.value; in getFieldPtr()
Dsortkey.cpp98 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in ~CollationKey()
107 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in reallocate()
108 fUnion.fFields.fBytes = newBytes; in reallocate()
109 fUnion.fFields.fCapacity = newCapacity; in reallocate()
Dformatted_string_builder.cpp50 uprv_free(fFields.heap.ptr); in ~FormattedStringBuilder()
67 uprv_free(fFields.heap.ptr); in operator =()
88 fFields.heap.capacity = capacity; in operator =()
89 fFields.heap.ptr = newFields; in operator =()
337 fFields.heap.ptr = newFields; in prepareForInsertHelper()
338 fFields.heap.capacity = newCapacity; in prepareForInsertHelper()
/external/icu/icu4c/source/common/
Dunistr.cpp123 umtx_atomic_inc((u_atomic_int32_t *)fUnion.fFields.fArray - 1); in addRef()
128 return umtx_atomic_dec((u_atomic_int32_t *)fUnion.fFields.fArray - 1); in removeRef()
133 return umtx_loadAcquire(*((u_atomic_int32_t *)fUnion.fFields.fArray - 1)); in refCount()
138 if((fUnion.fFields.fLengthAndFlags & kRefCounted) && removeRef() == 0) { in releaseArray()
139 uprv_free((int32_t *)fUnion.fFields.fArray - 1); in releaseArray()
152 fUnion.fFields.fLengthAndFlags = 0; in UnicodeString()
193 fUnion.fFields.fLengthAndFlags = kLength1 | kShortString; in UnicodeString()
198 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
210 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
216 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
[all …]
Dunistr_cnv.cpp45 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
53 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
64 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
73 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
82 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
/external/cronet/third_party/icu/source/common/
Dunistr.cpp123 umtx_atomic_inc((u_atomic_int32_t *)fUnion.fFields.fArray - 1); in addRef()
128 return umtx_atomic_dec((u_atomic_int32_t *)fUnion.fFields.fArray - 1); in removeRef()
133 return umtx_loadAcquire(*((u_atomic_int32_t *)fUnion.fFields.fArray - 1)); in refCount()
138 if((fUnion.fFields.fLengthAndFlags & kRefCounted) && removeRef() == 0) { in releaseArray()
139 uprv_free((int32_t *)fUnion.fFields.fArray - 1); in releaseArray()
152 fUnion.fFields.fLengthAndFlags = 0; in UnicodeString()
193 fUnion.fFields.fLengthAndFlags = kLength1 | kShortString; in UnicodeString()
198 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
210 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
216 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
[all …]
Dunistr_cnv.cpp45 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
53 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
64 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
73 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
82 fUnion.fFields.fLengthAndFlags = kShortString; in UnicodeString()
/external/icu/icu4c/source/i18n/unicode/
Dsortkey.h261 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
264 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
267 return (fFlagAndLength >= 0) ? (int32_t)sizeof(fUnion) : fUnion.fFields.fCapacity; in getCapacity()
315 } fFields; member
Dcalendar.h1467 inline int32_t internalGet(EDateFields field) const {return fFields[field];} in internalGet()
1481 …Fields field, int32_t defaultValue) const {return fStamp[field]>kUnset ? fFields[field] : defaultV… in internalGet()
1491 inline int32_t internalGet(UCalendarDateFields field) const {return fFields[field];} in internalGet()
1839 int32_t fFields[UCAL_FIELD_COUNT]; variable
2458 fFields[field] = value; in internalSet()
/external/icu/libicu/cts_headers/unicode/
Dsortkey.h261 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
264 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
267 return (fFlagAndLength >= 0) ? (int32_t)sizeof(fUnion) : fUnion.fFields.fCapacity; in getCapacity()
315 } fFields; member
Dunistr.h3789 } fFields; member
3843 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getArrayStart()
3844 fUnion.fStackFields.fBuffer : fUnion.fFields.fArray; in getArrayStart()
3849 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getArrayStart()
3850 fUnion.fStackFields.fBuffer : fUnion.fFields.fArray; in getArrayStart()
3879 return fUnion.fFields.fLengthAndFlags>=0; in hasShortLength()
3886 return fUnion.fFields.fLengthAndFlags>>kLengthShift; in getShortLength()
3891 return hasShortLength() ? getShortLength() : fUnion.fFields.fLength; in length()
3896 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getCapacity()
3897 US_STACKBUF_SIZE : fUnion.fFields.fCapacity; in getCapacity()
[all …]
Dcalendar.h1467 inline int32_t internalGet(EDateFields field) const {return fFields[field];} in internalGet()
1481 …Fields field, int32_t defaultValue) const {return fStamp[field]>kUnset ? fFields[field] : defaultV… in internalGet()
1491 inline int32_t internalGet(UCalendarDateFields field) const {return fFields[field];} in internalGet()
1839 int32_t fFields[UCAL_FIELD_COUNT]; variable
2458 fFields[field] = value; in internalSet()
/external/cronet/third_party/icu/source/i18n/unicode/
Dsortkey.h261 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
264 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
267 return (fFlagAndLength >= 0) ? (int32_t)sizeof(fUnion) : fUnion.fFields.fCapacity; in getCapacity()
315 } fFields; member
Dcalendar.h1467 inline int32_t internalGet(EDateFields field) const {return fFields[field];} in internalGet()
1481 …Fields field, int32_t defaultValue) const {return fStamp[field]>kUnset ? fFields[field] : defaultV… in internalGet()
1491 inline int32_t internalGet(UCalendarDateFields field) const {return fFields[field];} in internalGet()
1839 int32_t fFields[UCAL_FIELD_COUNT]; variable
2458 fFields[field] = value; in internalSet()
/external/icu/libicu/cts_headers/
Dformatted_string_builder.h187 ValueOrHeapArray<Field> fFields; variable
200 return fUsingHeap ? fFields.heap.ptr : fFields.value; in getFieldPtr()
204 return fUsingHeap ? fFields.heap.ptr : fFields.value; in getFieldPtr()
/external/cronet/third_party/icu/source/common/unicode/
Dunistr.h3789 } fFields; member
3843 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getArrayStart()
3844 fUnion.fStackFields.fBuffer : fUnion.fFields.fArray; in getArrayStart()
3849 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getArrayStart()
3850 fUnion.fStackFields.fBuffer : fUnion.fFields.fArray; in getArrayStart()
3879 return fUnion.fFields.fLengthAndFlags>=0; in hasShortLength()
3886 return fUnion.fFields.fLengthAndFlags>>kLengthShift; in getShortLength()
3891 return hasShortLength() ? getShortLength() : fUnion.fFields.fLength; in length()
3896 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getCapacity()
3897 US_STACKBUF_SIZE : fUnion.fFields.fCapacity; in getCapacity()
[all …]
/external/icu/icu4c/source/common/unicode/
Dunistr.h3789 } fFields; member
3843 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getArrayStart()
3844 fUnion.fStackFields.fBuffer : fUnion.fFields.fArray; in getArrayStart()
3849 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getArrayStart()
3850 fUnion.fStackFields.fBuffer : fUnion.fFields.fArray; in getArrayStart()
3879 return fUnion.fFields.fLengthAndFlags>=0; in hasShortLength()
3886 return fUnion.fFields.fLengthAndFlags>>kLengthShift; in getShortLength()
3891 return hasShortLength() ? getShortLength() : fUnion.fFields.fLength; in length()
3896 return (fUnion.fFields.fLengthAndFlags&kUsingStackBuffer) ? in getCapacity()
3897 US_STACKBUF_SIZE : fUnion.fFields.fCapacity; in getCapacity()
[all …]
/external/skia/src/sksl/ir/
DSkSLType.cpp512 , fFields(std::move(fields)) in StructType()
516 return fFields; in fields()
528 return std::all_of(fFields.begin(), fFields.end(), [](const Field& f) { in isAllowedInES2()
535 for (const Field& field : fFields) { in slotCount()
544 std::vector<Field> fFields; member in SkSL::StructType

12