Home | History | Annotate | Download | only in common

Lines Matching refs:BUFLEN

104         int32_t buflen = id->length() + 8; // space for NUL
105 char* buf = (char*) uprv_malloc(buflen);
106 char* canon = (buf == 0) ? 0 : (char*) uprv_malloc(buflen);
108 U_ASSERT(id->extract(0, INT32_MAX, buf, buflen) < buflen);
110 uloc_canonicalize(buf, canon, buflen, &ec);
125 enum { BUFLEN = 128 }; // larger than ever needed
127 if (id.isBogus() || id.length() >= BUFLEN) {
148 char buffer[BUFLEN];
155 id.extract(prev, INT32_MAX, buffer + prev, BUFLEN - prev, US_INV);
159 id.extract(prev, i - prev, buffer + prev, BUFLEN - prev, US_INV);