Home
last modified time | relevance | path

Searched refs:oldBuffer (Results 1 – 14 of 14) sorted by relevance

/third_party/flutter/skia/third_party/externals/icu/source/common/
Dunistr_case.cpp101 UChar oldBuffer[2 * US_STACKBUF_SIZE]; in caseMap() local
115 if (writable ? oldLength <= UPRV_LENGTHOF(oldBuffer) : oldLength < US_STACKBUF_SIZE) { in caseMap()
120 oldArray = oldBuffer; in caseMap()
121 u_memcpy(oldBuffer, buffer, oldLength); in caseMap()
/third_party/node/deps/icu-small/source/common/
Dunistr_case.cpp101 UChar oldBuffer[2 * US_STACKBUF_SIZE]; in caseMap() local
115 if (writable ? oldLength <= UPRV_LENGTHOF(oldBuffer) : oldLength < US_STACKBUF_SIZE) { in caseMap()
120 oldArray = oldBuffer; in caseMap()
121 u_memcpy(oldBuffer, buffer, oldLength); in caseMap()
/third_party/skia/third_party/externals/icu/source/common/
Dunistr_case.cpp101 UChar oldBuffer[2 * US_STACKBUF_SIZE]; in caseMap() local
115 if (writable ? oldLength <= UPRV_LENGTHOF(oldBuffer) : oldLength < US_STACKBUF_SIZE) { in caseMap()
120 oldArray = oldBuffer; in caseMap()
121 u_memcpy(oldBuffer, buffer, oldLength); in caseMap()
/third_party/icu/icu4c/source/common/
Dunistr_case.cpp101 UChar oldBuffer[2 * US_STACKBUF_SIZE]; in caseMap() local
115 if (writable ? oldLength <= UPRV_LENGTHOF(oldBuffer) : oldLength < US_STACKBUF_SIZE) { in caseMap()
120 oldArray = oldBuffer; in caseMap()
121 u_memcpy(oldBuffer, buffer, oldLength); in caseMap()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationIterator.java88 oldBuffer.setLength(0); in clear()
93 boolean isEmpty() { return oldBuffer.length() == 0; } in isEmpty()
95 boolean hasNext() { return pos < oldBuffer.length(); } in hasNext()
99 int c = oldBuffer.codePointAt(pos); in next()
114 int length = oldBuffer.length(); in backwardNumCodePoints()
123 pos = oldBuffer.offsetByCodePoints(length, beyond - n); in backwardNumCodePoints()
128 pos = oldBuffer.offsetByCodePoints(pos, -n); in backwardNumCodePoints()
148 int oldLength = oldBuffer.length(); in replaceMatch()
150 oldBuffer.delete(0, pos).insert(0, newBuffer, 0, skipLengthAtMatch); in replaceMatch()
159 private final StringBuilder oldBuffer = new StringBuilder(); field in CollationIterator.SkippedState
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationIterator.java90 oldBuffer.setLength(0); in clear()
95 boolean isEmpty() { return oldBuffer.length() == 0; } in isEmpty()
97 boolean hasNext() { return pos < oldBuffer.length(); } in hasNext()
101 int c = oldBuffer.codePointAt(pos); in next()
116 int length = oldBuffer.length(); in backwardNumCodePoints()
125 pos = oldBuffer.offsetByCodePoints(length, beyond - n); in backwardNumCodePoints()
130 pos = oldBuffer.offsetByCodePoints(pos, -n); in backwardNumCodePoints()
150 int oldLength = oldBuffer.length(); in replaceMatch()
152 oldBuffer.delete(0, pos).insert(0, newBuffer, 0, skipLengthAtMatch); in replaceMatch()
161 private final StringBuilder oldBuffer = new StringBuilder(); field in CollationIterator.SkippedState
/third_party/node/deps/icu-small/source/i18n/
Dcollationiterator.cpp63 oldBuffer.remove(); in clear()
68 UBool isEmpty() const { return oldBuffer.isEmpty(); } in isEmpty()
70 UBool hasNext() const { return pos < oldBuffer.length(); } in hasNext()
74 UChar32 c = oldBuffer.char32At(pos); in next()
89 int32_t length = oldBuffer.length(); in backwardNumCodePoints()
98 pos = oldBuffer.moveIndex32(length, beyond - n); in backwardNumCodePoints()
103 pos = oldBuffer.moveIndex32(pos, -n); in backwardNumCodePoints()
122 oldBuffer.replace(0, pos, newBuffer, 0, skipLengthAtMatch); in replaceMatch()
132 UnicodeString oldBuffer; member in SkippedState
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationiterator.cpp63 oldBuffer.remove(); in clear()
68 UBool isEmpty() const { return oldBuffer.isEmpty(); } in isEmpty()
70 UBool hasNext() const { return pos < oldBuffer.length(); } in hasNext()
74 UChar32 c = oldBuffer.char32At(pos); in next()
89 int32_t length = oldBuffer.length(); in backwardNumCodePoints()
98 pos = oldBuffer.moveIndex32(length, beyond - n); in backwardNumCodePoints()
103 pos = oldBuffer.moveIndex32(pos, -n); in backwardNumCodePoints()
122 oldBuffer.replace(0, pos, newBuffer, 0, skipLengthAtMatch); in replaceMatch()
132 UnicodeString oldBuffer; member in SkippedState
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationiterator.cpp63 oldBuffer.remove(); in clear()
68 UBool isEmpty() const { return oldBuffer.isEmpty(); } in isEmpty()
70 UBool hasNext() const { return pos < oldBuffer.length(); } in hasNext()
74 UChar32 c = oldBuffer.char32At(pos); in next()
89 int32_t length = oldBuffer.length(); in backwardNumCodePoints()
98 pos = oldBuffer.moveIndex32(length, beyond - n); in backwardNumCodePoints()
103 pos = oldBuffer.moveIndex32(pos, -n); in backwardNumCodePoints()
122 oldBuffer.replace(0, pos, newBuffer, 0, skipLengthAtMatch); in replaceMatch()
132 UnicodeString oldBuffer; member in SkippedState
/third_party/icu/icu4c/source/i18n/
Dcollationiterator.cpp63 oldBuffer.remove(); in clear()
68 UBool isEmpty() const { return oldBuffer.isEmpty(); } in isEmpty()
70 UBool hasNext() const { return pos < oldBuffer.length(); } in hasNext()
74 UChar32 c = oldBuffer.char32At(pos); in next()
89 int32_t length = oldBuffer.length(); in backwardNumCodePoints()
98 pos = oldBuffer.moveIndex32(length, beyond - n); in backwardNumCodePoints()
103 pos = oldBuffer.moveIndex32(pos, -n); in backwardNumCodePoints()
122 oldBuffer.replace(0, pos, newBuffer, 0, skipLengthAtMatch); in replaceMatch()
132 UnicodeString oldBuffer; member in SkippedState
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DVertexArray.cpp328 Buffer *oldBuffer = binding->getBuffer().get(); in bindVertexBufferImpl() local
330 const bool sameBuffer = oldBuffer == boundBuffer; in bindVertexBufferImpl()
343 if (oldBuffer) in bindVertexBufferImpl()
345 oldBuffer->onNonTFBindingChanged(-1); in bindVertexBufferImpl()
346 oldBuffer->removeObserver(observer); in bindVertexBufferImpl()
347 oldBuffer->removeContentsObserver(this, static_cast<uint32_t>(bindingIndex)); in bindVertexBufferImpl()
348 oldBuffer->release(context); in bindVertexBufferImpl()
DState.cpp126 Buffer *oldBuffer = binding->get(); in UpdateNonTFBufferBindingWebGL() local
127 if (oldBuffer) in UpdateNonTFBufferBindingWebGL()
129 oldBuffer->onNonTFBindingChanged(-1); in UpdateNonTFBufferBindingWebGL()
130 oldBuffer->release(context); in UpdateNonTFBufferBindingWebGL()
246 Buffer *oldBuffer = mVertexArray->mState.mElementArrayBuffer.get(); in setGenericBufferBinding() local
247 if (oldBuffer) in setGenericBufferBinding()
249 oldBuffer->removeObserver(&mVertexArray->mState.mElementArrayBuffer); in setGenericBufferBinding()
250 oldBuffer->removeContentsObserver(mVertexArray, kElementArrayBufferIndex); in setGenericBufferBinding()
253 oldBuffer->onNonTFBindingChanged(-1); in setGenericBufferBinding()
255 oldBuffer->release(context); in setGenericBufferBinding()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DVertexArray.cpp279 Buffer *oldBuffer = binding->getBuffer().get(); in bindVertexBufferImpl() local
281 const bool sameBuffer = oldBuffer == boundBuffer; in bindVertexBufferImpl()
294 if (oldBuffer) in bindVertexBufferImpl()
296 oldBuffer->onNonTFBindingChanged(-1); in bindVertexBufferImpl()
297 oldBuffer->removeObserver(observer); in bindVertexBufferImpl()
298 oldBuffer->release(context); in bindVertexBufferImpl()
DState.cpp119 Buffer *oldBuffer = binding->get(); in UpdateNonTFBufferBinding() local
120 if (oldBuffer) in UpdateNonTFBufferBinding()
122 oldBuffer->onNonTFBindingChanged(-1); in UpdateNonTFBufferBinding()
123 oldBuffer->release(context); in UpdateNonTFBufferBinding()
200 Buffer *oldBuffer = mVertexArray->mState.mElementArrayBuffer.get(); in setGenericBufferBinding() local
201 if (oldBuffer) in setGenericBufferBinding()
203 oldBuffer->removeObserver(&mVertexArray->mState.mElementArrayBuffer); in setGenericBufferBinding()
204 oldBuffer->onNonTFBindingChanged(-1); in setGenericBufferBinding()
205 oldBuffer->release(context); in setGenericBufferBinding()