| /src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/ |
| mock_dmabuf.c | 17 struct mock_dmabuf *mock = to_mock(attachment->dmabuf); local 26 err = sg_alloc_table(st, mock->npages, GFP_KERNEL); 31 for (i = 0; i < mock->npages; i++) { 32 sg_set_page(sg, mock->pages[i], PAGE_SIZE, 0); 61 struct mock_dmabuf *mock = to_mock(dma_buf); local 64 for (i = 0; i < mock->npages; i++) 65 put_page(mock->pages[i]); 67 kfree(mock); 72 struct mock_dmabuf *mock = to_mock(dma_buf); local 74 return vm_map_ram(mock->pages, mock->npages, 0, PAGE_KERNEL) 79 struct mock_dmabuf *mock = to_mock(dma_buf); local 100 struct mock_dmabuf *mock; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
| mock_request.c | 45 request->mock.delay = delay; 56 was_queued = !list_empty(&request->mock.link); 57 list_del_init(&request->mock.link);
|
| i915_selftest.c | 75 int (*mock)(void); member in union:selftest::__anon5092 80 #define selftest(n, f) [mock_##n] = { .name = #n, { .mock = f } }, 167 err = st->mock(); 189 if (!i915_selftest.mock) 192 err = run_selftests(mock, NULL); 194 i915_selftest.mock = err; 198 if (i915_selftest.mock < 0) { 199 i915_selftest.mock = -ENOTTY; 408 module_param_named_unsafe(mock_selftests, i915_selftest.mock, int, 0400); 409 MODULE_PARM_DESC(mock_selftests, "Run selftests before loading, using mock hardware (0:disabled [default], 1:run tests then load driver, -1:run tests then exit module)") [all...] |
| /src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
| mock_engine.c | 91 mock.link); 96 list_del_init(&request->mock.link); 121 if (request->mock.delay) { 123 jiffies + request->mock.delay); 194 INIT_LIST_HEAD(&request->mock.link); 195 request->mock.delay = 0; 220 list_add_tail(&request->mock.link, &engine->hw_queue); 221 if (list_is_first(&request->mock.link, &engine->hw_queue)) { 222 if (request->mock.delay) 224 jiffies + request->mock.delay) 264 struct mock_engine *mock = local 351 struct mock_engine *mock = local [all...] |
| /src/external/bsd/ntp/dist/sntp/unity/auto/ |
| generate_test_runner.rb | 164 mock_headers << File.basename(include_file) if (include_file =~ /^mock/i) 187 mocks.each do |mock| 188 output.puts("#include \"#{mock.gsub('.h','')}.h\"") 213 output.puts("\n//=======Mock Management=====") 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) [all...] |
| /src/external/bsd/kyua-cli/dist/engine/ |
| testers_test.cpp | 61 /// Creates a mock tester that exits cleanly. 63 /// The interface accepted by the tester is 'mock'. This tester outputs the 72 "kyua-mock-tester", 81 ATF_REQUIRE(::chmod("kyua-mock-tester", 0755) != -1); 87 /// Creates a mock tester that receives a signal. 89 /// The interface accepted by the tester is 'mock'. This tester outputs the 99 "kyua-mock-tester", 110 ATF_REQUIRE(::chmod("kyua-mock-tester", 0755) != -1); 123 engine::tester tester("mock", none, none); 142 engine::tester tester("mock", utils::make_optional(user) 328 const fs::path mock = engine::tester_path("mock"); local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/i915/ |
| i915_selftest.h | 39 int mock; member in struct:i915_selftest 56 * Mock unit tests are run very early upon module load, before the driver
|
| i915_request.h | 295 } mock;)
|
| /src/crypto/external/bsd/openssl/dist/test/recipes/ |
| 80-test_cmp_http.t | 110 my @server_configurations = ("Mock"); 112 # set env variable, e.g., OPENSSL_CMP_SERVER="Mock Insta" to include further CMP servers 164 # selected (where the Mock server used by default is just one possibility). 174 - (grep(/^Mock$/, @server_configurations) 183 if ($server_name eq "Mock") { 184 indir "Mock" => sub { 186 die "Cannot start or find the started CMP mock server" unless $pid; 191 next if $server_name eq "Mock" && $aspect eq "certstatus"; 199 ok(1, "killing mock server"); 238 # do connections to localhost (e.g., Mock server) without prox [all...] |
| /src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/ |
| gmock-generated-function-mockers.h | 35 // Google Mock - a framework for writing C++ mock classes. 67 // EXPECT_CALL(mock, GetName).WillOnce(ReturnRef(value)); 95 const MockType* AdjustConstness_const(const MockType* mock) { 96 return mock; 102 MockType* AdjustConstness_(const MockType* mock) { 103 return const_cast<MockType*>(mock);
|