Lines Matching refs:allocation
101 void* allocation = nullptr; // Allocated but unassigned result for %mc/%ms/%m[. in __svfscanf() local
337 allocation = wcp = reinterpret_cast<wchar_t*>(malloc(width * sizeof(wchar_t))); in __svfscanf()
338 if (allocation == nullptr) goto allocation_failure; in __svfscanf()
374 if (allocation != nullptr) { in __svfscanf()
375 *va_arg(ap, wchar_t**) = reinterpret_cast<wchar_t*>(allocation); in __svfscanf()
376 allocation = nullptr; in __svfscanf()
400 allocation = p = reinterpret_cast<char*>(malloc(width)); in __svfscanf()
401 if (allocation == nullptr) goto allocation_failure; in __svfscanf()
407 if (allocation != nullptr) { in __svfscanf()
408 *va_arg(ap, char**) = reinterpret_cast<char*>(allocation); in __svfscanf()
409 allocation = nullptr; in __svfscanf()
426 allocation = wcp = reinterpret_cast<wchar_t*>(malloc(sizeof(wchar_t) * capacity)); in __svfscanf()
427 if (allocation == nullptr) goto allocation_failure; in __svfscanf()
459 if (allocation != nullptr && n == capacity) { in __svfscanf()
462 reinterpret_cast<wchar_t*>(realloc(allocation, sizeof(wchar_t) * capacity)); in __svfscanf()
464 allocation = wcp = new_allocation; in __svfscanf()
482 if (allocation != nullptr) { in __svfscanf()
483 *va_arg(ap, wchar_t**) = reinterpret_cast<wchar_t*>(allocation); in __svfscanf()
484 allocation = nullptr; in __svfscanf()
500 allocation = p = reinterpret_cast<char*>(malloc(capacity)); in __svfscanf()
501 if (allocation == nullptr) goto allocation_failure; in __svfscanf()
509 if (allocation != nullptr && n == capacity) { in __svfscanf()
511 char* new_allocation = reinterpret_cast<char*>(realloc(allocation, capacity)); in __svfscanf()
513 allocation = p = new_allocation; in __svfscanf()
522 if (allocation != nullptr) { in __svfscanf()
523 *va_arg(ap, char**) = reinterpret_cast<char*>(allocation); in __svfscanf()
524 allocation = nullptr; in __svfscanf()
727 free(allocation); in __svfscanf()