Home
last modified time | relevance | path

Searched refs:writeBuffer (Results 1 - 25 of 50) sorted by relevance

12

/third_party/protobuf/js/experimental/runtime/kernel/conformance/
H A Dconformance_testee_runner_node.js24 function writeBuffer(buffer) { function
52 writeBuffer(responseLengthBuf);
53 writeBuffer(new Buffer.from(serializedResponse));
/third_party/skia/tests/
H A DFlattenDrawableTest.cpp215 SkBinaryWriteBuffer writeBuffer; in DEF_TEST() local
216 writeBuffer.writeFlattenable(root.get()); in DEF_TEST()
219 sk_sp<SkData> data = SkData::MakeUninitialized(writeBuffer.bytesWritten()); in DEF_TEST()
220 writeBuffer.writeToMemory(data->writable_data()); in DEF_TEST()
274 SkBinaryWriteBuffer writeBuffer; in DEF_TEST() local
275 writeBuffer.writeFlattenable(recordedDrawable.get()); in DEF_TEST()
278 sk_sp<SkData> data = SkData::MakeUninitialized(writeBuffer.bytesWritten()); in DEF_TEST()
279 writeBuffer.writeToMemory(data->writable_data()); in DEF_TEST()
/third_party/protobuf/conformance/
H A Dconformance_nodejs.js141 function writeBuffer(buffer) { function
172 writeBuffer(lengthBuf);
173 writeBuffer(new Buffer(serializedResponse));
/third_party/node/lib/internal/
H A Dnet.js10 const { writeBuffer } = internalBinding('fs');
59 writeBuffer(fd, chunk, 0, chunk.length, null, undefined, ctx);
H A Dstream_base_commons.js51 const ret = handle.writeBuffer(req, data);
72 const ret = handle.writeBuffer(req, buffer);
/third_party/node/benchmark/net/
H A Dtcp-raw-pipe.js55 err = clientHandle.writeBuffer(writeReq, Buffer.from(buffer));
125 err = clientHandle.writeBuffer(writeReq, chunk);
H A Dtcp-raw-s2c.js69 err = clientHandle.writeBuffer(writeReq, chunk);
H A Dtcp-raw-c2s.js111 err = clientHandle.writeBuffer(writeReq, chunk);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DBuffer11.cpp417 BufferStorage *writeBuffer = nullptr; in setSubData() local
433 ANGLE_TRY(getBufferStorage(context, BUFFER_USAGE_STRUCTURED, &writeBuffer)); in setSubData()
437 ANGLE_TRY(getBufferStorage(context, BUFFER_USAGE_UNIFORM, &writeBuffer)); in setSubData()
442 ANGLE_TRY(getBufferStorage(context, BUFFER_USAGE_SYSTEM_MEMORY, &writeBuffer)); in setSubData()
447 ANGLE_TRY(getStagingStorage(context, &writeBuffer)); in setSubData()
451 ANGLE_TRY(getBufferStorage(context, BUFFER_USAGE_SYSTEM_MEMORY, &writeBuffer)); in setSubData()
454 ASSERT(writeBuffer); in setSubData()
458 if (writeBuffer->getSize() < requiredSize) in setSubData()
461 ANGLE_TRY(writeBuffer->resize(context, requiredSize, preserveData)); in setSubData()
464 ANGLE_TRY(writeBuffer in setSubData()
[all...]
/third_party/node/deps/npm/node_modules/socks/build/client/
H A Dsocksclient.js168 buff.writeBuffer((0, helpers_1.ipToBuffer)(options.remoteHost.host));
178 buff.writeBuffer(options.data);
404 buff.writeBuffer((0, helpers_1.ipToBuffer)(this.options.destination.host));
613 buff.writeBuffer((0, helpers_1.ipToBuffer)(this.options.destination.host));
617 buff.writeBuffer((0, helpers_1.ipToBuffer)(this.options.destination.host));
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DGPUQueue.h36 void writeBuffer(Napi::Env,
H A DGPUQueue.cpp72 void GPUQueue::writeBuffer(Napi::Env env, in writeBuffer() function in wgpu::binding::GPUQueue
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h75 std::unique_ptr<MemoryBuffer> writeBuffer();
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DBufferDataTest.cpp1145 GLBuffer writeBuffer; in TEST_P() local
1146 glBindBuffer(GL_COPY_WRITE_BUFFER, writeBuffer.get()); in TEST_P()
1404 GLBuffer readBuffer, writeBuffer; in TEST_P() local
1407 glBindBuffer(GL_COPY_WRITE_BUFFER, writeBuffer.get()); in TEST_P()
H A DMemoryBarrierTest.cpp1576 GLBuffer writeBuffer; in bufferUpdateBitBufferWriteThenCopy() local
1579 createStorageBuffer(writeResource, writeBuffer, writeTextureBuffer, sizeof(kInitData), in bufferUpdateBitBufferWriteThenCopy()
1634 GLBuffer writeBuffer; in bufferUpdateBitCopyThenBufferWrite() local
1637 createStorageBuffer(writeResource, writeBuffer, writeTextureBuffer, sizeof(kInitData), in bufferUpdateBitCopyThenBufferWrite()
2048 GLBuffer writeBuffer; in shaderStorageBitBufferWriteThenBufferRead() local
2051 createStorageBuffer(writeResource, writeBuffer, writeTextureBuffer, sizeof(kInitData), in shaderStorageBitBufferWriteThenBufferRead()
2099 GLBuffer writeBuffer; in shaderStorageBitBufferReadThenBufferWrite() local
2102 createStorageBuffer(writeResource, writeBuffer, writeTextureBuffer, sizeof(kInitData), in shaderStorageBitBufferReadThenBufferWrite()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DlibGLESv3.cpp2434 es2::Buffer *readBuffer = nullptr, *writeBuffer = nullptr; in CopyBufferSubData() local
2435 if(!context->getBuffer(readTarget, &readBuffer) || !context->getBuffer(writeTarget, &writeBuffer)) in CopyBufferSubData()
2439 if(!readBuffer || readBuffer->isMapped() || !writeBuffer || writeBuffer->isMapped()) in CopyBufferSubData()
2443 if(readBuffer == writeBuffer) in CopyBufferSubData()
2454 (static_cast<size_t>(writeOffset + size) > writeBuffer->size())) in CopyBufferSubData()
2459 writeBuffer->bufferSubData(((char*)readBuffer->data()) + readOffset, size, writeOffset); in CopyBufferSubData()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DANGLEPerfTest.cpp146 std::vector<char> writeBuffer(kBufferSize); in WriteJsonFile()
147 js::FileWriteStream os(fp, writeBuffer.data(), kBufferSize); in WriteJsonFile()
/third_party/node/lib/internal/webstreams/
H A Dadapters.js873 ret = streamBase.writeBuffer(req, chunk);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp383 std::unique_ptr<MemoryBuffer> InstrProfWriter::writeBuffer() { in writeBuffer() function in InstrProfWriter
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationES3.cpp3371 Buffer *writeBuffer = context->getState().getTargetBuffer(writeTarget); in ValidateCopyBufferSubData() local
3373 if (!readBuffer || !writeBuffer) in ValidateCopyBufferSubData()
3381 bool isWritePersistent = (writeBuffer->getAccessFlags() & GL_MAP_PERSISTENT_BIT_EXT) != 0; in ValidateCopyBufferSubData()
3383 // Verify that readBuffer and writeBuffer are not currently mapped unless persistent in ValidateCopyBufferSubData()
3385 (writeBuffer->isMapped() && !isWritePersistent)) in ValidateCopyBufferSubData()
3392 writeBuffer->hasWebGLXFBBindingConflict(context->isWebGL())) in ValidateCopyBufferSubData()
3408 !IsValueInRangeForNumericType<GLintptr>(writeBuffer->getSize())) in ValidateCopyBufferSubData()
3427 checkedWriteSum.ValueOrDie() > writeBuffer->getSize()) in ValidateCopyBufferSubData()
3433 if (readBuffer == writeBuffer) in ValidateCopyBufferSubData()
/third_party/mesa3d/include/GL/
H A Dglxext.h530 typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
533 void glXNamedCopyBufferSubDataNV (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
/third_party/openGLES/api/GL/
H A Dglxext.h515 typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
518 void glXNamedCopyBufferSubDataNV (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
/third_party/skia/third_party/externals/swiftshader/include/GL/
H A Dglxext.h523 typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
526 void glXNamedCopyBufferSubDataNV (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
/third_party/skia/third_party/externals/opengl-registry/api/GL/
H A Dglxext.h523 typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
526 void glXNamedCopyBufferSubDataNV (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
/third_party/mesa3d/src/mesa/main/
H A Dbufferobj.c3405 "%s(writeBuffer is mapped)", func); in copy_buffer_sub_data()
3499 _mesa_NamedCopyBufferSubDataEXT(GLuint readBuffer, GLuint writeBuffer, in _mesa_NamedCopyBufferSubDataEXT() argument
3512 dst = _mesa_lookup_bufferobj(ctx, writeBuffer); in _mesa_NamedCopyBufferSubDataEXT()
3513 if (!_mesa_handle_bind_buffer_gen(ctx, writeBuffer, in _mesa_NamedCopyBufferSubDataEXT()
3523 _mesa_CopyNamedBufferSubData_no_error(GLuint readBuffer, GLuint writeBuffer, in _mesa_CopyNamedBufferSubData_no_error() argument
3530 struct gl_buffer_object *dst = _mesa_lookup_bufferobj(ctx, writeBuffer); in _mesa_CopyNamedBufferSubData_no_error()
3537 _mesa_CopyNamedBufferSubData(GLuint readBuffer, GLuint writeBuffer, in _mesa_CopyNamedBufferSubData() argument
3549 dst = _mesa_lookup_bufferobj_err(ctx, writeBuffer, in _mesa_CopyNamedBufferSubData()

Completed in 42 milliseconds

12