Home
last modified time | relevance | path

Searched refs:confstr (Results 1 – 25 of 49) 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/llvm-project/libcxx/test/support/
Dplatform_support.h117 size_t n = confstr(_CS_GNU_LIBC_VERSION, nullptr, (size_t)0); in glibc_version_less_than()
119 confstr(_CS_GNU_LIBC_VERSION, current_version, n); in glibc_version_less_than()
/external/ltp/testcases/kernel/syscalls/
DMakefile38 accept4 adjtimex cma confstr fcntl fmtmsg futex getcontext getcpu \
/external/libcups/cups/
Dtempfile.c75 if (confstr(_CS_DARWIN_USER_TEMP_DIR, tmppath, sizeof(tmppath))) in cupsTempFd()
Dppd-util.c236 if (confstr(_CS_DARWIN_USER_TEMP_DIR, tmppath, sizeof(tmppath))) in cupsGetPPD3()
/external/ltp/travis/
Dalpine.sh38 testcases/kernel/syscalls/confstr/confstr01.c \
/external/python/cpython3/Lib/distutils/
Dspawn.py108 path = os.confstr("CS_PATH")
/external/python/cpython3/Python/
Dthread.c216 len = confstr(_CS_GNU_LIBPTHREAD_VERSION, buffer, sizeof(buffer)); in PyThread_GetInfo()
/external/toybox/lib/
Dportability.h343 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.cpp459 EXPECT_DEATH(confstr(0, small_buffer, sizeof(small_buffer) + 1)); in TestUnistd()
501 EXPECT_DEATH_STRUCT(confstr(kBogusFD, split.tiny_buffer, sizeof(split))); in TestUnistd()
/external/toybox/toys/posix/
Dgetconf.c182 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()
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a4.rst28 :func:`shutil.which` now uses ``os.confstr("CS_PATH")`` if available and if
354 ``os.confstr("CS_PATH")`` if available instead of :data:`os.defpath`, if the
356 ``os.confstr("CS_PATH")`` nor :data:`os.defpath` if the ``PATH`` environment
/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/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cpp169 uptr len = confstr(_CS_GNU_LIBC_VERSION, buf, sizeof(buf)); in GetLibcVersion()
/external/python/cpython3/Lib/
Dplatform.py179 ver = os.confstr('CS_GNU_LIBC_VERSION')
Dshutil.py1394 path = os.confstr("CS_PATH")
/external/mksh/src/
Dmain.c375 if ((k = confstr(_CS_PATH, NULL, 0)) > 0 && in main_init()
376 confstr(_CS_PATH, cp = alloc(k + 1, APERM), k + 1) == k + 1) in main_init()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DPath.inc1153 size_t ConfLen = confstr(ConfName, nullptr, 0);
1157 ConfLen = confstr(ConfName, Result.data(), Result.size());
/external/llvm-project/llvm/lib/Support/Unix/
DPath.inc1241 size_t ConfLen = confstr(ConfName, nullptr, 0);
1245 ConfLen = confstr(ConfName, Result.data(), Result.size());
/external/python/cpython3/Lib/test/
Dtest_posix.py551 self.assertRaises(ValueError, posix.confstr, "CS_garbage")
552 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()

12