/third_party/skia/third_party/externals/angle2/src/common/ |
D | vector_utils.h | 51 const Type *data() const { return mData; } in data() 52 Type *data() { return mData; } in data() 60 Type &operator[](size_t i) { return mData[i]; } 61 const Type &operator[](size_t i) const { return mData[i]; } 110 Type mData[Dimension]; variable 124 Type &x() { return this->mData[0]; } in x() 125 Type &y() { return this->mData[1]; } in y() 127 const Type &x() const { return this->mData[0]; } in x() 128 const Type &y() const { return this->mData[1]; } in y() 145 Type &x() { return this->mData[0]; } in x() [all …]
|
D | MemoryBuffer.cpp | 20 if (mData) in ~MemoryBuffer() 22 free(mData); in ~MemoryBuffer() 23 mData = nullptr; in ~MemoryBuffer() 31 if (mData) in resize() 33 free(mData); in resize() 34 mData = nullptr; in resize() 52 if (mData) in resize() 55 std::copy(mData, mData + std::min(mSize, size), newMemory); in resize() 56 free(mData); in resize() 59 mData = newMemory; in resize() [all …]
|
D | FastVector.h | 101 pointer mData = mFixedStorage.data(); 121 return mData == mFixedStorage.data(); in uses_fixed_storage() 201 delete[] mData; in ~FastVector() 209 return mData[pos]; in at() 217 return mData[pos]; in at() 225 return mData[pos]; 233 return mData[pos]; 240 return mData; in data() 246 return mData; in data() 252 return mData; in begin() [all …]
|
D | MemoryBuffer.h | 34 const uint8_t *data() const { return mData; } in data() 37 ASSERT(mData); in data() 38 return mData; in data() 44 return mData[pos]; 49 return mData[pos]; 56 uint8_t *mData = nullptr; variable
|
D | CircularBuffer.h | 65 Storage mData; 115 return mData.begin(); in begin() 122 return mData.begin(); in begin() 128 return mData.end(); in end() 135 return mData.end(); in end() 150 return mData[mFrontIndex]; in front() 158 return mData[mFrontIndex]; in front() 164 std::swap(mData, other.mData); in swap()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | ityp_span.h | 34 constexpr span() : mData(nullptr), mSize(0) { in span() 36 constexpr span(Value* data, Index size) : mData(data), mSize(size) { in span() 41 return mData[static_cast<I>(i)]; 45 return mData; in data() 49 return mData; in data() 53 return mData; in begin() 57 return mData; in begin() 61 return mData + static_cast<I>(mSize); in end() 65 return mData + static_cast<I>(mSize); in end() 69 ASSERT(mData != nullptr); in front() [all …]
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | CircularCaptureBuffer.java | 26 private float[] mData; field in CircularCaptureBuffer 31 mData = new float[maxSamples]; in CircularCaptureBuffer() 39 if (numSamples > mData.length) { in write() 42 if ((mCursor + numSamples) > mData.length) { in write() 44 int numWrite1 = mData.length - mCursor; in write() 45 System.arraycopy(buffer, offset, mData, mCursor, numWrite1); in write() 48 System.arraycopy(buffer, offset, mData, 0, numWrite2); in write() 51 System.arraycopy(buffer, offset, mData, mCursor, numSamples); in write() 53 if (mCursor == mData.length) { in write() 58 if (mNumValidSamples > mData.length) { in write() [all …]
|
D | WaveformView.java | 38 private float[] mData; field in WaveformView 81 float [] localData = mData; in onDraw() 137 if (mData == null || count > mData.length) { in setSampleData() 138 mData = new float[count]; in setSampleData() 140 System.arraycopy(samples, offset, mData, 0, count); in setSampleData() 146 mData = null; in clearSampleData()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | ResourceManager11.h | 195 T *get() const { return mData->object; } in get() 196 T *const *getPointer() const { return &mData->object; } in getPointer() 220 mData->object = object; in set() 223 bool valid() const { return (mData->object != nullptr); } in valid() 228 mData.reset(new DataT()); in reset() 233 return ResourceSerial(reinterpret_cast<uintptr_t>(mData->object)); in getSerial() 239 Resource11Base() : mData(new DataT()) {} in Resource11Base() 241 Resource11Base(Resource11Base &&movedObj) : mData(new DataT()) in Resource11Base() 243 std::swap(mData, movedObj.mData); in Resource11Base() 246 virtual ~Resource11Base() { mData.reset(); } in ~Resource11Base() [all …]
|
D | renderer11_utils.h | 383 bool is2D() const { return mData->resourceType == ResourceType::Texture2D; } in is2D() 384 bool is3D() const { return mData->resourceType == ResourceType::Texture3D; } in is3D() 385 ResourceType getTextureType() const { return mData->resourceType; } in getTextureType() 394 std::swap(mData->manager, texture.mData->manager); in init() 397 ID3D11Resource *temp = mData->object; in init() 398 mData->object = texture.mData->object; in init() 399 texture.mData->object = static_cast<ResourceT *>(temp); in init() 411 mData->object = object; in set() 412 mData->manager = nullptr; in set()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | BufferNULL.cpp | 29 bool memoryReleaseResult = mAllocationTracker->updateMemoryAllocation(mData.size(), 0); in ~BufferNULL() 42 mAllocationTracker->updateMemoryAllocation(mData.size(), size)); in setDataWithUsageFlags() 44 mData.resize(size, 0); in setDataWithUsageFlags() 47 memcpy(mData.data(), data, size); in setDataWithUsageFlags() 59 mAllocationTracker->updateMemoryAllocation(mData.size(), size)); in setData() 61 mData.resize(size, 0); in setData() 64 memcpy(mData.data(), data, size); in setData() 77 memcpy(mData.data() + offset, data, size); in setSubData() 91 memcpy(mData.data() + destOffset, sourceNULL->mData.data() + sourceOffset, size); in copySubData() 98 *mapPtr = mData.data(); in map() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ImmutableStringBuilder.cpp | 19 ASSERT(mData != nullptr); in operator <<() 21 memcpy(mData + mPos, str.data(), str.length()); in operator <<() 28 ASSERT(mData != nullptr); in operator <<() 31 memcpy(mData + mPos, str, len); in operator <<() 38 ASSERT(mData != nullptr); in operator <<() 40 mData[mPos++] = c; in operator <<() 46 int numChars = snprintf(mData + mPos, mMaxLength - mPos, "%d", u); in appendDecimal() 54 mData[mPos] = '\0'; in operator ImmutableString() 55 ImmutableString str(static_cast<const char *>(mData), mPos); in operator ImmutableString() 58 mData = nullptr; in operator ImmutableString()
|
D | Common.h | 123 constexpr TSpan(T *ptr, size_type size) : mData(ptr), mSize(size) {} in TSpan() 125 constexpr TSpan(const TSpan &that) : mData(that.mData), mSize(that.mSize) {} in TSpan() 128 mData = that.mData; 136 TSpan(const TVector<S> &vec) : mData(vec.data()), mSize(vec.size()) in TSpan() 141 mData = vec.data(); 153 if (mData == that.mData) 160 if (mData[index] != that.mData[index]) 170 constexpr T *data() const { return mData; } in data() 174 constexpr T &operator[](size_type index) const { return mData[index]; } 175 constexpr T &front() const { return mData[0]; } in front() [all …]
|
D | ImmutableString.h | 46 explicit constexpr ImmutableString(const char *data) : mData(data), mLength(constStrlen(data)) in ImmutableString() 49 constexpr ImmutableString(const char *data, size_t length) : mData(data), mLength(length) {} in ImmutableString() 52 : mData(AllocatePoolCharArray(str.c_str(), str.size())), mLength(str.size()) in ImmutableString() 59 constexpr const char *data() const { return mData ? mData : ""; } in data() 134 const char *mData;
|
D | ImmutableStringBuilder.h | 22 : mPos(0u), mMaxLength(maxLength), mData(AllocateEmptyPoolCharArray(maxLength)) in ImmutableStringBuilder() 39 ASSERT(mData != nullptr); in appendHex() 52 mData[mPos++] = digitChar; in appendHex() 72 char *mData; variable
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | WebGLReadOutsideFramebufferTest.cpp | 20 PixelRect(int width, int height) : mWidth(width), mHeight(height), mData(width * height) {} in PixelRect() 31 mData[x + y * mWidth] = angle::GLColor(x + (y << 8) + (tag << 16)); in fill() 42 GL_UNSIGNED_BYTE, mData.data()); in toTexture2D() 44 GL_UNSIGNED_BYTE, mData.data()); in toTexture2D() 46 GL_UNSIGNED_BYTE, mData.data()); in toTexture2D() 48 GL_UNSIGNED_BYTE, mData.data()); in toTexture2D() 50 GL_UNSIGNED_BYTE, mData.data()); in toTexture2D() 52 GL_UNSIGNED_BYTE, mData.data()); in toTexture2D() 58 mData.data()); in toTexture2D() 75 GL_UNSIGNED_BYTE, mData.data()); in toTexture3D() [all …]
|
D | AttributeLayoutTest.cpp | 51 : mDimension(dimension), mData(data), mOffset(offset), mStride(stride) in VertexData() 56 return mData[mOffset + mStride * vertexNumber + component]; in getValue() 61 const double *mData; member in __anon0efbc17c0111::VertexData 118 for (int j = 0; j < mData.getDimension(); ++j) in fillContainer() 124 double value = mData.getValue(i, j); in fillContainer() 144 glVertexAttribPointer(index, mData.getDimension(), mGLType, mNormalized, mStride, in enable() 155 const VertexData &mData; member
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/ |
D | InfiniteRecording.h | 31 mData = std::make_unique<T[]>(mMaxSamples); in InfiniteRecording() 43 std::copy(&mData[offset], &mData[offset + firstReadSize], buffer); in readFrom() 46 std::copy(&mData[0], &mData[numToRead - firstReadSize], &buffer[firstReadSize]); in readFrom() 54 mData[offset] = sample; in write() 63 std::unique_ptr<T[]> mData;
|
D | LatencyAnalyzer.h | 106 mData = std::make_unique<float[]>(maxFrames); in allocate() 117 mData[mFrameCounter++] = inputData[i * inputChannelCount] * (1.0f / 32768); in write() 129 mData[mFrameCounter++] = inputData[i * inputChannelCount]; in write() 138 mData[mFrameCounter++] = sample; in write() 156 return mData.get(); in getData() 171 float *x = mData.get(); in square() 186 maxValue = std::max(maxValue, abs(mData[i])); in normalize() 190 mData[i] *= gain; in normalize() 196 std::unique_ptr<float[]> mData;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | BinaryStream.h | 38 mData = static_cast<const uint8_t *>(data); in BinaryInputStream() 120 v->assign(reinterpret_cast<const char *>(mData) + mOffset, length); in readString() 156 const uint8_t *data() { return mData; } in data() 161 const uint8_t *mData; variable 186 memcpy(v, mData + mOffset, checkedLength.ValueOrDie()); in read() 262 size_t length() const { return mData.size(); } in length() 264 const void *data() const { return mData.size() ? &mData[0] : nullptr; } in data() 266 const std::vector<uint8_t> &getData() const { return mData; } in getData() 274 mData.insert(mData.end(), asBytes, asBytes + num * sizeof(T)); in write() 277 std::vector<uint8_t> mData; variable
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | PerStage.h | 61 mData.fill(initialValue); in PerStage() 66 return mData[static_cast<uint32_t>(stage)]; 70 return mData[static_cast<uint32_t>(stage)]; 76 return mData[Log2(bit)]; 81 return mData[Log2(bit)]; 85 std::array<T, kNumStages> mData;
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/ |
D | MultiChannelRecording.h | 36 mData = new float[channelCount * maxFrames]; in MultiChannelRecording() 40 delete[] mData; in ~MultiChannelRecording() 87 mData[sampleIndex++] = *buffer++ * (1.0f / 32768); in write() 113 memcpy(&mData[sampleIndex], in write() 143 &mData[sampleIndex], in read() 154 float *mData = nullptr;
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/unused/ |
D | unused.h | 124 mData[i] = mLowPassFilter.filter(mData[i]); 136 const float x = mData[i]; 138 mData[i] = y;
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | IndexDataManagerTest.cpp | 82 MockBufferD3D(rx::BufferFactoryD3D *factory) : BufferD3D(mockState, factory), mData() {} in MockBufferD3D() 91 mData.resize(size); in setData() 94 memcpy(&mData[0], data, size); in setData() 113 size_t getSize() const override { return mData.size(); } in getSize() 117 *outData = &mData[0]; in getData() 123 std::vector<uint8_t> mData; member in __anond6ef5a110111::MockBufferD3D
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/ |
D | CLContextCL.h | 98 MutableData mData; variable 107 const auto data = mData.synchronize(); in hasMemory() 113 const auto data = mData.synchronize(); in hasSampler() 119 const auto data = mData.synchronize(); in hasDeviceQueue()
|