/external/python/cpython3/Lib/test/ |
D | test_posix.py | 7 posix = support.import_module('posix') variable 27 if not hasattr(posix, 'sched_getscheduler'): 30 posix.sched_getscheduler(0) 65 posix_func = getattr(posix, name, None) 70 @unittest.skipUnless(hasattr(posix, 'getresuid'), 73 user_ids = posix.getresuid() 78 @unittest.skipUnless(hasattr(posix, 'getresgid'), 81 group_ids = posix.getresgid() 86 @unittest.skipUnless(hasattr(posix, 'setresuid'), 89 current_user_ids = posix.getresuid() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_posix.py | 6 posix = test_support.import_module('posix') variable 51 posix_func = getattr(posix, name, None) 56 @unittest.skipUnless(hasattr(posix, 'getresuid'), 59 user_ids = posix.getresuid() 64 @unittest.skipUnless(hasattr(posix, 'getresgid'), 67 group_ids = posix.getresgid() 72 @unittest.skipUnless(hasattr(posix, 'setresuid'), 75 current_user_ids = posix.getresuid() 76 self.assertIsNone(posix.setresuid(*current_user_ids)) 78 self.assertIsNone(posix.setresuid(-1, -1, -1)) [all …]
|
/external/toybox/ |
D | Android.bp | 169 "toys/posix/basename.c", 170 "toys/posix/cal.c", 171 "toys/posix/cat.c", 172 "toys/posix/chgrp.c", 173 "toys/posix/chmod.c", 174 "toys/posix/cksum.c", 175 "toys/posix/cmp.c", 176 "toys/posix/comm.c", 177 "toys/posix/cp.c", 178 "toys/posix/cpio.c", [all …]
|
/external/python/cpython2/Lib/ |
D | shlex.py | 23 def __init__(self, instream=None, infile=None, posix=False): argument 32 self.posix = posix 33 if posix: 40 if self.posix: 140 if self.token or (self.posix and quoted): 147 elif self.posix and nextchar in self.escape: 154 if not self.posix: 162 if self.token or (self.posix and quoted): 174 if not self.posix: 180 elif self.posix and nextchar in self.escape and \ [all …]
|
D | posixfile.py | 100 import posix 102 if not hasattr(posix, 'fdopen'): 105 return posix.fdopen(posix.dup(self._file_.fileno()), self._file_.mode) 108 import posix 110 if not hasattr(posix, 'fdopen'): 113 posix.dup2(self._file_.fileno(), fd) 114 return posix.fdopen(fd, self._file_.mode)
|
/external/python/cpython3/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: 152 if self.token or (self.posix and quoted): 159 elif self.posix and nextchar in self.escape: 169 if not self.posix: 177 if self.token or (self.posix and quoted): 189 if not self.posix: 195 elif (self.posix and nextchar in self.escape and self.state [all …]
|
/external/pcre/dist2/src/ |
D | pcre2_convert.c | 130 PCRE2_SPTR posix = pattern; in convert_posix() local 168 c = *posix; in convert_posix() 170 GETCHARLENTEST(c, posix, clength); in convert_posix() 172 posix += clength; in convert_posix() 198 *posix == CHAR_RIGHT_SQUARE_BRACKET) in convert_posix() 202 posix++; in convert_posix() 219 memcpy(p, posix - clength, CU2BYTES(clength)); in convert_posix() 237 if (posix[0] == CHAR_LEFT_SQUARE_BRACKET && in convert_posix() 238 posix[1] == CHAR_COLON && in convert_posix() 239 (posix[2] == CHAR_LESS_THAN_SIGN || in convert_posix() [all …]
|
/external/deqp/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;
|
/external/pcre/dist2/testdata/ |
D | testinput18 | 6 #pattern posix 116 /^d(e)$/posix 123 /^a\x{00}b$/posix 132 /a\b(c/literal,posix 135 /a\b(c/literal,posix,dotall 137 /((a)(b)?(c))/posix
|
D | testoutput18 | 6 #pattern posix 178 /^d(e)$/posix 191 /^a\x{00}b$/posix 203 /a\b(c/literal,posix 207 /a\b(c/literal,posix,dotall 210 /((a)(b)?(c))/posix
|
/external/ltp/testcases/commands/nm/ |
D | nm01 | 43 EXPECT_PASS $NM -f posix -A "lib.a" \> nm.out 52 EXPECT_PASS $NM -f posix -A "dir/lib.a" \> nm.out 64 EXPECT_PASS $NM -f posix -g $TST_DATAROOT/f1 \> nm.out 76 EXPECT_PASS $NM -f posix -t o $TST_DATAROOT/f1 \> nm.out 101 EXPECT_PASS $NM -f posix $TST_DATAROOT/f1 \> nm_posix.out
|
/external/python/cpython2/Lib/plat-irix6/ |
D | cdplayer.py | 41 import posix 42 f = open(posix.environ['HOME'] + '/' + cdplayerrc, 'r') 70 import posix 71 filename = posix.environ['HOME'] + '/' + cdplayerrc 91 posix.rename(filename + '.new', filename)
|
/external/python/cpython2/Lib/plat-irix5/ |
D | cdplayer.py | 41 import posix 42 f = open(posix.environ['HOME'] + '/' + cdplayerrc, 'r') 70 import posix 71 filename = posix.environ['HOME'] + '/' + cdplayerrc 91 posix.rename(filename + '.new', filename)
|
/external/tensorflow/tensorflow/contrib/makefile/ |
D | proto_text_cc_files.txt | 49 tensorflow/core/platform/posix/env.cc 50 tensorflow/core/platform/posix/env_time.cc 51 tensorflow/core/platform/posix/error.cc 52 tensorflow/core/platform/posix/load_library.cc 53 tensorflow/core/platform/posix/port.cc 54 tensorflow/core/platform/posix/posix_file_system.cc
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/ |
D | debuglineinfo-path.ll | 15 ;POSIX_A: /absolute/posix/path{{[\/]}}posix.c 18 ;POSIX_R: /ABSOLUTE/CU/PATH{{[\/]}}relative/posix/path{{[\/]}}posix2.c 54 !31 = !DIFile(filename: "posix.c", directory: "/absolute/posix/path") 65 !41 = !DIFile(filename: "posix2.c", directory: "relative/posix/path")
|
/external/googletest/googletest/test/ |
D | gtest_premature_exit_test.cc | 40 using ::testing::internal::posix::GetEnv; 41 using ::testing::internal::posix::Stat; 42 using ::testing::internal::posix::StatStruct;
|
/external/python/cpython3/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.
|
/external/python/cpython2/Doc/library/ |
D | posix.rst | 1 :mod:`posix` --- The most common POSIX system calls 4 .. module:: posix 17 module provides a superset of the :mod:`posix` interface. On non-Unix operating 18 systems the :mod:`posix` module is not available, but a subset is always 20 *no* performance penalty in using it instead of :mod:`posix`. In addition, 68 :mod:`posix` defines the following data item: 87 this is recommended over direct access to the :mod:`posix` module.
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-port.cc | 146 pattern_ = posix::StrDup(regex); in Init() 395 pattern_ = posix::StrDup(regex); in Init() 475 posix::Abort(); in ~GTestLog() 538 FILE* const file = posix::FOpen(filename_.c_str(), "r"); in GetCapturedString() 540 posix::FClose(file); in GetCapturedString() 643 namespace posix { namespace 713 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() 723 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() 745 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
D | gtest-port.cc | 146 pattern_ = posix::StrDup(regex); in Init() 395 pattern_ = posix::StrDup(regex); in Init() 475 posix::Abort(); in ~GTestLog() 534 FILE* const file = posix::FOpen(filename_.c_str(), "r"); in GetCapturedString() 536 posix::FClose(file); in GetCapturedString() 639 namespace posix { namespace 709 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() 719 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() 741 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
|
/external/pcre/dist2/doc/ |
D | pcre2-config.txt | 11 [--libs8] [--libs16] [--libs32] [--libs-posix] 12 [--cflags] [--cflags-posix] 51 --libs-posix 54 (-lpcre2-posix -lpcre2-8 on many systems). 60 --cflags-posix
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-port.cc | 171 pattern_ = posix::StrDup(regex); in Init() 420 pattern_ = posix::StrDup(regex); in Init() 500 posix::Abort(); in ~GTestLog() 563 FILE* const file = posix::FOpen(filename_.c_str(), "r"); in GetCapturedString() 565 posix::FClose(file); in GetCapturedString() 680 namespace posix { namespace 750 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() 760 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() 782 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
|
D | gtest-filepath.cc | 209 posix::StatStruct file_stat; in FileOrDirectoryExists() 210 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 236 posix::StatStruct file_stat; in DirectoryExists() 237 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 238 posix::IsDir(file_stat); in DirectoryExists()
|
/external/pcre/dist2/ |
D | pcre2-config.in | 77 --cflags-posix) 87 --libs-posix) 89 echo $libS$libR -lpcre2-posix -lpcre2-8
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
D | gtest-filepath.cc | 216 posix::StatStruct file_stat; in FileOrDirectoryExists() 217 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 243 posix::StatStruct file_stat; in DirectoryExists() 244 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 245 posix::IsDir(file_stat); in DirectoryExists()
|