Home
last modified time | relevance | path

Searched refs:readResult (Results 1 – 13 of 13) sorted by relevance

/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/zircon/test/
Dchannel_test.dart50 final ReadResult readResult = System.channelQueryAndRead(pair.second);
51 expect(readResult.status, equals(ZX.OK));
52 expect(readResult.numBytes, equals(data.lengthInBytes));
53 expect(readResult.bytes.lengthInBytes, equals(data.lengthInBytes));
54 expect(readResult.bytesAsUTF8String(), equals('Hello, world'));
55 expect(readResult.handles.length, equals(0));
67 final ReadResult readResult = System.channelQueryAndRead(pair.second);
68 expect(readResult.status, equals(ZX.OK));
69 expect(readResult.numBytes, equals(0));
70 expect(readResult.bytes.lengthInBytes, equals(0));
[all …]
Dsocket_test.dart53 final ReadResult readResult =
55 expect(readResult.status, equals(ZX.OK));
56 expect(readResult.numBytes, equals(data.lengthInBytes));
57 expect(readResult.bytes.lengthInBytes, equals(data.lengthInBytes));
58 expect(readResult.bytesAsUTF8String(), equals('Hello, world'));
93 final ReadResult readResult = System.socketRead(pair.second, 100);
94 expect(readResult.status, equals(ZX.OK));
95 expect(readResult.numBytes, equals('Hello, world'.length));
96 expect(readResult.bytes.lengthInBytes, equals(100));
97 expect(readResult.bytesAsUTF8String(), equals('Hello, world'));
/third_party/skia/third_party/externals/oboe/src/common/
DAudioSourceCaller.cpp33 auto readResult = mStream->read(buffer, numFrames, mTimeoutNanos); in onProcessFixedBlock() local
34 if (!readResult) return (int32_t) readResult.error(); in onProcessFixedBlock()
35 result = readResult.value() * mStream->getBytesPerFrame(); in onProcessFixedBlock()
/third_party/vk-gl-cts/framework/delibs/destream/
DdeStreamCpyThread.c37 deStreamResult readResult = DE_STREAMRESULT_ERROR; in cpyStream() local
39 readResult = deInStream_read(thread->input, buffer, thread->bufferSize, &read); in cpyStream()
40 DE_ASSERT(readResult != DE_STREAMRESULT_ERROR); in cpyStream()
50 if (readResult == DE_STREAMRESULT_END_OF_STREAM) in cpyStream()
DdeThreadStream.c57 deStreamResult readResult = DE_STREAMRESULT_ERROR; in inStreamCopy() local
59 readResult = deInStream_read(threadStream->input, buffer, threadStream->bufferSize, &read); in inStreamCopy()
60 DE_ASSERT(readResult != DE_STREAMRESULT_ERROR); in inStreamCopy()
71 if (readResult == DE_STREAMRESULT_END_OF_STREAM) in inStreamCopy()
/third_party/vk-gl-cts/scripts/
Dcheck_swiftshader_runtime.py203 def readResult(self): member in Result
274 t0 = r0.readResult()
275 t1 = r1.readResult()
336 t0 = r0.readResult()
338 t1 = r1.readResult()
/third_party/typescript/src/harness/
DcompilerImpl.ts26 const readResult = ts.readConfigFile(project, path => host.readFile(path)); constant
27 if (readResult.error) {
28 return { file: project, errors: [readResult.error] };
32 …const config = ts.parseJsonConfigFileContent(readResult.config, host, vpath.dirname(project), exis…
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fPixelBufferObjectTests.cpp552 tcu::ConstPixelBufferAccess readResult(readFormat, width, height, 1, bufferData); in iterate() local
575 …pared with result of read pixels to buffer", readRefrence.getLevel(0), readResult, tcu::Vec4(redTh… in iterate()
579 …pared with result of read pixels to buffer", readRefrence.getLevel(0), readResult, tcu::UVec4(0, 0… in iterate()
/third_party/skia/tests/
DGrSurfaceTest.cpp375 auto readResult = surfContext->readPixels(dContext, read, {0, 0}); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
376 REPORTER_ASSERT(reporter, readResult); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
377 if (readResult) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DVkHardwareBufferTest.cpp1212 bool readResult = surface->readPixels(dstBitmapSurface, 0, 0); in run_test() local
1213 if (!readResult) { in run_test()
1276 bool readResult = dstSurf->readPixels(dstBitmapFinal, 0, 0); in run_test() local
1277 if (!readResult) { in run_test()
/third_party/flutter/skia/tests/
DVkHardwareBufferTest.cpp1192 bool readResult = surface->readPixels(dstBitmapSurface, 0, 0); in run_test() local
1193 if (!readResult) { in run_test()
1256 bool readResult = dstSurf->readPixels(dstBitmapFinal, 0, 0); in run_test() local
1257 if (!readResult) { in run_test()
DGrSurfaceTest.cpp400 auto readResult = surfContext->readPixels(srcPixmap.info(), read.writable_addr(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
402 REPORTER_ASSERT(reporter, readResult); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
403 if (readResult) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureGatherTests.cpp169 tcu::TextureLevel readResult (tcu::TextureFormat(tcu::TextureFormat::RGBA, in getPixels() local
174 glu::readPixels(renderCtx, 0, 0, readResult.getAccess()); in getPixels()
175 tcu::copy(result.getAccess(), readResult.getAccess()); in getPixels()