| /freebsd-src/contrib/xz/src/liblzma/simple/ |
| H A D | simple_coder.h | 6 /// \brief Wrapper for simple filters 20 const lzma_filter_info *filters); 24 const lzma_filter_info *filters); 29 const lzma_filter_info *filters); 33 const lzma_filter_info *filters); 38 const lzma_filter_info *filters); 42 const lzma_filter_info *filters); 47 const lzma_filter_info *filters); 51 const lzma_filter_info *filters); 56 const lzma_filter_info *filters); [all …]
|
| H A D | arm.c | 48 const lzma_filter_info *filters, bool is_encoder) in arm_coder_init() argument 50 return lzma_simple_coder_init(next, allocator, filters, in arm_coder_init() 59 const lzma_filter_info *filters) in lzma_simple_arm_encoder_init() argument 61 return arm_coder_init(next, allocator, filters, true); in lzma_simple_arm_encoder_init() 70 const lzma_filter_info *filters) in lzma_simple_arm_decoder_init() argument 72 return arm_coder_init(next, allocator, filters, false); in lzma_simple_arm_decoder_init()
|
| /freebsd-src/contrib/xz/src/liblzma/common/ |
| H A D | filter_common.c | 162 // There must be a maximum of four filters plus in lzma_filters_copy() 224 lzma_filters_free(lzma_filter *filters, const lzma_allocator *allocator) in lzma_filters_free() argument 226 if (filters == NULL) in lzma_filters_free() 229 for (size_t i = 0; filters[i].id != LZMA_VLI_UNKNOWN; ++i) { in lzma_filters_free() 240 lzma_free(filters[i].options, allocator); in lzma_filters_free() 241 filters[i].options = NULL; in lzma_filters_free() 242 filters[i].id = LZMA_VLI_UNKNOWN; in lzma_filters_free() 250 lzma_validate_chain(const lzma_filter *filters, size_t *count) in lzma_validate_chain() argument 253 if (filters == NULL || filters[0].id == LZMA_VLI_UNKNOWN) in lzma_validate_chain() 256 // Number of non-last filters that may change the size of the data in lzma_validate_chain() [all …]
|
| H A D | filter_encoder.c | 25 /// for filters + 1. 44 /// Some filters will always have the same size Filter Properties 214 lzma_filters_update(lzma_stream *strm, const lzma_filter *filters) in lzma_filters_update() argument 220 if (lzma_raw_encoder_memusage(filters) == UINT64_MAX) in lzma_filters_update() 226 while (filters[count].id != LZMA_VLI_UNKNOWN) in lzma_filters_update() 231 reversed_filters[count - i - 1] = filters[i]; in lzma_filters_update() 236 strm->allocator, filters, reversed_filters); in lzma_filters_update() 242 const lzma_filter *filters) in lzma_raw_encoder_init() argument 245 filters, &coder_find, true); in lzma_raw_encoder_init() 250 lzma_raw_encoder(lzma_stream *strm, const lzma_filter *filters) in lzma_raw_encoder() argument [all …]
|
| H A D | block_header_encoder.c | 44 if (block->filters == NULL || block->filters[0].id == LZMA_VLI_UNKNOWN) in lzma_block_header_size() 47 for (size_t i = 0; block->filters[i].id != LZMA_VLI_UNKNOWN; ++i) { in lzma_block_header_size() 48 // Don't allow too many filters. in lzma_block_header_size() 54 block->filters + i)); in lzma_block_header_size() 75 // Validate everything but filters. in lzma_block_header_encode() 107 if (block->filters == NULL || block->filters[0].id == LZMA_VLI_UNKNOWN) in lzma_block_header_encode() 112 // There can be a maximum of four filters. in lzma_block_header_encode() 117 block->filters + filter_count, in lzma_block_header_encode() 120 } while (block->filters[++filter_count].id != LZMA_VLI_UNKNOWN); in lzma_block_header_encode()
|
| H A D | stream_encoder.c | 38 lzma_filter filters[LZMA_FILTERS_MAX + 1]; member 221 lzma_filters_free(coder->filters, allocator); in stream_encoder_end() 230 const lzma_filter *filters, in stream_encoder_update() argument 240 return_if_error(lzma_filters_copy(filters, temp, allocator)); in stream_encoder_update() 248 coder->block_options.filters = temp; in stream_encoder_update() 250 coder->block_options.filters = coder->filters; in stream_encoder_update() 261 filters, reversed_filters); in stream_encoder_update() 272 lzma_filters_free(coder->filters, allocator); in stream_encoder_update() 275 memcpy(coder->filters, temp, sizeof(temp)); in stream_encoder_update() 287 const lzma_filter *filters, lzma_check check) in stream_encoder_init() argument [all …]
|
| H A D | stream_encoder_mt.c | 87 /// Filter chain for this thread. By copying the filters array 90 lzma_filter filters[LZMA_FILTERS_MAX + 1]; member 119 lzma_filter filters[LZMA_FILTERS_MAX + 1]; member 121 /// A copy of filters[] will be put here when attempting to get 125 /// the filter options from filters[] would get uselessly copied 129 /// This is freed if filters[] is updated via lzma_filters_update(). 230 .filters = thr->filters, in worker_encode() 432 lzma_filters_free(thr->filters, thr->allocator); in worker_start() 517 thr->filters[0].id = LZMA_VLI_UNKNOWN; in initialize_new_thread() 557 coder->filters, coder->filters_cache, allocator)); in get_thread() [all …]
|
| H A D | block_buffer_encoder.c | 98 lzma_filter filters[2]; in block_encode_uncompressed() local 99 filters[0].id = LZMA_FILTER_LZMA2; in block_encode_uncompressed() 100 filters[0].options = &lzma2; in block_encode_uncompressed() 101 filters[1].id = LZMA_VLI_UNKNOWN; in block_encode_uncompressed() 105 lzma_filter *filters_orig = block->filters; in block_encode_uncompressed() 106 block->filters = filters; in block_encode_uncompressed() 109 block->filters = filters_orig; in block_encode_uncompressed() 121 block->filters = filters_orig; in block_encode_uncompressed() 126 block->filters = filters_orig; in block_encode_uncompressed() 130 block->filters = filters_orig; in block_encode_uncompressed() [all …]
|
| /freebsd-src/contrib/xz/src/liblzma/api/lzma/ |
| H A D | filter.h | 19 * \brief Maximum number of filters in a chain 21 * A filter chain can have 1-4 filters, of which three are allowed to change 22 * the size of the data. Usually only one or two filters are needed. 46 * different filters. In an array of lzma_filter structures, use 47 * LZMA_VLI_UNKNOWN to indicate end of filters. 95 * \brief Copy the filters array 98 * Up to LZMA_FILTERS_MAX filters are copied, plus the terminating 117 * \param src Array of filters terminated with 139 * This frees the filter chain options. The filters array itself is not freed. 141 * The filters array must have at most LZMA_FILTERS_MAX + 1 elements [all …]
|
| /freebsd-src/contrib/kyua/engine/ |
| H A D | atf_helpers.cpp | 363 /// \param filters List of filters to determine whether the test applies or not. 365 #define ADD_TEST_CASE(tcs, filters, name) \ argument 367 if (filters.empty() || filters.find(#name) != filters.end()) \ 376 // TODO(jmmv): Instead of using "filters", we should make TEST_CASES in ATF_INIT_TEST_CASES() 379 std::set< std::string > filters; in ATF_INIT_TEST_CASES() local 389 std::inserter(filters, filters.begin())); in ATF_INIT_TEST_CASES() 392 if (filters.find("crash_head") != filters.end()) // See TODO above. in ATF_INIT_TEST_CASES() 394 if (filters.find("output_in_list") != filters.end()) // See TODO above. in ATF_INIT_TEST_CASES() 397 ADD_TEST_CASE(tcs, filters, check_cleanup_workdir); in ATF_INIT_TEST_CASES() 398 ADD_TEST_CASE(tcs, filters, check_configuration_variables); in ATF_INIT_TEST_CASES() [all …]
|
| H A D | filters_test.cpp | 29 #include "engine/filters.hpp" 329 const engine::test_filters filters(raw_filters); in ATF_TEST_CASE_BODY() local 332 match = filters.match_test_case(fs::path("foo"), "baz"); in ATF_TEST_CASE_BODY() 336 match = filters.match_test_case(fs::path("foo/bar"), "baz"); in ATF_TEST_CASE_BODY() 351 const engine::test_filters filters(raw_filters); in ATF_TEST_CASE_BODY() local 354 match = filters.match_test_case(fs::path("top_test"), "a"); in ATF_TEST_CASE_BODY() 358 match = filters.match_test_case(fs::path("subdir_1/foo"), "a"); in ATF_TEST_CASE_BODY() 362 match = filters.match_test_case(fs::path("subdir_1/bar"), "z"); in ATF_TEST_CASE_BODY() 366 match = filters.match_test_case(fs::path("subdir_2/a_test"), "bar"); in ATF_TEST_CASE_BODY() 370 match = filters.match_test_case(fs::path("subdir_2/b_test"), "foo"); in ATF_TEST_CASE_BODY() [all …]
|
| H A D | filters.cpp | 29 #include "engine/filters.hpp" 229 /// Constructs a new set of filters. 231 /// \param filters_ The filters themselves; if empty, no filters are applied. 238 /// Checks if a given test program matches the set of filters. 246 /// \param name The test program to check against the filters. 264 /// Checks if a given test case identifier matches the set of filters. 266 /// \param test_program The test program to check against the filters. 267 /// \param test_case The test case to check against the filters. 271 /// there are no filters defined. 292 /// Calculates the filters that have not matched any tests. [all …]
|
| H A D | scanner_test.cpp | 37 #include "engine/filters.hpp" 163 const std::set< engine::test_filter > filters; in ATF_TEST_CASE_BODY() local 165 engine::scanner scanner(test_programs, filters); in ATF_TEST_CASE_BODY() 181 const std::set< engine::test_filter > filters; in ATF_TEST_CASE_BODY() local 186 engine::scanner scanner(test_programs, filters); in ATF_TEST_CASE_BODY() 208 const std::set< engine::test_filter > filters; in ATF_TEST_CASE_BODY() local 215 engine::scanner scanner(test_programs, filters); in ATF_TEST_CASE_BODY() 231 const std::set< engine::test_filter > filters; in ATF_TEST_CASE_BODY() local 238 engine::scanner scanner(test_programs, filters); in ATF_TEST_CASE_BODY() 260 const std::set< engine::test_filter > filters; in ATF_TEST_CASE_BODY() local [all …]
|
| H A D | filters.hpp | 29 /// \file engine/filters.hpp 30 /// Representation and manipulation of filters for test cases. 33 /// they are mere filters that decide whether they match or not the input data 84 /// Collection of user-provided filters to select test cases. 86 /// An empty collection of filters is considered to match any test case. 88 /// In general, the filters maintained by this class should be disjoint. If 89 /// they are not, some filters may never have a chance to do a match, which is 90 /// most likely the fault of the user. To check for non-disjoint filters before 93 /// The user-provided filters. 99 /// Return type of match_test_case. Indicates whether the filters have [all …]
|
| H A D | scanner.cpp | 34 #include "engine/filters.hpp" 79 /// Current state of the provided filters. 80 engine::filters_state filters; member 91 /// \param filters_ List of scan filters as provided by the user. 95 filters(filters_) in impl() 122 if (!filters.match_test_program( in advance() 136 if (!filters.match_test_case(test_program->relative_path(), in advance() 169 /// \param filters List of scan filters as provided by the user. 171 const std::set< engine::test_filter >& filters) : in scanner() 172 _pimpl(new impl(test_programs, filters)) in scanner() [all …]
|
| /freebsd-src/contrib/libarchive/tar/ |
| H A D | creation_set.c | 25 } *filters; 52 static const struct suffix_code_t filters[] = { 68 return get_suffix_code(filters, suffix); in get_filter_code() 119 new_ptr = realloc(cset->filters, in decompose_alias() 120 sizeof(*cset->filters) * (cset->filter_count + 1)); in decompose_alias() 126 cset->filters = new_ptr; in decompose_alias() 127 cset->filters[cset->filter_count].program = program; in decompose_alias() 128 cset->filters[cset->filter_count].filter_name = new_filter; in decompose_alias() 150 if (cset->filters[i].program) { 152 cset->filters[ in cset_add_filter() 43 } *filters; global() member 70 static const struct suffix_code_t filters[] = { get_filter_code() local 218 _cleanup_filters(struct filter_set * filters,int count) _cleanup_filters() argument [all...] |
| /freebsd-src/contrib/googletest/ |
| H A D | .gitignore | 66 /googlemock/RUN_TESTS.vcxproj.filters 68 /googlemock/INSTALL.vcxproj.filters 70 /googlemock/gmock_main.vcxproj.filters 72 /googlemock/gmock.vcxproj.filters 75 /googlemock/ALL_BUILD.vcxproj.filters 79 /ZERO_CHECK.vcxproj.filters 81 /RUN_TESTS.vcxproj.filters 83 /INSTALL.vcxproj.filters 87 /ALL_BUILD.vcxproj.filters
|
| /freebsd-src/contrib/sendmail/libmilter/docs/ |
| H A D | design.html | 24 through the mail transport system. Filters can process messages' 28 which filters are to be applied, and in what order, allowing an 29 administrator to combine multiple independently-developed filters. 33 applications and a multiplicity of script-like filters designed by and 37 This allows filters to exercise fine-grained control at the SMTP level. 79 Simple filters should not seriously impact overall MTA performance. 85 third-party filters to implement a desired mail filtering policy. For 92 Any of these filters could be added or changed independently. 97 which filters are run, in what order they are run, and how they 105 Filters run as separate processes, outside of the sendmail address [all …]
|
| /freebsd-src/sys/contrib/libsodium/regen-msvc/ |
| H A D | regen-msvc.py | 100 apply_template(sd + "/tl_libsodium.vcxproj.filters.tpl", 101 "libsodium.vcxproj.filters", sbox) 107 apply_template(sd + "/libsodium.vcxproj.filters.tpl", 108 "builds/msvc/vs2017/libsodium/libsodium.vcxproj.filters", sbox) 109 apply_template(sd + "/libsodium.vcxproj.filters.tpl", 110 "builds/msvc/vs2015/libsodium/libsodium.vcxproj.filters", sbox) 111 apply_template(sd + "/libsodium.vcxproj.filters.tpl", 112 "builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters", sbox) 113 apply_template(sd + "/libsodium.vcxproj.filters.tpl", 114 "builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters", sbox) [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | LinePrinter.cpp | 43 // filters, and none of them include this item, them item is gone. in IsItemExcluded() 57 const FilterOptions &Filters) in LinePrinter() argument 59 Filters(Filters) { in LinePrinter() 60 SetFilters(ExcludeTypeFilters, Filters.ExcludeTypes.begin(), in LinePrinter() 61 Filters.ExcludeTypes.end()); in LinePrinter() 62 SetFilters(ExcludeSymbolFilters, Filters.ExcludeSymbols.begin(), in LinePrinter() 63 Filters.ExcludeSymbols.end()); in LinePrinter() 64 SetFilters(ExcludeCompilandFilters, Filters.ExcludeCompilands.begin(), in LinePrinter() 65 Filters.ExcludeCompilands.end()); in LinePrinter() 67 SetFilters(IncludeTypeFilters, Filters.IncludeTypes.begin(), in LinePrinter() [all …]
|
| /freebsd-src/sys/dev/sfxge/common/ |
| H A D | ef10_filter.c | 212 * Remove match flag for encapsulated filters that does not correspond in efx_mcdi_filter_op_add() 308 * On Medford, filters for encapsulated packets match based on in efx_mcdi_filter_op_add() 461 /* FIXME: Consider rx vs tx filters (look at efs_flags) */ in ef10_filter_equal() 537 * filters for specific local unicast MAC and IP addresses are 655 * FIXME: Add support for inserting filters of different priorities in ef10_filter_add_internal() 656 * and removing lower priority multicast filters (bug 42378) in ef10_filter_add_internal() 660 * Find any existing filters with the same match tuple or in ef10_filter_add_internal() 1071 * list of supported filters for ordinary packets, and then another to in ef10_filter_supported_filters() 1072 * get the list of supported filters for encapsulated packets. To in ef10_filter_supported_filters() 1251 /* Insert/renew multicast address list filters */ [all …]
|
| /freebsd-src/contrib/kyua/cli/ |
| H A D | common.cpp | 36 #include "engine/filters.hpp" 82 /// Standard definition of the option to specify filters on test results. 266 /// Gets the filters for the result types. 272 /// \throw std::runtime_error If any of the user-provided filters is invalid. 289 /// Parses a set of command-line arguments to construct test filters. 291 /// \param args The command-line arguments representing test filters. 293 /// \return A set of test filters. 296 /// represent a non-disjoint collection of filters. 300 std::set< engine::test_filter > filters; in parse_filters() local 306 if (filters.find(filter) != filters.end()) in parse_filters() [all …]
|
| /freebsd-src/contrib/kyua/drivers/ |
| H A D | scan_results.cpp | 31 #include "engine/filters.hpp" 65 /// \param raw_filters The test case filters as provided by the user. 74 engine::filters_state filters(raw_filters); in drive() local 91 // and we get tracking of unmatched filters "for free". in drive() 93 if (filters.match_test_program(test_program->relative_path())) { in drive() 96 if (filters.match_test_case(test_program->relative_path(), in drive() 104 result r(filters.unused()); in drive()
|
| /freebsd-src/share/doc/smm/07.lpd/ |
| H A D | 4.t | 40 file and any printer filters for printers not supported 86 more will be said about filters later. 91 filters should use \fIsyslogd\fP to report errors; only those that 123 Output filters 125 Filters are used to handle device dependencies and to 133 The other filters (if specified) are started for each file 139 and other filters are specified, 141 it is then stopped to allow other filters access to the printer. 142 An example of a printer that requires output filters
|
| /freebsd-src/contrib/sendmail/libmilter/ |
| H A D | README | 52 It is recommended that you build your filters in a location outside of 59 Filters must be thread-safe! Many operating systems now provide support for 65 Note that since filters use threads, it may be necessary to alter per 72 | SPECIFYING FILTERS IN SENDMAIL CONFIGS | 75 Filters are specified with a key letter ``X'' (for ``eXternal''). 83 specifies three filters. Filters can be specified in your .mc file using 100 in case of filter errors as if the failing filters were not present. 103 talking to the filters using the T= equate. There are four fields inside 121 Which filters are invoked and their sequencing is handled by the 122 InputMailFilters option. Note: if InputMailFilters is not defined no filters [all …]
|