Lines Matching refs:writableSize
387 uint32_t writableSize = bufferSize;
394 if (len > writableSize) {
397 str->WriteUtf8(vm, (buffer + pos), writableSize);
398 writableSize -= len;
438 const int32_t writableSize = 22; // 22 : encode max bytes of the ucnv_convent function;
440 tempBuf.resize(writableSize + 1);
448 if ((pos + len) >= writableSize) {
449 char outBuf[writableSize] = {0};
450 ucnv_convert(encode, encFrom, outBuf, writableSize, tempBuf.c_str(), pos, &errorCode);
463 char outBuf[writableSize] = {0};
464 ucnv_convert(encode, encFrom, outBuf, writableSize, tempBuf.c_str(), pos, &errorCode);