Searched defs:got (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/tools/aapt/tests/
H A DCrunchCache_test.cpp18 void expectEqual(int got, int expected, const char* desc) { argument
20 cout << "Got " << got << ", expected " << expected << "...";
21 cout << ( (got == expected) ? "PASSED" : "FAILED") << endl;
22 errno += ((got == expected) ? 0 : 1);
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOTPLT.cpp35 GOTPLTEntry* got = &(llvm::cast<GOTPLTEntry>((*it))); local
36 *buffer = static_cast<uint32_t>(got->getValue());
37 result += got->size();
H A DMipsGOT.cpp496 Mips32GOTEntry* got = &(llvm::cast<Mips32GOTEntry>((*it))); local
497 *buffer = static_cast<uint32_t>(got->getValue());
498 result += got->size();
531 Mips64GOTEntry* got = &(llvm::cast<Mips64GOTEntry>((*it))); local
532 *buffer = static_cast<uint64_t>(got->getValue());
533 result += got->size();
H A DMipsRelocator.cpp602 MipsGOT& got = getTarget().getGOT(); local
607 Fragment* got_entry = got.lookupLocalEntry(rsym, entryValue);
614 got_entry = got.consumeLocal();
616 if (got.isPrimaryGOTConsumed())
619 got.setEntryValue(got_entry, entryValue);
621 got.recordLocalEntry(rsym, entryValue, got_entry);
629 MipsGOT& got = getTarget().getGOT(); local
634 Fragment* got_entry = got.lookupGlobalEntry(rsym);
641 got_entry = got.consumeGlobal();
643 if (got
656 MipsGOT& got = getTarget().getGOT(); local
674 MipsGOT& got = getTarget().getGOT(); local
690 MipsGOT& got = getTarget().getGOT(); local
970 MipsGOT& got = pParent.getTarget().getGOT(); local
[all...]
H A DMipsLDBackend.cpp188 // set .got size
189 // when building shared object, the .got section is must.
1268 // initialize .got
1269 LDSection& got = fileFormat->getGOT(); local
1270 m_pGOT = new Mips32GOT(got);
1272 // initialize .got.plt
1313 // initialize .got
1314 LDSection& got = fileFormat->getGOT(); local
1315 m_pGOT = new Mips64GOT(got);
1317 // initialize .got
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMGOT.cpp118 ARMGOTEntry* got = NULL; local
121 got = &(llvm::cast<ARMGOTEntry>((*it)));
122 *buffer = static_cast<uint32_t>(got->getValue());
H A DARMLDBackend.cpp177 // initialize .got
178 LDSection& got = file_format->getGOT(); local
179 m_pGOT = new ARMGOT(got);
291 // set .got size
292 // when building shared object, the .got section is must
365 // define symbol _GLOBAL_OFFSET_TABLE_ when .got create
626 // If the input section's size is zero, we got a NULL region.
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64GOT.cpp121 AArch64GOTEntry* got = NULL; local
124 got = &(llvm::cast<AArch64GOTEntry>((*it)));
125 *buffer = static_cast<uint64_t>(got->getValue());
H A DAArch64LDBackend.cpp93 // initialize .got
94 LDSection& got = file_format->getGOT(); local
95 m_pGOT = new AArch64GOT(got);
97 // when -z now is given, there will be only one .got section (contains
98 // both GOTPLT and normal GOT entries), create GOT0 for .got section and
99 // set m_pGOTPLT to the same .got
103 // Otherwise, got should be seperated to two sections, .got and .got.plt
104 // initialize .got
[all...]
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86LDBackend.cpp87 // set .got.plt and .got sizes
88 // when building shared object, the .got section is must
349 // initialize .got
350 LDSection& got = file_format->getGOT(); local
351 m_pGOT = new X86_32GOT(got);
353 // initialize .got.plt
456 // set .got.plt size
463 // set .got size
473 X86_32GOTEntry* got local
496 X86_32GOTEntry* got = 0; local
617 LDSection& got = file_format->getGOT(); local
658 X86_64GOTEntry* got = 0; local
681 X86_64GOTEntry* got = 0; local
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp89 // set .got.plt and .got sizes
90 // when building shared object, the .got section is must
292 // set .got.plt size
299 // set .got size
309 HexagonGOTEntry* got = 0; local
315 got = &(llvm::cast<HexagonGOTEntry>((*it)));
316 *buffer = static_cast<uint32_t>(got->getValue());
358 HexagonGOTEntry* got = 0; local
365 got
409 LDSection& got = file_format->getGOT(); local
[all...]
/frameworks/native/libs/binder/
H A DParcel.cpp1998 int got = readFileDescriptor(); local
2000 if (got == BAD_TYPE) {
2004 val->reset(dup(got));
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp2203 // It seems that compiler think .got and .got.plt are continuous (w/o
2204 // any padding between). If .got is the last section in PT_RELRO and
2205 // it's not continuous to its next section (i.e. .got.plt), we need to
2206 // add padding in front of .got instead.
2208 LDSection& got = getOutputFormat()->getGOT(); local
2209 if ((getSectionOrder(got) == SHO_RELRO_LAST) &&
2210 (got.addr() + got.size() < vma)) {
2211 uint64_t diff = vma - got
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp2544 bool got = getItemValue(attrID, e->getBag().valueAt(i).bagKeyId, &val); local
2545 if (!got) {

Completed in 2063 milliseconds