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
↓ 3 callers
Function
htp_tx_req_destroy_decompressors
htp/htp_transaction.c:833
↓ 3 callers
Function
htp_tx_res_destroy_decompressors
\internal * * Clean up decompressor(s). * * @param[in] tx */
htp/htp_transaction.c:823
↓ 3 callers
Function
htp_tx_res_set_status_line
htp/htp_transaction.c:694
↓ 3 callers
Function
htp_tx_state_response_complete
htp/htp_transaction.c:1188
↓ 3 callers
Function
htp_tx_state_response_line
htp/htp_transaction.c:728
↓ 3 callers
Function
htp_uri_free
htp/htp_util.c:2525
↓ 3 callers
Function
htp_urldecode_inplace_ex
htp/htp_util.c:1576
↓ 3 callers
Function
htp_urlenp_create
* Creates a new URLENCODED parser. * * @return New parser, or NULL on memory allocation failure. */
htp/htp_urlencoded.c:176
↓ 3 callers
Method
index
test/gtest/gtest.h:8184
↓ 3 callers
Method
pointer
test/gtest/gtest.h:2405
↓ 3 callers
Method
setFilename
($filename)
test/files/generate-gzip-tests.php:93
↓ 3 callers
Method
setFlags
($f)
test/files/generate-gzip-tests.php:117
↓ 3 callers
Function
test_is_boundary
* Checks if there's a chunk boundary at the given position. * * @param[in] test * @param[in] pos * @return Zero if there is no boundary, SERVER or
test/test.c:72
↓ 3 callers
Function
test_next_chunk
* Finds the next data chunk in the given test. * * @param[in] test * @return One if a chunk is found or zero if there are no more chunks in the tes
test/test.c:167
↓ 3 callers
Method
write_fd
test/gtest/gtest-all.cc:6546
↓ 2 callers
Function
Abort
test/gtest/gtest.h:2726
↓ 2 callers
Method
AddArgument
test/gtest/gtest-all.cc:7054
↓ 2 callers
Method
AddTestInfo
Adds a test to this test case. Will delete the test upon destruction of the TestCase object.
test/gtest/gtest-all.cc:3728
↓ 2 callers
Method
Advance
test/gtest/gtest.h:10142
↓ 2 callers
Method
AlmostEquals
Returns true iff this number is at most kMaxUlps ULP's away from rhs. In particular, this function: - returns false if either number is (or both are
test/gtest/gtest.h:7090
↓ 2 callers
Function
AlwaysTrue
test/gtest/gtest-all.cc:5837
↓ 2 callers
Method
Append
test/gtest/gtest-all.cc:4241
↓ 2 callers
Function
ArrayEq
test/gtest/gtest.h:7637
↓ 2 callers
Function
AtomMatchesChar
Returns true iff the given atom (specified by escaped and pattern) matches ch. The result is undefined if the atom is invalid.
test/gtest/gtest-all.cc:8005
↓ 2 callers
Function
CaptureStream
Starts capturing an output stream (stdout/stderr).
test/gtest/gtest-all.cc:8394
↓ 2 callers
Method
Clear
Clears the object.
test/gtest/gtest-all.cc:3149
↓ 2 callers
Function
Close
test/gtest/gtest.h:2699
↓ 2 callers
Method
Compare
Compares this with another String. Returns < 0 if this is less than rhs, 0 if this is equal to rhs, or > 0 if this is greater than rhs.
test/gtest/gtest-all.cc:2945
↓ 2 callers
Method
Current
test/gtest/gtest.h:10149
↓ 2 callers
Method
CurrentOsStackTraceExceptTop
Returns the current OS stack trace as a String. The maximum number of stack frames to be included is specified by the gtest_stack_trace_depth flag.
test/gtest/gtest-all.cc:2063
↓ 2 callers
Method
DirectoryExists
Returns true if pathname describes a directory in the file-system that exists.
test/gtest/gtest-all.cc:7644
↓ 2 callers
Function
Failed
Returns true iff the test case failed.
test/gtest/gtest.h:17819
↓ 2 callers
Function
FormatCxxExceptionMessage
Adds an "exception thrown" fatal failure to the current test.
test/gtest/gtest-all.cc:3336
↓ 2 callers
Function
FormatTestCaseCount
Formats the count of test cases.
test/gtest/gtest-all.cc:3796
↓ 2 callers
Function
GetCapturedStream
Stops capturing the output stream and returns the captured string.
test/gtest/gtest-all.cc:8403
↓ 2 callers
Method
GetGlobalTestPartResultReporter
Returns the global test part result reporter.
test/gtest/gtest-all.cc:1982
↓ 2 callers
Function
GetPrefixUntilComma
Returns the prefix of 'str' before the first comma in it; returns the entire string if it contains no comma.
test/gtest/gtest.h:7307
↓ 2 callers
Method
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:5012
↓ 2 callers
Method
GetTestInfo
Returns the i-th test among all the tests. i can range from 0 to total_test_count() - 1. If i is not in that range, returns NULL.
test/gtest/gtest-all.cc:3714
↓ 2 callers
Function
HRESULTFailureHelper
Helper function for IsHRESULT{SuccessFailure} predicates
test/gtest/gtest-all.cc:2641
↓ 2 callers
Function
HandleSehExceptionsInMethodIfSupported
test/gtest/gtest-all.cc:3375
↓ 2 callers
Function
Hc_GetMatchesSpec
(lenLimit > maxLen) */
htp/lzma/LzFind.c:388
↓ 2 callers
Function
InitGoogleTestImpl
test/gtest/gtest-all.cc:6158
↓ 2 callers
Function
IsAsciiDigit
Returns true iff ch belongs to the given classification. Unlike similar functions in <ctype.h>, these aren't affected by the current locale.
test/gtest/gtest-all.cc:7987
↓ 2 callers
Function
IsAsciiPunct
test/gtest/gtest-all.cc:7988
↓ 2 callers
Function
IsAsciiWhiteSpace
test/gtest/gtest-all.cc:7992
↓ 2 callers
Function
IsAsciiWordChar
test/gtest/gtest-all.cc:7993
↓ 2 callers
Method
IsDirectory
Returns true if FilePath ends with a path separator, which indicates that it is intended to represent a directory. Returns false otherwise. This does
test/gtest/gtest-all.cc:7721
↓ 2 callers
Function
IsRepeat
test/gtest/gtest-all.cc:7991
↓ 2 callers
Function
IsXDigit
test/gtest/gtest.h:2591
↓ 2 callers
Function
LzInWindow_Free
htp/lzma/LzFind.c:19
↓ 2 callers
Function
LzmaDec_AllocateProbs2
htp/lzma/LzmaDec.c:1141
↓ 2 callers
Function
LzmaDec_DecodeReal2
htp/lzma/LzmaDec.c:626
↓ 2 callers
Function
LzmaDec_DecodeToDic
htp/lzma/LzmaDec.c:889
↓ 2 callers
Function
LzmaDec_FreeDict
htp/lzma/LzmaDec.c:1102
↓ 2 callers
Function
LzmaDec_Init
htp/lzma/LzmaDec.c:882
↓ 2 callers
Function
LzmaDec_TryDummy
htp/lzma/LzmaDec.c:674
↓ 2 callers
Function
LzmaDec_WriteRem
htp/lzma/LzmaDec.c:590
↓ 2 callers
Function
LzmaProps_Decode
htp/lzma/LzmaDec.c:1114
↓ 2 callers
Function
MakeAndRegisterTestInfo
Creates a new TestInfo object and registers it with Google Test; returns the created object. Arguments: test_case_name: name of the test case name
test/gtest/gtest-all.cc:3533
↓ 2 callers
Function
MatchFinder_Free
htp/lzma/LzFind.c:164
↓ 2 callers
Function
MatchFinder_FreeThisClassMemory
htp/lzma/LzFind.c:158
↓ 2 callers
Function
MatchFinder_SetLimits
htp/lzma/LzFind.c:271
↓ 2 callers
Function
MatchRegexAnywhere
Returns true iff regex matches any substring of str. regex must be a valid simple regular expression, or the result is undefined. The algorithm is r
test/gtest/gtest-all.cc:8160
↓ 2 callers
Function
ParseGoogleTestFlagsOnlyImpl
test/gtest/gtest-all.cc:6076
↓ 2 callers
Function
PrintAsWideStringLiteralTo
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:8742
↓ 2 callers
Function
PrintFullTestCommentIfPresent
test/gtest/gtest-all.cc:3970
↓ 2 callers
Function
PrintStringTo
test/gtest/gtest-all.cc:8878
↓ 2 callers
Function
PrintTestPartResultToString
Prints a TestPartResult to a String.
test/gtest/gtest-all.cc:3822
↓ 2 callers
Function
PrintToString
test/gtest/gtest.h:9973
↓ 2 callers
Function
PrintWideStringTo
test/gtest/gtest-all.cc:8889
↓ 2 callers
Function
Read
test/gtest/gtest.h:2693
↓ 2 callers
Method
RecordProperty
Adds a test property to the list. If a property with the same key as the supplied property is already represented, the value of this test_property rep
test/gtest/gtest-all.cc:3118
↓ 2 callers
Method
RegisterTests
UnitTest class invokes this method to register tests in this test case test cases right before running tests in RUN_ALL_TESTS macro. This method shoul
test/gtest/gtest.h:10421
↓ 2 callers
Method
RemoveFileName
RemoveFileName returns the directory path with the filename removed. Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". If the Fil
test/gtest/gtest-all.cc:7587
↓ 2 callers
Method
SetGlobalTestPartResultReporter
Sets the global test part result reporter.
test/gtest/gtest-all.cc:1989
↓ 2 callers
Function
ShouldShard
Checks whether sharding is enabled by examining the relevant environment variable values. If the variables are present, but inconsistent (i.e., shard_
test/gtest/gtest-all.cc:5607
↓ 2 callers
Function
SkipComma
Skips to the first non-space char after the first comma in 'str'; returns NULL if no comma is found in 'str'.
test/gtest/gtest.h:7296
↓ 2 callers
Function
SkipMatchesSpec
htp/lzma/LzFind.c:522
↓ 2 callers
Function
Stat
test/gtest/gtest.h:2640
↓ 2 callers
Function
StrNCpy
test/gtest/gtest.h:2671
↓ 2 callers
Function
StreamWideCharsToMessage
Converts an array of wide chars to a narrow string using the UTF-8 encoding, and streams the result to the given Message object.
test/gtest/gtest-all.cc:2211
↓ 2 callers
Method
SuppressEventForwarding
test/gtest/gtest-all.cc:4924
↓ 2 callers
Function
Values
test/gtest/gtest.h:15528
↓ 2 callers
Function
WideStringToUtf8
Converts a wide string to a narrow string in UTF-8 encoding. The wide string is assumed to have the following encoding: UTF-16 if sizeof(wchar_t) == 2
test/gtest/gtest-all.cc:2808
↓ 2 callers
Function
bstr_begins_with
htp/bstr.c:114
↓ 2 callers
Function
bstr_builder_appendn
htp/bstr_builder.c:42
↓ 2 callers
Function
bstr_char_at
htp/bstr.c:172
↓ 2 callers
Function
bstr_cmp_mem
htp/bstr.c:226
↓ 2 callers
Function
bstr_cmp_mem_nocase
htp/bstr.c:230
↓ 2 callers
Function
bstr_rchr
htp/bstr.c:318
↓ 2 callers
Function
bstr_util_mem_index_of_mem
htp/bstr.c:493
↓ 2 callers
Function
bstr_util_mem_index_of_mem_nocase
htp/bstr.c:516
↓ 2 callers
Function
bstr_util_mem_trim
htp/bstr.c:570
↓ 2 callers
Function
bstr_util_memdup_to_c
htp/bstr.c:589
↓ 2 callers
Function
bstr_wrap_mem
htp/bstr.c:630
↓ 2 callers
Function
decode_u_encoding_params
* Decode a %u-encoded character, using best-fit mapping as necessary. Params version. * * @param[in] cfg * @param[in] tx * @param[in] data * @ret
htp/htp_util.c:1233
↓ 2 callers
Function
decode_u_encoding_path
* Decode a %u-encoded character, using best-fit mapping as necessary. Path version. * * @param[in] cfg * @param[in] tx * @param[in] data * @retur
htp/htp_util.c:1177
↓ 2 callers
Function
free_htp_uri_t
test/test_utils.cpp:228
↓ 2 callers
Function
free_stream_data
* Free stream data. * * @param[in] sd */
extras/htptest.c:113
← previous
next →
301–400 of 1,613, ranked by callers