/third_party/mesa3d/src/mapi/ |
H A D | stub.c | 36 #include "stub.h" 65 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() 74 * Return the public stub with the given name. 84 * Add a dynamic stub. 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 in stub_add_dynamic() 122 struct mapi_stub *stub = NULL; stub_find_dynamic() local 162 const struct mapi_stub *stub = stub_find_by_slot() local 170 stub_fix_dynamic(struct mapi_stub *stub, const struct mapi_stub *alias) stub_fix_dynamic() argument 190 stub_get_name(const struct mapi_stub *stub) stub_get_name() argument 207 stub_get_slot(const struct mapi_stub *stub) stub_get_slot() argument 216 stub_get_addr(const struct mapi_stub *stub) stub_get_addr() argument [all...] |
H A D | mapi_glapi.c | 34 #include "stub.h" 78 * Fill-in the dispatch stub for the named function. 81 * a dispatch stub may be created created for the function. A pointer to this 125 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() 140 /* use the first existing stub a in _glapi_add_dispatch() 151 struct mapi_stub *stub; _glapi_add_dispatch() local 180 const struct mapi_stub *stub; _glapi_get_stub() local 207 const struct mapi_stub *stub = _glapi_get_stub(funcName, 0); _glapi_get_proc_offset() local 219 const struct mapi_stub *stub = _glapi_get_stub(funcName, 1); _glapi_get_proc_address() local 230 const struct mapi_stub *stub = stub_find_by_slot(offset); _glapi_get_proc_name() local [all...] |
H A D | stub.h | 48 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/node/test/parallel/ |
H A D | test-dns-lookup-promises.js | 8 // Stub `getaddrinfo` to proxy its call dynamic stub. This has to be done before 9 // we load the `dns` module to guarantee that the `dns` module uses the stub. 36 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 }) => { 61 getaddrinfoStub = stub; 79 stub [all...] |
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/test/ |
H A D | test_corpus.js | 20 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(exception [all...] |
H A D | test_try_catch.js | 40 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; });
|
H A D | test_mutate_expressions.js | 41 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);
|
H A D | test_mutate_variable_or_object.js | 38 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(
|
H A D | test_mutate_function_calls.js | 39 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; });
|
H A D | test_differential_fuzz.js | 62 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(() => {
|
H A D | test_regressions.js | 67 sandbox.stub(exceptions, 'getGeneratedSloppy').callsFake( 78 sandbox.stub(exceptions, 'getGeneratedSloppy').callsFake(
|
H A D | test_load.js | 58 sandbox.stub(sourceHelpers, 'loadResource').callsFake(() => fakeStubs);
|
/third_party/ltp/include/lapi/ |
H A D | rt_sigaction.h | 202 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/python/google/protobuf/internal/ |
H A D | service_reflection_test.py | 126 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/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
H A D | service_reflection_test.py | 117 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/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
H A D | ServiceTest.java | 120 TestService stub = TestService.newStub(mockChannel); in testStub() 136 stub.foo(mockController, fooRequest, fooCallback); in testStub() 137 stub.bar(mockController, barRequest, barCallback); in testStub() 147 TestService.BlockingInterface stub = in testBlockingStub() 165 assertSame(fooResponse, stub.foo(mockController, fooRequest)); in testBlockingStub() 166 assertSame(barResponse, stub.bar(mockController, barRequest)); in testBlockingStub()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | ServiceTest.java | 118 TestService stub = TestService.newStub(mockChannel); in testStub() 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() 165 assertSame(fooResponse, stub.foo(mockController, fooRequest)); in testBlockingStub() 166 assertSame(barResponse, stub.bar(mockController, barRequest)); in testBlockingStub()
|
/third_party/protobuf/python/google/protobuf/ |
H A D | service_reflection.py | 31 """Contains metaclasses used to create protocol service and service stub 101 it creates the service stub classes. 107 """Creates a message service stub class. 122 # when a service stub is subclassed. 248 """Constructs a protocol service stub class using a service descriptor. 250 Given a service descriptor, this class constructs a suitable stub class. 251 A stub is just a type-safe wrapper around an RpcChannel which emulates a 254 One service stub builder instance constructs exactly one class. It means all 255 instances of that class share the same service stub builder. 259 """Initializes an instance of the service stub clas [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | map_field_test.cc | 257 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/skia/src/utils/ |
H A D | SkEventTracer.cpp | 37 static const char* stub = "stub"; variable 38 return stub;
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/ |
H A D | test_db.js | 43 sandbox.stub(random, 'single').callsFake((a) => { return a[0]; }); 45 sandbox.stub(mutateDb, 'getRandomStatement').callsFake(
|
/third_party/python/Modules/_ctypes/libffi_osx/powerpc/ |
H A D | ppc64-darwin_closure.S | 78 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:
|
/third_party/node/test/async-hooks/ |
H A D | init-hooks.js | 161 const stub = { uid, type: 'Unknown', handleIsObject: true, handle: {} }; 162 this._activities.set(uid, stub); 163 return stub;
|
/third_party/weex-loader/test/ |
H A D | test.js | 86 requireStub = sinon.stub(); 87 bootstrapStub = sinon.stub();
|
/third_party/libunwind/libunwind/src/tilegx/ |
H A D | getcontext.S | 33 # This is a stub version of getcontext() for TILEGX.
|