Home
last modified time | relevance | path

Searched refs:asset (Results 1 – 11 of 11) sorted by relevance

/external/skia/tests/
DStreamTest.cpp316 SkStreamAsset* asset, in stream_peek_test() argument
318 if (asset->getLength() != expected->size()) { in stream_peek_test()
325 for (size_t i = 0; i < asset->getLength(); ++i) { in stream_peek_test()
327 SkToU32(SkTMin(sizeof(buffer), asset->getLength() - i)); in stream_peek_test()
331 SkASSERT(size + i <= asset->getLength()); in stream_peek_test()
332 if (asset->peek(buffer, size) < size) { in stream_peek_test()
341 REPORTER_ASSERT(rep, 1 == asset->read(&value, 1)); in stream_peek_test()
363 SkAutoTDelete<SkStreamAsset> asset(dynamicMemoryWStream.detachAsStream()); in DEF_TEST() local
364 SkAutoTUnref<SkData> expected(SkData::NewUninitialized(asset->getLength())); in DEF_TEST()
370 for (size_t i = 0; i < asset->getLength(); ++i) { in DEF_TEST()
[all …]
DPDFPrimitivesTest.cpp46 SkAutoTDelete<SkStreamAsset> asset(buffer.detachAsStream()); in emit_to_string() local
47 SkString tmp(asset->getLength()); in emit_to_string()
48 asset->read(tmp.writable_str(), asset->getLength()); in emit_to_string()
/external/skia/src/pdf/
DSkPDFBitmap.cpp349 SkAutoTDelete<SkStreamAsset> asset(buffer.detachAsStream()); in emit_image_xobject() local
371 pdfDict.insertInt("Length", asset->getLength()); in emit_image_xobject()
375 stream->writeStream(asset.get(), asset->getLength()); in emit_image_xobject()
/external/opencv3/modules/videoio/src/
Dcap_avfoundation.mm786 AVURLAsset *asset = [AVURLAsset URLAssetWithURL:
791 NSArray* tracks = [asset tracksWithMediaType:AVMediaTypeVideo];
808 mMovieReader = [[AVAssetReader alloc] initWithAsset:asset error:&error];
824 [asset loadValuesAsynchronouslyForKeys:[NSArray arrayWithObject:@"tracks"] completionHandler:
830 NSArray* ::tracks = [asset tracksWithMediaType:AVMediaTypeVideo];
845 mMovieReader = [[AVAssetReader alloc] initWithAsset:asset error:&error];
Dcap_ios_video_camera.mm131 NSLog(@"[Camera] Recording Error: asset writer status is not writing");
547 …NSLog(@"[Camera] Recording Error: asset writer status is not writing: %@", self.recordAssetWriter.…
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...