Home
last modified time | relevance | path

Searched refs:posix (Results 26 - 50 of 207) sorted by relevance

123456789

/third_party/node/benchmark/path/
H A Dbasename-posix.js3 const { posix } = require('path');
31 posix.basename(i % 3 === 0 ? `${pathext}${i}` : pathext, ext);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A Dossource_posix.cpp16 // This file contains the posix specific functions
21 #error Trying to build a posix specific file in a non-posix build.
/third_party/googletest/googletest/test/
H A Dgtest_repeat_test.cc52 ::testing::internal::posix::Abort(); \
93 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST()
96 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST()
H A Dgoogletest-options-test.cc132 posix::ChDir("..");
139 posix::ChDir(original_working_dir_.string().c_str());
H A Dgoogletest-filepath-test.cc79 posix::ChDir(GTEST_PATH_SEP_);
81 posix::ChDir(original_dir.c_str());
501 posix::RmDir(testdata_path_.c_str());
508 posix::RmDir(testdata_path_.c_str());
512 FILE* f = posix::FOpen(filename, "w"); in CreateTextFile()
H A Dgoogletest-output-test_.cc54 namespace posix = ::testing::internal::posix;
1034 posix::FReopen("nul:", "w", stdout); in main()
1036 posix::FReopen("/dev/null", "w", stdout); in main()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/
H A DMakefile8 -I $(LITEOSTOPDIR)/compat/posix/src \
9 -I $(LITEOSTESTTOPDIR)/kernel/sample/posix/pthread
/third_party/node/test/parallel/
H A Dtest-path-parse-format.js115 checkParseFormat(path.posix, unixPaths);
118 checkErrors(path.posix);
120 checkFormat(path.posix, unixSpecialCaseFormatTests);
139 [ path.posix.parse,
153 const os = parse === path.win32.parse ? 'win32' : 'posix';
/third_party/googletest/googletest/src/
H A Dgtest-filepath.cc254 posix::StatStruct file_stat{}; in FileOrDirectoryExists()
255 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
281 posix::StatStruct file_stat{}; in DirectoryExists()
283 posix::Stat(path.c_str(), &file_stat) == 0 && posix::IsDir(file_stat); in DirectoryExists()
H A Dgtest-port.cc693 pattern_ = posix::StrDup(regex); in Init()
943 pattern_ = posix::StrDup(regex); in Init()
1023 posix::Abort();
1126 FILE* const file = posix::FOpen(filename_.c_str(), "r");
1132 posix::FClose(file);
1258 namespace posix {
1263 } // namespace posix
1331 const char* const string_value = posix::GetEnv(env_var.c_str());
1345 const char* const string_value = posix::GetEnv(env_var.c_str());
1374 const char* xml_output_file_env = posix
[all...]
H A Dgtest-death-test.cc294 FILE* parent = posix::FDOpen(flag->write_fd(), "w"); in DeathTestAbort()
302 posix::Abort(); in DeathTestAbort()
341 return errno == 0 ? "" : posix::StrError(errno); in GetLastErrnoDescription()
354 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError()
473 bytes_read = posix::Read(read_fd(), &flag, 1); in ReadAndInterpretStatusByte()
501 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Close(read_fd())); in ReadAndInterpretStatusByte()
519 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1)); in Abort()
851 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument()
858 args_.insert(args_.end() - 1, posix::StrDup(i->c_str())); in AddArguments()
1188 args_.insert(args_.end() - 1, posix in AddArgument()
[all...]
/third_party/node/deps/googletest/src/
H A Dgtest-filepath.cc258 posix::StatStruct file_stat{}; in FileOrDirectoryExists()
259 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
285 posix::StatStruct file_stat{}; in DirectoryExists()
287 posix::Stat(path.c_str(), &file_stat) == 0 && posix::IsDir(file_stat); in DirectoryExists()
H A Dgtest-port.cc1032 posix::Abort();
1151 FILE* const file = posix::FOpen(filename_.c_str(), "r");
1157 posix::FClose(file);
1283 namespace posix {
1288 } // namespace posix
1356 const char* const string_value = posix::GetEnv(env_var.c_str());
1370 const char* const string_value = posix::GetEnv(env_var.c_str());
1399 const char* xml_output_file_env = posix::GetEnv("XML_OUTPUT_FILE");
1413 const char* const value = posix::GetEnv(env_var.c_str());
/third_party/libunwind/libunwind/tests/
H A Drun-coredump-unwind18 nm -D "$binary" --format=posix --defined-only | awk '{ print $1 }' | sort > "$dynsyms"
20 nm "$debuginfo" --format=posix --defined-only | awk '{ if ($2 == "T" || $2 == "t") print $1 }' | sort > "$funcsyms"
/kernel/liteos_a/testsuites/kernel/
H A Dtest.mk157 TESTLIB_SUBDIRS += kernel/sample/posix
162 TESTLIB_SUBDIRS += kernel/sample/posix/mem
167 TESTLIB_SUBDIRS += kernel/sample/posix/mqueue
172 TESTLIB_SUBDIRS += kernel/sample/posix/mutex
177 TESTLIB_SUBDIRS += kernel/sample/posix/pthread
182 TESTLIB_SUBDIRS += kernel/sample/posix/sched
187 TESTLIB_SUBDIRS += kernel/sample/posix/sem
192 TESTLIB_SUBDIRS += kernel/sample/posix/swtmr
/third_party/mesa3d/src/gtest/src/
H A Dgtest-port.cc737 pattern_ = posix::StrDup(regex); in Init()
982 pattern_ = posix::StrDup(regex); in Init()
1061 posix::Abort();
1138 FILE* const file = posix::FOpen(filename_.c_str(), "r");
1144 posix::FClose(file);
1263 namespace posix {
1268 } // namespace posix
1336 const char* const string_value = posix::GetEnv(env_var.c_str());
1350 const char* const string_value = posix::GetEnv(env_var.c_str());
1379 const char* xml_output_file_env = posix
[all...]
H A Dgtest-death-test.cc292 FILE* parent = posix::FDOpen(flag->write_fd(), "w"); in DeathTestAbort()
300 posix::Abort(); in DeathTestAbort()
339 return errno == 0 ? "" : posix::StrError(errno); in GetLastErrnoDescription()
352 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError()
470 bytes_read = posix::Read(read_fd(), &flag, 1); in ReadAndInterpretStatusByte()
498 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Close(read_fd())); in ReadAndInterpretStatusByte()
518 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1)); in Abort()
851 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument()
859 args_.insert(args_.end() - 1, posix::StrDup(i->c_str())); in AddArguments()
1202 args_.insert(args_.end() - 1, posix in AddArgument()
[all...]
/third_party/toybox/toys/posix/
H A Dprintf.c36 static int handle_slash(char **esc_val, int posix) in handle_slash() argument
47 if (posix && *ptr=='0') ptr++; in handle_slash()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
H A Dtime_zone_info.cc334 PosixTimeZone posix; in ExtendTransitions()
335 if (!ParsePosixSpec(future_spec_, &posix)) return false; in ExtendTransitions()
339 if (!GetTransitionType(posix.std_offset, false, posix.std_abbr, &std_ti)) in ExtendTransitions()
342 if (posix.dst_abbr.empty()) { // std only in ExtendTransitions()
350 if (!GetTransitionType(posix.dst_offset, true, posix.dst_abbr, &dst_ti)) in ExtendTransitions()
372 auto dst_trans_off = TransOffset(leap_year, jan1_weekday, posix.dst_start); in ExtendTransitions()
373 auto std_trans_off = TransOffset(leap_year, jan1_weekday, posix.dst_end); in ExtendTransitions()
374 dst.unix_time = jan1_time + dst_trans_off - posix in ExtendTransitions()
[all...]
/third_party/glfw/src/
H A Dposix_time.h28 #define GLFW_POSIX_LIBRARY_TIMER_STATE _GLFWtimerPOSIX posix;
/third_party/mksh/
H A Djehanne.c29 #include <posix.h>
/third_party/python/Lib/test/
H A Dtest_shlex.py171 """Test data splitting with posix parser"""
295 """Test that punctuation_chars and posix behave correctly together."""
297 s = shlex.shlex('f >"abc"', posix=True, punctuation_chars=True)
299 s = shlex.shlex('f >\\"abc\\"', posix=True, punctuation_chars=True)
307 s = shlex.shlex("'')abc", posix=True, punctuation_chars=punct)
/kernel/liteos_a/compat/posix/
H A DMakefile36 LOCAL_INCLUDE := -I $(LITEOSTOPDIR)/compat/posix/src
/kernel/liteos_a/kernel/common/
H A DMakefile36 LOCAL_INCLUDE += -I $(LITEOSTOPDIR)/compat/posix/src \
/third_party/vk-gl-cts/execserver/
H A DxsPosixFileReader.hpp32 namespace posix namespace
55 } // posix

Completed in 20 milliseconds

123456789