Home
last modified time | relevance | path

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

12345678910>>...26

/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/rs/
DrsHidlAdaptation.cpp217 uint64_t _allocation = (uint64_t)(uintptr_t)allocation; in AllocationGetType()
218 uint64_t typeRet = GetIContextHandle(context)->allocationGetType(_allocation); in AllocationGetType()
225 uint64_t _type = (uint64_t)(uintptr_t)type; in TypeGetNativeData()
228 [typedata, typeDataSize] (const hidl_vec<uint64_t> &retTypeData){ in TypeGetNativeData()
238 uint64_t _element = (uint64_t)(uintptr_t)element; in ElementGetNativeData()
250 uint64_t _element = (uint64_t)(uintptr_t)element; in ElementGetSubElements()
251 uint64_t _ids = (uint64_t)(uintptr_t)ids; in ElementGetSubElements()
252 uint64_t _names = (uint64_t)(uintptr_t)names; in ElementGetSubElements()
253 uint64_t _arraySizes = (uint64_t)(uintptr_t)arraySizes; in ElementGetSubElements()
256 …[ids, names, arraySizes, dataSize] (const hidl_vec<uint64_t> &retIds, const hidl_vec<hidl_string> … in ElementGetSubElements()
[all …]
/frameworks/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp29 static ::testing::AssertionResult BuildHexFailureMessage(uint64_t expected, in BuildHexFailureMessage()
30 uint64_t actual, const char* type) { in BuildHexFailureMessage()
39 uint64_t grallocUsage, uint64_t hardwareBufferUsage) { in TestUsageConversion()
40 uint64_t convertedGrallocUsage = AHardwareBuffer_convertToGrallocUsageBits(hardwareBufferUsage); in TestUsageConversion()
44uint64_t convertedHArdwareBufferUsage = AHardwareBuffer_convertFromGrallocUsageBits(grallocUsage); in TestUsageConversion()
54 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::CPU_READ_RARELY, in TEST()
56 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::CPU_READ_OFTEN, in TEST()
58 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::CPU_WRITE_RARELY, in TEST()
60 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::CPU_WRITE_OFTEN, in TEST()
63 EXPECT_TRUE(TestUsageConversion((uint64_t)BufferUsage::GPU_TEXTURE, in TEST()
[all …]
/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 …]
/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;
/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/native/libs/vr/libbufferhub/include/private/dvr/
Dbufferhub_rpc.h35 static constexpr uint64_t kProducerStateBit = 1ULL << 63;
36 static constexpr uint64_t kConsumerStateMask = (1ULL << 63) - 1;
38 static inline void ModifyBufferState(std::atomic<uint64_t>* buffer_state, in ModifyBufferState()
39 uint64_t clear_mask, uint64_t set_mask) { in ModifyBufferState()
40 uint64_t old_state; in ModifyBufferState()
41 uint64_t new_state; in ModifyBufferState()
48 static inline bool IsBufferGained(uint64_t state) { return state == 0; } in IsBufferGained()
50 static inline bool IsBufferPosted(uint64_t state,
51 uint64_t consumer_bit = kConsumerStateMask) {
55 static inline bool IsBufferAcquired(uint64_t state) { in IsBufferAcquired()
[all …]
/frameworks/base/core/jni/
Dcom_android_internal_os_FuseAppLoop.cpp49 std::map<uint64_t, std::unique_ptr<LocalBytes>> mBuffers;
55 void OnLookup(uint64_t unique, uint64_t inode) override { in OnLookup()
59 void OnGetAttr(uint64_t unique, uint64_t inode) override { in OnGetAttr()
63 void OnOpen(uint64_t unique, uint64_t inode) override { in OnOpen()
75 void OnFsync(uint64_t unique, uint64_t inode) override { in OnFsync()
79 void OnRelease(uint64_t unique, uint64_t inode) override { in OnRelease()
84 void OnRead(uint64_t unique, uint64_t inode, uint64_t offset, uint32_t size) override { in OnRead()
93 void OnWrite(uint64_t unique, uint64_t inode, uint64_t offset, uint32_t size, in OnWrite()
/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/base/core/jni/include/android_runtime/
Dandroid_hardware_HardwareBuffer.h41 extern uint64_t android_hardware_HardwareBuffer_convertToGrallocUsageBits(uint64_t usage);
44 uint64_t* outProducerUsage, uint64_t* outConsumerUsage, uint64_t usage, uint64_t) { in android_hardware_HardwareBuffer_convertToGrallocUsageBits() argument
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp63 uint64_t usage = AHardwareBuffer_convertToGrallocUsageBits(desc->usage); in AHardwareBuffer_allocate()
111 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lock()
291 uint64_t hardwareBufferMask;
292 uint64_t grallocMask;
295 static inline bool containsBits(uint64_t mask, uint64_t bitsToCheck) { in containsBits()
390 uint64_t AHardwareBuffer_convertToGrallocUsageBits(uint64_t usage) { in AHardwareBuffer_convertToGrallocUsageBits()
392 static_assert(AHARDWAREBUFFER_USAGE_CPU_READ_NEVER == (uint64_t)BufferUsage::CPU_READ_NEVER, in AHardwareBuffer_convertToGrallocUsageBits()
394 static_assert(AHARDWAREBUFFER_USAGE_CPU_READ_RARELY == (uint64_t)BufferUsage::CPU_READ_RARELY, in AHardwareBuffer_convertToGrallocUsageBits()
396 static_assert(AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN == (uint64_t)BufferUsage::CPU_READ_OFTEN, in AHardwareBuffer_convertToGrallocUsageBits()
398 static_assert(AHARDWAREBUFFER_USAGE_CPU_WRITE_NEVER == (uint64_t)BufferUsage::CPU_WRITE_NEVER, in AHardwareBuffer_convertToGrallocUsageBits()
[all …]
/frameworks/base/tools/streaming_proto/
Dmain.cpp22 const uint64_t FIELD_TYPE_DOUBLE = 1L << FIELD_TYPE_SHIFT;
23 const uint64_t FIELD_TYPE_FLOAT = 2L << FIELD_TYPE_SHIFT;
24 const uint64_t FIELD_TYPE_INT32 = 3L << FIELD_TYPE_SHIFT;
25 const uint64_t FIELD_TYPE_INT64 = 4L << FIELD_TYPE_SHIFT;
26 const uint64_t FIELD_TYPE_UINT32 = 5L << FIELD_TYPE_SHIFT;
27 const uint64_t FIELD_TYPE_UINT64 = 6L << FIELD_TYPE_SHIFT;
28 const uint64_t FIELD_TYPE_SINT32 = 7L << FIELD_TYPE_SHIFT;
29 const uint64_t FIELD_TYPE_SINT64 = 8L << FIELD_TYPE_SHIFT;
30 const uint64_t FIELD_TYPE_FIXED32 = 9L << FIELD_TYPE_SHIFT;
31 const uint64_t FIELD_TYPE_FIXED64 = 10L << FIELD_TYPE_SHIFT;
[all …]
/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_benchmarks.cpp69 constexpr uint64_t kNanosPerSecond = 1000000000llu;
71 uint64_t GetClockNs() { in GetClockNs()
102 uint64_t current_cpu_time_ns = std::stoull(stats[0]); in Update()
103 uint64_t current_wait_ns = std::stoull(stats[1]); in Update()
104 uint64_t current_timeslices = std::stoull(stats[2]); in Update()
114 uint64_t cpu_time_ns() const { return cpu_time_ns_; } in cpu_time_ns()
115 uint64_t wait_ns() const { return wait_ns_; } in wait_ns()
116 uint64_t timeslices() const { return timeslices_; } in timeslices()
127 uint64_t cpu_time_ns_ = 0;
128 uint64_t last_cpu_time_ns_ = 0;
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dclock_ns.h65 return static_cast<int64_t>(static_cast<uint64_t>(a) - in TimestampLT()
66 static_cast<uint64_t>(b)) < 0; in TimestampLT()
69 return static_cast<int64_t>(static_cast<uint64_t>(a) - in TimestampLE()
70 static_cast<uint64_t>(b)) <= 0; in TimestampLE()
73 return static_cast<int64_t>(static_cast<uint64_t>(a) - in TimestampGT()
74 static_cast<uint64_t>(b)) > 0; in TimestampGT()
77 return static_cast<int64_t>(static_cast<uint64_t>(a) - in TimestampGE()
78 static_cast<uint64_t>(b)) >= 0; in TimestampGE()

12345678910>>...26