Lines Matching refs:buffer
238 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \
240 *(buffer)++=c; \
263 char *buffer, uint16_t bufferLength) {
302 WRITE_CHAR(buffer, bufferLength, bufferPos, c);
317 WRITE_CHAR(buffer, bufferLength, bufferPos, c);
334 WRITE_CHAR(buffer, bufferLength, bufferPos, c);
342 *buffer=0;
471 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) {
478 WRITE_CHAR(buffer, bufferLength, length, '<');
480 WRITE_CHAR(buffer, bufferLength, length, catname[length - 1]);
482 WRITE_CHAR(buffer, bufferLength, length, '-');
489 buffer[--i] = (v < 10 ? '0' + v : 'A' + v - 10);
491 buffer += ndigits;
493 WRITE_CHAR(buffer, bufferLength, length, '>');
592 char *buffer, uint16_t bufferLength) {
597 buffer, bufferLength);
602 char *buffer, uint16_t bufferLength) {
606 buffer, bufferLength);
611 *buffer=0;
631 char buffer[200];
635 length=expandName(names, s+offsets[start&GROUP_MASK], lengths[start&GROUP_MASK], nameChoice, buffer, sizeof(buffer));
637 buffer[length = getExtName(start, buffer, sizeof(buffer))] = 0;
639 /* here, we assume that the buffer is large enough */
641 if(!fn(context, start, nameChoice, buffer, length)) {
671 char buffer[200];
675 buffer[length = getExtName(start, buffer, sizeof(buffer))] = 0;
676 /* here, we assume that the buffer is large enough */
678 if(!fn(context, start, U_EXTENDED_CHAR_NAME, buffer, length)) {
801 char *buffer, uint16_t bufferLength) {
843 WRITE_CHAR(buffer, bufferLength, bufferPos, c);
863 *buffer=0;
876 char *buffer, uint16_t bufferLength) {
883 *buffer=0;
898 WRITE_CHAR(buffer, bufferLength, bufferPos, c);
906 buffer[count]=0;
917 buffer[i]=c;
935 WRITE_CHAR(buffer, bufferLength, bufferPos, c);
939 s, code-range->start, indexes, NULL, NULL, buffer, bufferLength);
946 *buffer=0;
963 char buffer[200];
976 length=getAlgName(range, (uint32_t)start, nameChoice, buffer, sizeof(buffer));
982 if(!fn(context, start, nameChoice, buffer, length)) {
987 end=buffer;
1009 if(!fn(context, start, nameChoice, buffer, length)) {
1029 suffix=buffer;
1040 suffix, (uint16_t)(sizeof(buffer)-prefixLength)));
1043 if(!fn(context, start, nameChoice, buffer, length)) {
1081 if(!fn(context, start, nameChoice, buffer, length)) {
1144 char buffer[64];
1169 indexes, elementBases, elements, buffer, sizeof(buffer));
1172 if(0==uprv_strcmp(otherName, buffer)) {
1470 char *buffer, int32_t bufferLength,
1481 bufferLength<0 || (bufferLength>0 && buffer==NULL)
1488 return u_terminateChars(buffer, bufferLength, 0, pErrorCode);
1499 length=getAlgName(algRange, (uint32_t)code, nameChoice, buffer, (uint16_t)bufferLength);
1508 length = getName(uCharNames, (uint32_t )code, U_EXTENDED_CHAR_NAME, buffer, (uint16_t) bufferLength);
1511 length = getExtName((uint32_t) code, buffer, (uint16_t) bufferLength);
1515 length=getName(uCharNames, (uint32_t)code, nameChoice, buffer, (uint16_t)bufferLength);
1519 return u_terminateChars(buffer, bufferLength, length, pErrorCode);