Home
last modified time | relevance | path

Searched refs:newFields (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/icu/source/i18n/
Dformatted_string_builder.cpp75 auto newFields = static_cast<Field *>(uprv_malloc(sizeof(Field) * capacity)); in operator =() local
76 if (newChars == nullptr || newFields == nullptr) { in operator =()
79 uprv_free(newFields); in operator =()
88 fFields.heap.ptr = newFields; in operator =()
289 auto newFields = static_cast<Field *>(uprv_malloc(sizeof(Field) * newCapacity)); in prepareForInsertHelper() local
290 if (newChars == nullptr || newFields == nullptr) { in prepareForInsertHelper()
292 uprv_free(newFields); in prepareForInsertHelper()
304 uprv_memcpy2(newFields + newZero, oldFields + oldZero, sizeof(Field) * index); in prepareForInsertHelper()
305 uprv_memcpy2(newFields + newZero + index + count, in prepareForInsertHelper()
316 fFields.heap.ptr = newFields; in prepareForInsertHelper()
/third_party/icu/icu4c/source/i18n/
Dformatted_string_builder.cpp75 auto newFields = static_cast<Field *>(uprv_malloc(sizeof(Field) * capacity)); in operator =() local
76 if (newChars == nullptr || newFields == nullptr) { in operator =()
79 uprv_free(newFields); in operator =()
88 fFields.heap.ptr = newFields; in operator =()
289 auto newFields = static_cast<Field *>(uprv_malloc(sizeof(Field) * newCapacity)); in prepareForInsertHelper() local
290 if (newChars == nullptr || newFields == nullptr) { in prepareForInsertHelper()
292 uprv_free(newFields); in prepareForInsertHelper()
304 uprv_memcpy2(newFields + newZero, oldFields + oldZero, sizeof(Field) * index); in prepareForInsertHelper()
305 uprv_memcpy2(newFields + newZero + index + count, in prepareForInsertHelper()
316 fFields.heap.ptr = newFields; in prepareForInsertHelper()
/third_party/node/deps/icu-small/source/i18n/
Dformatted_string_builder.cpp75 auto newFields = static_cast<Field *>(uprv_malloc(sizeof(Field) * capacity)); in operator =() local
76 if (newChars == nullptr || newFields == nullptr) { in operator =()
79 uprv_free(newFields); in operator =()
88 fFields.heap.ptr = newFields; in operator =()
289 auto newFields = static_cast<Field *>(uprv_malloc(sizeof(Field) * newCapacity)); in prepareForInsertHelper() local
290 if (newChars == nullptr || newFields == nullptr) { in prepareForInsertHelper()
292 uprv_free(newFields); in prepareForInsertHelper()
304 uprv_memcpy2(newFields + newZero, oldFields + oldZero, sizeof(Field) * index); in prepareForInsertHelper()
305 uprv_memcpy2(newFields + newZero + index + count, in prepareForInsertHelper()
316 fFields.heap.ptr = newFields; in prepareForInsertHelper()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_stringbuilder.cpp66 auto newFields = static_cast<Field *>(uprv_malloc(sizeof(Field) * capacity)); in operator =() local
67 if (newChars == nullptr || newFields == nullptr) { in operator =()
70 uprv_free(newFields); in operator =()
79 fFields.heap.ptr = newFields; in operator =()
273 auto newFields = static_cast<Field *>(uprv_malloc(sizeof(Field) * newCapacity)); in prepareForInsertHelper() local
274 if (newChars == nullptr || newFields == nullptr) { in prepareForInsertHelper()
276 uprv_free(newFields); in prepareForInsertHelper()
288 uprv_memcpy2(newFields + newZero, oldFields + oldZero, sizeof(Field) * index); in prepareForInsertHelper()
289 uprv_memcpy2(newFields + newZero + index + count, in prepareForInsertHelper()
300 fFields.heap.ptr = newFields; in prepareForInsertHelper()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DFormattedStringBuilder.java337 Object[] newFields = new Object[newCapacity];
347 System.arraycopy(oldFields, oldZero, newFields, newZero, index);
350 newFields,
355 fields = newFields;
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedStringBuilder.java351 Object[] newFields = new Object[newCapacity];
361 System.arraycopy(oldFields, oldZero, newFields, newZero, index);
364 newFields,
369 fields = newFields;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
DRewriteRowMajorMatrices.cpp574 TFieldList *newFields = new TFieldList; in convertInterfaceBlock() local
591 newFields->push_back(newField); in convertInterfaceBlock()
599 new TInterfaceBlock(mSymbolTable, block->name(), newFields, blockLayoutQualifier, in convertInterfaceBlock()
706 TFieldList *newFields = new TFieldList; in convertStruct() local
709 newFields->push_back(convertField(field, newDeclarations)); in convertStruct()
719 TStructure *newStruct = new TStructure(mSymbolTable, newStructTypeName->name(), newFields, in convertStruct()
/third_party/chromium/patch/
D0001-cve.patch72931 +- auto newFields = static_cast<Field *>(uprv_malloc(sizeof(Field) * newCapacity));
72933 ++ auto newFields = static_cast<Field *>(uprv_malloc(sizeof(Field) * static_cast<size_t>(new…
72934 + if (newChars == nullptr || newFields == nullptr) {
72936 + uprv_free(newFields);
72939 + fFields.heap.ptr = newFields;
73123 - auto newFields = static_cast<Field *>(uprv_malloc(sizeof(Field) * newCapacity));
73125 + auto newFields = static_cast<Field *>(uprv_malloc(sizeof(Field) * static_cast<size_t>(newC…
73126 if (newChars == nullptr || newFields == nullptr) {
73128 uprv_free(newFields);
73131 fFields.heap.ptr = newFields;