1
0
Fork 0
forked from suyu/suyu
suyu/src/common
Lioncash 9d33122197 string_util: Get rid of separate resize() in CPToUTF16(), UTF16ToUTF8(), CodeToUTF8() and UTF8ToUTF16()
There's no need to perform the resize separately here, since the
constructor allows presizing the buffer.

Also move the empty string check before the construction of the string
to make the early out more straightforward.
2018-07-22 16:39:21 -04:00
..
logging logging/filter: Use std::string_view in ParseFilterString() 2018-07-20 15:58:46 -04:00
x64 cpu_detect.cpp: Change comment from citra to yuzu 2018-03-26 21:43:39 +02:00
alignment.h PICA: Align vertex attributes 2016-03-13 04:54:23 +01:00
assert.h Port #3474 from Citra 2018-07-07 14:17:44 +02:00
bit_field.h bit_field: Remove is_pod check, add is_trivially_copyable_v. 2018-04-17 18:00:18 -04:00
bit_set.h Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
break_points.cpp Remove unused import in break_points.cpp (#2763) 2017-06-08 21:16:46 -07:00
break_points.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
cityhash.cpp common: Port cityhash code from Citra. 2018-04-13 23:48:22 -04:00
cityhash.h common: Port cityhash code from Citra. 2018-04-13 23:48:22 -04:00
CMakeLists.txt common: Remove synchronized_wrapper.h 2018-07-21 14:51:44 -04:00
color.h Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
common_funcs.h Merge pull request #710 from lioncash/unused 2018-07-19 11:43:41 -07:00
common_paths.h file_util: Use an enum class for GetUserPath() 2018-07-21 16:21:19 -04:00
common_types.h common_types: Convert typedefs to using aliases 2018-04-19 22:26:35 -04:00
file_util.cpp Merge pull request #768 from lioncash/string-view 2018-07-22 11:32:28 -07:00
file_util.h file_util, vfs: Use std::string_view where applicable 2018-07-22 03:22:21 -04:00
hash.h common: Port cityhash code from Citra. 2018-04-13 23:48:22 -04:00
math_util.h math_util: Remove the Clamp() function 2018-04-20 10:14:13 -04:00
memory_util.cpp Port #3579 from Citra 2018-07-07 13:59:18 +02:00
memory_util.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
microprofile.cpp Integrate the MicroProfile profiling library 2015-08-24 22:16:28 -03:00
microprofile.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
microprofileui.h Common: Remove section measurement from profiler (#1731) 2016-04-29 00:07:10 -07:00
misc.cpp common/misc: Deduplicate code in GetLastErrorMsg() 2018-07-19 09:15:38 -04:00
param_package.cpp param_package: Take std::string by value in string-based Set() function 2018-07-20 17:24:06 -04:00
param_package.h param_package: Take std::string by value in string-based Set() function 2018-07-20 17:24:06 -04:00
quaternion.h Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
scm_rev.cpp.in common: Add build timestamp to scm_rev. 2017-08-03 20:10:37 -04:00
scm_rev.h Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
scope_exit.h Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
string_util.cpp string_util: Get rid of separate resize() in CPToUTF16(), UTF16ToUTF8(), CodeToUTF8() and UTF8ToUTF16() 2018-07-22 16:39:21 -04:00
string_util.h string_util: Remove unnecessary std::string instance in TabsToSpaces() 2018-07-22 15:35:48 -04:00
swap.h common/swap: Remove unnecessary const on return value of swap() 2018-07-19 09:35:54 -04:00
telemetry.cpp common: Add a generic interface for logging telemetry fields. 2017-05-24 19:16:21 -04:00
telemetry.h telemetry: Remove unnecessary Field constructor 2018-07-18 00:32:35 -04:00
thread.cpp Support mingw cross-compile 2016-12-05 19:09:16 +01:00
thread.h common/thread: Remove unnecessary feature checking for thread_local 2018-04-19 22:41:18 -04:00
thread_queue_list.h Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
threadsafe_queue.h CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119) 2018-01-08 19:10:25 -05:00
timer.cpp string_util: Remove StringFromFormat() and related functions 2018-04-29 18:52:33 -04:00
timer.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
vector_math.h vector_math: Ensure members are always initialized 2018-05-01 21:25:25 -04:00