Home
last modified time | relevance | path

Searched refs:uint64_t (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/frameworks/av/media/libstagefright/webm/
DWebmElement.h30 const uint64_t mId, mSize;
32 WebmElement(uint64_t id, uint64_t size);
37 uint64_t totalSize();
38 uint64_t serializeInto(uint8_t *buf);
39 uint8_t *serialize(uint64_t& size);
40 int write(int fd, uint64_t& size);
50 static sp<WebmElement> SegmentInfo(uint64_t scale = 1000000, double dur = 0);
57 uint64_t uid = 0,
63 uint64_t width,
64 uint64_t height,
[all …]
DEbmlUtil.cpp38 uint64_t highestOneBit(uint64_t n) { in highestOneBit()
48 uint64_t _powerOf2(uint64_t u) { in _powerOf2()
49 uint64_t powerOf2 = highestOneBit(u); in _powerOf2()
54 int numberOfTrailingZeros(uint64_t u) { in numberOfTrailingZeros()
75 uint64_t encodeUnsigned(uint64_t u) { in encodeUnsigned()
76 uint64_t powerOf2 = _powerOf2(u); in encodeUnsigned()
86 uint64_t encodeUnsigned(uint64_t u, int width) { in encodeUnsigned()
88 uint64_t lengthDescriptor = 1; in encodeUnsigned()
94 int sizeOf(uint64_t u) { in sizeOf()
95 uint64_t powerOf2 = _powerOf2(u); in sizeOf()
[all …]
DEbmlUtil.h36 uint64_t encodeUnsigned(uint64_t u);
40 uint64_t encodeUnsigned(uint64_t u, int width);
43 int serializeCodedUnsigned(uint64_t u, uint8_t* bary);
46 int sizeOf(uint64_t u);
DWebmElement.cpp50 uint64_t childrenSum(const List<sp<WebmElement> >& children) { in childrenSum()
51 uint64_t total = 0; in childrenSum()
61 uint64_t uid, in populateCommonTrackEntries()
78 WebmElement::WebmElement(uint64_t id, uint64_t size) in WebmElement()
89 uint64_t WebmElement::serializeInto(uint8_t *buf) { in serializeInto()
100 uint64_t WebmElement::totalSize() { in totalSize()
106 uint8_t *WebmElement::serialize(uint64_t& size) { in serialize()
113 int WebmElement::write(int fd, uint64_t& size) { in write()
137 WebmUnsigned::WebmUnsigned(uint64_t id, uint64_t value) in WebmUnsigned()
147 WebmFloat::WebmFloat(uint64_t id, double value) in WebmFloat()
[all …]
DWebmWriter.h56 uint64_t mTimeCodeScale;
60 uint64_t mSegmentOffset;
61 uint64_t mSegmentDataStart;
62 uint64_t mInfoOffset;
63 uint64_t mInfoSize;
64 uint64_t mTracksOffset;
65 uint64_t mCuesOffset;
72 uint64_t mEstimatedCuesSize;
118 uint64_t estimateCuesSize(int32_t bitRate);
/frameworks/compile/mclinker/include/mcld/LD/
DELFSegment.h60 uint64_t offset() const { return m_Offset; } in offset()
61 uint64_t vaddr() const { return m_Vaddr; } in vaddr()
62 uint64_t paddr() const { return m_Paddr; } in paddr()
63 uint64_t filesz() const { return m_Filesz; } in filesz()
64 uint64_t memsz() const { return m_Memsz; } in memsz()
66 uint64_t align() const { return std::max(m_Align, m_MaxSectionAlign); } in align()
76 void setOffset(uint64_t pOffset) { m_Offset = pOffset; } in setOffset()
78 void setVaddr(uint64_t pVaddr) { m_Vaddr = pVaddr; } in setVaddr()
80 void setPaddr(uint64_t pPaddr) { m_Paddr = pPaddr; } in setPaddr()
82 void setFilesz(uint64_t pFilesz) { m_Filesz = pFilesz; } in setFilesz()
[all …]
DLDSection.h41 uint64_t pSize = 0,
42 uint64_t pAddr = 0);
51 uint64_t pSize = 0,
52 uint64_t pAddr = 0);
83 uint64_t size() const { return m_Size; } in size()
87 uint64_t offset() const { return m_Offset; } in offset()
99 uint64_t addr() const { return m_Addr; } in addr()
120 void setSize(uint64_t size) { m_Size = size; } in setSize()
122 void setOffset(uint64_t Offset) { m_Offset = Offset; } in setOffset()
124 void setAddr(uint64_t addr) { m_Addr = addr; } in setAddr()
[all …]
/frameworks/compile/mclinker/include/mcld/ADT/
DSizeTraits.h32 typedef uint64_t Address;
33 typedef uint64_t Offset;
34 typedef uint64_t Word;
85 inline void alignAddress(uint64_t& pAddr, uint64_t pAlignConstraint) { in alignAddress()
91 uint64_t Align(uint64_t pAddress);
94 inline uint64_t Align<32>(uint64_t pAddress) {
99 inline uint64_t Align<64>(uint64_t pAddress) {
128 inline uint64_t bswap64(uint64_t pData) { in bswap64()
153 inline uint64_t signExtend(uint64_t pVal) { in signExtend()
154 uint64_t mask = (~((uint64_t)0)) >> (64 - WIDTH); in signExtend()
[all …]
/frameworks/base/libs/common_time/
Dcommon_time_server_packets.h48 uint64_t timelineID;
52 uint64_t syncGroupID;
58 const uint64_t tlID, in initHeader()
59 const uint64_t groupID) { in initHeader()
67 bool checkPacket(uint64_t expectedSyncGroupID) const { in checkPacket()
84 uint64_t senderDeviceID;
87 void initHeader(const uint64_t groupID) { in initHeader()
100 uint64_t deviceID;
103 void initHeader(const uint64_t tlID, const uint64_t groupID) { in initHeader()
119 void initHeader(const uint64_t tlID, const uint64_t groupID) { in initHeader()
[all …]
Dcommon_time_server.h52 uint64_t getTimelineID();
63 status_t getMasterElectionGroupId(uint64_t *id);
64 status_t setMasterElectionGroupId(uint64_t id);
116 static bool arbitrateMaster(uint64_t deviceID1, uint8_t devicePrio1,
117 uint64_t deviceID2, uint8_t devicePrio2);
143 uint64_t masterDeviceID,
145 uint64_t timelineID,
210 uint64_t mTimelineID;
253 uint64_t mDeviceID; // unique ID of this device
254 uint64_t mSyncGroupID; // synchronization group ID of this device.
[all …]
Dcommon_time_server_packets.cpp63 #define kDeviceIDMask ((static_cast<uint64_t>(1) << kDevicePriorityShift) - 1)
65 inline uint64_t packDeviceID(uint64_t devID, uint8_t prio) { in packDeviceID()
67 (static_cast<uint64_t>(prio) << kDevicePriorityShift); in packDeviceID()
70 inline uint64_t unpackDeviceID(uint64_t packed) { in unpackDeviceID()
74 inline uint8_t unpackDevicePriority(uint64_t packed) { in unpackDevicePriority()
146 uint64_t expectedSyncGroupID) { in deserializePacket()
188 uint64_t packed = packDeviceID(senderDeviceID, senderDevicePriority); in serializePacket()
198 uint64_t packed; in deserializePacket()
210 uint64_t packed = packDeviceID(deviceID, devicePriority); in serializePacket()
220 uint64_t packed; in deserializePacket()
[all …]
/frameworks/compile/mclinker/lib/Support/
DLEB128.cpp17 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue) { in encode()
96 uint64_t decode<uint64_t>(const ByteType* pBuf, size_t& pSize) { in decode()
97 uint64_t result = 0; in decode()
127 result |= (static_cast<uint64_t>(byte & 0x7f) << shift); in decode()
136 uint64_t decode<uint64_t>(const ByteType*& pBuf) { in decode()
138 uint64_t result; in decode()
171 result |= (static_cast<uint64_t>(byte & 0x7f) << shift); in decode()
185 uint64_t result = 0; in decode()
194 result |= (static_cast<uint64_t>(byte & 0x7f) << shift); in decode()
199 result |= ((static_cast<uint64_t>(-1)) << shift); in decode()
[all …]
/frameworks/base/media/mca/filterfw/native/core/
Dtime_util.h28 uint64_t getTimeUs();
32 static const uint64_t kDefaultLoggingPeriodInFrames;
39 void SetLoggingPeriodInFrames(uint64_t numFrames) { in SetLoggingPeriodInFrames()
44 uint64_t NumCalls() const { return mNumCalls; } in NumCalls()
45 uint64_t TotalUSec() const { return mTotalUSec; } in TotalUSec()
49 uint64_t mLoggingPeriodInFrames;
50 uint64_t mStartUSec;
51 uint64_t mNumCalls;
52 uint64_t mTotalUSec;
Dtime_util.cpp29 uint64_t getTimeUs() { in getTimeUs()
32 uint64_t nowtime; in getTimeUs()
37 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 + in getTimeUs()
38 (uint64_t)tv.tv_usec; in getTimeUs()
42 const uint64_t NamedStopWatch::kDefaultLoggingPeriodInFrames = 100;
60 uint64_t stopUSec = getTimeUs(); in Stop()
/frameworks/base/media/mca/filterpacks/native/base/
Dtime_util.h28 uint64_t getTimeUs();
32 static const uint64_t kDefaultLoggingPeriodInFrames;
39 void SetLoggingPeriodInFrames(uint64_t numFrames) { in SetLoggingPeriodInFrames()
44 uint64_t NumCalls() const { return mNumCalls; } in NumCalls()
45 uint64_t TotalUSec() const { return mTotalUSec; } in TotalUSec()
49 uint64_t mLoggingPeriodInFrames;
50 uint64_t mStartUSec;
51 uint64_t mNumCalls;
52 uint64_t mTotalUSec;
Dtime_util.cpp27 uint64_t getTimeUs() { in getTimeUs()
30 uint64_t nowtime; in getTimeUs()
35 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 + in getTimeUs()
36 (uint64_t)tv.tv_usec; in getTimeUs()
40 const uint64_t NamedStopWatch::kDefaultLoggingPeriodInFrames = 100;
58 uint64_t stopUSec = getTimeUs(); in Stop()
/frameworks/av/media/mtp/
DMtpStorage.cpp36 const char* description, uint64_t reserveSpace, in MtpStorage()
37 bool removable, uint64_t maxFileSize) in MtpStorage()
64 uint64_t MtpStorage::getMaxCapacity() { in getMaxCapacity()
69 mMaxCapacity = (uint64_t)stat.f_blocks * (uint64_t)stat.f_bsize; in getMaxCapacity()
74 uint64_t MtpStorage::getFreeSpace() { in getFreeSpace()
78 uint64_t freeSpace = (uint64_t)stat.f_bavail * (uint64_t)stat.f_bsize; in getFreeSpace()
DMtpStorage.h33 uint64_t mMaxCapacity;
34 uint64_t mMaxFileSize;
36 uint64_t mReserveSpace;
41 const char* description, uint64_t reserveSpace,
42 bool removable, uint64_t maxFileSize);
49 uint64_t getMaxCapacity();
50 uint64_t getFreeSpace();
54 inline uint64_t getMaxFileSize() const { return mMaxFileSize; } in getMaxFileSize()
/frameworks/compile/mclinker/include/mcld/Script/
DOperand.h42 virtual uint64_t value() const = 0;
69 uint64_t value() const { return m_Value; } in value()
71 void setValue(uint64_t pValue) { m_Value = pValue; } in setValue()
84 uint64_t m_Value;
95 explicit IntOperand(uint64_t pValue);
100 uint64_t value() const { return m_Value; } in value()
102 void setValue(uint64_t pValue) { m_Value = pValue; } in setValue()
109 static IntOperand* create(uint64_t pValue);
114 uint64_t m_Value;
133 uint64_t value() const { in value()
[all …]
/frameworks/compile/mclinker/unittests/
DLEB128Test.cpp93 size = leb128::encode<uint64_t>(result, 2); in TEST_F()
99 size = leb128::encode<uint64_t>(result, 127); in TEST_F()
105 size = leb128::encode<uint64_t>(result, 128); in TEST_F()
112 size = leb128::encode<uint64_t>(result, 129); in TEST_F()
119 size = leb128::encode<uint64_t>(result, 130); in TEST_F()
126 size = leb128::encode<uint64_t>(result, 12857); in TEST_F()
199 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 2); in TEST_F()
204 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 127); in TEST_F()
209 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 128); in TEST_F()
214 ASSERT_TRUE(leb128::decode<uint64_t>(buffer, size) == 129); in TEST_F()
[all …]
/frameworks/rs/
DrsStream.h61 uint64_t loadOffset();
63 uint64_t getPos() const { in getPos()
66 void reset(uint64_t pos) { in reset()
78 uint64_t mPos;
84 OStream(uint64_t length, bool use64);
134 void addOffset(uint64_t v);
137 uint64_t getPos() const { in getPos()
140 void reset(uint64_t pos) { in reset()
152 uint64_t mLength;
153 uint64_t mPos;
/frameworks/compile/mclinker/include/mcld/Target/
DELFDynamic.h43 virtual void setValue(uint64_t pTag, uint64_t pValue) = 0;
72 inline void setValue(uint64_t pTag, uint64_t pValue);
103 inline void setValue(uint64_t pTag, uint64_t pValue);
145 void applySoname(uint64_t pStrTabIdx);
164 void reserveOne(uint64_t pTag);
166 void applyOne(uint64_t pTag, uint64_t pValue);
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsGOT.h38 virtual void setEntryValue(Fragment* entry, uint64_t pValue) = 0;
41 virtual uint64_t emit(MemoryRegion& pRegion) = 0;
44 uint64_t getGPDispAddress() const;
66 uint64_t getGPAddr(const Input& pInput) const;
67 uint64_t getGPRelOffset(const Input& pInput, const Fragment& pEntry) const;
95 virtual Fragment* createEntry(uint64_t pValue, SectionData* pParent) = 0;
229 virtual void setEntryValue(Fragment* entry, uint64_t pValue);
230 virtual uint64_t emit(MemoryRegion& pRegion);
231 virtual Fragment* createEntry(uint64_t pValue, SectionData* pParent);
247 virtual void setEntryValue(Fragment* entry, uint64_t pValue);
[all …]
DMipsGNUInfo.h21 void setElfFlags(uint64_t flags);
26 uint64_t defaultTextSegmentAddr() const;
27 uint64_t flags() const;
30 uint64_t abiPageSize() const;
34 uint64_t m_ElfFlags;
/frameworks/base/core/jni/
Dandroid_net_TrafficStats.cpp38 static const uint64_t UNKNOWN = -1;
50 uint64_t rxBytes;
51 uint64_t rxPackets;
52 uint64_t txBytes;
53 uint64_t txPackets;
54 uint64_t tcpRxPackets;
55 uint64_t tcpTxPackets;
58 static uint64_t getStatsType(struct Stats* stats, StatsType type) { in getStatsType()
86 uint64_t rxBytes, rxPackets, txBytes, txPackets, tcpRxPackets, tcpTxPackets; in parseIfaceStats()
130 uint64_t tag, rxBytes, rxPackets, txBytes, txPackets; in parseUidStats()

12345678910>>...18