• Home
  • Raw
  • Download

Lines Matching refs:allocation

102   void* allocation = nullptr; // Allocated but unassigned result for %mc/%ms/%m[.  in __svfscanf()  local
341 allocation = wcp = reinterpret_cast<wchar_t*>(malloc(width * sizeof(wchar_t))); in __svfscanf()
342 if (allocation == nullptr) goto allocation_failure; in __svfscanf()
378 if (allocation != nullptr) { in __svfscanf()
379 *va_arg(ap, wchar_t**) = reinterpret_cast<wchar_t*>(allocation); in __svfscanf()
380 allocation = nullptr; in __svfscanf()
404 allocation = p = reinterpret_cast<char*>(malloc(width)); in __svfscanf()
405 if (allocation == nullptr) goto allocation_failure; in __svfscanf()
411 if (allocation != nullptr) { in __svfscanf()
412 *va_arg(ap, char**) = reinterpret_cast<char*>(allocation); in __svfscanf()
413 allocation = nullptr; in __svfscanf()
430 allocation = wcp = reinterpret_cast<wchar_t*>(malloc(sizeof(wchar_t) * capacity)); in __svfscanf()
431 if (allocation == nullptr) goto allocation_failure; in __svfscanf()
463 if (allocation != nullptr && n == capacity) { in __svfscanf()
466 reinterpret_cast<wchar_t*>(realloc(allocation, sizeof(wchar_t) * capacity)); in __svfscanf()
468 allocation = wcp = new_allocation; in __svfscanf()
486 if (allocation != nullptr) { in __svfscanf()
487 *va_arg(ap, wchar_t**) = reinterpret_cast<wchar_t*>(allocation); in __svfscanf()
488 allocation = nullptr; in __svfscanf()
504 allocation = p = reinterpret_cast<char*>(malloc(capacity)); in __svfscanf()
505 if (allocation == nullptr) goto allocation_failure; in __svfscanf()
513 if (allocation != nullptr && n == capacity) { in __svfscanf()
515 char* new_allocation = reinterpret_cast<char*>(realloc(allocation, capacity)); in __svfscanf()
517 allocation = p = new_allocation; in __svfscanf()
526 if (allocation != nullptr) { in __svfscanf()
527 *va_arg(ap, char**) = reinterpret_cast<char*>(allocation); in __svfscanf()
528 allocation = nullptr; in __svfscanf()
726 free(allocation); in __svfscanf()