Home
last modified time | relevance | path

Searched refs:stpncpy (Results 1 – 16 of 16) sorted by relevance

/aosp12/bionic/libc/upstream-openbsd/lib/libc/string/
H A Dstpncpy.c38 stpncpy(char *dst, const char *src, size_t n) in stpncpy() function
57 DEF_WEAK(stpncpy);
/aosp12/bionic/libc/arch-x86/silvermont/string/
H A Dsse2-stpncpy-slm.S33 #define STRCPY stpncpy
/aosp12/bionic/libc/arch-x86_64/string/
H A Dsse2-stpncpy-slm.S33 #define STRCPY stpncpy
/aosp12/bionic/tests/
H A Dfortify_test.cpp57 ASSERT_FORTIFY(stpncpy(myfoo.a, "01234567890", copy_amt)); in TEST_F()
64 ASSERT_FORTIFY(stpncpy(myfoo.b, myfoo.one, sizeof(myfoo.b))); in TEST_F()
519 ASSERT_FORTIFY(stpncpy(bufb, bufa, n)); in TEST_F()
526 ASSERT_FORTIFY(stpncpy(dest, src, sizeof(dest))); in TEST_F()
827 TEST(TEST_NAME, stpncpy) { in TEST() argument
831 stpncpy(dst, src, sizeof(dst)); in TEST()
848 stpncpy(dst, src, sizeof(dst)); in TEST()
H A Dclang_fortify_tests.cpp174 EXPECT_FORTIFY_DEATH(stpncpy(small_buffer, large_string, sizeof(large_string))); in FORTIFY_TEST()
221 EXPECT_FORTIFY_DEATH_STRUCT(stpncpy(split.tiny_buffer, small_string, sizeof(small_string))); in FORTIFY_TEST()
H A Dstring_test.cpp681 TEST(STRING_TEST, stpncpy) { in TEST() argument
707 ASSERT_EQ(state.ptr2 + expected_end, stpncpy(state.ptr2, state.ptr1, copy_len)); in TEST()
744 ASSERT_EQ(state.ptr2 + expected_end, stpncpy(state.ptr2, state.ptr1, copy_len)); in TEST()
/aosp12/bionic/tests/headers/posix/
H A Dstring_h.c45 FUNCTION(stpncpy, char* (*f)(char*, const char*, size_t)); in string_h()
/aosp12/bionic/libc/include/
H A Dstring.h106 char* stpncpy(char* __dst, const char* __src, size_t __n) __INTRODUCED_IN(21);
/aosp12/system/logging/liblog/
H A Dproperties.cpp162 *stpncpy(key + strlen(log_namespace), tag, tag_len) = '\0'; in __android_log_level()
/aosp12/bionic/libc/include/bits/fortify/
H A Dstring.h159 char* stpncpy(char* const dst __pass_object_size, const char* const src __pass_object_size, size_t … in stpncpy() function
/aosp12/bionic/libc/bionic/
H A Dfortify.cpp243 return stpncpy(dst, src, len); in __stpncpy_chk()
/aosp12/bionic/libc/
H A DAndroid.bp626 "upstream-openbsd/lib/libc/string/stpncpy.c",
658 "upstream-openbsd/lib/libc/string/stpncpy.c",
672 "upstream-openbsd/lib/libc/string/stpncpy.c",
925 "arch-x86/silvermont/string/sse2-stpncpy-slm.S",
977 "arch-x86_64/string/sse2-stpncpy-slm.S",
H A Dlibc.map.txt996 stpncpy; # introduced=21
/aosp12/bionic/libc/tools/
H A Dposix-2013.txt989 stpncpy
/aosp12/bionic/docs/
H A Dstatus.md188 * <string.h> `strcoll_l`/`strxfrm_l`, `stpcpy`/`stpncpy`.
/aosp12/bionic/tools/versioner/platforms/
H A Dlibc.map.txt996 stpncpy; # introduced=21