Home
last modified time | relevance | path

Searched refs:confstr (Results 1 – 25 of 31) sorted by relevance

12

/external/ltp/testcases/realtime/func/pi-tests/
Dtestpi-0.c79 n = confstr(_CS_GNU_LIBC_VERSION, NULL, (size_t) 0); in main()
83 confstr(_CS_GNU_LIBC_VERSION, pathbuf, n); in main()
88 n = confstr(_CS_GNU_LIBPTHREAD_VERSION, NULL, (size_t) 0); in main()
92 confstr(_CS_GNU_LIBPTHREAD_VERSION, pathbuf, n); in main()
/external/ltp/testcases/kernel/syscalls/confstr/
Dconfstr01.c94 TEST(confstr(test_cases[i].value, NULL, (size_t)0)); in main()
99 TEST(confstr(test_cases[i].value, buf, len)); in main()
/external/ltp/testcases/kernel/syscalls/
DMakefile38 accept4 adjtimex cma confstr fcntl fmtmsg futex getcontext getcpu \
/external/python/cpython3/Python/
Dthread.c214 len = confstr(_CS_GNU_LIBPTHREAD_VERSION, buffer, sizeof(buffer)); in PyThread_GetInfo()
/external/toybox/lib/
Dportability.h307 static inline void confstr(int a, char *b, int c) {strcpy(b, a ? "POSIXLY_CORRECT=1" : "/bin:/usr/b… in confstr() function
/external/autotest/client/site_tests/platform_ToolchainTests/src/
Dclang-fortify-tests.cpp373 EXPECT_DEATH(confstr(0, small_buffer, sizeof(small_buffer) + 1)); in TestUnistd()
415 EXPECT_DEATH_STRUCT(confstr(kBogusFD, split.tiny_buffer, sizeof(split))); in TestUnistd()
/external/toybox/toys/posix/
Dgetconf.c187 confstr(c->value, toybuf, sizeof(toybuf)); in show_conf()
/external/python/cpython2/Lib/test/
Dtest_posix.py171 self.assertRaises(ValueError, posix.confstr, "CS_garbage")
172 self.assertEqual(len(posix.confstr("CS_PATH")) > 0, True)
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cc202 uptr len = confstr(_CS_GNU_LIBC_VERSION, buf, sizeof(buf)); in ThreadDescriptorSize()
Dsanitizer_common_interceptors.inc3075 INTERCEPTOR(SIZE_T, confstr, int name, char *buf, SIZE_T len) {
3077 COMMON_INTERCEPTOR_ENTER(ctx, confstr, name, buf, len);
3081 SIZE_T res = REAL(confstr)(name, buf, len);
3086 #define INIT_CONFSTR COMMON_INTERCEPT_FUNCTION(confstr);
/external/llvm/lib/Support/Unix/
DPath.inc692 size_t ConfLen = confstr(ConfName, nullptr, 0);
696 ConfLen = confstr(ConfName, Result.data(), Result.size());
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DPath.inc708 size_t ConfLen = confstr(ConfName, nullptr, 0);
712 ConfLen = confstr(ConfName, Result.data(), Result.size());
/external/mksh/src/
Dmain.c360 if ((k = confstr(_CS_PATH, NULL, 0)) > 0 && in main_init()
361 confstr(_CS_PATH, cp = alloc(k + 1, APERM), k + 1) == k + 1) in main_init()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DPath.inc936 size_t ConfLen = confstr(ConfName, nullptr, 0);
940 ConfLen = confstr(ConfName, Result.data(), Result.size());
/external/python/cpython3/Lib/test/
Dtest_posix.py539 self.assertRaises(ValueError, posix.confstr, "CS_garbage")
540 self.assertEqual(len(posix.confstr("CS_PATH")) > 0, True)
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc1270 TEST(MemorySanitizer, confstr) { in TEST() argument
1272 size_t res = confstr(_CS_PATH, buf, sizeof(buf)); in TEST()
1278 res = confstr(_CS_PATH, buf2, sizeof(buf2)); in TEST()
/external/python/cpython2/Doc/library/
Dos.rst2369 .. function:: confstr(name)
2392 Dictionary mapping names accepted by :func:`confstr` to the integer values
2414 the *name* parameter for :func:`confstr` apply here as well; the dictionary that
/external/python/cpython2/
Dpyconfig.h.in124 /* Define to 1 if you have the `confstr' function. */
Dconfigure.ac771 # Some functions have a prototype only with that define, e.g. confstr
3121 clock confstr ctermid execv fchmod fchown fork fpathconf ftime ftruncate \
/external/python/cpython2/Modules/
Dposixmodule.c8017 len = confstr(name, buffer, sizeof(buffer)); in posix_confstr()
8031 confstr(name, PyString_AS_STRING(result), len); in posix_confstr()
/external/python/cpython3/
Dpyconfig.h.in134 /* Define to 1 if you have the `confstr' function. */
Dconfigure.ac3556 clock confstr ctermid dup3 execv faccessat fchmod fchmodat fchown fchownat \
/external/python/cpython3/Doc/library/
Dos.rst3940 .. function:: confstr(name)
3963 Dictionary mapping names accepted by :func:`confstr` to the integer values
3995 the *name* parameter for :func:`confstr` apply here as well; the dictionary that
/external/python/cpython3/Modules/
Dposixmodule.c10106 len = confstr(name, buffer, sizeof(buffer)); in os_confstr_impl()
10122 len2 = confstr(name, buf, len); in os_confstr_impl()
/external/compiler-rt/lib/dfsan/
Dlibc_ubuntu1404_abilist.txt1499 fun:confstr=uninstrumented

12