Home
last modified time | relevance | path

Searched refs:outStream (Results 1 – 25 of 34) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DGLES1Renderer.cpp635 void GLES1Renderer::addShaderDefine(std::stringstream &outStream, in addShaderDefine() argument
639 outStream << "\n"; in addShaderDefine()
640 outStream << "#define " << enableString << " " << getShaderBool(state); in addShaderDefine()
643 void GLES1Renderer::addShaderInt(std::stringstream &outStream, const char *name, int value) in addShaderInt() argument
645 outStream << "\n"; in addShaderInt()
646 outStream << "const int " << name << " = " << value << ";"; in addShaderInt()
649 void GLES1Renderer::addShaderIntTexArray(std::stringstream &outStream, in addShaderIntTexArray() argument
653 outStream << "\n"; in addShaderIntTexArray()
654 outStream << "const int " << texString << "[kMaxTexUnits] = int[kMaxTexUnits]("; in addShaderIntTexArray()
659 outStream << ", "; in addShaderIntTexArray()
[all …]
DGLES1Renderer.h208 void addShaderDefine(std::stringstream &outStream,
211 void addShaderInt(std::stringstream &outStream, const char *name, int value);
212 void addShaderIntTexArray(std::stringstream &outStream,
215 void addShaderBoolTexArray(std::stringstream &outStream,
218 void addShaderBoolLightArray(std::stringstream &outStream,
221 void addShaderBoolClipPlaneArray(std::stringstream &outStream,
224 void addVertexShaderDefs(std::stringstream &outStream);
225 void addFragmentShaderDefs(std::stringstream &outStream);
/third_party/skia/tests/
DAnnotationTest.cpp55 SkDynamicMemoryWStream outStream; in DEF_TEST() local
56 auto doc = SkPDF::MakeDocument(&outStream); in DEF_TEST()
66 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
74 SkDynamicMemoryWStream outStream; in DEF_TEST() local
75 auto doc = SkPDF::MakeDocument(&outStream); in DEF_TEST()
84 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
95 SkDynamicMemoryWStream outStream; in DEF_TEST() local
97 std::unique_ptr<SkCanvas> canvas = SkSVGCanvas::Make(bounds, &outStream); in DEF_TEST()
104 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
112 SkDynamicMemoryWStream outStream; in DEF_TEST() local
[all …]
DPDFPrimitivesTest.cpp85 SkDynamicMemoryWStream outStream; in test_issue1083() local
86 auto doc = SkPDF::MakeDocument(&outStream); in test_issue1083()
/third_party/flutter/skia/tests/
DAnnotationTest.cpp55 SkDynamicMemoryWStream outStream; in DEF_TEST() local
56 auto doc = SkPDF::MakeDocument(&outStream); in DEF_TEST()
66 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
74 SkDynamicMemoryWStream outStream; in DEF_TEST() local
75 auto doc = SkPDF::MakeDocument(&outStream); in DEF_TEST()
84 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
95 SkDynamicMemoryWStream outStream; in DEF_TEST() local
97 std::unique_ptr<SkCanvas> canvas = SkSVGCanvas::Make(bounds, &outStream); in DEF_TEST()
104 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
112 SkDynamicMemoryWStream outStream; in DEF_TEST() local
[all …]
DPDFPrimitivesTest.cpp87 SkDynamicMemoryWStream outStream; in test_issue1083() local
88 auto doc = SkPDF::MakeDocument(&outStream); in test_issue1083()
/third_party/mindspore/third_party/securec/src/
Dsecureprintoutput_a.c34 #define SECUREC_PUTC(c, outStream) ((--(outStream)->count >= 0) ? \ argument
35 (int)((unsigned int)(unsigned char)(*((outStream)->cur++) = (char)(c)) & 0xff) : EOF)
37 #define SECUREC_PUTC_ZERO(outStream) ((--(outStream)->count >= 0) ? \ argument
38 ((*((outStream)->cur++) = (char)('\0'))) : EOF)
Doutput.inl200 #define SECUREC_SAFE_WRITE_STR_OPT(src, txtLen, outStream, outChars) do { \ argument
203 *((SecChar *)(void *)((outStream)->cur)) = *(SecChar *)(src); \
204 (outStream)->cur += sizeof(SecChar); \
207 (outStream)->count -= (txtLen) * (int)(sizeof(SecChar)); \
211 #define SECUREC_SAFE_WRITE_STR(src, txtLen, outStream, outChars) do { \ argument
213 SECUREC_SAFE_WRITE_STR_OPT((src), (txtLen), (outStream), (outChars)); \
215 … SecDoMemcpy((outStream)->cur, (src), ((size_t)(unsigned int)(txtLen) * (sizeof(SecChar)))); \
216 (outStream)->cur += (size_t)((size_t)(unsigned int)(txtLen) * (sizeof(SecChar))); \
217 (outStream)->count -= (txtLen) * (int)(sizeof(SecChar)); \
222 #define SECUREC_SAFE_WRITE_CHAR(c, outStream, outChars) do { \ argument
[all …]
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
DDuplexEngine.cpp71 ->openManagedStream(outStream); in openOutStream()
75 oboe::Result result = outStream->requestStart(); in startStreams()
77 auto currentState = outStream->getState(); in startStreams()
80 result = outStream->waitForStateChange(currentState, &nextState, timeoutNanos); in startStreams()
89 oboe::Result inputResult = outStream->requestStop(); in stopStreams()
DDuplexEngine.h58 oboe::ManagedStream outStream; variable
/third_party/glslang/Test/baseResults/
Dhlsl.structarray.flatten.geom.out11 0:16 'outStream' ( out structure{ temp 4-component vector of float position, temp 4-component…
52 0:? 'outStream.position' ( out 4-component vector of float Position)
58 0:? 'outStream.color' (layout( location=0) out 4-component vector of float)
64 0:? 'outStream.uv' (layout( location=1) out 2-component vector of float)
148 0:? 'outStream' ( temp structure{ temp 4-component vector of float position, temp 4-compon…
153 0:? 'outStream.position' ( out 4-component vector of float Position)
154 0:? 'outStream.color' (layout( location=0) out 4-component vector of float)
155 0:? 'outStream.uv' (layout( location=1) out 2-component vector of float)
170 0:16 'outStream' ( out structure{ temp 4-component vector of float position, temp 4-component…
211 0:? 'outStream.position' ( out 4-component vector of float Position)
[all …]
/third_party/node/deps/npm/lib/search/
Dall-package-metadata.js222 const outStream = _createCacheOutStream()
225 cacheFileStream, outStream, latest
232 linkStreams(inputStream, outStream, () => { errEmitted = true })
243 outStream.end()
247 return ms.duplex.obj(inputStream, outStream)
279 function _createCacheInStream (writer, outStream, latest) { argument
298 outStream.write(chunk, enc, () => cb(null, chunk))
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DAnalyzerActivity.java112 AudioStreamBase outStream = mAudioOutTester.getCurrentAudioStream(); in getCommonTestReport() local
113 report.append(String.format("out.burst.frames = %d\n", outStream.getFramesPerBurst())); in getCommonTestReport()
114 int bufferSize = outStream.getBufferSizeInFrames(); in getCommonTestReport()
116 int bufferCapacity = outStream.getBufferCapacityInFrames(); in getCommonTestReport()
118 report.append(String.format("out.xruns = %d\n", outStream.getXRunCount())); in getCommonTestReport()
/third_party/skia/third_party/externals/oboe/tests/UnitTestRunner/app/src/main/java/com/google/oboe/tests/unittestrunner/
DMainActivity.java73 OutputStream outStream = new FileOutputStream(outFile); in executeBinary() local
78 outStream.write(buffer, 0, read); in executeBinary()
81 outStream.flush(); in executeBinary()
82 outStream.close(); in executeBinary()
/third_party/glslang/Test/
Dhlsl.structarray.flatten.geom15 void main(line VertexData vin[2], inout TriangleStream<PS_IN> outStream)
22 outStream.Append(vout);
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
DNativeAudioContext.cpp259 MyOboeOutputStream outStream; in saveWaveFile() local
260 WaveFileWriter writer(&outStream); in saveWaveFile()
276 if (outStream.length() > 0) { in saveWaveFile()
278 myfile.write((char *) outStream.getData(), outStream.length()); in saveWaveFile()
282 return outStream.length(); in saveWaveFile()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/
DBufferToTexture11.hlsl55 void GS_BufferToTexture(point VS_OUTPUT inVertex[1], inout PointStream<GS_OUTPUT> outStream)
61 outStream.Append(outVertex);
DClear11.hlsl63 void GS_Multiview_Clear(triangle GS_INPUT input[3], inout TriangleStream<GS_OUTPUT> outStream)
70 outStream.Append(output);
72 outStream.RestartStrip();
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/
DBufferToTexture11.hlsl55 void GS_BufferToTexture(point VS_OUTPUT inVertex[1], inout PointStream<GS_OUTPUT> outStream)
61 outStream.Append(outVertex);
DClear11.hlsl63 void GS_Multiview_Clear(triangle GS_INPUT input[3], inout TriangleStream<GS_OUTPUT> outStream)
70 outStream.Append(output);
72 outStream.RestartStrip();
/third_party/boost/libs/serialization/test/
Dtest_z.cpp64 std::ostringstream outStream;
65 boost::archive::text_oarchive outArchive(outStream);
69 std::istringstream inStream(outStream.str());
/third_party/node/deps/npm/node_modules/cacache/lib/content/
Dwrite.js109 const outStream = fs.createWriteStream(tmpTarget, {
113 return pipe(inputStream, hashStream, outStream).then(() => {
/third_party/boost/libs/compute/test/
Dtest_string.cpp80 BOOST_AUTO_TEST_CASE(outStream) in BOOST_AUTO_TEST_CASE() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp1201 std::ostringstream &outStream) in GenerateAttributeConversionHLSL() argument
1206 outStream << "transpose(input." << DecorateVariable(shaderAttrib.name) << ")"; in GenerateAttributeConversionHLSL()
1219 outStream << "float" << shaderComponentCount << "(input." in GenerateAttributeConversionHLSL()
1225 outStream << "input." << DecorateVariable(shaderAttrib.name); in GenerateAttributeConversionHLSL()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp1162 std::ostringstream &outStream) in GenerateAttributeConversionHLSL() argument
1167 outStream << "transpose(input." << DecorateVariable(shaderAttrib.name) << ")"; in GenerateAttributeConversionHLSL()
1180 outStream << "float" << shaderComponentCount << "(input." in GenerateAttributeConversionHLSL()
1186 outStream << "input." << DecorateVariable(shaderAttrib.name); in GenerateAttributeConversionHLSL()

12