Home
last modified time | relevance | path

Searched refs:mock (Results 1 – 25 of 35) sorted by relevance

12

/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/
H A Dmock_dmabuf.c17 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 Dmock_engine.c91 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 Di915_selftest.c75 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 Dmock_request.c45 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 Dgenerate_test_runner.rb187 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 Dtesters_test.cpp328 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 DREADME16 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 Dossl_cmp_mock_srv_new.pod14 - 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 Dipset.dsc3 Description: mock test ipset module
/netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/80-test_cmp_http_data/Mock/
H A Dserver.cnf1 [cmp] # mock server configuration
H A Dtest.cnf17 [Mock] # the built-in OpenSSL CMP mock server
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_selftest.h39 int mock; member
H A Di915_request.h295 } mock;)
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-generated-function-mockers.h95 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 DHandleGTest.cmake85 foreach(HEADER test mock)
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/cmake/
H A DHandleGTest.cmake85 foreach(HEADER test mock)
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man1/
H A Dopenssl-cmp.pod.in960 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 Dmep-rhcop.cpu23 ;; 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 Dmep-rhcop.cpu23 ;; 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 Dmep-rhcop.cpu23 ;; 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 Dmep-rhcop.cpu23 ;; 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 DJITLink.rst991 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 DWISHLIST286 a mock DNS library (a library that presents the same API as the
/netbsd-src/external/gpl2/texinfo/dist/
H A DChangeLog1968 * makeinfo/files.c (pop_path_from_include_path): do not mock with
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-20208356 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.

12