/external/chromium_org/media/base/ |
seekable_buffer_unittest.cc | 45 int write_position = 0; local 50 write_size = std::min(write_size, kDataSize - write_position); 51 bool should_append = buffer_.Append(data_ + write_position, write_size); 52 write_position += write_size; 53 EXPECT_GE(write_position, read_position); 54 EXPECT_EQ(write_position - read_position, buffer_.forward_bytes()); 70 EXPECT_GE(write_position, read_position); 71 EXPECT_EQ(write_position - read_position, buffer_.forward_bytes()); 246 int write_position = 0; 249 for (int i = 0; i < 10 && write_position < kDataSize; ++i) [all...] |
/frameworks/av/libvideoeditor/osal/src/ |
M4OSA_FileWriter.c | 115 pFileContext->write_position = pFileContext->write_position + WriteSize; 118 if(pFileContext->write_position > pFileContext->file_size) 120 pFileContext->file_size = pFileContext->write_position; 133 &(pFileContext->write_position)); 162 pFileContext->write_position = pFileContext->write_position + uiSizeWrite; 165 if(pFileContext->write_position > pFileContext->file_size) 167 pFileContext->file_size = pFileContext->write_position; 285 pFileContext->write_position = *pPosition [all...] |
M4OSA_FileCommon.c | 252 pFileContext->write_position = 0; 401 fpos_current = pFileContext->write_position;
|
/frameworks/av/libvideoeditor/osal/inc/ |
M4OSA_FileCommon_priv.h | 59 M4OSA_FilePosition write_position; member in struct:__anon29114
|
/external/chromium/third_party/libjingle/source/talk/base/ |
stream.cc | 798 const size_t write_position = (read_position_ + data_length_) local 801 const size_t tail_copy = _min(copy, buffer_length_ - write_position); 803 memcpy(&buffer_[write_position], p, tail_copy); 852 const size_t write_position = (read_position_ + data_length_) 854 *size = (write_position >= read_position_) ? 855 buffer_length_ - write_position : read_position_ - write_position; 856 return &buffer_[write_position];
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
stream.cc | 1055 const size_t write_position = (read_position_ + data_length_) 1057 *size = (write_position > read_position_ || data_length_ == 0) ? 1058 buffer_length_ - write_position : read_position_ - write_position; 1059 return &buffer_[write_position]; 1113 const size_t write_position = (read_position_ + data_length_ + offset) 1116 const size_t tail_copy = _min(copy, buffer_length_ - write_position); 1118 memcpy(&buffer_[write_position], p, tail_copy); [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
mux.py | 681 write_position = 0 691 while write_position < payload_length: 700 remaining = payload_length - write_position 704 (write_position + write_length == payload_length)) 708 payload[write_position:write_position+write_length], 722 write_position += write_length [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
mux.py | 859 write_position = 0 886 while write_position < payload_length: [all...] |