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

1 2

  /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 107 char *Path);
117 char **Path);
121 char *Path,
136 char *Path);
140 char *Path,
147 char *Path);
185 * Path - Path with parent prefix
189 * DESCRIPTION: Returns the full pathname of a path with parent prefix
197 char *Path)
    [all...]
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/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 58 * Path - Path to object from starting node
75 const char *Path,
96 Info->RelativePathname = __UNCONST(Path);
106 AcpiUtGetNodeName (PrefixNode), Path));
111 PrefixNode, Path, Status);
124 PrefixNode, Path, AE_NOT_EXIST);
179 PrefixNode, Path, AE_TYPE);
183 Path, AcpiUtGetObjectTypeName (Info->ReturnObject),
uterror.c 212 * PrefixScope - Scope/Path that prefixes the internal path
213 * InternalPath - Name or path of the namespace node
264 /* Concatenate the prefix path and the internal path */
288 * InternalName - Name or path of the namespace node
321 /* Convert path to external format */
358 * PrefixNode - Prefix relative to the path
359 * Path - Path to the node (optional
    [all...]
utmisc.c 397 * Path - Additional path string to be appended.
398 * (NULL if no extra path)
410 const char *Path)
419 /* Only print the path if the appropriate debug level is enabled */
455 /* Extra path is used to append names like _STA, _INI, etc. */
457 if (Path)
459 AcpiOsPrintf (".%s", Path);
  /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/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...]
dsfield.c 69 char *Path,
88 * Path - Pathname of the region
103 char *Path,
121 AcpiDmAddOpToExternalList (Op, Path, ACPI_TYPE_REGION, 0, 0);
123 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ACPI_TYPE_REGION,
  /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/acpica/dist/compiler/
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...]
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...]
  /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,

Completed in 40 milliseconds

1 2