| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/ |
| H A D | mock_dmabuf.c | 17 struct mock_dmabuf *mock = to_mock(attachment->dmabuf); in mock_map_dma_buf() local 26 err = sg_alloc_table(st, mock->npages, GFP_KERNEL); in mock_map_dma_buf() 31 for (i = 0; i < mock->npages; i++) { in mock_map_dma_buf() 32 sg_set_page(sg, mock->pages[i], PAGE_SIZE, 0); in mock_map_dma_buf() 61 struct mock_dmabuf *mock = to_mock(dma_buf); in mock_dmabuf_release() local 64 for (i = 0; i < mock->npages; i++) in mock_dmabuf_release() 65 put_page(mock->pages[i]); in mock_dmabuf_release() 67 kfree(mock); in mock_dmabuf_release() 72 struct mock_dmabuf *mock = to_mock(dma_buf); in mock_dmabuf_vmap() local 74 return vm_map_ram(mock->pages, mock->npages, 0, PAGE_KERNEL); in mock_dmabuf_vmap() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
| H A D | mock_engine.c | 91 mock.link); in first_request() 96 list_del_init(&request->mock.link); in advance() 121 if (request->mock.delay) { in hw_delay_complete() 123 jiffies + request->mock.delay); in hw_delay_complete() 194 INIT_LIST_HEAD(&request->mock.link); in mock_request_alloc() 195 request->mock.delay = 0; in mock_request_alloc() 220 list_add_tail(&request->mock.link, &engine->hw_queue); in mock_submit_request() 221 if (list_is_first(&request->mock.link, &engine->hw_queue)) { in mock_submit_request() 222 if (request->mock.delay) in mock_submit_request() 224 jiffies + request->mock.delay); in mock_submit_request() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
| H A D | i915_selftest.c | 75 int (*mock)(void); member 80 #define selftest(n, f) [mock_##n] = { .name = #n, { .mock = f } }, 167 err = st->mock(); in __run_selftests() 189 if (!i915_selftest.mock) in i915_mock_selftests() 192 err = run_selftests(mock, NULL); in i915_mock_selftests() 194 i915_selftest.mock = err; in i915_mock_selftests() 198 if (i915_selftest.mock < 0) { in i915_mock_selftests() 199 i915_selftest.mock = -ENOTTY; in i915_mock_selftests() 408 module_param_named_unsafe(mock_selftests, i915_selftest.mock, int, 0400);
|
| H A D | mock_request.c | 45 request->mock.delay = delay; in mock_request() 56 was_queued = !list_empty(&request->mock.link); in mock_cancel_request() 57 list_del_init(&request->mock.link); in mock_cancel_request()
|
| /netbsd-src/external/bsd/ntp/dist/sntp/unity/auto/ |
| H A D | generate_test_runner.rb | 187 mocks.each do |mock| 188 output.puts("#include \"#{mock.gsub('.h','')}.h\"") 221 mocks.each do |mock| 222 mock_clean = TypeSanitizer.sanitize_c_identifier(mock) 229 mocks.each do |mock| 230 mock_clean = TypeSanitizer.sanitize_c_identifier(mock) 237 mocks.each do |mock| 238 mock_clean = TypeSanitizer.sanitize_c_identifier(mock)
|
| /netbsd-src/external/bsd/kyua-cli/dist/engine/ |
| H A D | testers_test.cpp | 328 const fs::path mock = engine::tester_path("mock"); in ATF_TEST_CASE_BODY() local 329 ATF_REQUIRE(atf::utils::file_exists(mock.str())); in ATF_TEST_CASE_BODY() 330 ATF_REQUIRE(::unlink(mock.c_str()) != -1); in ATF_TEST_CASE_BODY() 331 ATF_REQUIRE(!atf::utils::file_exists(mock.str())); in ATF_TEST_CASE_BODY() 332 ATF_REQUIRE_EQ(mock, engine::tester_path("mock")); in ATF_TEST_CASE_BODY()
|
| /netbsd-src/external/mpl/bind/dist/bin/tests/system/chain/ |
| H A D | README | 16 ans3 is a mock authoritative server that can return various broken 19 ans4 is a mock authoritative server that can return CNAME or DNAME
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/internal/man3/ |
| H A D | ossl_cmp_mock_srv_new.pod | 14 - functions used for testing with CMP mock server 36 ossl_cmp_mock_srv_new() allocates the contexts for the CMP mock server 40 ossl_cmp_mock_srv_free() deallocates the contexts for the CMP mock server.
|
| /netbsd-src/external/bsd/unbound/dist/testdata/ipset.tdir/ |
| H A D | ipset.dsc | 3 Description: mock test ipset module
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/80-test_cmp_http_data/Mock/ |
| H A D | server.cnf | 1 [cmp] # mock server configuration
|
| H A D | test.cnf | 17 [Mock] # the built-in OpenSSL CMP mock server
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/ |
| H A D | i915_selftest.h | 39 int mock; member
|
| H A D | i915_request.h | 295 } mock;)
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/ |
| H A D | gmock-generated-function-mockers.h | 95 const MockType* AdjustConstness_const(const MockType* mock) { in AdjustConstness_const() argument 96 return mock; in AdjustConstness_const() 102 MockType* AdjustConstness_(const MockType* mock) { in AdjustConstness_() argument 103 return const_cast<MockType*>(mock); in AdjustConstness_()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/cmake/ |
| H A D | HandleGTest.cmake | 85 foreach(HEADER test mock)
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/cmake/ |
| H A D | HandleGTest.cmake | 85 foreach(HEADER test mock)
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man1/ |
| H A D | openssl-cmp.pod.in | 960 Test the client using the internal CMP server mock-up at API level, 972 Act as HTTP-based CMP server mock-up listening on the given port. 979 Maximum number of CMP (request) messages the CMP HTTP server mock-up 1019 Certificate to be returned as mock enrollment result. 1023 Extra certificates to be included in mock certification responses. 1027 CA certificates to be included in mock Initialization Response (IP) message.
|
| /netbsd-src/external/gpl3/binutils.old/dist/cpu/ |
| H A D | mep-rhcop.cpu | 23 ;; This is a mock-up done by Red Hat and is in no way supposed to represent
|
| /netbsd-src/external/gpl3/gdb/dist/cpu/ |
| H A D | mep-rhcop.cpu | 23 ;; This is a mock-up done by Red Hat and is in no way supposed to represent
|
| /netbsd-src/external/gpl3/binutils/dist/cpu/ |
| H A D | mep-rhcop.cpu | 23 ;; This is a mock-up done by Red Hat and is in no way supposed to represent
|
| /netbsd-src/external/gpl3/gdb.old/dist/cpu/ |
| H A D | mep-rhcop.cpu | 23 ;; This is a mock-up done by Red Hat and is in no way supposed to represent
|
| /netbsd-src/external/apache2/llvm/dist/llvm/docs/ |
| H A D | JITLink.rst | 991 printf("used mock utility function\n"); 1011 used mock utility function 1019 would require great care to mock.
|
| /netbsd-src/external/ibm-public/postfix/dist/ |
| H A D | WISHLIST | 286 a mock DNS library (a library that presents the same API as the
|
| /netbsd-src/external/gpl2/texinfo/dist/ |
| H A D | ChangeLog | 1968 * makeinfo/files.c (pop_path_from_include_path): do not mock with
|
| /netbsd-src/external/gpl3/gdb/dist/gdb/ |
| H A D | ChangeLog-2020 | 8356 progspace-and-thread.h. Include scoped-mock-context.h instead. 8358 * regcache.c: Include "scoped-mock-context.h". 8361 * scoped-mock-context.h: New file.
|