HomeSort by: relevance | last modified time | path
    Searched defs:Path (Results 1 - 25 of 97) sorted by relevancy

1 2 3 4

  /src/external/apache2/llvm/dist/llvm/lib/TextAPI/
TextAPIContext.h 25 std::string Path;
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerShmemWindows.cpp 24 std::string SharedMemoryRegion::Path(const char *Name) {
FuzzerShmemPosix.cpp 29 std::string SharedMemoryRegion::Path(const char *Name) {
52 int fd = open(Path(Name).c_str(), O_CREAT | O_RDWR, 0777);
68 int fd = open(Path(Name).c_str(), O_RDWR);
86 return 0 == unlink(Path(Name).c_str());
FuzzerIOPosix.cpp 28 bool IsFile(const std::string &Path) {
30 if (stat(Path.c_str(), &St))
35 static bool IsDirectory(const std::string &Path) {
37 if (stat(Path.c_str(), &St))
42 size_t FileSize(const std::string &Path) {
44 if (stat(Path.c_str(), &St))
49 std::string Basename(const std::string &Path) {
50 size_t Pos = Path.rfind(GetSeparator());
51 if (Pos == std::string::npos) return Path;
52 assert(Pos < Path.size())
    [all...]
  /src/sys/external/bsd/acpica/dist/dispatcher/
dswload.c 152 char *Path;
181 Path = AcpiPsGetNextNamestring (&WalkState->ParserState);
199 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType,
209 AcpiDmAddOpToExternalList (Op, Path, ACPI_TYPE_DEVICE, 0, 0);
210 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType,
217 ACPI_ERROR_NAMESPACE (WalkState->ScopeInfo, Path, Status);
352 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType,
387 ACPI_ERROR_NAMESPACE (WalkState->ScopeInfo, Path, Status);
410 Op->Named.Path = Path;
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/
FileMatchTrie.cpp 17 #include "llvm/Support/Path.h"
41 /// Each node has storage for up to one path and a map mapping a path segment to
49 /// An insert of a path
52 /// - If the node has a path 'p2' but no children, take the last path segment
58 /// An insert operation is linear in the number of a path's segments.
60 // We cannot put relative paths into the FileMatchTrie as then a path can be
61 // a postfix of another path, violating a core assumption of the trie.
62 if (llvm::sys::path::is_relative(NewPath)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Path.h 1 //===- llvm/Support/Path.h - Path Operating System Concept ------*- C++ -*-===//
9 // This file declares the llvm::sys::path namespace. It is designed after
11 // path class.
26 namespace path { namespace in namespace:llvm::sys
33 /// Path iterator.
36 /// \a path. The traversal order is as follows:
55 StringRef Path; ///< The entire path.
56 StringRef Component; ///< The current component. Not necessarily in Path
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/
PDBSymbolCompiland.cpp 18 #include "llvm/Support/Path.h"
29 return sys::path::filename(getSourceFileFullPath()).str();
35 // RecordedResult could be the basename, relative path or full path of the
40 // cmd (Path)\\FileName -> RecordedResult = (Path)\\FileName
56 if (sys::path::is_absolute(EnvSrc))
65 std::string Path = EnvWorkingDir + "\\" + EnvSrc;
66 std::replace(Path.begin(), Path.end(), '/', '\\')
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Basic/
Version.cpp 63 std::string Path = getClangRepositoryPath();
65 if (!Path.empty() || !Revision.empty()) {
67 if (!Path.empty())
68 OS << Path;
70 if (!Path.empty())
  /src/external/apache2/llvm/dist/llvm/lib/ToolDrivers/llvm-dlltool/
DlltoolDriver.cpp 20 #include "llvm/Support/Path.h"
56 // Opens a file. Path has to be resolved already.
57 static std::unique_ptr<MemoryBuffer> openFile(const Twine &Path) {
58 ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> MB = MemoryBuffer::getFile(Path);
61 llvm::errs() << "cannot open file " << Path << ": " << EC.message() << "\n";
149 std::string Path = std::string(Args.getLastArgValue(OPT_l));
180 if (!Path.empty() &&
181 writeImportLibrary(Def->OutputFile, Path, Def->Exports, Machine, true))
  /src/sys/external/bsd/acpica/dist/compiler/
aslopt.c 99 * TargetPath - External full path to the target node
100 * NewPath - Where the optimized path is returned
122 char *Path;
132 * name in the search path before the one we want, the nodes will
135 Path = &(((char *) TargetPath->Pointer)[
141 Status = AcpiNsLookup (&ScopeInfo, Path, ACPI_TYPE_ANY, ACPI_IMODE_EXECUTE,
152 * path that precludes the use of this optimization.
166 "NAMESEG: %-24s", Path));
171 strcpy (*NewPath, Path);
191 * CurrentPath - External full path to the current nod
    [all...]
aslload.c 409 char *Path;
538 Path = Op->Asl.Namepath;
539 if (!Path)
585 * We will mark every new node along the path as "External". This
622 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ACPI_TYPE_ANY,
630 Status = AcpiNsLookup (WalkState->ScopeInfo, Path,
787 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType,
1185 char *Path;
1245 Path = Arg->Asl.Namepath;
1246 if (!Path)
    [all...]
aslxref.c 310 char *Path;
511 Path = Op->Asl.Child->Asl.Value.String;
518 Path = Op->Asl.Child->Asl.Next->Asl.Value.String;
531 Path = NextOp->Asl.Value.String;
535 Path = Op->Asl.Value.String;
551 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType,
558 * We didn't find the name reference by path -- we can qualify this
576 else if (strlen (Path) == ACPI_NAMESEG_SIZE)
580 if (XfObjectExists (Path))
624 else if (Path[0] == AML_ROOT_PREFIX
    [all...]
  /src/sys/external/bsd/acpica/dist/namespace/
nsaccess.c 340 char *Path = Pathname;
423 Path = __UNCONST("");
443 if (*Path == (UINT8) AML_ROOT_PREFIX)
452 Path++;
455 "Path is absolute from root [%p]\n", ThisNode));
471 while (*Path == (UINT8) AML_PARENT_PREFIX)
481 Path++;
491 * the internal path for error message.
498 "%s: Path has too many parent prefixes (^)",
511 "Search scope is [%4.4s], path has %u carat(s)\n"
    [all...]
nsxfname.c 122 * Error for <null Parent + relative path>
138 /* Relative path with null prefix is disallowed */
163 * Buffer - Buffer for returned path
568 char *Path;
606 Path = AcpiPsGetNextNamestring (&ParserState);
639 Status = AcpiNsLookup (NULL, Path, ACPI_TYPE_METHOD, ACPI_IMODE_LOAD_PASS1,
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Pointer.cpp 77 llvm::SmallVector<APValue::LValuePathEntry, 5> Path;
107 // Build the path into the object.
111 Path.push_back(APValue::LValuePathEntry::ArrayIndex(Ptr.getIndex()));
117 // Create a path entry for the field.
120 Path.push_back(APValue::LValuePathEntry({BaseOrMember, IsVirtual}));
132 return APValue(Base, Offset, Path, IsOnePastEnd, IsNullPtr);
  /src/external/apache2/llvm/dist/clang/lib/DirectoryWatcher/mac/
DirectoryWatcher-mac.cpp 15 #include "llvm/Support/Path.h"
114 StringRef Path = ((const char **)EventPaths)[i];
125 Path == ctx->WatchedPath) {
136 llvm::sys::path::filename(Path));
139 if (!getFileStatus(Path).hasValue()) {
141 llvm::sys::path::filename(Path));
144 llvm::sys::path::filename(Path));
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
AVR.cpp 425 std::string Path = getDriver().SysRoot + PossiblePath.str();
427 if (llvm::sys::fs::is_directory(Path))
428 return Optional<std::string>(Path);
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
FrontendActions.cpp 29 #include "llvm/Support/Path.h"
77 SmallString<128> Path(Filename);
78 llvm::sys::path::replace_extension(Path,
79 NewSuffix + llvm::sys::path::extension(Path));
80 return std::string(Path.str());
87 SmallString<128> Path;
88 llvm::sys::fs::createTemporaryFile(llvm::sys::path::filename(Filename),
89 llvm::sys::path::extension(Filename).drop_front(), fd
    [all...]
  /src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/
LLJITWithThinLTOSummaries.cpp 14 // (2) Find the path of the module that defines "main".
57 // Path of the module summary index file.
81 for (const std::string &Path : ModulePaths) {
82 OS << " " << Path << "\n";
115 for (const std::string &Path : ModulePaths) {
116 OS << " " << Path << "\n";
132 // Lookup the a function in the ModuleSummaryIndex and return the path of the
156 // Parse the bitcode module from the given path into a ThreadSafeModule.
157 Expected<ThreadSafeModule> loadModule(StringRef Path,
159 outs() << "About to load module: " << Path << "\n"
    [all...]
  /src/sys/external/bsd/acpica/dist/common/
adwalk.c 374 char *Path;
419 NULL, &Path);
422 AcpiOsPrintf ("%s %p", Path, Op->Common.Node);
423 ACPI_FREE (Path);
510 NULL, &Path);
512 Op->Common.AmlOpName, Path);
513 ACPI_FREE (Path);
652 char *Path = NULL;
678 Path = Op->Named.Path;
    [all...]
  /src/sys/external/bsd/acpica/dist/parser/
psargs.c 194 /* Decode the path prefix character */
265 char *Path;
275 Path = AcpiPsGetNextNamestring (ParserState);
278 /* Null path case is allowed, just exit */
280 if (!Path)
282 Arg->Common.Value.Name = Path;
294 Status = AcpiNsLookup (WalkState->ScopeInfo, Path,
324 "Control Method invocation %4.4s - %p Desc %p Path=%p\n",
325 Node->Name.Ascii, Node, MethodDesc, Path));
336 NameOp->Common.Value.Name = Path;
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
profile_collector_test.cc 88 std::vector<int32_t> Path;
93 // Read the path first, until we find a sentinel 0.
98 Result.Path.push_back(F);
168 ASSERT_NE(Profile1.Path.size(), Profile2.Path.size());
169 auto &P1 = Profile1.Path.size() < Profile2.Path.size() ? Profile2 : Profile1;
170 auto &P2 = Profile1.Path.size() < Profile2.Path.size() ? Profile1 : Profile2;
173 ASSERT_EQ(P1.Path.size(), P1Expected.size())
    [all...]
  /src/external/apache2/llvm/dist/clang/examples/clang-interpreter/
main.cpp 31 #include "llvm/Support/Path.h"
129 std::string Path = GetExecutablePath(argv[0], MainAddr);
148 Driver TheDriver(Path, T.str(), Diags);
203 // Infer the builtin include path if unspecified.
  /src/external/apache2/llvm/dist/clang/include/clang/IndexSerialization/
SerializablePathCollection.h 46 /// Special root directory of a filesystem path.
55 StringPool::StringOffsetSize Path;
57 DirPath(RootDirKind Root, const StringPool::StringOffsetSize &Path)
58 : Root(Root), Path(Path) {}
112 /// Stores path to \p FE if it hasn't been stored yet.
117 /// Stores \p Path if it is non-empty.
119 /// \returns offset of \p Path value begin in buffer with stored paths.
120 StringPool::StringOffsetSize storePath(llvm::StringRef Path);
122 /// Stores \p dirStr path if it hasn't been stored yet
    [all...]

Completed in 52 milliseconds

1 2 3 4