Lines Matching refs:capacity
102 size_t capacity = 0; // Number of char/wchar_t units allocated in `allocation`. in __svfscanf() local
425 capacity = MIN(width, 32); in __svfscanf()
426 allocation = wcp = reinterpret_cast<wchar_t*>(malloc(sizeof(wchar_t) * capacity)); in __svfscanf()
459 if (allocation != nullptr && n == capacity) { in __svfscanf()
460 capacity *= 2; in __svfscanf()
462 reinterpret_cast<wchar_t*>(realloc(allocation, sizeof(wchar_t) * capacity)); in __svfscanf()
499 capacity = MIN(width, 32); in __svfscanf()
500 allocation = p = reinterpret_cast<char*>(malloc(capacity)); in __svfscanf()
509 if (allocation != nullptr && n == capacity) { in __svfscanf()
510 capacity *= 2; in __svfscanf()
511 char* new_allocation = reinterpret_cast<char*>(realloc(allocation, capacity)); in __svfscanf()