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.cpp41 GOTPLTEntry* got = &(llvm::cast<GOTPLTEntry>((*it))); local
42 *buffer = static_cast<uint32_t>(got->getValue());
43 result += got->size();
H A DMipsRelocator.cpp560 MipsGOT& got = getTarget().getGOT(); local
565 Fragment* got_entry = got.lookupLocalEntry(rsym, entryValue);
572 got_entry = got.consumeLocal();
574 if (got.isPrimaryGOTConsumed())
577 got.setEntryValue(got_entry, entryValue);
579 got.recordLocalEntry(rsym, entryValue, got_entry);
587 MipsGOT& got = getTarget().getGOT(); local
592 Fragment* got_entry = got.lookupGlobalEntry(rsym);
599 got_entry = got.consumeGlobal();
601 if (got
613 MipsGOT& got = getTarget().getGOT(); local
672 Fragment* got = getTarget().getGOTPLT().consume(); local
876 MipsGOT& got = pParent.getTarget().getGOT(); local
[all...]
H A DMipsGOT.cpp384 Mips32GOTEntry* got = &(llvm::cast<Mips32GOTEntry>((*it))); local
385 *buffer = static_cast<uint32_t>(got->getValue());
386 result += got->size();
419 Mips64GOTEntry* got = &(llvm::cast<Mips64GOTEntry>((*it))); local
420 *buffer = static_cast<uint64_t>(got->getValue());
421 result += got->size();
H A DMipsLDBackend.cpp166 // set .got size
167 // when building shared object, the .got section is must.
851 // initialize .got
852 LDSection& got = fileFormat->getGOT(); local
853 m_pGOT = new Mips32GOT(got);
855 // initialize .got.plt
896 // initialize .got
897 LDSection& got = fileFormat->getGOT(); local
898 m_pGOT = new Mips64GOT(got);
900 // 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/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.cpp121 AArch64GOTEntry* got = NULL; local
124 got = &(llvm::cast<AArch64GOTEntry>((*it)));
125 *buffer = static_cast<uint64_t>(got->getValue());
H A DAArch64LDBackend.cpp88 // initialize .got
89 LDSection& got = file_format->getGOT(); local
90 m_pGOT = new AArch64GOT(got);
92 // when -z now is given, there will be only one .got section (contains
93 // both GOTPLT and normal GOT entries), create GOT0 for .got section and
94 // set m_pGOTPLT to the same .got
98 // Otherwise, got should be seperated to two sections, .got and .got.plt
99 // 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.cpp109 // initialize .got
110 LDSection& got = file_format->getGOT(); local
111 m_pGOT = new ARMGOT(got);
223 // set .got size
224 // when building shared object, the .got section is must
297 // define symbol _GLOBAL_OFFSET_TABLE_ when .got create
555 // If the input section's size is zero, we got a NULL region.
/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java162 int got = in.read(buffer, 0, toRead);
163 if (got <= 0) {
164 Log.w(TAG, "Incomplete read: expected " + size + " but got "
170 out.write(buffer, 0, got);
180 size -= got;
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp88 // set .got.plt and .got sizes
89 // when building shared object, the .got section is must
291 // set .got.plt size
298 // set .got size
308 HexagonGOTEntry* got = 0; local
314 got = &(llvm::cast<HexagonGOTEntry>((*it)));
315 *buffer = static_cast<uint32_t>(got->getValue());
357 HexagonGOTEntry* got = 0; local
364 got
408 LDSection& got = file_format->getGOT(); local
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp2197 // It seems that compiler think .got and .got.plt are continuous (w/o
2198 // any padding between). If .got is the last section in PT_RELRO and
2199 // it's not continuous to its next section (i.e. .got.plt), we need to
2200 // add padding in front of .got instead.
2202 LDSection& got = getOutputFormat()->getGOT(); local
2203 if ((getSectionOrder(got) == SHO_RELRO_LAST) &&
2204 (got.addr() + got.size() < vma)) {
2205 uint64_t diff = vma - got
[all...]
/frameworks/base/core/java/android/content/res/
H A DResources.java1689 boolean got = mAssets.getThemeValue(mTheme, resid, outValue, resolveRefs);
1693 + " got=" + got + ", type=0x" + Integer.toHexString(outValue.type)
1696 return got;
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java2249 if (DEBUG) Slog.i(TAG, "got agent " + mConnectedAgent);
4291 // got the callback, and our preflightFullBackup() method is waiting for the result
5042 // If we got here we're either running smoothly or we've finished
5381 // Okay, got the manifest info we need...
5686 if (MORE_DEBUG) Slog.w(TAG, "- wanted exactly " + size + " but got only " + soFar);
5690 if (MORE_DEBUG) Slog.v(TAG, " + got " + nRead + "; now wanting " + (size - soFar));
5696 final int got = readExactly(instream, block, 0, 512);
5697 if (got == 0) return false; // Clean EOF
5698 if (got < 512) throw new IOException("Unable to read full block header");
6722 // Okay, got th
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DProcessStats.java1448 throw new RuntimeException("bad array lengths: got " + num + " array is " + alen);
1640 int got;
1641 if ((got=in.readInt()) != val) {
1642 mReadError = "bad " + what + ": " + got;
/frameworks/base/tools/aapt/
H A DResourceTable.cpp2494 bool got = getItemValue(attrID, e->getBag().valueAt(i).bagKeyId, &val); local
2495 if (!got) {

Completed in 2064 milliseconds