Searched defs:got (Results 1 - 13 of 13) 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.cpp44 GOTPLTEntry* got = &(llvm::cast<GOTPLTEntry>((*it))); local
45 *buffer = static_cast<uint32_t>(got->getValue());
46 result += got->size();
H A DMipsLDBackend.cpp175 // set .got size
176 // when building shared object, the .got section is must.
922 // initialize .got
923 LDSection& got = fileFormat->getGOT(); local
924 m_pGOT = new Mips32GOT(got);
926 // initialize .got.plt
971 // initialize .got
972 LDSection& got = fileFormat->getGOT(); local
973 m_pGOT = new Mips64GOT(got);
975 // initialize .got
[all...]
H A DMipsRelocator.cpp618 MipsGOT& got = getTarget().getGOT(); local
623 Fragment* got_entry = got.lookupLocalEntry(rsym, entryValue);
630 got_entry = got.consumeLocal();
632 if (got.isPrimaryGOTConsumed())
635 got.setEntryValue(got_entry, entryValue);
637 got.recordLocalEntry(rsym, entryValue, got_entry);
646 MipsGOT& got = getTarget().getGOT(); local
651 Fragment* got_entry = got.lookupGlobalEntry(rsym);
658 got_entry = got.consumeGlobal();
660 if (got
673 MipsGOT& got = getTarget().getGOT(); local
739 Fragment* got = getTarget().getGOTPLT().consume(); local
935 MipsGOT& got = pParent.getTarget().getGOT(); local
[all...]
/frameworks/base/tools/aidl/
H A Doptions_test.cpp21 match_arrays(const char* const*expected, const vector<string> &got) argument
27 if (got.size() != count) {
31 if (got[i] != expected[i]) {
48 print_array(const char* prefix, const vector<string> &got) argument
50 size_t count = got.size();
52 cout << prefix << got[i] << endl;
71 cout << "mismatch: result: got " << result << " expected " <<
83 cout << "mismatch: systemSearchPath: got" << endl;
92 cout << "mismatch: localSearchPath: got" << endl;
101 cout << "mismatch: inputFileName: got " << option
[all...]
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64GOT.cpp132 AArch64GOTEntry* got = NULL; local
135 got = &(llvm::cast<AArch64GOTEntry>((*it)));
136 *buffer = static_cast<uint64_t>(got->getValue());
H A DAArch64LDBackend.cpp95 // initialize .got
96 LDSection& got = file_format->getGOT(); local
97 m_pGOT = new AArch64GOT(got);
99 // when -z now is given, there will be only one .got section (contains
100 // both GOTPLT and normal GOT entries), create GOT0 for .got section and
101 // set m_pGOTPLT to the same .got
106 // Otherwise, got should be seperated to two sections, .got and .got.plt
107 // initialize .got
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMGOT.cpp127 ARMGOTEntry* got = NULL; local
130 got = &(llvm::cast<ARMGOTEntry>((*it)));
131 *buffer = static_cast<uint32_t>(got->getValue());
H A DARMLDBackend.cpp109 // initialize .got
110 LDSection& got = file_format->getGOT(); local
111 m_pGOT = new ARMGOT(got);
230 // set .got size
231 // when building shared object, the .got section is must
307 // define symbol _GLOBAL_OFFSET_TABLE_ when .got create
512 // If the input section's size is zero, we got a NULL region.
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86LDBackend.cpp93 // set .got.plt and .got sizes
94 // when building shared object, the .got section is must
378 // initialize .got
379 LDSection& got = file_format->getGOT(); local
380 m_pGOT = new X86_32GOT(got);
382 // initialize .got.plt
496 // set .got.plt size
504 // set .got size
515 X86_32GOTEntry* got local
538 X86_32GOTEntry* got = 0; local
670 LDSection& got = file_format->getGOT(); local
715 X86_64GOTEntry* got = 0; local
739 X86_64GOTEntry* got = 0; local
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp93 // set .got.plt and .got sizes
94 // when building shared object, the .got section is must
315 // set .got.plt size
323 // set .got size
335 HexagonGOTEntry* got = 0; local
341 got = &(llvm::cast<HexagonGOTEntry>((*it)));
342 *buffer = static_cast<uint32_t>(got->getValue());
386 HexagonGOTEntry* got = 0; local
392 got
439 LDSection& got = file_format->getGOT(); local
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp2301 // It seems that compiler think .got and .got.plt are continuous (w/o
2302 // any padding between). If .got is the last section in PT_RELRO and
2303 // it's not continuous to its next section (i.e. .got.plt), we need to
2304 // add padding in front of .got instead.
2306 LDSection& got = getOutputFormat()->getGOT(); local
2307 if ((getSectionOrder(got) == SHO_RELRO_LAST) &&
2308 (got.addr() + got.size() < vma)) {
2309 uint64_t diff = vma - got
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp2456 bool got = getItemValue(attrID, e->getBag().valueAt(i).bagKeyId, &val); local
2457 if (!got) {

Completed in 203 milliseconds