Home
last modified time | relevance | path

Searched refs:size_ (Results 1 – 6 of 6) sorted by relevance

/frameworks/ex/variablespeed/jni/
Dring_buffer.cc24 size_ = size; in Init()
44 samples_ = new float[size_ * num_channels_]; in Reset()
46 size_ * num_channels_ * sizeof(samples_[0])); in Reset()
67 return tail + size_ - head_logical_; in overhead()
86 if (head_ + num_frames <= size_) { in Write()
91 int overhead = size_ - head_; in Write()
102 int pos = Tell(reader) % size_; in Copy()
103 if (pos + num_frames <= size_) { in Copy()
107 int wrapped = size_ - pos; in Copy()
117 int pos = Tell(reader) % size_; in GetPointer()
[all …]
Dring_buffer.h103 int size_; variable
/frameworks/base/media/mca/filterfw/native/core/
Dvertex_frame.cpp34 size_(size) { in VertexFrame()
59 if (first_upload && size == size_) in WriteData()
61 else if (!first_upload && size <= size_) in WriteData()
65 "inside the vertex frame (%d bytes)!", size, size_); in WriteData()
74 size_ = size; in WriteData()
80 return size_; in Size()
Dnative_frame.cpp22 NativeFrame::NativeFrame(int size) : data_(NULL), size_(size), capacity_(size) { in NativeFrame()
31 if (size_ >= (offset + size)) { in WriteData()
40 size_ = capacity_ = size; in SetData()
46 NativeFrame* result = new NativeFrame(size_); in Clone()
48 result->WriteData(data_, 0, size_); in Clone()
54 size_ = newSize; in Resize()
Dnative_frame.h58 return size_; in Size()
74 int size_; variable
Dvertex_frame.h71 int size_; variable