Home
last modified time | relevance | path

Searched refs:stub (Results 1 – 25 of 235) sorted by relevance

12345678910

/third_party/mesa3d/src/mapi/
Dstub.c65 const struct mapi_stub *stub = (const struct mapi_stub *) elem; in stub_compare() local
68 stub_name = &public_string_pool[(size_t) stub->name]; in stub_compare()
89 struct mapi_stub *stub; in stub_add_dynamic() local
97 stub = &dynamic_stubs[idx]; in stub_add_dynamic()
100 stub->addr = entry_generate( in stub_add_dynamic()
102 if (!stub->addr) in stub_add_dynamic()
105 stub->name = (const void *) strdup(name); in stub_add_dynamic()
107 stub->slot = -1; in stub_add_dynamic()
111 return stub; in stub_add_dynamic()
122 struct mapi_stub *stub = NULL; in stub_find_dynamic() local
[all …]
Dmapi_glapi.c125 const struct mapi_stub *stub; in _glapi_add_dispatch() local
132 stub = stub_find_public(funcName); in _glapi_add_dispatch()
133 if (!stub) in _glapi_add_dispatch()
134 stub = stub_find_dynamic(funcName, 0); in _glapi_add_dispatch()
136 slot = (stub) ? stub_get_slot(stub) : -1; in _glapi_add_dispatch()
142 alias = stub; in _glapi_add_dispatch()
144 function_stubs[i] = stub; in _glapi_add_dispatch()
151 struct mapi_stub *stub; in _glapi_add_dispatch() local
156 stub = stub_find_dynamic(funcName, 1); in _glapi_add_dispatch()
157 if (!stub) in _glapi_add_dispatch()
[all …]
Dstub.h48 stub_fix_dynamic(struct mapi_stub *stub, const struct mapi_stub *alias);
51 stub_get_name(const struct mapi_stub *stub);
54 stub_get_slot(const struct mapi_stub *stub);
57 stub_get_addr(const struct mapi_stub *stub);
/third_party/icu/icu4c/source/test/hdrtst/
DMakefile.in54 echo 'void junk(){}' >> $$stub ; \
55 $(COMPILE.headers) $(cppflags) $(FLAGS.headers) $(UCONFIG_NO) $$stub || FAIL=1 ; \
56 rm -f $$stub; \
103 …@FAIL=0;NONE="(No deprecated headers)";stub=ht_stub_dtest.cpp;for incfile in `cat $(srcdir)/dfiles…
106 echo "#include <unicode/$$incfile>" > $$stub ; \
107 echo 'void junk(){}' >> $$stub ; \
108 $(COMPILE.cc) $(cppflags) $$stub 2>&1 | tee $$stub.out || FAIL=1 ; \
109 …if ! cat $$stub.out | sed -e 's/^.*#error[^"]*"//' | grep -v ht_ | grep -v "$$incfile header is ob…
113 rm -f $$stub*; \
119 @FAIL=0;stub=ht_stub_cppguardtest.cpp; for file in "$(prefix)/include/unicode"/*.h ; do \
[all …]
/third_party/node/test/parallel/
Dtest-dns-lookup-promises.js36 stub: getaddrinfoPositive(['::1']),
41 stub: getaddrinfoPositive(['127.0.0.1']),
46 stub: getaddrinfoPositive(['127.0.0.1'], { family: 4 }),
51 stub: getaddrinfoPositive(['some-address']),
56 stub: getaddrinfoPositive(['some-address2']),
60 ].forEach(async ({ stub, factory, expectation }) => { property
61 getaddrinfoStub = stub;
79 stub: getaddrinfoPositive(['::1', '::2']),
87 stub: getaddrinfoPositive(['::1', '::2']),
95 stub: getaddrinfoPositive(['127.0.0.1', 'some-address']),
[all …]
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/test/
Dtest_corpus.js20 sandbox.stub(exceptions, 'getSoftSkipped').callsFake(() => {
34 sandbox.stub(Math, 'random').callsFake(() => 0.9);
44 sandbox.stub(Math, 'random').callsFake(() => 0.9);
52 sandbox.stub(Math, 'random').callsFake(() => 0.9);
60 sandbox.stub(Math, 'random').callsFake(() => 0.9);
69 sandbox.stub(exceptions, 'getGeneratedSoftSkipped').callsFake(
81 sandbox.stub(Math, 'random').callsFake(() => 0);
91 sandbox.stub(Math, 'random').callsFake(() => 0);
92 sandbox.stub(exceptions, 'getSoftSkipped').callsFake(
97 sandbox.stub(exceptions, 'getGeneratedSoftSkipped').callsFake(
Dtest_try_catch.js40 sandbox.stub(random, 'choose').callsFake(() => { return false; });
41 sandbox.stub(random, 'random').callsFake(() => { return 0.7; });
47 sandbox.stub(random, 'choose').callsFake(() => { return false; });
48 sandbox.stub(random, 'random').callsFake(() => { return 0.04; });
60 sandbox.stub(random, 'choose').callsFake(() => { return false; });
61 sandbox.stub(random, 'random').callsFake(() => { return 0.01; });
74 sandbox.stub(random, 'choose').callsFake(() => { return true; });
75 sandbox.stub(random, 'uniform').callsFake(() => { return 0.9; });
76 sandbox.stub(random, 'random').callsFake(() => { return 0.8; });
Dtest_mutate_expressions.js41 sandbox.stub(random, 'randInt').callsFake((a, b) => b);
43 sandbox.stub(random, 'random').callsFake(() => 0.8);
52 sandbox.stub(random, 'shuffle').callsFake(a => a);
54 sandbox.stub(random, 'choose').callsFake(a => a === 1);
61 sandbox.stub(random, 'shuffle').callsFake(a => [a[1], a[0]]);
63 sandbox.stub(random, 'choose').callsFake(() => true);
Dtest_random.js25 sandbox.stub(Math, 'random').callsFake(() => 0.5);
33 sandbox.stub(Math, 'random').callsFake(() => 0.3);
40 sandbox.stub(Math, 'random').callsFake(() => 0.7);
45 sandbox.stub(Math, 'random').callsFake(() => 0.5);
Dtest_mutate_numbers.js25 sandbox.stub(common, 'nearbyRandomNumber').callsFake(
27 sandbox.stub(common, 'randomInterestingNumber').callsFake(
29 sandbox.stub(random, 'randInt').callsFake(() => { return -5 });
33 sandbox.stub(random, 'random').callsFake(
Dtest_mutate_variable_or_object.js38 sandbox.stub(random, 'choose').callsFake(() => { return true; });
40 sandbox.stub(random, 'randInt').callsFake(() => { return 123; });
42 sandbox.stub(common, 'randomValue').callsFake(
66 sandbox.stub(random, 'random').callsFake(
Dtest_mutate_function_calls.js39 sandbox.stub(random, 'random').callsFake(() => { return 0.3; });
46 sandbox.stub(random, 'random').callsFake(() => { return 0.5; });
55 sandbox.stub(random, 'random').callsFake(() => { return 0.7; });
64 sandbox.stub(random, 'random').callsFake(() => { return 0.8; });
Dtest_differential_fuzz.js62 sandbox.stub(random, 'single').callsFake(a => a[0]);
91 sandbox.stub(random, 'choose').callsFake((p) => p >= chooseOrigFlagsProb);
99 sandbox.stub(process, 'env').value(env);
102 sandbox.stub(sourceHelpers, 'loadResource').callsFake(() => {
/third_party/jsframework/test/
DfakeLog.ts25 fakeDebug = sinon.stub(Log, 'debug').callsFake();
26 fakeInfo = sinon.stub(Log, 'info').callsFake();
27 fakeWarn = sinon.stub(Log, 'warn').callsFake();
28 fakeError = sinon.stub(Log, 'error').callsFake();
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
Dcoverage.txt14 8 YES Only a stub.
23 17 YES Only a stub.
24 18 YES Only a stub.
25 19 YES Only a stub.
/third_party/ltp/include/lapi/
Drt_sigaction.h202 unsigned long stub = 0; in ltp_rt_sigaction() local
204 stub = ((unsigned long) &__rt_sig_stub) - 8; in ltp_rt_sigaction()
207 stub = ((unsigned long) &__rt_sig_stub) - 8; in ltp_rt_sigaction()
209 stub = ((unsigned long) &__sig_stub) - 8; in ltp_rt_sigaction()
217 stub, sigsetsize); in ltp_rt_sigaction()
/third_party/protobuf/src/google/protobuf/
Dmap_field_test.cc257 MapFieldBaseStub* stub = in Expect() local
262 RepeatedPtrField<Message>* repeated_field = stub->InternalRepeatedField(); in Expect()
266 EXPECT_FALSE(stub->IsMapClean()); in Expect()
267 EXPECT_TRUE(stub->IsRepeatedClean()); in Expect()
270 EXPECT_TRUE(stub->IsMapClean()); in Expect()
271 EXPECT_FALSE(stub->IsRepeatedClean()); in Expect()
274 EXPECT_TRUE(stub->IsMapClean()); in Expect()
275 EXPECT_TRUE(stub->IsRepeatedClean()); in Expect()
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dservice_reflection_test.py117 stub = unittest_pb2.TestService_Stub(channel)
123 stub.GetDescriptor())
126 stub.Foo(rpc_controller, request, MyCallback)
132 self.assertEqual(stub.GetDescriptor().methods[0], channel.method)
/third_party/protobuf/python/google/protobuf/internal/
Dservice_reflection_test.py126 stub = unittest_pb2.TestService_Stub(channel)
132 stub.GetDescriptor())
135 stub.Foo(rpc_controller, request, MyCallback)
140 self.assertEqual(stub.GetDescriptor().methods[0], channel.method)
/third_party/protobuf/python/google/protobuf/
Dservice_reflection.py274 def _ServiceStubInit(stub, rpc_channel): argument
275 stub.rpc_channel = rpc_channel
285 def _StubMethod(self, stub, method_descriptor, argument
298 return stub.rpc_channel.CallMethod(
/third_party/vulkan-loader/tests/framework/data/
DCMakeLists.txt9 #add_library(dummy_library_elf_64 SHARED stub.cpp)
20 #add_library(dummy_library_elf_32 SHARED stub.cpp)
33 # add_library(dummy_library_pe_64 SHARED stub.cpp)
43 # add_library(dummy_library_pe_32 SHARED stub.cpp)
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DServiceTest.java118 TestService stub = TestService.newStub(mockChannel); in testStub() local
134 stub.foo(mockController, fooRequest, fooCallback); in testStub()
135 stub.bar(mockController, barRequest, barCallback); in testStub()
144 TestService.BlockingInterface stub = TestService.newBlockingStub(mockChannel); in testBlockingStub() local
165 assertSame(fooResponse, stub.foo(mockController, fooRequest)); in testBlockingStub()
166 assertSame(barResponse, stub.bar(mockController, barRequest)); in testBlockingStub()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DServiceTest.java120 TestService stub = TestService.newStub(mockChannel); in testStub() local
136 stub.foo(mockController, fooRequest, fooCallback); in testStub()
137 stub.bar(mockController, barRequest, barCallback); in testStub()
147 TestService.BlockingInterface stub = in testBlockingStub() local
165 assertSame(fooResponse, stub.foo(mockController, fooRequest)); in testBlockingStub()
166 assertSame(barResponse, stub.bar(mockController, barRequest)); in testBlockingStub()
/third_party/pulseaudio/src/modules/
Dmeson.build14 …[ 'module-cli-protocol-tcp', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_CLI', '-DUSE_TCP_SOCKE…
15 …[ 'module-cli-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_CLI', '-DUSE_UNIX_SOC…
26 # [ 'module-esound-protocol-tcp', 'module-protocol-stub.c' ],
27 # [ 'module-esound-protocol-unix', 'module-protocol-stub.c' ],
31 …[ 'module-http-protocol-tcp', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_HTTP', '-DUSE_TCP_SOC…
32 …[ 'module-http-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_HTTP', '-DUSE_UNIX_S…
38 …[ 'module-native-protocol-tcp', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_NATIVE', '-DUSE_TCP…
39 …[ 'module-native-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_NATIVE', '-DUSE_UN…
48 …[ 'module-simple-protocol-tcp', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_SIMPLE', '-DUSE_TCP…
49 …[ 'module-simple-protocol-unix', 'module-protocol-stub.c', [], ['-DUSE_PROTOCOL_SIMPLE', '-DUSE_UN…
/third_party/python/Modules/_ctypes/libffi_osx/powerpc/
Dppc64-darwin_closure.S78 bl Lffi64_data_size$stub
119 bl Lffi_closure_helper_DARWIN$stub
262 bl Lffi64_struct_to_reg_form$stub
359 Lffi_closure_helper_DARWIN$stub:
380 Lffi64_struct_to_reg_form$stub:
396 Lffi64_data_size$stub:

12345678910