Lines Matching refs:buffer
79 char buffer[] = { 0, 0 };
81 const char* source = buffer;
82 buffer[0] = (char)i;
83 buffer[1] = '\0';
119 ucnv_fromUChars(converter, buffer, 1, &lowerChar, 1, &icuStatus);
121 toLower = (unsigned char)buffer[0];
125 ucnv_fromUChars(converter, buffer, 1, &upperChar, 1, &icuStatus);
127 toUpper = (unsigned char)buffer[0];
229 const char* buffer = mb;
232 ucnv_toUnicode(converter, &target, target + 1, &buffer, buffer + mbLen,
234 size_t sourceLengthUsed = buffer - mb;
242 buffer = mb;
244 ucnv_toUnicode(converter, &target, target + 2, &buffer, buffer + mbLen,
246 sourceLengthUsed = buffer - mb;
312 // if there's no destination buffer, there's no length limit either
394 // we have no output buffer, so we ignore buffer overflows
458 char buffer[MB_CUR_MAX];
460 mbDest == NULL ? NULL : buffer, destLength, ucharBuffer,
467 // ignore buffer overflows ...
469 // ... but stop if the output buffer has been exceeded
473 memcpy(mbDest, buffer, mbLength);
556 // buffer is too small (shouldn't happen according to ICU docs)