Searched defs:got (Results 1 - 19 of 19) 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/base/services/tests/servicestests/src/android/net/
H A DConnectivityMetricsLoggerTest.java124 static void assertEventsEqual(ConnectivityMetricsEvent expected, ConnectivityMetricsEvent got) { argument
125 assertEquals(expected.timestamp, got.timestamp);
126 assertEquals(expected.componentTag, got.componentTag);
127 assertEquals(expected.eventTag, got.eventTag);
128 assertEquals(expected.data, got.data);
/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/base/services/tests/servicestests/src/com/android/server/connectivity/
H A DIpConnectivityMetricsTest.java71 List<ConnectivityMetricsEvent> got = verifyEvents(3);
72 assertEventsEqual(expectedEvent(1), got.get(0));
73 assertEventsEqual(expectedEvent(2), got.get(1));
74 assertEventsEqual(expectedEvent(3), got.get(2));
94 List<ConnectivityMetricsEvent> got = verifyEvents(nCallers * nEvents, 100);
95 Collections.sort(got, EVENT_COMPARATOR);
96 Iterator<ConnectivityMetricsEvent> iter = got.iterator();
265 byte[] got = Base64.decode(output, Base64.DEFAULT);
267 IpConnectivityLogClass.IpConnectivityLog.parseFrom(got);
287 static void assertEventsEqual(ConnectivityMetricsEvent expected, ConnectivityMetricsEvent got) { argument
[all...]
H A DNetdEventListenerServiceTest.java213 IpConnectivityEvent got = events.get(0);
251 verifyConnectEvent(want, got);
289 for (DnsEvent got : mDnsEvCaptor.getAllValues()) {
291 .filter(i -> dnsEventsEqual(expectedEvents[i], got))
300 static boolean dnsEventsEqual(DnsEvent expected, DnsEvent got) { argument
301 return (expected == got) || ((expected != null) && (got != null)
302 && (expected.netId == got.netId)
303 && Arrays.equals(expected.eventTypes, got.eventTypes)
304 && Arrays.equals(expected.returnCodes, got
316 verifyConnectEvent(String expected, IpConnectivityEvent got) argument
[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.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/base/services/tests/servicestests/src/android/net/dhcp/
H A DDhcpPacketTest.java472 private void assertDhcpErrorCodes(int expected, int got) { argument
473 assertEquals(Integer.toHexString(expected), Integer.toHexString(got));
/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/services/tests/servicestests/src/android/net/apf/
H A DApfTest.java98 private static void assertReturnCodesEqual(int expected, int got) { argument
99 assertEquals(label(expected), label(got));
1009 RaEvent got = lastRaEvent(captor.getAllValues());
1010 if (!raEventEquals(expected, got)) {
1011 assertEquals(expected, got); // fail for printing an assertion error message.
1016 RaEvent got = null;
1019 got = (RaEvent) ev;
1022 return got;
1201 public void assertEqualsIp(String expected, int got) throws Exception { argument
1203 assertEquals(want, got);
[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.cpp1999 int got = readFileDescriptor(); local
2001 if (got == BAD_TYPE) {
2005 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 498 milliseconds