Home
last modified time | relevance | path

Searched refs:size_required (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/platform/windows/
Dwide_char.h29 int size_required = MultiByteToWideChar(CP_UTF8, 0, utf8str.c_str(), in Utf8ToWideChar() local
31 std::wstring ws_translated_str(size_required, 0); in Utf8ToWideChar()
33 &ws_translated_str[0], size_required); in Utf8ToWideChar()
39 int size_required = WideCharToMultiByte( in WideCharToUtf8() local
41 string utf8_translated_str(size_required, 0); in WideCharToUtf8()
43 &utf8_translated_str[0], size_required, NULL, NULL); in WideCharToUtf8()
/external/webp/src/utils/
Dbit_writer_utils.c212 const size_t size_required = (size_t)size_required_64b; in VP8LBitWriterResize() local
213 if (size_required != size_required_64b) { in VP8LBitWriterResize()
217 if (max_bytes > 0 && size_required <= max_bytes) return 1; in VP8LBitWriterResize()
219 if (allocated_size < size_required) allocated_size = size_required; in VP8LBitWriterResize()