Home | History | Annotate | Download | only in common

Lines Matching full:capacity

844                 int32_t capacity;
861 capacity = (int32_t)uprv_strlen(parent->fResPath) + 1;
863 capacity = 0;
865 if(capacity < len) {
866 capacity = len;
868 if(capacity <= sizeof(stackAlias)) {
869 capacity = sizeof(stackAlias);
872 chAlias = (char *)uprv_malloc(capacity);
949 if(len > capacity) {
950 capacity = len;
952 chAlias = (char *)uprv_malloc(capacity);
954 chAlias = (char *)uprv_realloc(chAlias, capacity);
1178 int32_t capacity;
1184 capacity = *pLength;
1186 capacity = 0;
1188 if (capacity < 0 || (capacity > 0 && dest == NULL)) {
1199 u_terminateChars(dest, capacity, 0, status);
1206 if (capacity < length16) {
1226 if (capacity > maxLength) {
1227 dest += capacity - maxLength;
1228 capacity = maxLength;
1231 return u_strToUTF8(dest, capacity, pLength, s16, length16, status);