Searched refs:trim_size_t_to_int (Results 1 – 1 of 1) sorted by relevance
1715 static int trim_size_t_to_int(size_t n) { return n < (size_t)INT_MAX ? (int)n : INT_MAX; } in trim_size_t_to_int() function1728 from_size = trim_size_t_to_int(size); in __ConvertToCP()1741 from_size = trim_size_t_to_int(size); in __ConvertToCP()1742 wbuf_size = trim_size_t_to_int(wbuffer_size - wbuf_offset); in __ConvertToCP()1753 wbuf_size = trim_size_t_to_int(size); in __ConvertToCP()1767 wbuf_size = trim_size_t_to_int(size); in __ConvertToCP()1768 to_size = trim_size_t_to_int(buffer_size); in __ConvertToCP()