Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/netlink/
DRtNetlinkNeighborMessageTest.java146 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmDelNeigh() local
147 assertNotNull(hdr); in testParseRtmDelNeigh()
148 assertEquals(76, hdr.nlmsg_len); in testParseRtmDelNeigh()
149 assertEquals(NetlinkConstants.RTM_DELNEIGH, hdr.nlmsg_type); in testParseRtmDelNeigh()
150 assertEquals(0, hdr.nlmsg_flags); in testParseRtmDelNeigh()
151 assertEquals(0, hdr.nlmsg_seq); in testParseRtmDelNeigh()
152 assertEquals(0, hdr.nlmsg_pid); in testParseRtmDelNeigh()
172 final StructNlMsgHdr hdr = neighMsg.getHeader(); in testParseRtmNewNeigh() local
173 assertNotNull(hdr); in testParseRtmNewNeigh()
174 assertEquals(88, hdr.nlmsg_len); in testParseRtmNewNeigh()
[all …]
DNetlinkErrorMessageTest.java64 final StructNlMsgHdr hdr = errorMsg.getHeader(); in testParseNlmErrorOk() local
65 assertNotNull(hdr); in testParseNlmErrorOk()
66 assertEquals(36, hdr.nlmsg_len); in testParseNlmErrorOk()
67 assertEquals(NetlinkConstants.NLMSG_ERROR, hdr.nlmsg_type); in testParseNlmErrorOk()
68 assertEquals(0, hdr.nlmsg_flags); in testParseNlmErrorOk()
69 assertEquals(13606, hdr.nlmsg_seq); in testParseNlmErrorOk()
70 assertEquals(4196, hdr.nlmsg_pid); in testParseNlmErrorOk()
DNetlinkSocketTest.java69 final StructNlMsgHdr hdr = msg.getHeader(); in testBasicWorkingGetNeighborsQuery() local
70 assertNotNull(hdr); in testBasicWorkingGetNeighborsQuery()
72 if (hdr.nlmsg_type == NetlinkConstants.NLMSG_DONE) { in testBasicWorkingGetNeighborsQuery()
77 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testBasicWorkingGetNeighborsQuery()
79 assertTrue((hdr.nlmsg_flags & StructNlMsgHdr.NLM_F_MULTI) != 0); in testBasicWorkingGetNeighborsQuery()
80 assertEquals(TEST_SEQNO, hdr.nlmsg_seq); in testBasicWorkingGetNeighborsQuery()
81 assertEquals(localAddr.getPortId(), hdr.nlmsg_pid); in testBasicWorkingGetNeighborsQuery()
/frameworks/rs/
DrsThreadIO.cpp53 CoreCmdHeader *hdr = (CoreCmdHeader *)&mSendBuffer[0]; in coreHeader() local
54 hdr->bytes = dataLen; in coreHeader()
55 hdr->cmdID = cmdID; in coreHeader()
215 ClientCmdHeader hdr; in sendToClient() local
216 hdr.bytes = (uint32_t)dataLen; in sendToClient()
217 hdr.cmdID = cmdID; in sendToClient()
218 hdr.userID = usrID; in sendToClient()
220 mToClient.writeAsync(&hdr, sizeof(hdr)); in sendToClient()
/frameworks/wilhelm/src/itf/
DIAndroidBufferQueue.c534 const AdvancedBufferHeader *hdr;
535 for (hdr = thiz->mFront; hdr != thiz->mRear; ) {
536 SLuint32 i = hdr - thiz->mBufferArray;
540 switch (hdr->mItems.mTsCmdData.mTsCmdCode) {
552 hdr->mItems.mTsCmdData.mPts);
558 snprintf(itemString, sizeof(itemString), "0x%x", hdr->mItems.mTsCmdData.mTsCmdCode);
563 switch (hdr->mItems.mAdtsCmdData.mAdtsCmdCode) {
572 hdr->mItems.mAdtsCmdData.mAdtsCmdCode);
581 i, hdr->mDataBuffer, hdr->mDataSize, hdr->mDataSizeConsumed,
582 hdr->mBufferContext, itemString);
[all …]
/frameworks/compile/mclinker/lib/LD/
DELFReader.cpp46 const llvm::ELF::Elf32_Ehdr* hdr = in isELF() local
48 if (memcmp(llvm::ELF::ElfMagic, hdr, 4) == 0) in isELF()
261 const llvm::ELF::Elf32_Ehdr* hdr = in isMyEndian() local
264 return (hdr->e_ident[llvm::ELF::EI_DATA] == llvm::ELF::ELFDATA2LSB); in isMyEndian()
269 const llvm::ELF::Elf32_Ehdr* hdr = in isMyMachine() local
273 return (hdr->e_machine == target().getInfo().machine()); in isMyMachine()
274 return (mcld::bswap16(hdr->e_machine) == target().getInfo().machine()); in isMyMachine()
279 const llvm::ELF::Elf32_Ehdr* hdr = in fileType() local
283 type = hdr->e_type; in fileType()
285 type = mcld::bswap16(hdr->e_type); in fileType()
[all …]
/frameworks/av/media/libstagefright/
DMPEG4Extractor.cpp769 uint32_t hdr[2]; in parseChunk() local
770 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()
773 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()
774 int32_t chunk_type = ntohl(hdr[1]); in parseChunk()
3391 uint32_t hdr[2]; in parseChunk() local
3392 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()
3395 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()
3396 uint32_t chunk_type = ntohl(hdr[1]); in parseChunk()
3437 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()
3440 chunk_size = ntohl(hdr[0]); in parseChunk()
[all …]
/frameworks/compile/mclinker/tools/mcld/
DOptions.td207 def EHFrameHdr : Flag<["--"], "eh-frame-hdr">,
/frameworks/base/docs/html/ndk/downloads/
Drevision_history.jd979 {@code -gc-sections} and {@code --eh-frame-hdr}.</li>
990 <li>Fixed GCC 4.6/4.7/4.8 compiler to pass the linker option {@code --eh-frame-hdr} even
1118 {@code ld.mcld --eh-frame-hdr} fails frequently.</li>
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/api/
Dcurrent.txt12925 field public static final java.lang.String SCENE_MODE_HDR = "hdr";
Dsystem-current.txt13262 field public static final java.lang.String SCENE_MODE_HDR = "hdr";