MCPcopy Create free account

hub / github.com/OISF/libhtp / functions

Functions1,613 in github.com/OISF/libhtp

↓ 8 callersFunctionhtp_config_set_path_separators_decode
htp/htp_config.c:809
↓ 8 callersFunctionhtp_config_set_utf8_convert_bestfit
htp/htp_config.c:857
↓ 8 callersFunctionhtp_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 callersFunctionhtp_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 callersFunctionhtp_is_text
* Is character a text character? * * @param[in] c * @return 0 or 1 */
htp/htp_util.c:108
↓ 8 callersFunctionhtp_is_token
* Is character a token character? * * @param[in] c * @return 0 or 1 */
htp/htp_util.c:120
↓ 8 callersFunctionhtp_mpartp_get_multipart
htp/htp_multipart.c:61
↓ 8 callersFunctionhtp_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 callersFunctionhtp_parse_ct_header
htp/htp_util.c:2445
↓ 8 callersFunctionhtp_tx_req_process_body_data
htp/htp_transaction.c:593
↓ 8 callersFunctionhtp_tx_set_user_data
htp/htp_transaction.c:239
↓ 8 callersFunctionhtp_tx_state_request_headers
htp/htp_transaction.c:1098
↓ 8 callersFunctionhtp_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 callersFunctionx2c
* 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 callersFunctionBoolFromGTestEnv
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 callersFunctionForEach
test/gtest/gtest-all.cc:684
↓ 7 callersFunctionGetEnv
test/gtest/gtest.h:2702
↓ 7 callersFunctionGetTimeInMillis
Returns the current time in milliseconds.
test/gtest/gtest-all.cc:2069
↓ 7 callersFunctionStringStreamToString
Converts the buffer in a stringstream to a String, converting NUL bytes to "\\0" along the way.
test/gtest/gtest-all.cc:3039
↓ 7 callersMethodUponLeavingGTest
L < mutex_
test/gtest/gtest-all.cc:4844
↓ 7 callersFunctionbstr_add_c_noex
htp/bstr.c:62
↓ 7 callersFunctionbstr_builder_create
htp/bstr_builder.c:70
↓ 7 callersFunctionbstr_cmp_nocase
htp/bstr.c:234
↓ 7 callersFunctionbstr_expand
htp/bstr.c:266
↓ 7 callersFunctionfprint_bstr
* */
htp/htp_util.c:2002
↓ 7 callersFunctionlength
Returns the length of the encapsulated string, or 0 if the string is NULL.
test/gtest/gtest.h:3120
↓ 7 callersMethodos_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 callersFunctionstrlcat
* 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 callersFunctiontest_destroy
* Destroys a test. * * @param[in] test */
test/test.c:56
↓ 6 callersFunctionAbort
test/gtest/gtest-all.cc:8442
↓ 6 callersFunctionChopLowBits
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 callersFunctionFormatFileLocation
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 callersFunctionFormatRegexSyntaxError
Helper function used by ValidateRegex() to format error messages.
test/gtest/gtest-all.cc:8027
↓ 6 callersFunctionIsInSet
Returns true iff ch appears anywhere in str (excluding the terminating '\0' character).
test/gtest/gtest-all.cc:7980
↓ 6 callersFunctionIsPathSeparator
Returns whether the given character is a valid path separator.
test/gtest/gtest-all.cc:7519
↓ 6 callersFunctionParseStringFlag
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 callersMethodReset
test/gtest/gtest-all.cc:1348
↓ 6 callersFunctionSkipPrefix
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 callersFunctionUniversalPrint
test/gtest/gtest.h:9881
↓ 6 callersFunctionbstr_add_mem
htp/bstr.c:66
↓ 6 callersFunctionbstr_add_mem_noex
htp/bstr.c:81
↓ 6 callersFunctionbstr_to_lowercase
htp/bstr.c:334
↓ 6 callersFunctionbstr_util_cmp_mem_nocase
htp/bstr.c:374
↓ 6 callersMethodfailed_test_count
Gets the number of failed tests.
test/gtest/gtest-all.cc:2034
↓ 6 callersFunctionhtp_config_set_path_separators_compress
htp/htp_config.c:821
↓ 6 callersFunctionhtp_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 callersFunctionhtp_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 callersFunctionhtp_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 callersFunctionhtp_connp_res_data_consumed
htp/htp_response.c:1148
↓ 6 callersFunctionhtp_mpartp_create
htp/htp_multipart.c:885
↓ 6 callersFunctionhtp_table_add
htp/htp_table.c:56
↓ 6 callersFunctionhtp_tx_destroy_incomplete
htp/htp_transaction.c:121
↓ 6 callersFunctionhtp_tx_req_set_method_number
htp/htp_transaction.c:323
↓ 6 callersFunctionhtp_tx_req_set_protocol_0_9
htp/htp_transaction.c:351
↓ 6 callersFunctionhtp_tx_req_set_protocol_number
htp/htp_transaction.c:346
↓ 6 callersFunctionhtp_tx_res_set_header
htp/htp_transaction.c:767
↓ 6 callersFunctionhtp_tx_state_response_headers
htp/htp_transaction.c:1330
↓ 5 callersFunctionEqFailure
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 callersFunctionFormatDeathTestOutput
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 callersFunctionInt32FromEnvOrDie
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 callersFunctionStringFromGTestEnv
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 callersFunctionSumOverTestCaseList
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 callersFunctionbstr_begins_with_mem
htp/bstr.c:130
↓ 5 callersFunctionbstr_begins_with_mem_nocase
htp/bstr.c:151
↓ 5 callersFunctionbstr_builder_to_str
htp/bstr_builder.c:101
↓ 5 callersFunctionbstr_chr
htp/bstr.c:194
↓ 5 callersFunctionbstr_dup_ex
htp/bstr.c:246
↓ 5 callersFunctionbstr_index_of_c
htp/bstr.c:294
↓ 5 callersMethodcurrent_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 callersFunctionhtp_config_register_multipart_parser
htp/htp_config.c:399
↓ 5 callersFunctionhtp_config_register_response_complete
htp/htp_config.c:459
↓ 5 callersFunctionhtp_config_register_urlencoded_parser
htp/htp_config.c:499
↓ 5 callersFunctionhtp_config_set_requestline_leading_whitespace_unwanted
htp/htp_config.c:953
↓ 5 callersFunctionhtp_connp_close
htp/htp_connection_parser.c:59
↓ 5 callersFunctionhtp_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 callersFunctionhtp_connp_set_user_data
htp/htp_connection_parser.c:193
↓ 5 callersFunctionhtp_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 callersFunctionhtp_is_folding_char
htp/htp_util.c:478
↓ 5 callersFunctionhtp_is_line_empty
* Is the given line empty? * * @param[in] data * @param[in] len * @return 0 or 1 */
htp/htp_util.c:231
↓ 5 callersFunctionhtp_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 callersFunctionhtp_list_array_create
htp/htp_list.c:61
↓ 5 callersFunctionhtp_mpartp_finalize
htp/htp_multipart.c:1080
↓ 5 callersFunctionhtp_mpartp_find_boundary
htp/htp_multipart.c:1472
↓ 5 callersFunctionhtp_tx_destroy
htp/htp_transaction.c:111
↓ 5 callersFunctionhtp_tx_req_get_param_ex
htp/htp_transaction.c:259
↓ 5 callersFunctionhtp_tx_req_process_body_data_ex
htp/htp_transaction.c:600
↓ 5 callersFunctionhtp_tx_req_set_line
htp/htp_transaction.c:673
↓ 5 callersFunctionhtp_tx_req_set_method
htp/htp_transaction.c:314
↓ 5 callersFunctionhtp_tx_req_set_protocol
htp/htp_transaction.c:337
↓ 5 callersFunctionhtp_tx_req_set_uri
htp/htp_transaction.c:328
↓ 5 callersFunctionhtp_tx_res_process_body_data
htp/htp_transaction.c:944
↓ 5 callersFunctionhtp_tx_state_response_complete_ex
htp/htp_transaction.c:1210
↓ 5 callersFunctionhtp_urldecode_inplace
htp/htp_util.c:1571
↓ 5 callersFunctionhtp_urlenp_destroy
* Destroys an existing URLENCODED parser. * * @param[in] urlenp */
htp/htp_urlencoded.c:207
↓ 5 callersFunctionlisteners
Provides access to the event listener list.
test/gtest/gtest-all.cc:976
↓ 5 callersMethodreset
test/gtest/gtest.h:1853
↓ 5 callersMethodwrite
($fp)
test/files/generate-gzip-tests.php:166
↓ 4 callersFunctionCmpHelperEQ
test/gtest/gtest.h:18331
↓ 4 callersMethodFailed
Returns true iff the test failed.
test/gtest/gtest-all.cc:3157
↓ 4 callersFunctionFormatCountableNoun
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
← previousnext →101–200 of 1,613, ranked by callers