Home
last modified time | relevance | path

Searched refs:posix (Results 1 - 25 of 139) sorted by relevance

123456

/third_party/python/Lib/test/
H A Dtest_posix.py1 "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 Dposix_thread.c42 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 Dposix_time.c42 _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 Dposix_thread.h30 #define GLFW_POSIX_TLS_STATE _GLFWtlsPOSIX posix;
31 #define GLFW_POSIX_MUTEX_STATE _GLFWmutexPOSIX posix;
/third_party/python/Lib/
H A Dshlex.py21 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 Dpcre2_convert.c129 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 DxsPosixTestProcess.hpp37 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 Dconsts.rs15 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 Dtest-path.js39 [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 Dnm01.sh26 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 Drelative-posix.js3 const { posix } = require('path');
29 posix.relative(`${paths}${i}`, `${to}${i}`);
31 posix.relative(paths, to);
H A Djoin-posix.js3 const { posix } = require('path');
21 posix.join(...copy);
23 posix.join(...args);
H A Dresolve-posix.js3 const { posix } = require('path');
24 posix.resolve(...copy);
26 posix.resolve(...args);
H A Dextname-posix.js3 const { posix } = require('path');
24 posix.extname(i % 3 === 0 ? `${path}${i}` : path);
H A DisAbsolute-posix.js3 const { posix } = require('path');
19 posix.isAbsolute(i % 3 === 0 ? `${path}${i}` : path);
H A Ddirname-posix.js3 const { posix } = require('path');
21 posix.dirname(i % 3 === 0 ? `${path}${i}` : path);
H A Dnormalize-posix.js3 const { posix } = require('path');
20 posix.normalize(i % 3 === 0 ? `${path}${i}` : path);
H A Dparse-posix.js3 const { posix } = require('path');
21 posix.parse(i % 3 === 0 ? `${path}${i}` : path);
H A Dformat-posix.js3 const { posix } = require('path');
26 posix.format(obj);
H A Dbasename-posix.js3 const { posix } = require('path');
31 posix.basename(i % 3 === 0 ? `${pathext}${i}` : pathext, ext);
/third_party/googletest/googletest/test/
H A Dgtest_premature_exit_test.cc40 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 DMakefile11 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 Danalyze.lua13 local posix = require "posix"
48 testname = posix.basename(name)
49 gpuname = posix.basename(posix.dirname(name))
/third_party/node/lib/
H A Dpath.js1067 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 Dgtest-filepath.cc212 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()

Completed in 9 milliseconds

123456