/bionic/libc/bionic/ |
pty.cpp | 51 return ptsname_r(fd, buf, sizeof(buf)) == 0 ? buf : NULL; 54 int ptsname_r(int fd, char* buf, size_t len) { function
|
/external/bison/darwin-lib/ |
stdlib.h | 810 # undef ptsname_r 811 # define ptsname_r rpl_ptsname_r 813 _GL_FUNCDECL_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); 814 _GL_CXXALIAS_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); 817 _GL_FUNCDECL_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); 819 _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); 821 _GL_CXXALIASWARN (ptsname_r); 823 # undef ptsname_r macro 825 _GL_WARN_ON_USE (ptsname_r, "ptsname_r is not portable - [all...] |
/external/bison/linux-lib/ |
stdlib.h | 810 # undef ptsname_r 811 # define ptsname_r rpl_ptsname_r 813 _GL_FUNCDECL_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); 814 _GL_CXXALIAS_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); 817 _GL_FUNCDECL_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); 819 _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); 821 _GL_CXXALIASWARN (ptsname_r); 823 # undef ptsname_r macro 825 _GL_WARN_ON_USE (ptsname_r, "ptsname_r is not portable - [all...] |
/external/bison/lib/ |
stdlib.in.h | 488 # undef ptsname_r 489 # define ptsname_r rpl_ptsname_r 491 _GL_FUNCDECL_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); 492 _GL_CXXALIAS_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); 495 _GL_FUNCDECL_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); 497 _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); 499 _GL_CXXALIASWARN (ptsname_r); 501 # undef ptsname_r 503 _GL_WARN_ON_USE (ptsname_r, "ptsname_r is not portable - [all...] |
/bionic/libstdc++/include/ |
cstdlib | 96 using ::ptsname_r;
|
/bionic/libc/include/ |
stdlib.h | 126 char* ptsname(int) __warnattr("ptsname is not thread-safe; use ptsname_r instead"); 127 int ptsname_r(int, char*, size_t);
|
/bionic/tests/ |
stdlib_test.cpp | 274 // ptsname_r should start "/dev/pts/". 276 ASSERT_EQ(0, ptsname_r(fd, name_r, sizeof(name_r))); 292 ASSERT_EQ(ENOTTY, ptsname_r(STDOUT_FILENO, buf, sizeof(buf))); 301 ASSERT_EQ(EINVAL, ptsname_r(fd, buf, 128)); 311 ASSERT_EQ(ERANGE, ptsname_r(fd, buf, sizeof(buf)));
|
/development/ndk/platforms/android-L/include/ |
stdlib.h | 129 extern int ptsname_r(int, char*, size_t);
|
/development/ndk/platforms/android-3/include/ |
stdlib.h | 138 extern char* ptsname_r(int, char*, size_t);
|
/development/ndk/platforms/android-8/include/ |
stdlib.h | 139 extern char* ptsname_r(int, char*, size_t);
|
/development/ndk/platforms/android-9/include/ |
stdlib.h | 139 extern int ptsname_r(int, char*, size_t);
|