Searched refs:got (Results 1 - 18 of 18) 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 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...]
H A DMipsGOT.cpp417 Mips32GOTEntry* got = &(llvm::cast<Mips32GOTEntry>((*it)));
418 *buffer = static_cast<uint32_t>(got->getValue());
419 result += got->size();
458 Mips64GOTEntry* got = &(llvm::cast<Mips64GOTEntry>((*it)));
459 *buffer = static_cast<uint64_t>(got->getValue());
460 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...]
/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java122 int got = in.read(buffer, 0, toRead);
123 if (got <= 0) {
124 Log.w(TAG, "Incomplete read: expected " + size + " but got "
130 out.write(buffer, 0, got);
140 size -= got;
/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/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/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/core/java/android/content/res/
H A DResources.java1603 boolean got = mAssets.getThemeValue(mTheme, resid, outValue, resolveRefs);
1607 + " got=" + got + ", type=0x" + Integer.toHexString(outValue.type)
1610 return got;
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java2145 if (DEBUG) Slog.i(TAG, "got agent " + mConnectedAgent);
4713 // If we got here we're either running smoothly or we've finished
5064 // Okay, got the manifest info we need...
5367 if (MORE_DEBUG) Slog.w(TAG, "- wanted exactly " + size + " but got only " + soFar);
5371 if (MORE_DEBUG) Slog.v(TAG, " + got " + nRead + "; now wanting " + (size - soFar));
5377 final int got = readExactly(instream, block, 0, 512);
5378 if (got == 0) return false; // Clean EOF
5379 if (got < 512) throw new IOException("Unable to read full block header");
6401 // Okay, got the manifest info we need...
6656 if (MORE_DEBUG) Slog.w(TAG, "- wanted exactly " + size + " but got onl
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DProcessStats.java1481 throw new RuntimeException("bad array lengths: got " + num + " array is " + alen);
1673 int got;
1674 if ((got=in.readInt()) != val) {
1675 mReadError = "bad " + what + ": " + got;
/frameworks/base/tools/aapt/
H A DResourceTable.cpp2456 bool got = getItemValue(attrID, e->getBag().valueAt(i).bagKeyId, &val); local
2457 if (!got) {

Completed in 262 milliseconds