/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
FuzzerIO.h | 19 long GetEpoch(const std::string &Path); 21 Unit FileToVector(const std::string &Path, size_t MaxSize = 0, 24 std::string FileToString(const std::string &Path); 26 void CopyFileToErr(const std::string &Path); 28 void WriteToFile(const Unit &U, const std::string &Path); 30 void ReadDirToVectorOfUnits(const char *Path, Vector<Unit> *V, 40 // Returns path to a TmpDir. 55 bool IsFile(const std::string &Path); 56 size_t FileSize(const std::string &Path); 71 std::string Basename(const std::string &Path); [all...] |
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...] |
FuzzerIO.cpp | 26 long GetEpoch(const std::string &Path) { 28 if (stat(Path.c_str(), &St)) 33 Unit FileToVector(const std::string &Path, size_t MaxSize, bool ExitOnError) { 34 std::ifstream T(Path, std::ios::binary); 36 Printf("No such directory: %s; exiting\n", Path.c_str()); 53 std::string FileToString(const std::string &Path) { 54 std::ifstream T(Path, std::ios::binary); 59 void CopyFileToErr(const std::string &Path) { 60 Printf("%s", FileToString(Path).c_str()); 63 void WriteToFile(const Unit &U, const std::string &Path) { [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...] |
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());
|
FuzzerShmemWindows.cpp | 24 std::string SharedMemoryRegion::Path(const char *Name) {
|
FuzzerShmem.h | 55 std::string Path(const char *Name);
|
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(),
|
/src/sys/external/bsd/acpica/dist/common/ |
dmextern.c | 215 char *Path); 225 char **Path); 229 char *Path, 244 char *Path); 248 char *Path, 255 char *Path); 293 * Path - Path with parent prefix 297 * DESCRIPTION: Returns the full pathname of a path with parent prefix 305 char *Path) [all...] |
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/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/acpica/dist/utilities/ |
uteval.c | 166 * Path - Path to object from starting node 183 const char *Path, 204 Info->RelativePathname = __UNCONST(Path); 214 AcpiUtGetNodeName (PrefixNode), Path)); 219 PrefixNode, Path, Status); 232 PrefixNode, Path, AE_NOT_EXIST); 287 PrefixNode, Path, AE_TYPE); 291 Path, AcpiUtGetObjectTypeName (Info->ReturnObject),
|
uterror.c | 320 * PrefixScope - Scope/Path that prefixes the internal path 321 * InternalPath - Name or path of the namespace node 372 /* Concatenate the prefix path and the internal path */ 396 * InternalName - Name or path of the namespace node 429 /* Convert path to external format */ 466 * PrefixNode - Prefix relative to the path 467 * Path - Path to the node (optional [all...] |
utmisc.c | 505 * Path - Additional path string to be appended. 506 * (NULL if no extra path) 518 const char *Path) 527 /* Only print the path if the appropriate debug level is enabled */ 563 /* Extra path is used to append names like _STA, _INI, etc. */ 565 if (Path) 567 AcpiOsPrintf (".%s", Path);
|
/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/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/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/acpica/dist/compiler/ |
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...] |
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...] |
/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/gnu-efi/dist/inc/ |
efishell.h | 175 IN CONST CHAR16 *Path 200 IN CONST EFI_DEVICE_PATH_PROTOCOL *Path 268 IN CHAR16 *Path,
|
/src/usr.sbin/sysinst/ |
msg.entropy.en | 88 {Path/file} 94 {Random data file path} 100 {Select a server, a share and the file path to load the $0.} 125 {Path and filename}
|