Home
last modified time | relevance | path

Searched refs:posix (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/third_party/python/Lib/test/
Dtest_posix.py10 posix = import_helper.import_module('posix') variable
32 if not hasattr(posix, 'sched_getscheduler'):
35 posix.sched_getscheduler(0)
71 posix_func = getattr(posix, name, None)
76 @unittest.skipUnless(hasattr(posix, 'getresuid'),
79 user_ids = posix.getresuid()
84 @unittest.skipUnless(hasattr(posix, 'getresgid'),
87 group_ids = posix.getresgid()
92 @unittest.skipUnless(hasattr(posix, 'setresuid'),
95 current_user_ids = posix.getresuid()
[all …]
/third_party/toybox/
DBUILD.gn145 "toys/posix/basename.c",
146 "toys/posix/cal.c",
147 "toys/posix/cat.c",
148 "toys/posix/chgrp.c",
149 "toys/posix/chmod.c",
150 "toys/posix/cksum.c",
151 "toys/posix/cmp.c",
152 "toys/posix/comm.c",
153 "toys/posix/cp.c",
154 "toys/posix/cpio.c",
[all …]
/third_party/node/test/parallel/
Dtest-path-normalize.js44 assert.strictEqual(path.posix.normalize('./fixtures///b/../b/c.js'),
46 assert.strictEqual(path.posix.normalize('/foo/../../../bar'), '/bar');
47 assert.strictEqual(path.posix.normalize('a//b//../b'), 'a/b');
48 assert.strictEqual(path.posix.normalize('a//b//./c'), 'a/b/c');
49 assert.strictEqual(path.posix.normalize('a//b//.'), 'a/b');
50 assert.strictEqual(path.posix.normalize('/a/b/c/../../../x/y/z'), '/x/y/z');
51 assert.strictEqual(path.posix.normalize('///..//./foo/.//bar'), '/foo/bar');
52 assert.strictEqual(path.posix.normalize('bar/foo../../'), 'bar/');
53 assert.strictEqual(path.posix.normalize('bar/foo../..'), 'bar');
54 assert.strictEqual(path.posix.normalize('bar/foo../../baz'), 'bar/baz');
[all …]
Dtest-path-extname.js55 [path.posix.extname, path.win32.extname].forEach((extname) => {
92 assert.strictEqual(path.posix.extname('.\\'), '');
93 assert.strictEqual(path.posix.extname('..\\'), '.\\');
94 assert.strictEqual(path.posix.extname('file.ext\\'), '.ext\\');
95 assert.strictEqual(path.posix.extname('file.ext\\\\'), '.ext\\\\');
96 assert.strictEqual(path.posix.extname('file\\'), '');
97 assert.strictEqual(path.posix.extname('file\\\\'), '');
98 assert.strictEqual(path.posix.extname('file.\\'), '.\\');
99 assert.strictEqual(path.posix.extname('file.\\\\'), '.\\\\');
Dtest-path-dirname.js9 assert.strictEqual(path.posix.dirname('/a/b/'), '/a');
10 assert.strictEqual(path.posix.dirname('/a/b'), '/a');
11 assert.strictEqual(path.posix.dirname('/a'), '/');
12 assert.strictEqual(path.posix.dirname(''), '.');
13 assert.strictEqual(path.posix.dirname('/'), '/');
14 assert.strictEqual(path.posix.dirname('////'), '/');
15 assert.strictEqual(path.posix.dirname('//a'), '//');
16 assert.strictEqual(path.posix.dirname('foo'), '.');
Dtest-path-makelong.js54 assert.strictEqual(path.posix.toNamespacedPath('/foo/bar'), '/foo/bar');
55 assert.strictEqual(path.posix.toNamespacedPath('foo/bar'), 'foo/bar');
56 assert.strictEqual(path.posix.toNamespacedPath(null), null);
57 assert.strictEqual(path.posix.toNamespacedPath(true), true);
58 assert.strictEqual(path.posix.toNamespacedPath(1), 1);
59 assert.strictEqual(path.posix.toNamespacedPath(), undefined);
60 assert.strictEqual(path.posix.toNamespacedPath(emptyObj), emptyObj);
Dtest-path-basename.js64 assert.strictEqual(path.posix.basename('\\dir\\basename.ext'),
66 assert.strictEqual(path.posix.basename('\\basename.ext'), '\\basename.ext');
67 assert.strictEqual(path.posix.basename('basename.ext'), 'basename.ext');
68 assert.strictEqual(path.posix.basename('basename.ext\\'), 'basename.ext\\');
69 assert.strictEqual(path.posix.basename('basename.ext\\\\'), 'basename.ext\\\\');
70 assert.strictEqual(path.posix.basename('foo'), 'foo');
75 assert.strictEqual(path.posix.basename(`/a/b/${controlCharFilename}`),
Dtest-path-zero-length-strings.js15 assert.strictEqual(path.posix.join(''), '.');
16 assert.strictEqual(path.posix.join('', ''), '.');
23 assert.strictEqual(path.posix.normalize(''), '.');
28 assert.strictEqual(path.posix.isAbsolute(''), false);
Dtest-path.js39 [path.posix, path.win32].forEach((namespace) => {
62 assert.strictEqual(path.posix.sep, '/');
68 assert.strictEqual(path.posix.delimiter, ':');
73 assert.strictEqual(path, path.posix);
Dtest-path-isabsolute.js25 assert.strictEqual(path.posix.isAbsolute('/home/foo'), true);
26 assert.strictEqual(path.posix.isAbsolute('/home/foo/..'), true);
27 assert.strictEqual(path.posix.isAbsolute('bar/'), false);
28 assert.strictEqual(path.posix.isAbsolute('./baz'), false);
/third_party/python/Lib/
Dshlex.py21 def __init__(self, instream=None, infile=None, posix=False, argument
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:
199 elif (self.posix and nextchar in self.escape and self.state
[all …]
/third_party/pcre2/pcre2/src/
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[2] == CHAR_LESS_THAN_SIGN || in convert_posix()
[all …]
/third_party/pcre2/pcre2/testdata/
Dtestinput186 #pattern posix
113 /^d(e)$/posix
120 /^a\x{00}b$/posix
129 /a\b(c/literal,posix
132 /a\b(c/literal,posix,dotall
134 /((a)(b)?(c))/posix
138 //posix
143 /(*LIMIT_HEAP=0)xx/posix
Dtestoutput186 #pattern posix
172 /^d(e)$/posix
185 /^a\x{00}b$/posix
197 /a\b(c/literal,posix
201 /a\b(c/literal,posix,dotall
204 /((a)(b)?(c))/posix
218 //posix
225 /(*LIMIT_HEAP=0)xx/posix
/third_party/vk-gl-cts/execserver/
DxsPosixTestProcess.hpp37 namespace posix namespace
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/
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 { module
56 mod posix { module
/third_party/node/deps/npm/node_modules/path-is-absolute/
Dindex.js3 function posix(path) { function
18 module.exports = process.platform === 'win32' ? win32 : posix;
19 module.exports.posix = posix;
/third_party/ltp/testcases/commands/nm/
Dnm01.sh27 EXPECT_PASS $NM -f posix -A "lib.a" \> nm.out
36 EXPECT_PASS $NM -f posix -A "dir/lib.a" \> nm.out
48 EXPECT_PASS $NM -f posix -g $TST_DATAROOT/f1 \> nm.out
60 EXPECT_PASS $NM -f posix -t o $TST_DATAROOT/f1 \> nm.out
85 EXPECT_PASS $NM -f posix $TST_DATAROOT/f1 \> nm_posix.out
/third_party/node/test/es-module/
Dtest-esm-path-posix.mjs3 import { posix } from 'path';
4 import pathPosix from 'path/posix';
6 assert.strictEqual(pathPosix, posix);
/third_party/node/benchmark/path/
Djoin-posix.js3 const { posix } = require('path');
21 posix.join(...copy);
23 posix.join(...args);
Dresolve-posix.js3 const { posix } = require('path');
24 posix.resolve(...copy);
26 posix.resolve(...args);
Drelative-posix.js3 const { posix } = require('path');
29 posix.relative(`${paths}${i}`, `${to}${i}`);
31 posix.relative(paths, to);
/third_party/node/deps/uv/
DMakefile.am387 uvinclude_HEADERS += include/uv/posix.h
390 src/unix/posix-poll.c \
400 uvinclude_HEADERS += include/uv/posix.h
406 src/unix/posix-hrtime.c \
407 src/unix/posix-poll.c \
434 src/unix/posix-hrtime.c
444 src/unix/posix-hrtime.c \
450 uvinclude_HEADERS += include/uv/posix.h
456 src/unix/posix-hrtime.c \
457 src/unix/posix-poll.c
[all …]
/third_party/libuv/
DMakefile.am387 uvinclude_HEADERS += include/uv/posix.h
390 src/unix/posix-poll.c \
400 uvinclude_HEADERS += include/uv/posix.h
406 src/unix/posix-hrtime.c \
407 src/unix/posix-poll.c \
434 src/unix/posix-hrtime.c
444 src/unix/posix-hrtime.c \
450 uvinclude_HEADERS += include/uv/posix.h
456 src/unix/posix-hrtime.c \
457 src/unix/posix-poll.c
[all …]
/third_party/python/Doc/library/
Dposix.rst1 :mod:`posix` --- The most common POSIX system calls
4 .. module:: posix
18 module provides a superset of the :mod:`posix` interface. On non-Unix operating
19 systems the :mod:`posix` module is not available, but a subset is always
21 *no* performance penalty in using it instead of :mod:`posix`. In addition,
68 :mod:`posix` defines the following data item:
92 :mod:`posix` module.

12345678910>>...14