Home
last modified time | relevance | path

Searched refs:GetPosition (Results 1 – 25 of 61) sorted by relevance

123

/external/libbrillo/brillo/streams/
Dmemory_stream_unittest.cc120 EXPECT_EQ(0, stream_->GetPosition()); in TEST_F()
129 EXPECT_EQ(2, stream_->GetPosition()); in TEST_F()
133 EXPECT_EQ(4, stream_->GetPosition()); in TEST_F()
136 EXPECT_EQ(198, stream_->GetPosition()); in TEST_F()
140 EXPECT_EQ(kSizeMax, stream_->GetPosition()); in TEST_F()
153 EXPECT_EQ(5, stream_->GetPosition()); in TEST_F()
162 EXPECT_EQ(105, stream_->GetPosition()); in TEST_F()
171 EXPECT_EQ(105, stream_->GetPosition()); in TEST_F()
184 EXPECT_EQ(5, stream_->GetPosition()); in TEST_F()
192 EXPECT_EQ(105, stream_->GetPosition()); in TEST_F()
[all …]
Dfile_stream_unittest.cc67 EXPECT_EQ(0, stream->GetPosition()); in TestCreateFile()
73 EXPECT_EQ(in_buffer.size(), stream->GetPosition()); in TestCreateFile()
80 EXPECT_EQ(0, stream->GetPosition()); in TestCreateFile()
87 EXPECT_EQ(out_buffer.size(), stream->GetPosition()); in TestCreateFile()
105 EXPECT_EQ(21, stream->GetPosition()); in TestCreateFile()
734 EXPECT_EQ(0u, stream->GetPosition()); in TEST_F()
760 EXPECT_EQ(0u, stream->GetPosition()); in TEST_F()
789 EXPECT_EQ(0u, stream->GetPosition()); in TEST_F()
823 EXPECT_EQ(0u, stream->GetPosition()); in TEST_F()
845 EXPECT_EQ(0u, stream->GetPosition()); in TEST_F()
[all …]
Dmemory_stream.cc106 uint64_t pos = GetPosition(); in GetRemainingSize()
111 uint64_t MemoryStream::GetPosition() const { in GetPosition() function in brillo::MemoryStream
Dmock_stream.h29 MOCK_CONST_METHOD0(GetPosition, uint64_t());
Dtls_stream.h47 uint64_t GetPosition() const override { return 0; } in GetPosition() function
Dinput_stream_set.h73 uint64_t GetPosition() const override { return 0; } in GetPosition() function
/external/pdfium/xfa/fgas/crt/
Dfgas_stream.cpp28 virtual int32_t GetPosition() = 0;
59 int32_t GetPosition() override;
83 int32_t GetPosition() override;
110 int32_t GetPosition() override { return m_iPosition; } in GetPosition() function in __anoneb32b1170111::CFGAS_FileReadStreamImp
141 int32_t GetPosition() override { return m_iPosition; } in GetPosition() function in __anoneb32b1170111::CFGAS_BufferReadStreamImp
171 int32_t GetPosition() override { return m_iPosition; } in GetPosition() function in __anoneb32b1170111::CFGAS_FileWriteStreamImp
214 int32_t GetPosition() override;
252 int32_t GetPosition() override;
466 int32_t CFGAS_FileStreamImp::GetPosition() { in GetPosition() function in CFGAS_FileStreamImp
835 int32_t CFGAS_BufferStreamImp::GetPosition() { in GetPosition() function in CFGAS_BufferStreamImp
[all …]
Dfgas_stream.h51 virtual int32_t GetPosition() = 0;
/external/webrtc/webrtc/p2p/base/
Dpseudotcp_unittest.cc254 recv_stream_.GetPosition(&received); in OnTcpReadable()
281 recv_stream_.GetPosition(&position); in ReadData()
291 send_stream_.GetPosition(&position); in WriteData()
366 recv_stream_.GetPosition(&position); in OnTcpReadable()
400 recv_stream_.GetPosition(&position); in ReadData()
410 send_stream_.GetPosition(&position); in WriteData()
516 recv_stream_.GetPosition(&position); in ReadUntilIOPending()
521 recv_stream_.GetPosition(&position); in ReadUntilIOPending()
538 send_stream_.GetPosition(&position); in WriteData()
572 send_stream_.GetPosition(&position); in WriteData()
/external/pdfium/core/fxcrt/
Dfx_stream.h60 virtual FX_FILESIZE GetPosition() = 0;
83 FX_FILESIZE GetPosition() override;
103 FX_FILESIZE GetPosition() override = 0;
136 FX_FILESIZE GetPosition() override = 0;
Dfx_extension.cpp72 FX_FILESIZE GetPosition() override;
95 return GetPosition() >= GetSize(); in IsEOF()
98 FX_FILESIZE CFX_CRTFileStream::GetPosition() { in GetPosition() function in __anon2a13dafd0111::CFX_CRTFileStream
99 return m_pFile->GetPosition(); in GetPosition()
134 FX_FILESIZE GetPosition() override;
200 FX_FILESIZE CFX_MemoryStream::GetPosition() { in GetPosition() function in __anon2a13dafd0111::CFX_MemoryStream
Dfxcrt_stream.cpp17 FX_FILESIZE IFX_SeekableReadStream::GetPosition() { in GetPosition() function in IFX_SeekableReadStream
Dfxcrt_windows.h23 FX_FILESIZE GetPosition() const override;
Dfxcrt_posix.h25 FX_FILESIZE GetPosition() const override;
Dextension.h25 virtual FX_FILESIZE GetPosition() const = 0;
Dfx_xml_parser.cpp78 FX_FILESIZE GetPosition() override;
103 FX_FILESIZE CXML_DataBufAcc::GetPosition() { in GetPosition() function in __anon0ab85b3d0111::CXML_DataBufAcc
141 FX_FILESIZE GetPosition() override;
174 FX_FILESIZE CXML_DataStmAcc::GetPosition() { in GetPosition() function in __anon0ab85b3d0111::CXML_DataStmAcc
/external/pdfium/xfa/fxfa/parser/
Dcxfa_widetextread.cpp40 return GetPosition(); in Seek()
43 int32_t CXFA_WideTextRead::GetPosition() { in GetPosition() function in CXFA_WideTextRead
Dcxfa_widetextread.h22 int32_t GetPosition() override;
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlparser.h37 virtual void GetPosition(unsigned long * line, unsigned long * column,
77 virtual void GetPosition(unsigned long * line, unsigned long * column,
/external/webrtc/webrtc/base/
Dstream.h172 virtual bool GetPosition(size_t* position) const;
287 bool GetPosition(size_t* position) const override;
395 bool GetPosition(size_t* position) const override;
441 bool GetPosition(size_t* position) const override;
613 bool GetPosition(size_t* position) const override;
Dstream.cc116 bool StreamInterface::GetPosition(size_t* position) const { in GetPosition() function in rtc::StreamInterface
185 bool StreamAdapterInterface::GetPosition(size_t* position) const { in GetPosition() function in rtc::StreamAdapterInterface
186 return stream_->GetPosition(position); in GetPosition()
434 bool FileStream::GetPosition(size_t* position) const { in GetPosition() function in rtc::FileStream
593 bool MemoryStreamBase::GetPosition(size_t* position) const { in GetPosition() function in rtc::MemoryStreamBase
1014 bool StringStream::GetPosition(size_t* position) const { in GetPosition() function in rtc::StringStream
Dmultipart.h62 bool GetPosition(size_t* position) const override;
/external/v8/src/
Dmessages.cc442 DCHECK_LE(0, GetPosition()); in GetLineNumber()
443 if (HasScript()) return Script::GetLineNumber(GetScript(), GetPosition()) + 1; in GetLineNumber()
448 DCHECK_LE(0, GetPosition()); in GetColumnNumber()
450 return Script::GetColumnNumber(GetScript(), GetPosition()) + 1; in GetColumnNumber()
628 int JSStackFrame::GetPosition() const { return code_->SourcePosition(offset_); } in GetPosition() function in v8::internal::JSStackFrame
687 Handle<Object> pos(Smi::FromInt(GetPosition()), isolate_); in ToString()
694 int WasmStackFrame::GetPosition() const { in GetPosition() function in v8::internal::WasmStackFrame
745 int AsmJsWasmStackFrame::GetPosition() const { in GetPosition() function in v8::internal::AsmJsWasmStackFrame
757 DCHECK_LE(0, GetPosition()); in GetLineNumber()
761 return Script::GetLineNumber(script, GetPosition()) + 1; in GetLineNumber()
[all …]
Dmessages.h62 virtual int GetPosition() const = 0;
102 int GetPosition() const override;
144 int GetPosition() const override;
185 int GetPosition() const override;
/external/pdfium/xfa/fde/css/
Dcfde_csstextbuf.cpp55 if (pTxtStream->GetPosition() != iStreamOffset) in LoadFromStream()

123