Lines Matching refs:destination
75 static void safe_wcscpy(wchar_t *destination, size_t destination_size,
82 static void safe_wcsncpy(wchar_t *destination, size_t destination_size,
105 inline void WindowsStringUtils::safe_wcscpy(wchar_t *destination, in safe_wcscpy() argument
109 wcscpy_s(destination, destination_size, source); in safe_wcscpy()
114 wcsncpy(destination, source, destination_size); in safe_wcscpy()
115 if (destination && destination_size) in safe_wcscpy()
116 destination[destination_size - 1] = 0; in safe_wcscpy()
121 inline void WindowsStringUtils::safe_wcsncpy(wchar_t *destination, in safe_wcsncpy() argument
126 wcsncpy_s(destination, destination_size, source, count); in safe_wcsncpy()
134 wcsncpy(destination, source, count); in safe_wcsncpy()
135 if (destination && count) in safe_wcsncpy()
136 destination[count - 1] = 0; in safe_wcsncpy()