[libc] Implement str{,n}casecmp
authorAlex Brachet <abrachet@google.com>
Wed, 11 Jan 2023 05:38:33 +0000 (05:38 +0000)
committerAlex Brachet <abrachet@google.com>
Wed, 11 Jan 2023 05:38:33 +0000 (05:38 +0000)
commite9d571d3b6829f668e424d9dfce09f9ed7f297d9
tree6c83db6dbdad46495432e6982adcc84d88367927
parentfae63a9a227aa341c4410dbd9e4650844a2c8961
[libc] Implement str{,n}casecmp

Differential Revision: https://reviews.llvm.org/D141236
20 files changed:
libc/config/baremetal/entrypoints.txt
libc/config/darwin/arm/entrypoints.txt
libc/config/gpu/entrypoints.txt
libc/config/linux/aarch64/entrypoints.txt
libc/config/linux/arm/entrypoints.txt
libc/config/linux/x86_64/entrypoints.txt
libc/config/windows/entrypoints.txt
libc/spec/bsd_ext.td
libc/src/__support/ctype_utils.h
libc/src/ctype/tolower.cpp
libc/src/string/CMakeLists.txt
libc/src/string/strcasecmp.cpp [new file with mode: 0644]
libc/src/string/strcasecmp.h [new file with mode: 0644]
libc/src/string/strncasecmp.cpp [new file with mode: 0644]
libc/src/string/strncasecmp.h [new file with mode: 0644]
libc/test/src/string/CMakeLists.txt
libc/test/src/string/strcasecmp_test.cpp [new file with mode: 0644]
libc/test/src/string/strcmp_test.cpp
libc/test/src/string/strncasecmp_test.cpp [new file with mode: 0644]
libc/test/src/string/strncmp_test.cpp