Lines Matching defs:cap
254 int32_t cap;
264 cap=uloc_getLanguage(testLocale, NULL, 0, &status);
267 temp=(char*)malloc(sizeof(char) * (cap+1));
268 uloc_getLanguage(testLocale, temp, cap+1, &status);
278 cap=uloc_getCountry(testLocale, temp, cap, &status);
281 temp=(char*)realloc(temp, sizeof(char) * (cap+1));
282 uloc_getCountry(testLocale, temp, cap+1, &status);
292 cap=uloc_getVariant(testLocale, temp, cap, &status);
295 temp=(char*)realloc(temp, sizeof(char) * (cap+1));
296 uloc_getVariant(testLocale, temp, cap+1, &status);
305 cap=uloc_getName(testLocale, NULL, 0, &status);
308 name=(char*)malloc(sizeof(char) * (cap+1));
309 uloc_getName(testLocale, name, cap+1, &status);
747 int32_t cap=len*6+1; /* worst case + space for trailing null */
748 char* resultChars=(char*)malloc(cap);
749 int32_t resultCharsLen=UCharsToEscapedAscii(result, len, resultChars, cap);
750 if(resultCharsLen<0 || resultCharsLen<cap-1) {