Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OISF/libhtp
/ functions
Functions
1,613 in github.com/OISF/libhtp
⨍
Functions
1,613
◇
Types & classes
650
↓ 1 callers
Function
GetRandomSeedFromFlag
Returns a random seed in range [1, kMaxRandomSeed] based on the given --gtest_random_seed flag value.
test/gtest/gtest-all.cc:522
↓ 1 callers
Function
GetStatusFileDescriptor
Recreates the pipe and event handles from the provided parameters, signals the event, and returns a file descriptor wrapped around the pipe handle. Th
test/gtest/gtest-all.cc:7316
↓ 1 callers
Function
GetTestCase
Gets the i-th test case among all the test cases. i can range from 0 to total_test_case_count() - 1. If i is not in that range, returns NULL.
test/gtest/gtest-all.cc:963
↓ 1 callers
Method
GetTestCaseTypeId
Test case id to verify identity.
test/gtest/gtest.h:10393
↓ 1 callers
Function
GetThreadCount
Returns the number of threads running in the process, or 0 to indicate that we cannot detect it.
test/gtest/gtest-all.cc:7886
↓ 1 callers
Function
HasGoogleTestFlagPrefix
Determines whether a string has a prefix that Google Test uses for its flags, i.e., starts with GTEST_FLAG_PREFIX_ or GTEST_FLAG_PREFIX_DASH_. If Goog
test/gtest/gtest-all.cc:5954
↓ 1 callers
Function
InitDeathTestSubprocessControlInfo
test/gtest/gtest-all.cc:1130
↓ 1 callers
Function
InitGoogleTest
Initializes Google Test. This must be called before calling RUN_ALL_TESTS(). In particular, it parses a command line for the flags that Google Test
test/gtest/gtest-all.cc:6192
↓ 1 callers
Function
IsATTY
test/gtest/gtest.h:2617
↓ 1 callers
Method
IsAbsolutePath
Returns true if pathname describes an absolute path.
test/gtest/gtest-all.cc:7686
↓ 1 callers
Function
IsDigit
test/gtest/gtest.h:2579
↓ 1 callers
Function
IsDir
test/gtest/gtest.h:2642
↓ 1 callers
Function
IsPrintableAscii
Returns true if c is a printable ASCII character. We test the value of c directly instead of calling isprint(), which is buggy on Windows Mobile.
test/gtest/gtest-all.cc:8687
↓ 1 callers
Function
IsSubstringPred
test/gtest/gtest-all.cc:2535
↓ 1 callers
Function
IsUtf16SurrogatePair
Determines if the arguments constitute UTF-16 surrogate pair and thus should be combined into a single Unicode code point using CreateCodePointFromUtf
test/gtest/gtest-all.cc:2779
↓ 1 callers
Function
IsValidEscape
Returns true iff "\\c" is a supported escape sequence.
test/gtest/gtest-all.cc:7999
↓ 1 callers
Function
LLVMFuzzerTestOneInput
test/fuzz/fuzz_htp.c:128
↓ 1 callers
Function
LZMA_DECODE_REAL
htp/lzma/LzmaDec.c:219
↓ 1 callers
Method
Lock
Acquires this mutex.
test/gtest/gtest.h:2269
↓ 1 callers
Function
LogToStderr
test/gtest/gtest.h:1989
↓ 1 callers
Function
LzInWindow_Create
htp/lzma/LzFind.c:30
↓ 1 callers
Function
LzmaDec_Allocate
htp/lzma/LzmaDec.c:1165
↓ 1 callers
Function
LzmaDec_AllocateProbs
htp/lzma/LzmaDec.c:1156
↓ 1 callers
Function
LzmaDec_DecodeToBuf
htp/lzma/LzmaDec.c:1036
↓ 1 callers
Function
LzmaDec_InitDicAndState
htp/lzma/LzmaDec.c:867
↓ 1 callers
Function
MatchFinder_CheckAndMoveAndRead
htp/lzma/LzFind.c:122
↓ 1 callers
Function
MatchFinder_GetSubValue
htp/lzma/LzFind.c:345
↓ 1 callers
Function
MatchFinder_Init_3
htp/lzma/LzFind.c:321
↓ 1 callers
Function
MatchFinder_Init_HighHash
htp/lzma/LzFind.c:311
↓ 1 callers
Function
MatchFinder_Init_LowHash
htp/lzma/LzFind.c:301
↓ 1 callers
Function
MatchFinder_MoveBlock
htp/lzma/LzFind.c:98
↓ 1 callers
Function
MatchFinder_NeedMove
htp/lzma/LzFind.c:106
↓ 1 callers
Function
MatchFinder_Normalize
htp/lzma/LzFind.c:364
↓ 1 callers
Function
MatchFinder_Normalize3
htp/lzma/LzFind.c:350
↓ 1 callers
Function
MatchFinder_ReduceOffsets
htp/lzma/LzFind.c:51
↓ 1 callers
Function
MatchFinder_SetDefaultSettings
htp/lzma/LzFind.c:129
↓ 1 callers
Function
MatchRepetitionAndRegexAtHead
Matches a repeated regex atom followed by a valid simple regular expression. The regex atom is defined as c if escaped is false, or \c otherwise. re
test/gtest/gtest-all.cc:8097
↓ 1 callers
Method
OnEnvironmentsSetUpEnd
test/gtest/gtest-all.cc:4001
↓ 1 callers
Method
OnEnvironmentsSetUpStart
test/gtest/gtest-all.cc:4054
↓ 1 callers
Method
OnEnvironmentsTearDownEnd
test/gtest/gtest-all.cc:4008
↓ 1 callers
Method
OnEnvironmentsTearDownStart
test/gtest/gtest-all.cc:4126
↓ 1 callers
Method
OnTestCaseEnd
test/gtest/gtest-all.cc:4113
↓ 1 callers
Method
OnTestCaseStart
test/gtest/gtest-all.cc:4061
↓ 1 callers
Method
OnTestEnd
test/gtest/gtest-all.cc:4094
↓ 1 callers
Method
OnTestIterationEnd
test/gtest/gtest-all.cc:4158
↓ 1 callers
Method
OnTestIterationStart
Fired before each iteration of tests starts.
test/gtest/gtest-all.cc:4019
↓ 1 callers
Method
OnTestPartResult
Called after an assertion failure.
test/gtest/gtest-all.cc:4083
↓ 1 callers
Method
OnTestProgramEnd
test/gtest/gtest-all.cc:4654
↓ 1 callers
Method
OnTestProgramStart
test/gtest/gtest-all.cc:4650
↓ 1 callers
Method
OnTestStart
test/gtest/gtest-all.cc:4075
↓ 1 callers
Function
ParseGoogleTestFlagsOnly
Parses the command line for Google Test flags, without initializing other parts of Google Test.
test/gtest/gtest-all.cc:6146
↓ 1 callers
Function
ParseInternalRunDeathTestFlag
Returns a newly created InternalRunDeathTestFlag object with fields initialized from the GTEST_FLAG(internal_run_death_test) flag if the flag is speci
test/gtest/gtest-all.cc:7381
↓ 1 callers
Function
PartialMatch
test/gtest/gtest.h:1902
↓ 1 callers
Function
Passed
Returns true iff the unit test passed (i.e. all test cases passed).
test/gtest/gtest-all.cc:953
↓ 1 callers
Method
PopGTestTrace
Pops a trace from the per-thread Google Test trace stack. L < mutex_
test/gtest/gtest-all.cc:5236
↓ 1 callers
Method
PostFlagParsingInit
Performs initialization dependent upon flag values obtained in ParseGoogleTestFlagsOnly. Is called from InitGoogleTest after the call to ParseGoogleT
test/gtest/gtest-all.cc:5339
↓ 1 callers
Function
PrintAsNarrowStringLiteralTo
Prints a char c as if it's part of a string literal, escaping it when necessary; returns how c was formatted.
test/gtest/gtest-all.cc:8757
↓ 1 callers
Function
PrintBytesInObjectTo
Delegates to PrintBytesInObjectToImpl() to print the bytes in the given object. The delegation simplifies the implementation, which uses the << opera
test/gtest/gtest-all.cc:8664
↓ 1 callers
Function
PrintBytesInObjectToImpl
Prints the bytes in the given value to the given ostream.
test/gtest/gtest-all.cc:8632
↓ 1 callers
Function
PrintColorEncoded
Prints a string containing code-encoded text. The following escape sequences can be used in the string to control the text color: @@ prints a sin
test/gtest/gtest-all.cc:5974
↓ 1 callers
Function
PrintTestPartResult
Prints a TestPartResult.
test/gtest/gtest-all.cc:3832
↓ 1 callers
Function
PrintTo
test/gtest/gtest.h:9538
↓ 1 callers
Method
PushGTestTrace
Pushes a trace defined by SCOPED_TRACE() on to the per-thread Google Test trace stack. L < mutex_
test/gtest/gtest-all.cc:5229
↓ 1 callers
Function
RE
Constructs an RE from a string.
test/gtest/gtest.h:1878
↓ 1 callers
Method
RecordPropertyForCurrentTest
Creates and adds a property to the current TestResult. If a property matching the supplied value already exists, updates its value instead.
test/gtest/gtest-all.cc:5115
↓ 1 callers
Method
RemoveDirectoryName
Returns a copy of the FilePath with the directory part removed. Example: FilePath("path/to/file").RemoveDirectoryName() returns FilePath("file"). If t
test/gtest/gtest-all.cc:7576
↓ 1 callers
Method
RemoveExtension
Returns a copy of the FilePath with the case-insensitive extension removed. Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns FilePath(
test/gtest/gtest-all.cc:7546
↓ 1 callers
Function
ReportInvalidTestCaseType
test/gtest/gtest-all.cc:3549
↓ 1 callers
Method
ReportTestPartResult
Increments the test part result count and remembers the result. This method is from the TestPartResultReporterInterface interface.
test/gtest/gtest-all.cc:1882
↓ 1 callers
Method
Reset
test/test_hybrid.cpp:71
↓ 1 callers
Method
Run
test/gtest/gtest.h:2229
↓ 1 callers
Method
Run
Runs the test and updates the test result.
test/gtest/gtest-all.cc:3456
↓ 1 callers
Function
Set
test/gtest/gtest.h:3276
↓ 1 callers
Method
SetDefaultResultPrinter
Sets the default_result_printer attribute to the provided listener. The listener is also added to the listener list and previous default_result_printe
test/gtest/gtest-all.cc:4891
↓ 1 callers
Method
SetDefaultXmlGenerator
Sets the default_xml_generator attribute to the provided listener. The listener is also added to the listener list and previous default_xml_generator
test/gtest/gtest-all.cc:4907
↓ 1 callers
Method
SetUp
Sets up the test fixture. A sub-class may override this.
test/gtest/gtest-all.cc:3213
↓ 1 callers
Method
SetValue
Sets a new value, overriding the one supplied in the constructor.
test/gtest/gtest.h:17516
↓ 1 callers
Function
ShouldRunTestOnShard
Given the total number of shards, the shard index, and the test id, returns true iff the test should be run on this shard. The test id is some arbitra
test/gtest/gtest-all.cc:5670
↓ 1 callers
Function
ShouldUseColor
Returns true iff Google Test should use colors in the output.
test/gtest/gtest-all.cc:3889
↓ 1 callers
Function
Shuffle
test/gtest/gtest-all.cc:721
↓ 1 callers
Function
SkipSpaces
Skips to the first non-space char in str. Returns an empty string if str contains only whitespace characters.
test/gtest/gtest-all.cc:9050
↓ 1 callers
Function
SleepMilliseconds
Sleeps for (roughly) n milli-seconds. This function is only for testing Google Test's own constructs. Don't use it in user tests, either directly or
test/gtest/gtest.h:2133
↓ 1 callers
Function
SplitString
Splits a given string on a given delimiter, populating a given vector with the fields. GTEST_HAS_DEATH_TEST implies that we have ::std::string, so we
test/gtest/gtest-all.cc:7295
↓ 1 callers
Function
StackGrowsDown
test/gtest/gtest-all.cc:7142
↓ 1 callers
Function
StackLowerThanAddress
test/gtest/gtest-all.cc:7137
↓ 1 callers
Function
StrCaseCmp
test/gtest/gtest.h:2618
↓ 1 callers
Function
StrError
test/gtest/gtest.h:2700
↓ 1 callers
Method
TearDown
Tears down the test fixture. A sub-class may override this.
test/gtest/gtest-all.cc:3219
↓ 1 callers
Function
TestPartResult
C'tor. TestPartResult does NOT have a default constructor. Always use this constructor (with parameters) to create a TestPartResult object.
test/gtest/gtest.h:16717
↓ 1 callers
Function
TestPartResultTypeToString
Converts a TestPartResult::Type enum to human-friendly string representation. Both kNonFatalFailure and kFatalFailure are translated to "Failure", as
test/gtest/gtest-all.cc:3804
↓ 1 callers
Function
ToUpper
test/gtest/gtest.h:2598
↓ 1 callers
Function
UniversalPrintArray
test/gtest/gtest.h:9796
↓ 1 callers
Method
Unlock
Releases this mutex.
test/gtest/gtest.h:2275
↓ 1 callers
Function
ValidateRegex
Generates non-fatal failures and returns false if regex is invalid; otherwise returns true.
test/gtest/gtest-all.cc:8034
↓ 1 callers
Method
WaitForNotification
Blocks until the controller thread notifies. Must be called from a test thread.
test/gtest/gtest.h:2157
↓ 1 callers
Function
Write
test/gtest/gtest.h:2696
↓ 1 callers
Function
WriteToShardStatusFileIfNeeded
Reads the GTEST_SHARD_STATUS_FILE environment variable, and creates the file if the variable is present. If a file already exists at this location, th
test/gtest/gtest-all.cc:5585
↓ 1 callers
Function
ad_hoc_test_result
Returns the TestResult for the ad hoc test.
test/gtest/gtest-all.cc:983
↓ 1 callers
Function
bestfit_codepoint
* Convert a Unicode codepoint into a single-byte, using best-fit * mapping (as specified in the provided configuration structure). * * @param[in] c
htp/htp_util.c:940
↓ 1 callers
Function
bstr_add
htp/bstr.c:54
← previous
next →
501–600 of 1,613, ranked by callers