Lines Matching defs:buffer
116 // Short string: Copy the contents into a temporary buffer and
117 // case-map back into the current array, or into the stack buffer.
118 char16_t *buffer = getArrayStart();
121 u_memcpy(oldBuffer, buffer, oldLength);
125 // Switch from the read-only alias or shared heap buffer to the stack buffer.
130 buffer = fUnion.fStackFields.fBuffer;
140 buffer, capacity,
152 // Longer string or read-only buffer:
169 // Grow the buffer at most once, not for multiple doReplace() calls.
191 // Handle buffer overflow, newLength is known.
192 // We need to allocate a new buffer for the internal string case mapping function.