Home
last modified time | relevance | path

Searched refs:newZero (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/icu/source/i18n/
Dformatted_string_builder.cpp285 int32_t newZero = newCapacity / 2 - (fLength + count) / 2; in prepareForInsertHelper() local
300 uprv_memcpy2(newChars + newZero, oldChars + oldZero, sizeof(char16_t) * index); in prepareForInsertHelper()
301 uprv_memcpy2(newChars + newZero + index + count, in prepareForInsertHelper()
304 uprv_memcpy2(newFields + newZero, oldFields + oldZero, sizeof(Field) * index); in prepareForInsertHelper()
305 uprv_memcpy2(newFields + newZero + index + count, in prepareForInsertHelper()
318 fZero = newZero; in prepareForInsertHelper()
321 int32_t newZero = oldCapacity / 2 - (fLength + count) / 2; in prepareForInsertHelper() local
326 uprv_memmove2(oldChars + newZero, oldChars + oldZero, sizeof(char16_t) * fLength); in prepareForInsertHelper()
327 uprv_memmove2(oldChars + newZero + index + count, in prepareForInsertHelper()
328 oldChars + newZero + index, in prepareForInsertHelper()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DFormattedStringBuilder.java334 int newZero = newCapacity / 2 - (length + count) / 2;
341 System.arraycopy(oldChars, oldZero, newChars, newZero, index);
345 newZero + index + count,
347 System.arraycopy(oldFields, oldZero, newFields, newZero, index);
351 newZero + index + count,
356 zero = newZero;
359 int newZero = oldCapacity / 2 - (length + count) / 2;
363 System.arraycopy(oldChars, oldZero, oldChars, newZero, length);
365 newZero + index,
367 newZero + index + count,
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dformatted_string_builder.cpp296 int32_t newZero; in prepareForInsertHelper() local
306 newZero = (newCapacity - newLength) / 2; in prepareForInsertHelper()
321 uprv_memcpy2(newChars + newZero, oldChars + oldZero, sizeof(char16_t) * index); in prepareForInsertHelper()
322 uprv_memcpy2(newChars + newZero + index + count, in prepareForInsertHelper()
325 uprv_memcpy2(newFields + newZero, oldFields + oldZero, sizeof(Field) * index); in prepareForInsertHelper()
326 uprv_memcpy2(newFields + newZero + index + count, in prepareForInsertHelper()
340 newZero = (oldCapacity - newLength) / 2; in prepareForInsertHelper()
345 uprv_memmove2(oldChars + newZero, oldChars + oldZero, sizeof(char16_t) * fLength); in prepareForInsertHelper()
346 uprv_memmove2(oldChars + newZero + index + count, in prepareForInsertHelper()
347 oldChars + newZero + index, in prepareForInsertHelper()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedStringBuilder.java348 int newZero = newCapacity / 2 - (length + count) / 2;
355 System.arraycopy(oldChars, oldZero, newChars, newZero, index);
359 newZero + index + count,
361 System.arraycopy(oldFields, oldZero, newFields, newZero, index);
365 newZero + index + count,
370 zero = newZero;
373 int newZero = oldCapacity / 2 - (length + count) / 2;
377 System.arraycopy(oldChars, oldZero, oldChars, newZero, length);
379 newZero + index,
381 newZero + index + count,
[all …]
/third_party/icu/icu4c/source/i18n/
Dformatted_string_builder.cpp296 int32_t newZero; in prepareForInsertHelper() local
306 newZero = (newCapacity - newLength) / 2; in prepareForInsertHelper()
321 uprv_memcpy2(newChars + newZero, oldChars + oldZero, sizeof(char16_t) * index); in prepareForInsertHelper()
322 uprv_memcpy2(newChars + newZero + index + count, in prepareForInsertHelper()
325 uprv_memcpy2(newFields + newZero, oldFields + oldZero, sizeof(Field) * index); in prepareForInsertHelper()
326 uprv_memcpy2(newFields + newZero + index + count, in prepareForInsertHelper()
340 newZero = (oldCapacity - newLength) / 2; in prepareForInsertHelper()
345 uprv_memmove2(oldChars + newZero, oldChars + oldZero, sizeof(char16_t) * fLength); in prepareForInsertHelper()
346 uprv_memmove2(oldChars + newZero + index + count, in prepareForInsertHelper()
347 oldChars + newZero + index, in prepareForInsertHelper()
[all …]
/third_party/chromium/patch/
D0001-cve.patch72915 ++ int32_t newZero;
72924 +- int32_t newZero = newCapacity / 2 - (fLength + count) / 2;
72927 ++ newZero = (newCapacity - newLength) / 2;
72941 +- fZero = newZero;
72944 +- int32_t newZero = oldCapacity / 2 - (fLength + count) / 2;
72945 ++ newZero = (oldCapacity - newLength) / 2;
72950 + uprv_memmove2(oldFields + newZero + index + count,
72951 + oldFields + newZero + index,
72954 +- fZero = newZero;
72958 ++ fZero = newZero;
[all …]