/frameworks/compile/mclinker/lib/LD/ |
StubFactory.cpp | 15 #include <mcld/Fragment/Stub.h> 33 /// addPrototype - register a stub prototype 34 void StubFactory::addPrototype(Stub* pPrototype) 39 /// create - create a stub if needed, otherwise return NULL 40 Stub* StubFactory::create(Relocation& pReloc, 45 // find if there is a prototype stub for the input relocation 46 Stub* prototype = findPrototype(pReloc, 56 // find if there is such a stub in the island already 58 Stub* stub = island->findStub(prototype, pReloc) local [all...] |
/build/core/tasks/ |
sdk-addon.mk | 30 define stub-addon-jar-file 34 define stub-addon-jar 35 $(call stub-addon-jar-file,$(1)): $(1) | mkstubs 45 $(eval $(call stub-addon-jar,$(_src))) \ 46 $(eval _src := $(call stub-addon-jar-file,$(_src))) \
|
/external/chromium_org/remoting/client/plugin/ |
mac_key_event_processor_unittest.cc | 48 MockInputStub stub; local 49 MacKeyEventProcessor processor(&stub); 55 EXPECT_CALL(stub, InjectKeyEvent(EqualsUsbEvent(kUsbCapsLock, true))); 56 EXPECT_CALL(stub, InjectKeyEvent(EqualsUsbEvent(kUsbCapsLock, false))); 65 MockInputStub stub; local 66 MacKeyEventProcessor processor(&stub); 71 EXPECT_CALL(stub, InjectKeyEvent( 73 EXPECT_CALL(stub, InjectKeyEvent( 84 MockInputStub stub; local 85 MacKeyEventProcessor processor(&stub); 144 MockInputStub stub; local 186 MockInputStub stub; local 214 MockInputStub stub; local [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
ViewStubTest.java | 42 final View stub = activity.findViewById(R.id.viewStub); local 43 assertNotNull("The ViewStub does not exist", stub); 51 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStub); local 52 final View swapped = stub.inflate(); 62 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId); local 63 final View swapped = stub.inflate(); 75 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId); local 76 final View swapped = stub.inflate(); 80 assertEquals("Both stub and inflated should same width", 81 stub.getLayoutParams().width, swapped.getLayoutParams().width) [all...] |
/frameworks/rs/cpu_ref/linkloader/lib/ |
StubLayout.cpp | 35 // Check if we have created this stub or not. 42 // We have to create a new stub 44 // No free stub slot is available 48 // Initialize the stub 49 unsigned char *stub = table; local 50 setStubAddress(stub, addr); 51 stub_index.insert(std::make_pair(addr, stub)); 53 // Increase the free stub slot pointer 57 return stub; 69 uint8_t *stub = (uint8_t *)stub_ local 88 uint32_t *stub = (uint32_t *)stub_; local [all...] |
/external/chromium_org/chrome_frame/ |
vtable_patch_manager.cc | 91 FunctionStub* stub = NULL; local 94 stub = FunctionStub::FromCode(original_fn); 95 if (stub != NULL) { 97 DCHECK(stub->destination_function() == 104 stub = FunctionStub::Create(reinterpret_cast<uintptr_t>(original_fn), 106 if (!stub) { 127 stub->set_argument(reinterpret_cast<uintptr_t>(original_fn)); 129 reinterpret_cast<void**>(&vtable[it->index_]), stub->code(), 139 FunctionStub::Destroy(stub); 140 stub = NULL [all...] |
function_stub.cc | 87 void FunctionStub::Init(FunctionStubAsm* stub) { 88 DCHECK(stub != NULL); 90 stub->jump_to_bypass_ = JUMP_IND; 91 stub->bypass_target_addr_ = reinterpret_cast<uintptr_t>(&bypass_address_); 92 stub->pop_return_addr_ = POP_EAX; 93 stub->push_ = PUSH_IND; 94 stub->arg_addr_ = reinterpret_cast<uintptr_t>(&argument_); 95 stub->push_return_addr_ = PUSH_EAX; 96 stub->jump_to_target = JUMP_IND; 97 stub->target_addr_ = reinterpret_cast<uintptr_t>(&destination_function_) 111 FunctionStub* stub = local [all...] |
buggy_bho_handling.cc | 208 FunctionStub* stub = FunctionStub::FromCode(*invoke); local 209 if (stub) 218 stub = FunctionStub::Create(reinterpret_cast<uintptr_t>(*invoke), 220 if (!stub) { 224 reinterpret_cast<void**>(invoke), stub->code(), 225 reinterpret_cast<void*>(stub->argument()))) { 227 FunctionStub::Destroy(stub);
|
function_stub_unittest.cc | 15 static void Init(TestFunctionStub* stub) { 16 stub->FunctionStub::Init(&stub->stub_); 89 // If a stub is allocated during testing, assigning it here 122 // Check that the stub code is executable. 185 TestFunctionStub* stub = local 188 TestFunctionStub::Init(stub); 189 EXPECT_EQ(NULL, FunctionStub::FromCode(stub)); 191 // Create a stub in committed memory. 192 stub = reinterpret_cast<TestFunctionStub*>(playpen_) [all...] |
/external/chromium_org/third_party/mesa/src/src/mapi/mapi/ |
mapi.c | 35 #include "stub.h" 45 const struct mapi_stub *stub; local 47 stub = stub_find_public(name); 48 if (!stub) { 52 stub = dyn; 56 return stub; 100 const struct mapi_stub *stub; local 102 stub = get_stub(p, NULL); 104 if (!stub) 109 get_stub(p, stub); 129 const struct mapi_stub *stub; local 174 const struct mapi_stub *stub = mapi_stub_map[i]; local [all...] |
mapi_glapi.c | 34 #include "mapi/stub.h" 82 * Fill-in the dispatch stub for the named function. 85 * a dispatch stub may be created created for the function. A pointer to this 129 const struct mapi_stub *stub; local 136 stub = stub_find_public(funcName); 137 if (!stub) 138 stub = stub_find_dynamic(funcName, 0); 140 slot = (stub) ? stub_get_slot(stub) : -1; 144 /* use the first existing stub as the alias * 155 struct mapi_stub *stub; local 175 const struct mapi_stub *stub; local 199 const struct mapi_stub *stub = _glapi_get_stub(funcName, 0); local 211 const struct mapi_stub *stub = _glapi_get_stub(funcName, 1); local [all...] |
stub.c | 36 #include "stub.h" 74 const struct mapi_stub *stub = (const struct mapi_stub *) elem; local 77 stub_name = &public_string_pool[(unsigned long) stub->name]; 83 * Return the public stub with the given name. 93 * Add a dynamic stub. 98 struct mapi_stub *stub; local 106 stub = &dynamic_stubs[idx]; 109 stub->addr = entry_generate( 111 if (!stub->addr) 114 stub->name = (const void *) name 131 struct mapi_stub *stub = NULL; local [all...] |
/external/libffi/testsuite/libffi.call/ |
problem1.c | 30 void stub(ffi_cif* cif __UNUSED__, void* resp, void** args, function 90 CHECK(ffi_prep_closure(pcl, &cif, stub, NULL) == FFI_OK);
|
/external/mesa3d/src/mapi/mapi/ |
mapi.c | 35 #include "stub.h" 45 const struct mapi_stub *stub; local 47 stub = stub_find_public(name); 48 if (!stub) { 52 stub = dyn; 56 return stub; 100 const struct mapi_stub *stub; local 102 stub = get_stub(p, NULL); 104 if (!stub) 109 get_stub(p, stub); 129 const struct mapi_stub *stub; local 174 const struct mapi_stub *stub = mapi_stub_map[i]; local [all...] |
mapi_glapi.c | 34 #include "mapi/stub.h" 82 * Fill-in the dispatch stub for the named function. 85 * a dispatch stub may be created created for the function. A pointer to this 129 const struct mapi_stub *stub; local 136 stub = stub_find_public(funcName); 137 if (!stub) 138 stub = stub_find_dynamic(funcName, 0); 140 slot = (stub) ? stub_get_slot(stub) : -1; 144 /* use the first existing stub as the alias * 155 struct mapi_stub *stub; local 175 const struct mapi_stub *stub; local 199 const struct mapi_stub *stub = _glapi_get_stub(funcName, 0); local 211 const struct mapi_stub *stub = _glapi_get_stub(funcName, 1); local [all...] |
stub.c | 36 #include "stub.h" 74 const struct mapi_stub *stub = (const struct mapi_stub *) elem; local 77 stub_name = &public_string_pool[(unsigned long) stub->name]; 83 * Return the public stub with the given name. 93 * Add a dynamic stub. 98 struct mapi_stub *stub; local 106 stub = &dynamic_stubs[idx]; 109 stub->addr = entry_generate( 111 if (!stub->addr) 114 stub->name = (const void *) name 131 struct mapi_stub *stub = NULL; local [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewStubTest.java | 19 import com.android.cts.stub.R; 45 super("com.android.cts.stub", ViewStubStubActivity.class); 202 ViewStub stub = new ViewStub(mContext); local 203 assertNull(stub.getParent()); 205 stub.inflate(); 214 public void onInflate(ViewStub stub, View inflated) {
|
/external/chromium_org/content/common/gpu/ |
image_transport_surface.h | 72 GpuCommandBufferStub* stub, 94 GpuCommandBufferStub* stub, 107 GpuCommandBufferStub* stub, 148 GpuCommandBufferStub* stub() const { return stub_.get(); } function in class:content::ImageTransportHelper 182 GpuCommandBufferStub* stub,
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
ServiceTest.java | 119 TestService stub = TestService.newStub(mockChannel); local 135 stub.foo(mockController, fooRequest, fooCallback); 136 stub.bar(mockController, barRequest, barCallback); 146 TestService.BlockingInterface stub = local 164 assertSame(fooResponse, stub.foo(mockController, fooRequest)); 165 assertSame(barResponse, stub.bar(mockController, barRequest));
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
ServiceTest.java | 119 TestService stub = TestService.newStub(mockChannel); local 135 stub.foo(mockController, fooRequest, fooCallback); 136 stub.bar(mockController, barRequest, barCallback); 146 TestService.BlockingInterface stub = local 164 assertSame(fooResponse, stub.foo(mockController, fooRequest)); 165 assertSame(barResponse, stub.bar(mockController, barRequest));
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
trnserr.cpp | 276 StubTransliterator stub; local 278 if (stub.clone() != NULL){
|
/external/icu4c/test/intltest/ |
trnserr.cpp | 276 StubTransliterator stub; local 278 if (stub.clone() != NULL){
|
/external/libffi/src/x86/ |
darwin.S | 199 call L_ffi_closure_SYSV_inner$stub 332 L_ffi_closure_SYSV_inner$stub:
|
/external/mockito/src/org/mockito/ |
Mockito.java | 382 * Sometimes we need to stub with different return value/exception for the same
450 * Use <code>doThrow()</code> when you want to stub a void method with an exception:
463 * <li>stub void methods</li>
464 * <li>stub methods on spy objects (see below)</li>
465 * <li>stub the same method more than once, to change the behaviour of a mock in the middle of a test.</li>
507 * //optionally, you can stub out some methods:
551 * Mockito doesn't mock final methods so the bottom line is: when you spy on real objects + you try to stub a final method = trouble.
565 * It is the default answer so it will be used <b>only when you don't</b> stub the method call.
690 * Hence {@link BDDMockito} class introduces an alias so that you stub method calls with {@link BDDMockito#given(Object)} method.
1376 public static <T> DeprecatedOngoingStubbing<T> stub(T methodCall) { method in class:Mockito [all...] |
/external/opencv/cv/src/ |
cvfeatureselect.cpp | 80 CvMat stub, *img = (CvMat*)image; local 91 CV_CALL( img = cvGetMat( img, &stub, &coi1 ));
|