/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/python/cpython3/Lib/test/ |
D | test_posix.py | 7 posix = support.import_module('posix') variable 29 if not hasattr(posix, 'sched_getscheduler'): 32 posix.sched_getscheduler(0) 67 posix_func = getattr(posix, name, None) 72 @unittest.skipUnless(hasattr(posix, 'getresuid'), 75 user_ids = posix.getresuid() 80 @unittest.skipUnless(hasattr(posix, 'getresgid'), 83 group_ids = posix.getresgid() 88 @unittest.skipUnless(hasattr(posix, 'setresuid'), 91 current_user_ids = posix.getresuid() [all …]
|
/external/toybox/ |
D | Android.bp | 91 "toys/posix/basename.c", 92 "toys/posix/cat.c", 93 "toys/posix/chmod.c", 94 "toys/posix/cmp.c", 95 "toys/posix/comm.c", 96 "toys/posix/cp.c", 97 "toys/posix/cut.c", 98 "toys/posix/date.c", 99 "toys/posix/dirname.c", 100 "toys/posix/du.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: 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 …]
|
/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/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/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
|
/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/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/fmtlib/test/ |
D | CMakeLists.txt | 115 add_fmt_executable(posix-mock-test 116 posix-mock-test.cc ../src/format.cc ${TEST_MAIN_SRC}) 118 posix-mock-test PRIVATE ${PROJECT_SOURCE_DIR}/include) 119 target_link_libraries(posix-mock-test gmock) 120 target_include_directories(posix-mock-test SYSTEM PUBLIC gtest gmock) 122 target_compile_options(posix-mock-test PRIVATE ${PEDANTIC_COMPILE_FLAGS}) 125 target_compile_definitions(posix-mock-test PRIVATE FMT_LOCALE) 127 add_test(NAME posix-mock-test COMMAND posix-mock-test) 128 add_fmt_test(posix-test)
|
/external/mesa3d/src/freedreno/decode/scripts/ |
D | analyze.lua | 13 local posix = require "posix" 48 testname = posix.basename(name) 49 gpuname = posix.basename(posix.dirname(name))
|
/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/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/pcre/dist2/ |
D | pcre2-config.in | 77 --cflags-posix) 87 --libs-posix) 89 echo $libS$libR -lpcre2-posix -lpcre2-8
|
/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()
|
D | gtest-filepath.cc | 207 posix::StatStruct file_stat; in FileOrDirectoryExists() 208 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 234 posix::StatStruct file_stat; in DirectoryExists() 235 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 236 posix::IsDir(file_stat); in DirectoryExists()
|
/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()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-filepath.cc | 210 posix::StatStruct file_stat; in FileOrDirectoryExists() 211 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 237 posix::StatStruct file_stat; in DirectoryExists() 239 posix::Stat(path.c_str(), &file_stat) == 0 && posix::IsDir(file_stat); in DirectoryExists()
|