Searched refs:stpncpy (Results 1 - 12 of 12) sorted by relevance
/bionic/libc/arch-x86/silvermont/string/ |
H A D | sse2-stpncpy-slm.S | 33 #define STRCPY stpncpy
|
/bionic/libc/arch-x86_64/string/ |
H A D | sse2-stpncpy-slm.S | 33 #define STRCPY stpncpy
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
H A D | stpncpy.c | 1 /* $OpenBSD: stpncpy.c,v 1.2 2012/07/11 10:44:59 naddy Exp $ */ 38 stpncpy(char *dst, const char *src, size_t n) function
|
/bionic/libc/bionic/ |
H A D | __stpncpy_chk.cpp | 43 * This stpncpy check is called if _FORTIFY_SOURCE is defined and 49 __fortify_chk_fail("stpncpy: prevented write past end of buffer", 53 return stpncpy(dest, src, len); 61 * based on the original version of stpncpy, but modified to check 68 __fortify_chk_fail("stpncpy: prevented write past end of buffer", 87 __fortify_chk_fail("stpncpy: prevented read past end of buffer", 0);
|
/bionic/libc/arch-arm64/ |
H A D | arm64.mk | 24 upstream-openbsd/lib/libc/string/stpncpy.c \
|
/bionic/libc/arch-mips/ |
H A D | mips.mk | 35 upstream-openbsd/lib/libc/string/stpncpy.c \
|
/bionic/libc/arch-mips64/ |
H A D | mips64.mk | 36 upstream-openbsd/lib/libc/string/stpncpy.c \
|
/bionic/libc/arch-x86_64/ |
H A D | x86_64.mk | 52 arch-x86_64/string/sse2-stpncpy-slm.S \
|
/bionic/tests/ |
H A D | fortify_test.cpp | 59 ASSERT_FORTIFY(stpncpy(myfoo.a, "01234567890", copy_amt)); 70 ASSERT_FORTIFY(stpncpy(myfoo.b, myfoo.one, sizeof(myfoo.b))); 560 ASSERT_FORTIFY(stpncpy(bufb, bufa, n)); 567 ASSERT_FORTIFY(stpncpy(dest, src, sizeof(dest))); 816 TEST(TEST_NAME, stpncpy) { 820 stpncpy(dst, src, sizeof(dst)); 837 stpncpy(dst, src, sizeof(dst));
|
H A D | string_test.cpp | 659 TEST(string, stpncpy) { 685 ASSERT_EQ(state.ptr2 + expected_end, stpncpy(state.ptr2, state.ptr1, copy_len)); 722 ASSERT_EQ(state.ptr2 + expected_end, stpncpy(state.ptr2, state.ptr1, copy_len));
|
/bionic/libc/arch-arm/ |
H A D | arm.mk | 25 upstream-openbsd/lib/libc/string/stpncpy.c \
|
/bionic/libc/include/ |
H A D | string.h | 91 extern char* stpncpy(char* __restrict, const char* __restrict, size_t); 203 char* stpncpy(char* __restrict dest, const char* __restrict src, size_t n) { function
|
Completed in 78 milliseconds