Searched refs:stub (Results 1 - 12 of 12) sorted by relevance

/frameworks/rs/cpu_ref/linkloader/lib/
H A DStubLayout.cpp35 // 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 local
88 uint32_t *stub = (uint32_t *)stub_; local
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DViewStubTest.java42 final View stub = activity.findViewById(R.id.viewStub);
43 assertNotNull("The ViewStub does not exist", stub);
51 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStub);
52 final View swapped = stub.inflate();
62 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId);
63 final View swapped = stub.inflate();
75 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId);
76 final View swapped = stub.inflate();
80 assertEquals("Both stub and inflated should same width",
81 stub
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DStubFactory.cpp33 /// addPrototype - register a stub prototype
39 /// create - create a stub if needed, otherwise return NULL
45 // find if there is a prototype stub for the input relocation
56 // find if there is such a stub in the island already
58 Stub* stub = island->findStub(prototype, pReloc); local
59 if (NULL != stub) {
60 // reset the branch target to the stub instead!
61 pReloc.setSymInfo(stub->symInfo());
64 // create a stub from the prototype
65 stub
[all...]
/frameworks/rs/cpu_ref/linkloader/include/
H A DStubLayout.h41 virtual void setStubAddress(void *stub, void *addr) = 0;
51 virtual void setStubAddress(void *stub, void *addr);
60 virtual void setStubAddress(void *stub, void *addr);
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFObject.hxx233 // Get the stub for this function
237 llvm::errs() << "unable to get stub layout." << "\n";
241 void *stub = stub_layout->allocateStub(callee_addr); local
243 if (!stub) {
244 llvm::errs() << "unable to allocate stub." << "\n";
248 //LOGI("Function %s: using stub %p\n", sym->getName(), stub);
249 S = (uint32_t)(uintptr_t)stub;
526 void *stub = text->getStubLayout()->allocateStub((void *)A); local
527 rsl_assert(stub
537 void *stub = text->getStubLayout()->allocateStub((void *)S); local
[all...]
/frameworks/base/tools/aidl/
H A Dgenerate_java_binder.cpp27 this->comment = "/** Local-side IPC implementation stub class. */";
43 ctor->comment = "/** Construct the stub at attach it to the "
291 // == the stub method ====================================================
496 generate_interface_descriptors(StubClass* stub, ProxyClass* proxy) argument
500 c->statements->Add(new MethodCall(stub->transact_reply, "writeString",
503 stub->transact_switch->cases.push_back(c);
530 // the stub inner class
531 StubClass* stub = new StubClass( local
534 interface->elements.push_back(stub);
541 stub
[all...]
H A Daidl.cpp328 // for interfaces, also add the stub and proxy types, we don't
335 Type* stub = new Type(c->package ? c->package : "", local
338 NAMES.Add(stub);
/frameworks/av/media/libstagefright/timedtext/test/
H A DTimedTextSRTSource_test.cpp84 sp<DataSource> stub= new SRTDataSourceStub( local
87 mSource = new TimedTextSRTSource(stub);
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp559 Stub* stub = getStubFactory()->create(*relocation, // relocation local
563 if (NULL != stub) {
564 // a stub symbol should be local
565 assert(NULL != stub->symInfo() && stub->symInfo()->isLocal());
575 strtab.setSize(strtab.size() + stub->symInfo()->nameSize() + 1);
589 // find the first fragment w/ invalid offset due to stub insertion
/frameworks/base/core/java/android/view/
H A DViewStub.java43 * &lt;ViewStub android:id="@+id/stub"
50 * The ViewStub thus defined can be found using the id "stub." After inflation of
59 * ViewStub stub = (ViewStub) findViewById(R.id.stub);
60 * View inflated = stub.inflate();
315 * @param stub The ViewStub that initiated the inflation.
318 void onInflate(ViewStub stub, View inflated); argument
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp597 Stub* stub = getStubFactory()->create(*relocation, // relocation local
601 if (NULL != stub) {
602 assert(NULL != stub->symInfo());
607 strtab.setSize(strtab.size() + stub->symInfo()->nameSize() + 1);
620 // find the first fragment w/ invalid offset due to stub insertion
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java2408 ViewStub stub = (ViewStub) findViewById(
2410 if (stub != null) {
2411 mActionModeView = (ActionBarContextView) stub.inflate();

Completed in 354 milliseconds