/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...] |
FuzzerIOWindows.cpp | 27 static bool IsFile(const std::string &Path, const DWORD &FileAttributes) { 36 CreateFileA(Path.c_str(), 0, FILE_SHARE_READ, NULL, OPEN_EXISTING, 40 Printf("CreateFileA() failed for \"%s\" (Error code: %lu).\n", Path.c_str(), 48 Printf("GetFileType() failed for \"%s\" (Error code: %lu).\n", Path.c_str(), 63 bool IsFile(const std::string &Path) { 64 DWORD Att = GetFileAttributesA(Path.c_str()); 68 Path.c_str(), GetLastError()); 72 return IsFile(Path, Att); 75 std::string Basename(const std::string &Path) { 76 size_t Pos = Path.find_last_of("/\\") [all...] |
FuzzerUtilFuchsia.cpp | 384 std::string Path; 386 Path = Cmd.getFlagValue("artifact_prefix") + "/" + Cmd.getOutputFile(); 388 Path = Cmd.getOutputFile(); 389 FdOut = open(Path.c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0); 391 Printf("libFuzzer: failed to open %s: %s\n", Path.c_str(),
|
FuzzerLoop.cpp | 589 std::string Path = DirPlusFile(Options.OutputCorpus, Hash(U)); 590 WriteToFile(U, Path); 592 Printf("Written %zd bytes to %s\n", U.size(), Path.c_str()); 598 std::string Path = Options.ArtifactPrefix + Prefix + Hash(U); 600 Path = Options.ExactArtifactPath; // Overrides ArtifactPrefix. 601 WriteToFile(U, Path); 603 Options.ArtifactPrefix.c_str(), Path.c_str());
|
/src/sys/external/bsd/acpica/dist/dispatcher/ |
dswload.c | 260 char *Path; 289 Path = AcpiPsGetNextNamestring (&WalkState->ParserState); 307 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType, 317 AcpiDmAddOpToExternalList (Op, Path, ACPI_TYPE_DEVICE, 0, 0); 318 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType, 325 ACPI_ERROR_NAMESPACE (WalkState->ScopeInfo, Path, Status); 460 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType, 495 ACPI_ERROR_NAMESPACE (WalkState->ScopeInfo, Path, Status); 518 Op->Named.Path = Path; [all...] |
/src/sys/external/bsd/acpica/dist/compiler/ |
aslopt.c | 207 * TargetPath - External full path to the target node 208 * NewPath - Where the optimized path is returned 230 char *Path; 240 * name in the search path before the one we want, the nodes will 243 Path = &(((char *) TargetPath->Pointer)[ 249 Status = AcpiNsLookup (&ScopeInfo, Path, ACPI_TYPE_ANY, ACPI_IMODE_EXECUTE, 260 * path that precludes the use of this optimization. 274 "NAMESEG: %-24s", Path)); 279 strcpy (*NewPath, Path); 299 * CurrentPath - External full path to the current nod [all...] |
aslload.c | 517 char *Path; 646 Path = Op->Asl.Namepath; 647 if (!Path) 693 * We will mark every new node along the path as "External". This 730 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ACPI_TYPE_ANY, 738 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, 895 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType, 1293 char *Path; 1353 Path = Arg->Asl.Namepath; 1354 if (!Path) [all...] |
aslxref.c | 418 char *Path; 619 Path = Op->Asl.Child->Asl.Value.String; 626 Path = Op->Asl.Child->Asl.Next->Asl.Value.String; 639 Path = NextOp->Asl.Value.String; 643 Path = Op->Asl.Value.String; 659 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType, 666 * We didn't find the name reference by path -- we can qualify this 684 else if (strlen (Path) == ACPI_NAMESEG_SIZE) 688 if (XfObjectExists (Path)) 732 else if (Path[0] == AML_ROOT_PREFIX [all...] |
/src/sys/external/bsd/acpica/dist/namespace/ |
nsaccess.c | 448 char *Path = Pathname; 531 Path = __UNCONST(""); 551 if (*Path == (UINT8) AML_ROOT_PREFIX) 560 Path++; 563 "Path is absolute from root [%p]\n", ThisNode)); 579 while (*Path == (UINT8) AML_PARENT_PREFIX) 589 Path++; 599 * the internal path for error message. 606 "%s: Path has too many parent prefixes (^)", 619 "Search scope is [%4.4s], path has %u carat(s)\n" [all...] |
nsxfname.c | 230 * Error for <null Parent + relative path> 246 /* Relative path with null prefix is disallowed */ 271 * Buffer - Buffer for returned path 676 char *Path; 714 Path = AcpiPsGetNextNamestring (&ParserState); 747 Status = AcpiNsLookup (NULL, Path, ACPI_TYPE_METHOD, ACPI_IMODE_LOAD_PASS1,
|
/src/sys/external/bsd/acpica/dist/common/ |
adwalk.c | 482 char *Path; 527 NULL, &Path); 530 AcpiOsPrintf ("%s %p", Path, Op->Common.Node); 531 ACPI_FREE (Path); 618 NULL, &Path); 620 Op->Common.AmlOpName, Path); 621 ACPI_FREE (Path); 760 char *Path = NULL; 786 Path = Op->Named.Path; [all...] |
/src/sys/external/bsd/acpica/dist/parser/ |
psargs.c | 302 /* Decode the path prefix character */ 373 char *Path; 383 Path = AcpiPsGetNextNamestring (ParserState); 386 /* Null path case is allowed, just exit */ 388 if (!Path) 390 Arg->Common.Value.Name = Path; 402 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, 432 "Control Method invocation %4.4s - %p Desc %p Path=%p\n", 433 Node->Name.Ascii, Node, MethodDesc, Path)); 444 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/sys/external/bsd/compiler_rt/dist/lib/xray/ |
xray_profile_collector.cc | 148 // context a path is almost always represented from the leaf function in a call 155 // The Path in this record is the function id's from the leaf to the root of 157 PathArray Path; 166 // the path(s) and the data associated with the path. 189 Record->Path.Append(N->FId); 190 DCHECK(!Record->Path.empty()); 206 for (const auto FId : Record.Path) 289 // record size = path ids (4 bytes * number of ids + sentinel 4 bytes) 295 CumulativeSizes += 20 + (4 * Record.Path.size()) [all...] |
/src/sys/external/bsd/gnu-efi/dist/lib/ |
dpath.c | 12 MBR & Device Path functions 18 2014/04 B.Burette - updated device path text representation, conforming to 67 // Check for end of device path type 103 // Return size and start of device path instance 133 // to append a new instance to the complete device path by passing 141 // If there's only 1 path, just duplicate it 175 // Copy all device path instances 205 // Src2 is a signal device path node (without a terminator) that is 243 the resulting device path structure 258 // Build a file path [all...] |
/src/sys/external/bsd/acpica/dist/include/ |
aclocal.h | 1149 char *Path; 1487 char *Path; 1501 #define ACPI_EXT_INTERNAL_PATH_ALLOCATED 0x04 /* Deallocate internal path on completion */ 1509 char *Path;
|
actbl2.h | 736 UINT8 Path[]; 982 char DeviceName[]; /* Path of namespace object */ 4051 /* 1a: PCIe Endpoint path entry */
|