/third_party/python/Lib/test/ |
H A D | test_posix.py | 1 "Test posix functions" 9 # Skip these tests if there is no posix module. 10 posix = import_helper.import_module('posix') variable 40 if not hasattr(posix, 'sched_getscheduler'): 43 posix.sched_getscheduler(0) 64 # test posix functions which take no arguments and have 73 posix_func = getattr(posix, name, None) 79 @unittest.skipUnless(hasattr(posix, 'getresuid'), 80 'test needs posix [all...] |
/third_party/glfw/src/ |
H A D | posix_thread.c | 42 assert(tls->posix.allocated == GLFW_FALSE); in _glfwPlatformCreateTls() 44 if (pthread_key_create(&tls->posix.key, NULL) != 0) in _glfwPlatformCreateTls() 51 tls->posix.allocated = GLFW_TRUE; in _glfwPlatformCreateTls() 57 if (tls->posix.allocated) in _glfwPlatformDestroyTls() 58 pthread_key_delete(tls->posix.key); in _glfwPlatformDestroyTls() 64 assert(tls->posix.allocated == GLFW_TRUE); in _glfwPlatformGetTls() 65 return pthread_getspecific(tls->posix.key); in _glfwPlatformGetTls() 70 assert(tls->posix.allocated == GLFW_TRUE); in _glfwPlatformSetTls() 71 pthread_setspecific(tls->posix.key, value); in _glfwPlatformSetTls() 76 assert(mutex->posix in _glfwPlatformCreateMutex() [all...] |
H A D | posix_time.c | 42 _glfw.timer.posix.clock = CLOCK_REALTIME; in _glfwPlatformInitTimer() 43 _glfw.timer.posix.frequency = 1000000000; in _glfwPlatformInitTimer() 48 _glfw.timer.posix.clock = CLOCK_MONOTONIC; in _glfwPlatformInitTimer() 55 clock_gettime(_glfw.timer.posix.clock, &ts); in _glfwPlatformGetTimerValue() 56 return (uint64_t) ts.tv_sec * _glfw.timer.posix.frequency + (uint64_t) ts.tv_nsec; in _glfwPlatformGetTimerValue() 61 return _glfw.timer.posix.frequency; in _glfwPlatformGetTimerFrequency()
|
H A D | posix_thread.h | 30 #define GLFW_POSIX_TLS_STATE _GLFWtlsPOSIX posix; 31 #define GLFW_POSIX_MUTEX_STATE _GLFWmutexPOSIX posix;
|
/third_party/python/Lib/ |
H A D | shlex.py | 21 def __init__(self, instream=None, infile=None, posix=False, 31 self.posix = posix 32 if posix: 39 if self.posix: 156 if self.token or (self.posix and quoted): 163 elif self.posix and nextchar in self.escape: 173 if not self.posix: 181 if self.token or (self.posix and quoted): 193 if not self.posix [all...] |
/third_party/pcre2/pcre2/src/ |
H A D | pcre2_convert.c | 129 PCRE2_SPTR posix = pattern; in convert_posix() local 167 c = *posix; in convert_posix() 169 GETCHARLENTEST(c, posix, clength); in convert_posix() 171 posix += clength; in convert_posix() 197 *posix == CHAR_RIGHT_SQUARE_BRACKET) in convert_posix() 201 posix++; in convert_posix() 218 memcpy(p, posix - clength, CU2BYTES(clength)); in convert_posix() 236 if (posix[0] == CHAR_LEFT_SQUARE_BRACKET && in convert_posix() 237 posix[1] == CHAR_COLON && in convert_posix() 238 (posix[ in convert_posix() [all...] |
/third_party/vk-gl-cts/execserver/ |
H A D | xsPosixTestProcess.hpp | 37 namespace posix namespace 73 } // posix 102 posix::CaseListWriter m_caseListWriter; 103 posix::PipeReader m_stdOutReader; 104 posix::PipeReader m_stdErrReader; 105 posix::FileReader m_logReader;
|
/third_party/rust/crates/libloading/src/os/unix/ |
H A D | consts.rs | 15 pub const RTLD_LAZY: c_int = posix::RTLD_LAZY; 28 pub const RTLD_NOW: c_int = posix::RTLD_NOW; 38 pub const RTLD_GLOBAL: c_int = posix::RTLD_GLOBAL; 44 pub const RTLD_LOCAL: c_int = posix::RTLD_LOCAL; 47 mod posix { modules 56 mod posix { modules 213 // Other constants that exist but are not bound because they are platform-specific (non-posix)
|
/third_party/node/test/parallel/ |
H A D | test-path.js | 39 [path.posix, path.win32].forEach((namespace) => { 61 // posix 62 assert.strictEqual(path.posix.sep, '/'); 67 // posix 68 assert.strictEqual(path.posix.delimiter, ':'); 73 assert.strictEqual(path, path.posix);
|
/third_party/ltp/testcases/commands/nm/ |
H A D | nm01.sh | 26 EXPECT_PASS $NM -f posix -A "lib.a" \> nm.out 35 EXPECT_PASS $NM -f posix -A "dir/lib.a" \> nm.out 47 EXPECT_PASS $NM -f posix -g $TST_DATAROOT/f1 \> nm.out 59 EXPECT_PASS $NM -f posix -t o $TST_DATAROOT/f1 \> nm.out 84 EXPECT_PASS $NM -f posix $TST_DATAROOT/f1 \> nm_posix.out
|
/third_party/node/benchmark/path/ |
H A D | relative-posix.js | 3 const { posix } = require('path'); 29 posix.relative(`${paths}${i}`, `${to}${i}`); 31 posix.relative(paths, to);
|
H A D | join-posix.js | 3 const { posix } = require('path'); 21 posix.join(...copy); 23 posix.join(...args);
|
H A D | resolve-posix.js | 3 const { posix } = require('path'); 24 posix.resolve(...copy); 26 posix.resolve(...args);
|
H A D | extname-posix.js | 3 const { posix } = require('path'); 24 posix.extname(i % 3 === 0 ? `${path}${i}` : path);
|
H A D | isAbsolute-posix.js | 3 const { posix } = require('path'); 19 posix.isAbsolute(i % 3 === 0 ? `${path}${i}` : path);
|
H A D | dirname-posix.js | 3 const { posix } = require('path'); 21 posix.dirname(i % 3 === 0 ? `${path}${i}` : path);
|
H A D | normalize-posix.js | 3 const { posix } = require('path'); 20 posix.normalize(i % 3 === 0 ? `${path}${i}` : path);
|
H A D | parse-posix.js | 3 const { posix } = require('path'); 21 posix.parse(i % 3 === 0 ? `${path}${i}` : path);
|
H A D | format-posix.js | 3 const { posix } = require('path'); 26 posix.format(obj);
|
H A D | basename-posix.js | 3 const { posix } = require('path'); 31 posix.basename(i % 3 === 0 ? `${pathext}${i}` : pathext, ext);
|
/third_party/googletest/googletest/test/ |
H A D | gtest_premature_exit_test.cc | 40 using ::testing::internal::posix::GetEnv; 41 using ::testing::internal::posix::Stat; 42 using ::testing::internal::posix::StatStruct;
|
/third_party/ltp/testcases/open_posix_testsuite/bin/ |
H A D | Makefile | 11 INSTALL_BIN_TARGETS = run-all-posix-option-group-tests.sh run-posix-option-group-test.sh 24 sed -i 's~TESTPATH=""~TESTPATH="$(testdir_rel)"~' $(DESTDIR)/$(bindir)/run-posix-option-group-test.sh
|
/third_party/mesa3d/src/freedreno/decode/scripts/ |
H A D | analyze.lua | 13 local posix = require "posix" 48 testname = posix.basename(name) 49 gpuname = posix.basename(posix.dirname(name))
|
/third_party/node/lib/ |
H A D | path.js | 1067 posix: null, 1085 const posix = { 1181 return posix.normalize(joined); 1197 from = posix.resolve(from); 1198 to = posix.resolve(to); 1266 // Non-op on posix systems 1532 posix: null, 1535 posix.win32 = win32.win32 = win32; 1536 posix.posix [all...] |
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-filepath.cc | 212 posix::StatStruct file_stat; in FileOrDirectoryExists() 213 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 239 posix::StatStruct file_stat; in DirectoryExists() 240 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 241 posix::IsDir(file_stat); in DirectoryExists()
|