/third_party/python/Lib/test/ |
D | test_posix.py | 10 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/ |
D | BUILD.gn | 145 "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/ |
D | test-path-normalize.js | 44 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 …]
|
D | test-path-extname.js | 55 [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.\\\\'), '.\\\\');
|
D | test-path-dirname.js | 9 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'), '.');
|
D | test-path-makelong.js | 54 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);
|
D | test-path-basename.js | 64 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}`),
|
D | test-path-zero-length-strings.js | 15 assert.strictEqual(path.posix.join(''), '.'); 16 assert.strictEqual(path.posix.join('', ''), '.'); 23 assert.strictEqual(path.posix.normalize(''), '.'); 28 assert.strictEqual(path.posix.isAbsolute(''), false);
|
D | test-path.js | 39 [path.posix, path.win32].forEach((namespace) => { 62 assert.strictEqual(path.posix.sep, '/'); 68 assert.strictEqual(path.posix.delimiter, ':'); 73 assert.strictEqual(path, path.posix);
|
D | test-path-isabsolute.js | 25 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/ |
D | shlex.py | 21 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/ |
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[2] == CHAR_LESS_THAN_SIGN || in convert_posix() [all …]
|
/third_party/pcre2/pcre2/testdata/ |
D | testinput18 | 6 #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
|
D | testoutput18 | 6 #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/ |
D | xsPosixTestProcess.hpp | 37 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/ |
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 { module 56 mod posix { module
|
/third_party/node/deps/npm/node_modules/path-is-absolute/ |
D | index.js | 3 function posix(path) { function 18 module.exports = process.platform === 'win32' ? win32 : posix; 19 module.exports.posix = posix;
|
/third_party/ltp/testcases/commands/nm/ |
D | nm01.sh | 27 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/ |
D | test-esm-path-posix.mjs | 3 import { posix } from 'path'; 4 import pathPosix from 'path/posix'; 6 assert.strictEqual(pathPosix, posix);
|
/third_party/node/benchmark/path/ |
D | join-posix.js | 3 const { posix } = require('path'); 21 posix.join(...copy); 23 posix.join(...args);
|
D | resolve-posix.js | 3 const { posix } = require('path'); 24 posix.resolve(...copy); 26 posix.resolve(...args);
|
D | relative-posix.js | 3 const { posix } = require('path'); 29 posix.relative(`${paths}${i}`, `${to}${i}`); 31 posix.relative(paths, to);
|
/third_party/node/deps/uv/ |
D | Makefile.am | 387 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/ |
D | Makefile.am | 387 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/ |
D | posix.rst | 1 :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.
|