OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Unit
(Results
1 - 24
of
24
) sorted by relevancy
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerSHA1.h
29
std::string Hash(const
Unit
&U);
FuzzerUtil.h
20
void PrintHexArray(const
Unit
&U, const char *PrintAfter = "");
27
void PrintASCII(const
Unit
&U, const char *PrintAfter = "");
33
bool IsASCII(const
Unit
&U);
37
std::string Base64(const
Unit
&U);
FuzzerIO.h
21
Unit
FileToVector(const std::string &Path, size_t MaxSize = 0,
28
void WriteToFile(const
Unit
&U, const std::string &Path);
30
void ReadDirToVectorOfUnits(const char *Path, Vector<
Unit
> *V,
FuzzerInternal.h
41
void MinimizeCrashLoop(const
Unit
&U);
105
void ReportNewCoverage(InputInfo *II, const
Unit
&U);
107
void WriteToOutputCorpus(const
Unit
&U);
108
void WriteUnitToFileWithPrefix(const
Unit
&U, const char *Prefix);
110
void PrintStatusForNewUnit(const
Unit
&U, const char *Text);
120
uint8_t BaseSha1[kSHA1NumBytes]; // Checksum of the base
unit
.
FuzzerUtil.cpp
35
void Print(const
Unit
&v, const char *PrintAfter) {
56
void PrintASCII(const
Unit
&U, const char *PrintAfter) {
74
bool IsASCII(const
Unit
&U) { return IsASCII(U.data(), U.size()); }
82
bool ParseOneDictionaryEntry(const std::string &Str,
Unit
*U) {
128
bool ParseDictionaryFile(const std::string &Text, Vector<
Unit
> *Units) {
135
Unit
U;
155
std::string Base64(const
Unit
&U) {
FuzzerIO.cpp
33
Unit
FileToVector(const std::string &Path, size_t MaxSize, bool ExitOnError) {
48
Unit
Res(FileLen);
63
void WriteToFile(const
Unit
&U, const std::string &Path) {
71
void ReadDirToVectorOfUnits(const char *Path, Vector<
Unit
> *V,
FuzzerCorpus.h
29
Unit
U; // The actual input data.
88
const
Unit
&operator[] (size_t Idx) const { return Inputs[Idx]->U; }
89
void AddToCorpus(const
Unit
&U, size_t NumFeatures, bool MayDeleteFile,
120
void PrintUnit(const
Unit
&U) {
156
void Replace(InputInfo *II, const
Unit
&U) {
167
bool HasUnit(const
Unit
&U) { return Hashes.count(Hash(U)); }
175
// Returns an index of random
unit
from the corpus to mutate.
211
Unit
().swap(II.U);
271
// Must be called whenever the corpus or
unit
weights are changed.
FuzzerDictionary.h
110
// If successful, write the enty to
Unit
and returns true,
112
bool ParseOneDictionaryEntry(const std::string &Str,
Unit
*U);
115
bool ParseDictionaryFile(const std::string &Text, Vector<
Unit
> *Units);
FuzzerDefs.h
180
typedef Vector<uint8_t>
Unit
;
181
typedef Vector<
Unit
> UnitVector;
FuzzerLoop.cpp
186
Printf("; base
unit
: %s\n", Sha1ToString(BaseSha1).c_str());
295
Printf("ALARM: working on the last
Unit
for %zd seconds\n", Seconds);
417
Vector<
Unit
> AdditionalCorpus;
447
Printf("Slowest
unit
: %zd s:\n", TimeOfLongestUnitInSeconds);
448
WriteUnitToFileWithPrefix({Data, Data + Size}, "slow-
unit
-");
556
// We copy the contents of
Unit
into a separate heap buffer
584
void Fuzzer::WriteToOutputCorpus(const
Unit
&U) {
595
void Fuzzer::WriteUnitToFileWithPrefix(const
Unit
&U, const char *Prefix) {
602
Printf("artifact_prefix='%s'; Test
unit
written to %s\n",
608
void Fuzzer::PrintStatusForNewUnit(const
Unit
&U, const char *Text)
[
all
...]
FuzzerDriver.cpp
277
Unit
U = FileToVector(InputFilePath);
389
Unit
U = FileToVector(CurrentFilePath);
453
Unit
U = FileToVector(InputFilePath);
467
int AnalyzeDictionary(Fuzzer *F, const Vector<
Unit
>& Dict,
472
// Scores and usage count for each dictionary
unit
.
490
// Skip dictionary
unit
, if the testcase does not contain it.
496
// Replace all occurrences of dictionary
unit
in the testcase.
505
// Get coverage for testcase with masked occurrences of dictionary
unit
.
606
Vector<
Unit
> Dictionary;
688
const
Unit
tmp(SMR.GetByteArray(), SMR.GetByteArray() + Size)
[
all
...]
FuzzerSHA1.cpp
216
std::string Hash(const
Unit
&U) {
FuzzerMutate.cpp
79
const
Unit
&Other = (*Corpus)[Idx];
88
assert(NewSize <= MaxSize && "CustomCrossOver returned overisized
unit
");
427
const
Unit
&O = (*Corpus)[Idx];
446
assert(NewSize > 0 && "CrossOver returned empty
unit
");
447
assert(NewSize <= MaxSize && "CrossOver returned overisized
unit
");
/src/sys/external/bsd/acpica/dist/compiler/
dtfield.c
798
* RETURN: a table
unit
800
* DESCRIPTION: Create a table
unit
810
DT_TABLE_UNIT *
Unit
= (DT_TABLE_UNIT *) UtFieldCacheCalloc ();
813
Unit
->Value = Data;
814
Unit
->Line = Line;
815
Unit
->Column = Column;
816
return (
Unit
);
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/tests/
FuzzerUnittest.cpp
51
Unit
A({0, 1, 2}), B({5, 6, 7});
52
Unit
C;
53
Unit
Expected[] = {
90
Set<
Unit
> FoundUnits, ExpectedUnitsWitThisLength;
98
for (const
Unit
&U : Expected)
107
fuzzer::
Unit
U(A, A + sizeof(A));
531
Unit
U;
540
EXPECT_EQ(U,
Unit
({'a'}));
542
EXPECT_EQ(U,
Unit
({'a', 'b', 'c'}));
544
EXPECT_EQ(U,
Unit
({'a', 'b', 'c'}))
[
all
...]
/src/distrib/amiga/stand/
device-streams.README.md
16
Device: "scsi.device"
Unit
: 0 Capacity: 114473.4 Megs
37
at
unit
0 on device "scsi.device"
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
imx7d-zii-rmu2.dts
5
* RMU - Remote Modem
Unit
vf610-zii-ssmb-dtu.dts
7
* DTU - Digital Tapping
Unit
vf610-zii-ssmb-spu3.dts
7
* SPU - Seat Power
Unit
imx7d-zii-rpu2.dts
5
* RPU - Remote Peripheral
Unit
ste-nomadik-stn8815.dtsi
184
/* Power Management
Unit
*/
/src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
CMakeLists.txt
90
#
Unit
tests on Mac depend on Foundation.
125
# Main AddressSanitizer
unit
tests.
129
# AddressSanitizer
unit
tests with dynamic runtime (on platforms where it's
306
# Add
unit
tests to the test suite.
/src/common/dist/zlib/contrib/delphi/
ZLib.pas
4
{ ZLIB Data Compression Interface
Unit
}
12
unit
ZLib;
/src/sys/dev/ic/
mpt_mpilib.h
861
* Added Manufacturing pages, IO
Unit
Page 2, SCSI SPI
869
* Io
Unit
Page 2 size is fixed at 4 adapters and some
893
* Added IO
Unit
Page 3.
922
* Added structures for Manufacturing Page 4, IO
Unit
1191
* IO
Unit
Config Pages
1213
/* IO
Unit
Page 1 Flags defines */
3044
U8
Unit
; /* 01h */
4053
/* SPI L_Q information
unit
*/
4059
/* SPI command information
unit
*/
Completed in 28 milliseconds
Indexes created Tue Oct 14 15:09:51 GMT 2025