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
↓ 8 callers
Function
htp_config_set_path_separators_decode
htp/htp_config.c:809
↓ 8 callers
Function
htp_config_set_utf8_convert_bestfit
htp/htp_config.c:857
↓ 8 callers
Function
htp_connp_req_clear_buffer
* Clears buffered inbound data and resets the consumer position to the reader position. * * @param[in] connp */
htp/htp_request.c:272
↓ 8 callers
Function
htp_connp_res_clear_buffer
* Clears buffered outbound data and resets the consumer position to the reader position. * * @param[in] connp */
htp/htp_response.c:273
↓ 8 callers
Function
htp_is_text
* Is character a text character? * * @param[in] c * @return 0 or 1 */
htp/htp_util.c:108
↓ 8 callers
Function
htp_is_token
* Is character a token character? * * @param[in] c * @return 0 or 1 */
htp/htp_util.c:120
↓ 8 callers
Function
htp_mpartp_get_multipart
htp/htp_multipart.c:61
↓ 8 callers
Function
htp_parse_content_length
* Parses Content-Length string (positive decimal number). * White space is allowed before and after the number. * * @param[in] b * @return Content
htp/htp_util.c:266
↓ 8 callers
Function
htp_parse_ct_header
htp/htp_util.c:2445
↓ 8 callers
Function
htp_tx_req_process_body_data
htp/htp_transaction.c:593
↓ 8 callers
Function
htp_tx_set_user_data
htp/htp_transaction.c:239
↓ 8 callers
Function
htp_tx_state_request_headers
htp/htp_transaction.c:1098
↓ 8 callers
Function
htp_urlenp_finalize
* Finalizes parsing, forcing the parser to convert any outstanding * data into parameters. This method should be invoked at the end * of a parsing o
htp/htp_urlencoded.c:238
↓ 8 callers
Function
x2c
* Convert two input bytes, pointed to by the pointer parameter, * into a single byte by assuming the input consists of hexadecimal * characters. Thi
htp/htp_util.c:922
↓ 7 callers
Function
BoolFromGTestEnv
Reads and returns the Boolean environment variable corresponding to the given flag; if it's not set, returns default_value. The value is considered t
test/gtest/gtest-all.cc:8509
↓ 7 callers
Function
ForEach
test/gtest/gtest-all.cc:684
↓ 7 callers
Function
GetEnv
test/gtest/gtest.h:2702
↓ 7 callers
Function
GetTimeInMillis
Returns the current time in milliseconds.
test/gtest/gtest-all.cc:2069
↓ 7 callers
Function
StringStreamToString
Converts the buffer in a stringstream to a String, converting NUL bytes to "\\0" along the way.
test/gtest/gtest-all.cc:3039
↓ 7 callers
Method
UponLeavingGTest
L < mutex_
test/gtest/gtest-all.cc:4844
↓ 7 callers
Function
bstr_add_c_noex
htp/bstr.c:62
↓ 7 callers
Function
bstr_builder_create
htp/bstr_builder.c:70
↓ 7 callers
Function
bstr_cmp_nocase
htp/bstr.c:234
↓ 7 callers
Function
bstr_expand
htp/bstr.c:266
↓ 7 callers
Function
fprint_bstr
* */
htp/htp_util.c:2002
↓ 7 callers
Function
length
Returns the length of the encapsulated string, or 0 if the string is NULL.
test/gtest/gtest.h:3120
↓ 7 callers
Method
os_stack_trace_getter
Returns the current OS stack trace getter if it is not NULL; otherwise, creates an OsStackTraceGetter, makes it the current getter, and returns it.
test/gtest/gtest-all.cc:5771
↓ 7 callers
Function
strlcat
* Appends src to string dst of size siz (unlike strncat, siz is the * full size of dst, not space left). At most siz-1 characters * will be copied.
htp/strlcat.c:50
↓ 7 callers
Function
test_destroy
* Destroys a test. * * @param[in] test */
test/test.c:56
↓ 6 callers
Function
Abort
test/gtest/gtest-all.cc:8442
↓ 6 callers
Function
ChopLowBits
Chops off the n lowest bits from a bit pattern. Returns the n lowest bits. As a side effect, the original bit pattern will be shifted to the right b
test/gtest/gtest-all.cc:2725
↓ 6 callers
Function
FormatFileLocation
Formats a source file path and a line number as they would appear in an error message from the compiler used to compile this code.
test/gtest/gtest-all.cc:8233
↓ 6 callers
Function
FormatRegexSyntaxError
Helper function used by ValidateRegex() to format error messages.
test/gtest/gtest-all.cc:8027
↓ 6 callers
Function
IsInSet
Returns true iff ch appears anywhere in str (excluding the terminating '\0' character).
test/gtest/gtest-all.cc:7980
↓ 6 callers
Function
IsPathSeparator
Returns whether the given character is a valid path separator.
test/gtest/gtest-all.cc:7519
↓ 6 callers
Function
ParseStringFlag
Parses a string for a string flag, in the form of "--flag=value". On success, stores the value of the flag in *value, and returns true. On failure,
test/gtest/gtest-all.cc:5936
↓ 6 callers
Method
Reset
test/gtest/gtest-all.cc:1348
↓ 6 callers
Function
SkipPrefix
If *pstr starts with the given prefix, modifies *pstr to be right past the prefix and returns true; otherwise leaves *pstr unchanged and returns false
test/gtest/gtest-all.cc:5850
↓ 6 callers
Function
UniversalPrint
test/gtest/gtest.h:9881
↓ 6 callers
Function
bstr_add_mem
htp/bstr.c:66
↓ 6 callers
Function
bstr_add_mem_noex
htp/bstr.c:81
↓ 6 callers
Function
bstr_to_lowercase
htp/bstr.c:334
↓ 6 callers
Function
bstr_util_cmp_mem_nocase
htp/bstr.c:374
↓ 6 callers
Method
failed_test_count
Gets the number of failed tests.
test/gtest/gtest-all.cc:2034
↓ 6 callers
Function
htp_config_set_path_separators_compress
htp/htp_config.c:821
↓ 6 callers
Function
htp_connp_is_line_folded
* Determines if the given line is a continuation (of some previous line). * * @param[in] data * @param[in] len * @return 0 or 1 for false and tru
htp/htp_util.c:473
↓ 6 callers
Function
htp_connp_req_consolidate_data
* Returns to the caller the memory region that should be processed next. This function * hides away the buffering process from the rest of the code,
htp/htp_request.c:248
↓ 6 callers
Function
htp_connp_req_data_consumed
* Returns how many bytes from the current data chunks were consumed so far. * * @param[in] connp * @return The number of bytes consumed. */
htp/htp_request.c:981
↓ 6 callers
Function
htp_connp_res_data_consumed
htp/htp_response.c:1148
↓ 6 callers
Function
htp_mpartp_create
htp/htp_multipart.c:885
↓ 6 callers
Function
htp_table_add
htp/htp_table.c:56
↓ 6 callers
Function
htp_tx_destroy_incomplete
htp/htp_transaction.c:121
↓ 6 callers
Function
htp_tx_req_set_method_number
htp/htp_transaction.c:323
↓ 6 callers
Function
htp_tx_req_set_protocol_0_9
htp/htp_transaction.c:351
↓ 6 callers
Function
htp_tx_req_set_protocol_number
htp/htp_transaction.c:346
↓ 6 callers
Function
htp_tx_res_set_header
htp/htp_transaction.c:767
↓ 6 callers
Function
htp_tx_state_response_headers
htp/htp_transaction.c:1330
↓ 5 callers
Function
EqFailure
Constructs and returns the message for an equality assertion (e.g. ASSERT_EQ, EXPECT_STREQ, etc) failure. The first four parameters are the expressio
test/gtest/gtest-all.cc:2302
↓ 5 callers
Function
FormatDeathTestOutput
Returns an indented copy of stderr output for a death test. This makes distinguishing death test output lines from regular log lines much easier.
test/gtest/gtest-all.cc:6650
↓ 5 callers
Function
Int32FromEnvOrDie
Parses the environment variable var as an Int32. If it is unset, returns default_val. If it is not an Int32, prints an error and aborts.
test/gtest/gtest-all.cc:5652
↓ 5 callers
Function
StringFromGTestEnv
Reads and returns the string environment variable corresponding to the given flag; if it's not set, returns default_value.
test/gtest/gtest-all.cc:8541
↓ 5 callers
Function
SumOverTestCaseList
Iterates over a vector of TestCases, keeping a running sum of the results of calling a given int-returning method on each. Returns the sum.
test/gtest/gtest-all.cc:1618
↓ 5 callers
Function
bstr_begins_with_mem
htp/bstr.c:130
↓ 5 callers
Function
bstr_begins_with_mem_nocase
htp/bstr.c:151
↓ 5 callers
Function
bstr_builder_to_str
htp/bstr_builder.c:101
↓ 5 callers
Function
bstr_chr
htp/bstr.c:194
↓ 5 callers
Function
bstr_dup_ex
htp/bstr.c:246
↓ 5 callers
Function
bstr_index_of_c
htp/bstr.c:294
↓ 5 callers
Method
current_test_info
Returns the TestInfo object for the test that's currently running, or NULL if no test is running. L < mutex_
test/gtest/gtest-all.cc:5198
↓ 5 callers
Function
htp_config_register_multipart_parser
htp/htp_config.c:399
↓ 5 callers
Function
htp_config_register_response_complete
htp/htp_config.c:459
↓ 5 callers
Function
htp_config_register_urlencoded_parser
htp/htp_config.c:499
↓ 5 callers
Function
htp_config_set_requestline_leading_whitespace_unwanted
htp/htp_config.c:953
↓ 5 callers
Function
htp_connp_close
htp/htp_connection_parser.c:59
↓ 5 callers
Function
htp_connp_res_receiver_finalize_clear
* Finalizes an existing data receiver hook by sending any outstanding data to it. The * hook is then removed so that it receives no more data. * *
htp/htp_response.c:117
↓ 5 callers
Function
htp_connp_set_user_data
htp/htp_connection_parser.c:193
↓ 5 callers
Function
htp_gzip_decompressor_create
* Create a new decompressor instance. * * @param[in] connp * @param[in] format * @return New htp_decompressor_t instance on success, or NULL on fa
htp/htp_decompressors.c:430
↓ 5 callers
Function
htp_is_folding_char
htp/htp_util.c:478
↓ 5 callers
Function
htp_is_line_empty
* Is the given line empty? * * @param[in] data * @param[in] len * @return 0 or 1 */
htp/htp_util.c:231
↓ 5 callers
Function
htp_is_line_whitespace
* Does line consist entirely of whitespace characters? * * @param[in] data * @param[in] len * @return 0 or 1 */
htp/htp_util.c:247
↓ 5 callers
Function
htp_list_array_create
htp/htp_list.c:61
↓ 5 callers
Function
htp_mpartp_finalize
htp/htp_multipart.c:1080
↓ 5 callers
Function
htp_mpartp_find_boundary
htp/htp_multipart.c:1472
↓ 5 callers
Function
htp_tx_destroy
htp/htp_transaction.c:111
↓ 5 callers
Function
htp_tx_req_get_param_ex
htp/htp_transaction.c:259
↓ 5 callers
Function
htp_tx_req_process_body_data_ex
htp/htp_transaction.c:600
↓ 5 callers
Function
htp_tx_req_set_line
htp/htp_transaction.c:673
↓ 5 callers
Function
htp_tx_req_set_method
htp/htp_transaction.c:314
↓ 5 callers
Function
htp_tx_req_set_protocol
htp/htp_transaction.c:337
↓ 5 callers
Function
htp_tx_req_set_uri
htp/htp_transaction.c:328
↓ 5 callers
Function
htp_tx_res_process_body_data
htp/htp_transaction.c:944
↓ 5 callers
Function
htp_tx_state_response_complete_ex
htp/htp_transaction.c:1210
↓ 5 callers
Function
htp_urldecode_inplace
htp/htp_util.c:1571
↓ 5 callers
Function
htp_urlenp_destroy
* Destroys an existing URLENCODED parser. * * @param[in] urlenp */
htp/htp_urlencoded.c:207
↓ 5 callers
Function
listeners
Provides access to the event listener list.
test/gtest/gtest-all.cc:976
↓ 5 callers
Method
reset
test/gtest/gtest.h:1853
↓ 5 callers
Method
write
($fp)
test/files/generate-gzip-tests.php:166
↓ 4 callers
Function
CmpHelperEQ
test/gtest/gtest.h:18331
↓ 4 callers
Method
Failed
Returns true iff the test failed.
test/gtest/gtest-all.cc:3157
↓ 4 callers
Function
FormatCountableNoun
Formats a countable noun. Depending on its quantity, either the singular form or the plural form is used. e.g. FormatCountableNoun(1, "formula", "fo
test/gtest/gtest-all.cc:3783
← previous
next →
101–200 of 1,613, ranked by callers