Home
last modified time | relevance | path

Searched refs:writeBuffer (Results 1 – 25 of 66) sorted by relevance

123

/external/skia/tests/
DFlattenDrawableTest.cpp216 SkBinaryWriteBuffer writeBuffer; in DEF_TEST() local
217 writeBuffer.writeFlattenable(root.get()); in DEF_TEST()
220 sk_sp<SkData> data = SkData::MakeUninitialized(writeBuffer.bytesWritten()); in DEF_TEST()
221 writeBuffer.writeToMemory(data->writable_data()); in DEF_TEST()
275 SkBinaryWriteBuffer writeBuffer; in DEF_TEST() local
276 writeBuffer.writeFlattenable(recordedDrawable.get()); in DEF_TEST()
279 sk_sp<SkData> data = SkData::MakeUninitialized(writeBuffer.bytesWritten()); in DEF_TEST()
280 writeBuffer.writeToMemory(data->writable_data()); in DEF_TEST()
/external/skqp/tests/
DFlattenDrawableTest.cpp216 SkBinaryWriteBuffer writeBuffer; in DEF_TEST() local
217 writeBuffer.writeFlattenable(root.get()); in DEF_TEST()
220 sk_sp<SkData> data = SkData::MakeUninitialized(writeBuffer.bytesWritten()); in DEF_TEST()
221 writeBuffer.writeToMemory(data->writable_data()); in DEF_TEST()
275 SkBinaryWriteBuffer writeBuffer; in DEF_TEST() local
276 writeBuffer.writeFlattenable(recordedDrawable.get()); in DEF_TEST()
279 sk_sp<SkData> data = SkData::MakeUninitialized(writeBuffer.bytesWritten()); in DEF_TEST()
280 writeBuffer.writeToMemory(data->writable_data()); in DEF_TEST()
/external/protobuf/conformance/
Dconformance_nodejs.js141 function writeBuffer(buffer) { function
172 writeBuffer(lengthBuf);
173 writeBuffer(new Buffer(serializedResponse));
/external/oboe/src/opensles/
DAudioStreamBuffered.cpp115 const void *writeBuffer, in transfer() argument
119 if (readBuffer != nullptr && writeBuffer != nullptr) { in transfer()
127 if (getDirection() == Direction::Output && writeBuffer == nullptr) { in transfer()
144 const uint8_t *writeData = reinterpret_cast<const uint8_t *>(writeBuffer); in transfer()
DAudioStreamBuffered.h79 const void *writeBuffer,
/external/llvm-project/llvm/unittests/ProfileData/
DInstrProfTest.cpp63 auto Profile = Writer.writeBuffer(); in TEST_P()
75 auto Profile = Writer.writeBuffer(); in TEST_P()
93 auto Profile = Writer.writeBuffer(); in TEST_P()
118 auto Profile = Writer.writeBuffer(); in TEST_P()
152 auto Profile = Writer.writeBuffer(); in TEST_F()
209 auto Profile = Writer.writeBuffer(); in TEST_F()
250 auto Profile = Writer.writeBuffer(); in TEST_P()
282 auto Profile = Writer.writeBuffer(); in TEST_P()
390 auto Profile = Writer.writeBuffer(); in TEST_P()
437 auto Profile = Writer.writeBuffer(); in TEST_P()
[all …]
/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp67 auto Profile = Writer.writeBuffer(); in TEST_P()
75 auto Profile = Writer.writeBuffer(); in TEST_P()
95 auto Profile = Writer.writeBuffer(); in TEST_P()
122 auto Profile = Writer.writeBuffer(); in TEST_P()
156 auto Profile = Writer.writeBuffer(); in TEST_F()
236 auto Profile = Writer.writeBuffer(); in TEST_P()
268 auto Profile = Writer.writeBuffer(); in TEST_P()
379 auto Profile = Writer.writeBuffer(); in TEST_P()
429 auto Profile = Writer.writeBuffer(); in TEST_P()
514 auto Profile = Writer.writeBuffer(); in TEST_P()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DTeeAudioProcessor.java158 writeBuffer(buffer); in handleBuffer()
198 private void writeBuffer(ByteBuffer buffer) throws IOException { in writeBuffer() method in TeeAudioProcessor.WavFileAudioBufferSink
DDefaultAudioSink.java725 writeBuffer(input, avSyncPresentationTimeUs); in processBuffers()
749 private void writeBuffer(ByteBuffer buffer, long avSyncPresentationTimeUs) throws WriteException { in writeBuffer() method in DefaultAudioSink
839 writeBuffer(outputBuffer, C.TIME_UNSET); in drainToEndOfStream()
/external/llvm/include/llvm/ProfileData/
DInstrProfWriter.h58 std::unique_ptr<MemoryBuffer> writeBuffer();
/external/angle/src/libANGLE/renderer/d3d/d3d11/
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->setData(context, static_cast<const uint8_t *>(data), offset, size)); in setSubData()
[all …]
/external/parameter-framework/upstream/parameter/
DParameterBlackboard.h52 void writeBuffer(const void *pvSrcData, size_t size, size_t offset);
DSubsystemObject.cpp183 _blackboard->writeBuffer(pvData, size, getOffset() + _accessedIndex); in blackboardWrite()
DParameterBlackboard.cpp88 void CParameterBlackboard::writeBuffer(const void *pvSrcData, size_t size, size_t offset) in writeBuffer() function in CParameterBlackboard
/external/libcups/cups/
Dtls-sspi.c1136 if ((temp = (BYTE *)realloc(sspi->writeBuffer, bufferLen)) == NULL) in _httpTLSWrite()
1143 sspi->writeBuffer = temp; in _httpTLSWrite()
1160 memcpy(sspi->writeBuffer + sspi->streamSizes.cbHeader, bufptr, chunk); in _httpTLSWrite()
1170 buffers[0].pvBuffer = sspi->writeBuffer; in _httpTLSWrite()
1173 buffers[1].pvBuffer = sspi->writeBuffer + sspi->streamSizes.cbHeader; in _httpTLSWrite()
1176 buffers[2].pvBuffer = sspi->writeBuffer + sspi->streamSizes.cbHeader + chunk; in _httpTLSWrite()
1200 …num = send(http->fd, sspi->writeBuffer, buffers[0].cbBuffer + buffers[1].cbBuffer + buffers[2].cbB… in _httpTLSWrite()
1857 if (sspi->writeBuffer) in http_sspi_free()
1858 free(sspi->writeBuffer); in http_sspi_free()
Dhttp-private.h177 BYTE *writeBuffer; /* Data pre-encryption */
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProfWriter.h75 std::unique_ptr<MemoryBuffer> writeBuffer();
/external/llvm-project/llvm/include/llvm/ProfileData/
DInstrProfWriter.h78 std::unique_ptr<MemoryBuffer> writeBuffer();
/external/mesa3d/src/mesa/main/
Dbufferobj.h354 _mesa_NamedCopyBufferSubDataEXT(GLuint readBuffer, GLuint writeBuffer,
359 _mesa_CopyNamedBufferSubData_no_error(GLuint readBuffer, GLuint writeBuffer,
363 _mesa_CopyNamedBufferSubData(GLuint readBuffer, GLuint writeBuffer,
/external/curl/lib/
Dsetup-os400.h133 char *writeBuffer,
/external/swiftshader/src/OpenGL/libGLESv2/
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()
/external/angle/src/tests/perf_tests/
DANGLEPerfTest.cpp146 std::vector<char> writeBuffer(kBufferSize); in WriteJsonFile() local
147 js::FileWriteStream os(fp, writeBuffer.data(), kBufferSize); in WriteJsonFile()
/external/angle/src/tests/gl_tests/
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()
2042 GLBuffer writeBuffer; in shaderStorageBitBufferWriteThenBufferRead() local
2045 createStorageBuffer(writeResource, writeBuffer, writeTextureBuffer, sizeof(kInitData), in shaderStorageBitBufferWriteThenBufferRead()
2093 GLBuffer writeBuffer; in shaderStorageBitBufferReadThenBufferWrite() local
2096 createStorageBuffer(writeResource, writeBuffer, writeTextureBuffer, sizeof(kInitData), in shaderStorageBitBufferReadThenBufferWrite()
/external/angle/src/libANGLE/
DvalidationES3.cpp3167 Buffer *writeBuffer = context->getState().getTargetBuffer(writeTarget); in ValidateCopyBufferSubData() local
3169 if (!readBuffer || !writeBuffer) in ValidateCopyBufferSubData()
3176 if (readBuffer->isMapped() || writeBuffer->isMapped()) in ValidateCopyBufferSubData()
3184 writeBuffer->isBoundForTransformFeedbackAndOtherUse())) in ValidateCopyBufferSubData()
3199 !IsValueInRangeForNumericType<GLintptr>(writeBuffer->getSize())) in ValidateCopyBufferSubData()
3218 checkedWriteSum.ValueOrDie() > writeBuffer->getSize()) in ValidateCopyBufferSubData()
3224 if (readBuffer == writeBuffer) in ValidateCopyBufferSubData()
/external/llvm/lib/ProfileData/
DInstrProfWriter.cpp282 std::unique_ptr<MemoryBuffer> InstrProfWriter::writeBuffer() { in writeBuffer() function in InstrProfWriter

123