/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | matrix_major_storage.inl | 13 tmat2x2<T, P> Result; local 14 Result[0][0] = v1.x; 15 Result[1][0] = v1.y; 16 Result[0][1] = v2.x; 17 Result[1][1] = v2.y; 18 return Result; 25 tmat2x2<T, P> Result; local 26 Result[0][0] = m[0][0]; 27 Result[0][1] = m[1][0]; 28 Result[1][0] = m[0][1]; [all …]
|
D | matrix_operation.inl | 12 tmat2x2<T, P> Result(static_cast<T>(1)); local 13 Result[0][0] = v[0]; 14 Result[1][1] = v[1]; 15 return Result; 24 tmat2x3<T, P> Result(static_cast<T>(1)); local 25 Result[0][0] = v[0]; 26 Result[1][1] = v[1]; 27 return Result; 36 tmat2x4<T, P> Result(static_cast<T>(1)); local 37 Result[0][0] = v[0]; [all …]
|
D | euler_angles.inl | 149 tmat4x4<T, defaultp> Result; local 150 Result[0][0] = c2 * c3; 151 Result[0][1] =-c1 * s3 + s1 * s2 * c3; 152 Result[0][2] = s1 * s3 + c1 * s2 * c3; 153 Result[0][3] = static_cast<T>(0); 154 Result[1][0] = c2 * s3; 155 Result[1][1] = c1 * c3 + s1 * s2 * s3; 156 Result[1][2] =-s1 * c3 + c1 * s2 * s3; 157 Result[1][3] = static_cast<T>(0); 158 Result[2][0] =-s2; [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/common/ |
D | Result.h | 38 class Result; variable 59 class DAWN_NO_DISCARD Result<void, E*> { 61 Result(); 62 Result(E* error); 64 Result(Result<void, E*>&& other); 65 Result<void, E*>& operator=(Result<void, E>&& other); 67 ~Result(); 110 class DAWN_NO_DISCARD Result<T*, E*> { 117 Result(T* success); 118 Result(E* error); [all …]
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | Result.h | 40 class Result; variable 61 class DAWN_NO_DISCARD Result<void, E> { 63 Result(); 64 Result(std::unique_ptr<E> error); 66 Result(Result<void, E>&& other); 67 Result<void, E>& operator=(Result<void, E>&& other); 69 ~Result(); 112 class DAWN_NO_DISCARD Result<T*, E> { 119 Result(T* success); 120 Result(std::unique_ptr<E> error); [all …]
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | matrix_transform.inl | 13 tmat4x4<T, P> Result(m); local 14 Result[3] = m[0] * v[0] + m[1] * v[1] + m[2] * v[2] + m[3]; 15 return Result; 41 tmat4x4<T, P> Result(uninitialize); local 42 Result[0] = m[0] * Rotate[0][0] + m[1] * Rotate[0][1] + m[2] * Rotate[0][2]; 43 Result[1] = m[0] * Rotate[1][0] + m[1] * Rotate[1][1] + m[2] * Rotate[1][2]; 44 Result[2] = m[0] * Rotate[2][0] + m[1] * Rotate[2][1] + m[2] * Rotate[2][2]; 45 Result[3] = m[3]; 46 return Result; 55 tmat4x4<T, P> Result; local [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | ResultTests.cpp | 23 void TestError(Result<T, E>* result, E expectedError) { in TestError() 32 void TestSuccess(Result<T, E>* result, T expectedSuccess) { in TestSuccess() 59 void TestSuccess(Result<Ref<T>, E>* result, T* expectedSuccess) { in TestSuccess() 86 Result<void, int> result(std::make_unique<int>(dummyError)); in TEST() 92 Result<void, int> result(std::make_unique<int>(dummyError)); in TEST() 93 Result<void, int> movedResult(std::move(result)); in TEST() 99 auto CreateError = []() -> Result<void, int> { in TEST() 103 Result<void, int> result = CreateError(); in TEST() 109 Result<void, int> result; in TEST() 116 Result<void, int> result; in TEST() [all …]
|
/third_party/boost/boost/lambda/detail/ |
D | function_adaptors.hpp | 301 template <class Result> 302 struct function_adaptor<Result (void)> { 304 template<class T> struct sig { typedef Result type; }; 306 static Result apply(Result (*func)()) { in apply() 311 template <class Result> 312 struct function_adaptor<Result (*)(void)> { 314 template<class T> struct sig { typedef Result type; }; 316 static Result apply(Result (*func)()) { in apply() 323 template <class Object, class Result> 324 struct function_adaptor<Result (Object::*)() const> { [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/ |
D | ResultTests.cpp | 22 void TestError(Result<T, E>* result, E expectedError) { in TestError() 31 void TestSuccess(Result<T, E>* result, T expectedSuccess) { in TestSuccess() 47 Result<void, int*> result(&dummyError); in TEST() 53 Result<void, int*> result(&dummyError); in TEST() 54 Result<void, int*> movedResult(std::move(result)); in TEST() 60 auto CreateError = []() -> Result<void, int*> { in TEST() 64 Result<void, int*> result = CreateError(); in TEST() 70 Result<void, int*> result; in TEST() 77 Result<void, int*> result; in TEST() 78 Result<void, int*> movedResult(std::move(result)); in TEST() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCDuplexInfo.cpp | 703 MCInst Result; in deriveSubInst() local 715 Result.setOpcode(Hexagon::SA1_inc); in deriveSubInst() 716 addOps(Result, Inst, 0); in deriveSubInst() 717 addOps(Result, Inst, 1); in deriveSubInst() 721 Result.setOpcode(Hexagon::SA1_dec); in deriveSubInst() 722 addOps(Result, Inst, 0); in deriveSubInst() 723 addOps(Result, Inst, 1); in deriveSubInst() 724 addOps(Result, Inst, 2); in deriveSubInst() 728 Result.setOpcode(Hexagon::SA1_addsp); in deriveSubInst() 729 addOps(Result, Inst, 0); in deriveSubInst() [all …]
|
/third_party/flatbuffers/rust/flexbuffers/src/builder/ |
D | ser.rs | 39 fn finish_if_not_nested(&mut self) -> Result<(), Error> { in finish_if_not_nested() argument 63 fn end_vector(&mut self) -> Result<(), Error> { in end_vector() argument 68 fn end_map(&mut self) -> Result<(), Error> { in end_map() argument 84 fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> { in fmt() argument 100 fn serialize_element<T: ?Sized>(&mut self, value: &T) -> Result<(), Self::Error> in serialize_element() argument 106 fn end(self) -> Result<Self::Ok, Self::Error> { in end() 115 fn serialize_key<T: ?Sized>(&mut self, key: &T) -> Result<(), Self::Error> in serialize_key() argument 121 fn serialize_value<T: ?Sized>(&mut self, value: &T) -> Result<(), Self::Error> in serialize_value() argument 127 fn end(self) -> Result<Self::Ok, Self::Error> { in end() 134 fn serialize_element<T: ?Sized>(&mut self, value: &T) -> Result<(), Self::Error> in serialize_element() argument [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | TextureNULL.cpp | 21 angle::Result TextureNULL::setImage(const gl::Context *context, in setImage() 32 return angle::Result::Continue; in setImage() 35 angle::Result TextureNULL::setSubImage(const gl::Context *context, in setSubImage() 44 return angle::Result::Continue; in setSubImage() 47 angle::Result TextureNULL::setCompressedImage(const gl::Context *context, in setCompressedImage() 55 return angle::Result::Continue; in setCompressedImage() 58 angle::Result TextureNULL::setCompressedSubImage(const gl::Context *context, in setCompressedSubImage() 66 return angle::Result::Continue; in setCompressedSubImage() 69 angle::Result TextureNULL::copyImage(const gl::Context *context, in copyImage() 75 return angle::Result::Continue; in copyImage() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | ContextNULL.cpp | 116 angle::Result ContextNULL::initialize() in initialize() 118 return angle::Result::Continue; in initialize() 121 angle::Result ContextNULL::flush(const gl::Context *context) in flush() 123 return angle::Result::Continue; in flush() 126 angle::Result ContextNULL::finish(const gl::Context *context) in finish() 128 return angle::Result::Continue; in finish() 131 angle::Result ContextNULL::drawArrays(const gl::Context *context, in drawArrays() 136 return angle::Result::Continue; in drawArrays() 139 angle::Result ContextNULL::drawArraysInstanced(const gl::Context *context, in drawArraysInstanced() 145 return angle::Result::Continue; in drawArraysInstanced() [all …]
|
D | TextureNULL.cpp | 21 angle::Result TextureNULL::setImage(const gl::Context *context, in setImage() 33 return angle::Result::Continue; in setImage() 36 angle::Result TextureNULL::setSubImage(const gl::Context *context, in setSubImage() 45 return angle::Result::Continue; in setSubImage() 48 angle::Result TextureNULL::setCompressedImage(const gl::Context *context, in setCompressedImage() 56 return angle::Result::Continue; in setCompressedImage() 59 angle::Result TextureNULL::setCompressedSubImage(const gl::Context *context, in setCompressedSubImage() 67 return angle::Result::Continue; in setCompressedSubImage() 70 angle::Result TextureNULL::copyImage(const gl::Context *context, in copyImage() 76 return angle::Result::Continue; in copyImage() [all …]
|
/third_party/skia/third_party/externals/oboe/src/opensles/ |
D | AudioOutputStreamOpenSLES.cpp | 112 Result AudioOutputStreamOpenSLES::open() { in open() 120 return Result::ErrorInvalidFormat; in open() 131 Result oboeResult = AudioStreamOpenSLES::open(); in open() 132 if (Result::OK != oboeResult) return oboeResult; in open() 137 return Result::ErrorInternal; in open() 227 if (Result::OK != oboeResult) { in open() 234 return Result::OK; in open() 237 return Result::ErrorInternal; // TODO convert error from SLES to OBOE in open() 240 Result AudioOutputStreamOpenSLES::onAfterDestroy() { in onAfterDestroy() 242 return Result::OK; in onAfterDestroy() [all …]
|
D | AudioInputStreamOpenSLES.cpp | 76 Result AudioInputStreamOpenSLES::open() { in open() 83 return Result::ErrorInvalidFormat; in open() 94 Result oboeResult = AudioStreamOpenSLES::open(); in open() 95 if (Result::OK != oboeResult) return oboeResult; in open() 202 if (Result::OK != oboeResult) { in open() 209 return Result::OK; in open() 212 return Result::ErrorInternal; // TODO convert error from SLES to OBOE in open() 215 Result AudioInputStreamOpenSLES::close() { in close() 218 Result result = Result::OK; in close() 220 result = Result::ErrorClosed; in close() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | TextureStorage11.h | 80 angle::Result getSRVLevels(const gl::Context *context, 84 angle::Result generateSwizzles(const gl::Context *context, 89 angle::Result updateSubresourceLevel(const gl::Context *context, 95 angle::Result copySubresourceLevel(const gl::Context *context, 107 angle::Result generateMipmap(const gl::Context *context, 110 angle::Result copyToStorage(const gl::Context *context, TextureStorage *destStorage) override; 111 angle::Result setData(const gl::Context *context, 120 virtual angle::Result getSRVForSampler(const gl::Context *context, 124 angle::Result getSRVForImage(const gl::Context *context, 127 angle::Result getUAVForImage(const gl::Context *context, [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ContextVk.h | 78 angle::Result initialize() override; 83 angle::Result flush(const gl::Context *context) override; 84 angle::Result finish(const gl::Context *context) override; 87 angle::Result drawArrays(const gl::Context *context, 91 angle::Result drawArraysInstanced(const gl::Context *context, 96 angle::Result drawArraysInstancedBaseInstance(const gl::Context *context, 103 angle::Result drawElements(const gl::Context *context, 108 angle::Result drawElementsBaseVertex(const gl::Context *context, 114 angle::Result drawElementsInstanced(const gl::Context *context, 120 angle::Result drawElementsInstancedBaseVertex(const gl::Context *context, [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | TextureStorage11.h | 57 angle::Result getSRVLevels(const gl::Context *context, 61 angle::Result generateSwizzles(const gl::Context *context, 66 angle::Result updateSubresourceLevel(const gl::Context *context, 72 angle::Result copySubresourceLevel(const gl::Context *context, 84 angle::Result generateMipmap(const gl::Context *context, 87 angle::Result copyToStorage(const gl::Context *context, TextureStorage *destStorage) override; 88 angle::Result setData(const gl::Context *context, 97 virtual angle::Result getSRVForSampler(const gl::Context *context, 101 angle::Result getSRVForImage(const gl::Context *context, 104 angle::Result getUAVForImage(const gl::Context *context, [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | TextureD3D.h | 40 angle::Result getNativeTexture(const gl::Context *context, TextureStorage **outStorage); 48 angle::Result getImageAndSyncFromStorage(const gl::Context *context, 56 angle::Result setStorage(const gl::Context *context, 62 angle::Result setStorageMultisample(const gl::Context *context, 69 angle::Result setStorageExternalMemory(const gl::Context *context, 79 virtual angle::Result getRenderTarget(const gl::Context *context, 91 angle::Result setImageExternal(const gl::Context *context, 95 angle::Result generateMipmap(const gl::Context *context) override; 99 angle::Result getAttachmentRenderTarget(const gl::Context *context, 104 angle::Result setBaseLevel(const gl::Context *context, GLuint baseLevel) override; [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | QueryGL.cpp | 85 angle::Result StandardQueryGL::begin(const gl::Context *context) in begin() 91 angle::Result StandardQueryGL::end(const gl::Context *context) in end() 96 angle::Result StandardQueryGL::queryCounter(const gl::Context *context) in queryCounter() 107 return angle::Result::Continue; in queryCounter() 111 angle::Result StandardQueryGL::getResultBase(const gl::Context *context, T *params) in getResultBase() 119 return angle::Result::Continue; in getResultBase() 122 angle::Result StandardQueryGL::getResult(const gl::Context *context, GLint *params) in getResult() 127 angle::Result StandardQueryGL::getResult(const gl::Context *context, GLuint *params) in getResult() 132 angle::Result StandardQueryGL::getResult(const gl::Context *context, GLint64 *params) in getResult() 137 angle::Result StandardQueryGL::getResult(const gl::Context *context, GLuint64 *params) in getResult() [all …]
|
D | QueryGL.h | 34 virtual angle::Result pause(const gl::Context *context) = 0; 35 virtual angle::Result resume(const gl::Context *context) = 0; 44 angle::Result begin(const gl::Context *context) override; 45 angle::Result end(const gl::Context *context) override; 46 angle::Result queryCounter(const gl::Context *context) override; 47 angle::Result getResult(const gl::Context *context, GLint *params) override; 48 angle::Result getResult(const gl::Context *context, GLuint *params) override; 49 angle::Result getResult(const gl::Context *context, GLint64 *params) override; 50 angle::Result getResult(const gl::Context *context, GLuint64 *params) override; 51 angle::Result isResultAvailable(const gl::Context *context, bool *available) override; [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | QueryGL.cpp | 87 angle::Result StandardQueryGL::begin(const gl::Context *context) in begin() 93 angle::Result StandardQueryGL::end(const gl::Context *context) in end() 98 angle::Result StandardQueryGL::queryCounter(const gl::Context *context) in queryCounter() 109 return angle::Result::Continue; in queryCounter() 113 angle::Result StandardQueryGL::getResultBase(const gl::Context *context, T *params) in getResultBase() 121 return angle::Result::Continue; in getResultBase() 124 angle::Result StandardQueryGL::getResult(const gl::Context *context, GLint *params) in getResult() 129 angle::Result StandardQueryGL::getResult(const gl::Context *context, GLuint *params) in getResult() 134 angle::Result StandardQueryGL::getResult(const gl::Context *context, GLint64 *params) in getResult() 139 angle::Result StandardQueryGL::getResult(const gl::Context *context, GLuint64 *params) in getResult() [all …]
|
D | QueryGL.h | 34 virtual angle::Result pause(const gl::Context *context) = 0; 35 virtual angle::Result resume(const gl::Context *context) = 0; 44 angle::Result begin(const gl::Context *context) override; 45 angle::Result end(const gl::Context *context) override; 46 angle::Result queryCounter(const gl::Context *context) override; 47 angle::Result getResult(const gl::Context *context, GLint *params) override; 48 angle::Result getResult(const gl::Context *context, GLuint *params) override; 49 angle::Result getResult(const gl::Context *context, GLint64 *params) override; 50 angle::Result getResult(const gl::Context *context, GLuint64 *params) override; 51 angle::Result isResultAvailable(const gl::Context *context, bool *available) override; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | CodeViewYAMLDebugSections.cpp | 405 auto Result = std::make_shared<DebugChecksumsSubsection>(*SC.strings()); in toCodeViewSubsection() local 407 Result->addChecksum(CS.FileName, CS.Kind, CS.ChecksumBytes.Bytes); in toCodeViewSubsection() 409 return Result; in toCodeViewSubsection() 416 auto Result = in toCodeViewSubsection() local 418 Result->setCodeSize(Lines.CodeSize); in toCodeViewSubsection() 419 Result->setRelocationAddress(Lines.RelocSegment, Lines.RelocOffset); in toCodeViewSubsection() 420 Result->setFlags(Lines.Flags); in toCodeViewSubsection() 422 Result->createBlock(LC.FileName); in toCodeViewSubsection() 423 if (Result->hasColumnInfo()) { in toCodeViewSubsection() 428 Result->addLineAndColumnInfo(L.Offset, in toCodeViewSubsection() [all …]
|