Home
last modified time | relevance | path

Searched refs:readBuffer (Results 1 – 25 of 183) sorted by relevance

12345678

/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
Doptional_scalars_generated.swift73 …o = _accessor.offset(VTOFFSET.justI8.v); return o == 0 ? 0 : _accessor.readBuffer(of: Int8.self, a…
74 … _accessor.offset(VTOFFSET.maybeI8.v); return o == 0 ? nil : _accessor.readBuffer(of: Int8.self, a…
75 …_accessor.offset(VTOFFSET.defaultI8.v); return o == 0 ? 42 : _accessor.readBuffer(of: Int8.self, a…
76 …o = _accessor.offset(VTOFFSET.justU8.v); return o == 0 ? 0 : _accessor.readBuffer(of: UInt8.self, …
77 … _accessor.offset(VTOFFSET.maybeU8.v); return o == 0 ? nil : _accessor.readBuffer(of: UInt8.self, …
78 …_accessor.offset(VTOFFSET.defaultU8.v); return o == 0 ? 42 : _accessor.readBuffer(of: UInt8.self, …
79 … = _accessor.offset(VTOFFSET.justI16.v); return o == 0 ? 0 : _accessor.readBuffer(of: Int16.self, …
80 …_accessor.offset(VTOFFSET.maybeI16.v); return o == 0 ? nil : _accessor.readBuffer(of: Int16.self, …
81 …accessor.offset(VTOFFSET.defaultI16.v); return o == 0 ? 42 : _accessor.readBuffer(of: Int16.self, …
82 … = _accessor.offset(VTOFFSET.justU16.v); return o == 0 ? 0 : _accessor.readBuffer(of: UInt16.self,…
[all …]
Dmonster_test_generated.swift181 public var a: Int16 { return _accessor.readBuffer(of: Int16.self, at: 0) }
183 public var b: Int8 { return _accessor.readBuffer(of: Int8.self, at: 2) }
258 public var x: Float32 { return _accessor.readBuffer(of: Float32.self, at: 0) }
260 public var y: Float32 { return _accessor.readBuffer(of: Float32.self, at: 4) }
262 public var z: Float32 { return _accessor.readBuffer(of: Float32.self, at: 8) }
264 public var test1: Double { return _accessor.readBuffer(of: Double.self, at: 16) }
266 …MyGame_Example_Color { return MyGame_Example_Color(rawValue: _accessor.readBuffer(of: UInt8.self, …
318 public var id: UInt32 { return _accessor.readBuffer(of: UInt32.self, at: 0) }
320 public var distance: UInt32 { return _accessor.readBuffer(of: UInt32.self, at: 4) }
499 ….v); return o == 0 ? .green : MyGame_Example_Color(rawValue: _accessor.readBuffer(of: UInt8.self, …
[all …]
DMutatingBool_generated.swift22 public var property: Bool { return _accessor.readBuffer(of: Bool.self, at: 0) }
43 …et o = _accessor.offset(VTOFFSET.b.v); return o == 0 ? nil : _accessor.readBuffer(of: Property.sel…
/third_party/flutter/skia/tests/
DPackedConfigsTextureTest.cpp44 const SkTDArray<uint32_t>& readBuffer) { in check_4444() argument
48 uint32_t test = readBuffer[i + j * DEV_H]; in check_4444()
75 const SkTDArray<GrColor>& readBuffer) { in check_565() argument
79 GrColor test = readBuffer[i + j * DEV_H]; in check_565()
102 SkTDArray<GrColor> readBuffer; in run_test() local
104 readBuffer.setCount(arraySize); in run_test()
123 if (!sContext->readPixels(dstInfo, readBuffer.begin(), 0, {0, 0})) { in run_test()
130 check_4444(reporter, controlPixelData, readBuffer); in run_test()
133 check_565(reporter, controlPixelData, readBuffer); in run_test()
DFloatingPointTextureTest.cpp37 SkTDArray<T> controlPixelData, readBuffer; in runFPTest() local
39 readBuffer.setCount(arraySize); in runFPTest()
62 readBuffer.begin(), 0, {0, 0}, context); in runFPTest()
65 … 0 == memcmp(readBuffer.begin(), controlPixelData.begin(), readBuffer.bytes())); in runFPTest()
/third_party/skia/src/core/
DSkTextBlobTrace.cpp31 SkReadBuffer readBuffer{data->data(), data->size()}; in CreateBlobTrace() local
32 readBuffer.setTypefaceArray(typefaceArray.data(), typefaceArray.size()); in CreateBlobTrace()
34 while (!readBuffer.eof()) { in CreateBlobTrace()
36 record.origUniqueID = readBuffer.readUInt(); in CreateBlobTrace()
37 record.paint = readBuffer.readPaint(); in CreateBlobTrace()
38 readBuffer.readPoint(&record.offset); in CreateBlobTrace()
39 record.blob = SkTextBlobPriv::MakeFromBuffer(readBuffer); in CreateBlobTrace()
/third_party/skia/tests/
DFloatingPointTextureTest.cpp40 SkTDArray<T> controlPixelData, readBuffer; in runFPTest() local
42 readBuffer.setCount(arraySize); in runFPTest()
66 GrPixmap readPixmap(info, readBuffer.begin(), info.minRowBytes()); in runFPTest()
70 !memcmp(readBuffer.begin(), controlPixelData.begin(), readBuffer.bytes())); in runFPTest()
DFlattenDrawableTest.cpp221 SkReadBuffer readBuffer(data->data(), data->size()); in DEF_TEST() local
224 sk_sp<SkDrawable> out((SkDrawable*)readBuffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in DEF_TEST()
280 SkReadBuffer readBuffer(data->data(), data->size()); in DEF_TEST() local
283 sk_sp<SkDrawable> out((SkDrawable*)readBuffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in DEF_TEST()
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DGLX_NV_copy_buffer.txt50 GLuint readBuffer, GLuint writeBuffer,
70 GLuint readBuffer, GLuint writeBuffer,
143 BUFFER_SIZE of readTarget/readBuffer, or if writeOffset+size is greater than
146 The error INVALID_OPERATION is generated if either readtarget/readBuffer or
149 The error INVALID_VALUE is generated if readTarget/readBuffer and
158 BindBuffer(COPY_READ_BUFFER, readBuffer);
171 BindBuffer(ARRAY_BUFFER, readBuffer);
175 readBuffer, writeBuffer,
/third_party/openGLES/extensions/NV/
DGLX_NV_copy_buffer.txt50 GLuint readBuffer, GLuint writeBuffer,
70 GLuint readBuffer, GLuint writeBuffer,
143 BUFFER_SIZE of readTarget/readBuffer, or if writeOffset+size is greater than
146 The error INVALID_OPERATION is generated if either readtarget/readBuffer or
149 The error INVALID_VALUE is generated if readTarget/readBuffer and
158 BindBuffer(COPY_READ_BUFFER, readBuffer);
171 BindBuffer(ARRAY_BUFFER, readBuffer);
175 readBuffer, writeBuffer,
/third_party/protobuf/js/experimental/runtime/kernel/conformance/
Dconformance_testee_runner_node.js11 function readBuffer(bytes) { function
37 const requestLengthBuf = readBuffer(4);
43 const serializedRequest = readBuffer(requestLength);
/third_party/node/deps/npm/node_modules/sshpk/lib/formats/
Dopenssh-cert.js70 cert.signatures.openssh.nonce = sshbuf.readBuffer();
107 var pbuf = sshbuf.readBuffer();
125 cert.signatures.openssh.critical = sshbuf.readBuffer();
126 cert.signatures.openssh.exts = sshbuf.readBuffer();
129 sshbuf.readBuffer();
131 var signingKeyBuf = sshbuf.readBuffer();
141 var sigBuf = sshbuf.readBuffer();
Dssh-private.js39 var kdfOpts = buf.readBuffer();
47 var pubKey = buf.readBuffer();
54 var privKeyBlob = buf.readBuffer();
66 var salt = kdfOptsBuf.readBuffer();
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DFramebuffer11.cpp287 const gl::FramebufferAttachment *readBuffer = sourceFramebuffer->getReadColorAttachment(); in blitImpl() local
288 ASSERT(readBuffer); in blitImpl()
291 ANGLE_TRY(readBuffer->getRenderTarget(context, &readRenderTarget)); in blitImpl()
308 const bool invertColorSource = UsePresentPathFast(mRenderer, readBuffer); in blitImpl()
335 const gl::FramebufferAttachment *readBuffer = in blitImpl() local
337 ASSERT(readBuffer); in blitImpl()
339 ANGLE_TRY(readBuffer->getRenderTarget(context, &readRenderTarget)); in blitImpl()
342 const bool invertSource = UsePresentPathFast(mRenderer, readBuffer); in blitImpl()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DFramebuffer11.cpp288 const gl::FramebufferAttachment *readBuffer = sourceFramebuffer->getReadColorAttachment(); in blitImpl() local
289 ASSERT(readBuffer); in blitImpl()
292 ANGLE_TRY(readBuffer->getRenderTarget(context, 0, &readRenderTarget)); in blitImpl()
310 const bool invertColorSource = UsePresentPathFast(mRenderer, readBuffer); in blitImpl()
342 const gl::FramebufferAttachment *readBuffer = in blitImpl() local
344 ASSERT(readBuffer); in blitImpl()
346 ANGLE_TRY(readBuffer->getRenderTarget(context, 0, &readRenderTarget)); in blitImpl()
349 const bool invertSource = UsePresentPathFast(mRenderer, readBuffer); in blitImpl()
/third_party/flatbuffers/samples/
Dmonster_generated.swift65 public var x: Float32 { return _accessor.readBuffer(of: Float32.self, at: 0) }
67 public var y: Float32 { return _accessor.readBuffer(of: Float32.self, at: 4) }
69 public var z: Float32 { return _accessor.readBuffer(of: Float32.self, at: 8) }
99 … o = _accessor.offset(VTOFFSET.pos.v); return o == 0 ? nil : _accessor.readBuffer(of: MyGame_Sampl…
101 …o = _accessor.offset(VTOFFSET.mana.v); return o == 0 ? 150 : _accessor.readBuffer(of: Int16.self, …
103 …t o = _accessor.offset(VTOFFSET.hp.v); return o == 0 ? 100 : _accessor.readBuffer(of: Int16.self, …
111 …or.v); return o == 0 ? .blue : MyGame_Sample_Color(rawValue: _accessor.readBuffer(of: Int8.self, a…
115 …; return o == 0 ? .none_ : MyGame_Sample_Equipment(rawValue: _accessor.readBuffer(of: UInt8.self, …
183 …o = _accessor.offset(VTOFFSET.damage.v); return o == 0 ? 0 : _accessor.readBuffer(of: Int16.self, …
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DFramebuffer.cpp37 readBuffer = GL_COLOR_ATTACHMENT0; in Framebuffer()
111 readBuffer = buf; in setReadBuffer()
121 return readBuffer; in getReadBuffer()
249 if(readBuffer == GL_NONE) in getReadBufferType()
683 switch(readBuffer) in getReadBufferIndex()
690 return readBuffer - GL_COLOR_ATTACHMENT0; in getReadBufferIndex()
696 readBuffer = GL_BACK; in DefaultFramebuffer()
706 readBuffer = GL_BACK; in DefaultFramebuffer()
/third_party/protobuf/conformance/
Dconformance_nodejs.js119 function readBuffer(bytes) { function
152 var lengthBuf = readBuffer(4);
158 var serializedRequest = readBuffer(length);
/third_party/node/test/parallel/
Dtest-fs-promises-readfile.js27 const readBuffer = await readFile(fn);
28 assert.strictEqual(readBuffer.equals(largeBuffer), true);
/third_party/node/deps/npm/node_modules/sshpk/lib/
Dssh-buffer.js42 return ({data: this.readBuffer()});
45 SSHBuffer.prototype.readBuffer = function () { method in SSHBuffer
57 return (this.readBuffer().toString());
Dsignature.js240 var d = buf.readBuffer();
242 d = buf.readBuffer();
256 var inner = buf.readBuffer();
277 inner = buf.readBuffer();
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DFramebuffer9.cpp237 const gl::FramebufferAttachment *readBuffer = sourceFramebuffer->getColorAttachment(0); in blitImpl() local
238 ASSERT(readBuffer); in blitImpl()
241 ANGLE_TRY(readBuffer->getRenderTarget(context, 0, &readRenderTarget)); in blitImpl()
354 const gl::FramebufferAttachment *readBuffer = in blitImpl() local
356 ASSERT(readBuffer); in blitImpl()
359 ANGLE_TRY(readBuffer->getRenderTarget(context, 0, &readDepthStencil)); in blitImpl()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DFramebuffer9.cpp236 const gl::FramebufferAttachment *readBuffer = sourceFramebuffer->getColorAttachment(0); in blitImpl() local
237 ASSERT(readBuffer); in blitImpl()
240 ANGLE_TRY(readBuffer->getRenderTarget(context, &readRenderTarget)); in blitImpl()
352 const gl::FramebufferAttachment *readBuffer = in blitImpl() local
354 ASSERT(readBuffer); in blitImpl()
357 ANGLE_TRY(readBuffer->getRenderTarget(context, &readDepthStencil)); in blitImpl()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DBufferDataTest.cpp382 GLuint readBuffer; in TEST_P() local
383 glGenBuffers(1, &readBuffer); in TEST_P()
384 glBindBuffer(GL_COPY_WRITE_BUFFER, readBuffer); in TEST_P()
407 glDeleteBuffers(1, &readBuffer); in TEST_P()
650 GLBuffer readBuffer, writeBuffer; in TEST_P() local
652 glBindBuffer(GL_COPY_READ_BUFFER, readBuffer.get()); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DBufferDataTest.cpp364 GLuint readBuffer; in TEST_P() local
365 glGenBuffers(1, &readBuffer); in TEST_P()
366 glBindBuffer(GL_COPY_WRITE_BUFFER, readBuffer); in TEST_P()
389 glDeleteBuffers(1, &readBuffer); in TEST_P()
1140 GLBuffer readBuffer; in TEST_P() local
1141 glBindBuffer(GL_ARRAY_BUFFER, readBuffer.get()); in TEST_P()
1156 glBindBuffer(GL_COPY_READ_BUFFER, readBuffer.get()); in TEST_P()
1181 GLBuffer readBuffer; in TEST_P() local
1182 glBindBuffer(GL_ARRAY_BUFFER, readBuffer.get()); in TEST_P()
1404 GLBuffer readBuffer, writeBuffer; in TEST_P() local
[all …]

12345678