Searched refs:sizes (Results 1 - 25 of 207) sorted by relevance

123456789

/external/v8/test/mjsunit/
H A Dlarge-object-literal.js28 // Test that we can create object literals of various sizes.
49 // The sizes to test.
50 var sizes = [0, 1, 2, 100, 200, 400, 1000]; variable
53 for (var i = 0; i < sizes.length; i++) {
54 testLiteral(sizes[i]);
H A Dobject-literal-gc.js59 // The sizes to test.
60 var sizes = [0, 1, 2, 100, 200, 400, 1000]; variable
63 for (var i = 0; i < sizes.length; i++) {
64 testLiteral(sizes[i]);
H A Dbig-array-literal.js87 // The sizes to test.
88 var sizes = [1, 2, 100, 200, 300]; variable
91 for (var i = 0; i < sizes.length; i++) {
92 testLiteral(sizes[i], false);
93 testLiteral(sizes[i], true);
H A Dbig-object-literal.js86 // The sizes to test.
87 var sizes = [1, 2, 100, 200]; variable
90 for (var i = 0; i < sizes.length; i++) {
91 testLiteral(sizes[i], false);
92 testLiteral(sizes[i], true);
/external/v8/test/mjsunit/regress/
H A Dregress-1401.js31 var sizes = new Array();
34 sizes[i] = 0;
39 var t = (sizes[++bottom] = size);
/external/skia/tests/
H A DYUVTest.cpp74 SkISize sizes[3]; local
76 sizes[0].set(128, 128);
77 sizes[1].set(64, 64);
78 sizes[2].set(64, 64);
79 codec_yuv(r, "color_wheel.jpg", sizes);
82 sizes[0].set(512, 512);
83 sizes[1].set(256, 256);
84 sizes[2].set(256, 256);
85 codec_yuv(r, "mandrill_512_q075.jpg", sizes);
88 sizes[
[all...]
H A DImageGeneratorTest.cpp49 SkISize sizes[3]; local
50 sizes[0] = SkISize::Make(200, 200);
51 sizes[1] = SkISize::Make(100, 100);
52 sizes[2] = SkISize::Make( 50, 50);
58 ig.getYUV8Planes(sizes, nullptr, nullptr, &colorSpace);
59 ig.getYUV8Planes(sizes, nullptr, nullptr, nullptr);
60 ig.getYUV8Planes(sizes, planes, nullptr, nullptr);
61 ig.getYUV8Planes(sizes, nullptr, rowBytes, nullptr);
62 ig.getYUV8Planes(sizes, planes, rowBytes, nullptr);
63 ig.getYUV8Planes(sizes, plane
[all...]
/external/skia/src/gpu/
H A DGrTextureToYUVPlanes.cpp50 bool GrTextureToYUVPlanes(GrTexture* texture, const SkISize sizes[3], void* const planes[3], argument
53 // Depending on the relative sizes of the y, u, and v planes we may do 1 to 3 draws/
69 // sizes however we optimize for two other cases - all planes are the same (1 draw to YUV),
71 if (sizes[0] == sizes[1] && sizes[1] == sizes[2]) {
75 yuvDesc.fWidth = sizes[0].fWidth;
76 yuvDesc.fHeight = sizes[0].fHeight;
85 yDesc.fWidth = sizes[
[all...]
H A DGrYUVProvider.h53 * ignore the sizes parameter. Typical failure is that the provider does not contain YUV
56 virtual bool onGetYUVSizes(SkISize sizes[kPlaneCount]) = 0;
59 * On success, return true, and set sizes, rowbytes and colorspace to the appropriate values.
60 * planes[] will have already been allocated by the client (based on the worst-case sizes
65 virtual bool onGetYUVPlanes(SkISize sizes[kPlaneCount], void* planes[kPlaneCount],
/external/skia/src/codec/
H A DSkCodecImageGenerator.cpp54 bool SkCodecImageGenerator::onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], argument
70 // Set the sizes so that the client allocates enough memory
71 sizes[0].fWidth = (int) sizeInfo.fYWidthBytes;
72 sizes[0].fHeight = sizeInfo.fYSize.height();
73 sizes[1].fWidth = (int) sizeInfo.fUWidthBytes;
74 sizes[1].fHeight = sizeInfo.fUSize.height();
75 sizes[2].fWidth = (int) sizeInfo.fVWidthBytes;
76 sizes[2].fHeight = sizeInfo.fVSize.height();
83 sizeInfo.fYSize.set(fYWidth, sizes[0].height());
84 sizeInfo.fUSize.set(fUWidth, sizes[
[all...]
/external/libdrm/radeon/
H A Dradeon_cs_space.c45 static inline int radeon_cs_setup_bo(struct radeon_cs_space_check *sc, struct rad_sizes *sizes) argument
74 sizes->op_vram_write += bo->size;
76 sizes->op_gart_write += bo->size;
79 sizes->op_read += bo->size;
92 sizes->op_read -= bo->size;
93 sizes->op_vram_write += bo->size;
95 sizes->op_read -= bo->size;
96 sizes->op_gart_write += bo->size;
117 struct rad_sizes sizes; local
125 memset(&sizes,
[all...]
/external/skia/gm/
H A Dimagetoyuvplanes.cpp58 // A mix of rowbytes triples to go with the above sizes.
70 const SkISize *sizes = kSizes[s]; local
75 SkAutoTDeleteArray<uint8_t> yPlane(new uint8_t[realRowBytes[0] * sizes[0].fHeight]);
76 SkAutoTDeleteArray<uint8_t> uPlane(new uint8_t[realRowBytes[1] * sizes[1].fHeight]);
77 SkAutoTDeleteArray<uint8_t> vPlane(new uint8_t[realRowBytes[2] * sizes[2].fHeight]);
84 yuvBmps[0].setInfo(SkImageInfo::MakeA8(sizes[0].fWidth, sizes[0].fHeight), kRowBytes[s][0]);
85 yuvBmps[1].setInfo(SkImageInfo::MakeA8(sizes[1].fWidth, sizes[1].fHeight), kRowBytes[s][1]);
86 yuvBmps[2].setInfo(SkImageInfo::MakeA8(sizes[
[all...]
/external/pdfium/third_party/libtiff/
H A Dtif_flush.c50 uint64 *offsets=NULL, *sizes=NULL; local
55 && TIFFGetField( tif, TIFFTAG_TILEBYTECOUNTS, &sizes )
59 tif->tif_dir.td_nstrips, sizes ) )
69 && TIFFGetField( tif, TIFFTAG_STRIPBYTECOUNTS, &sizes )
73 tif->tif_dir.td_nstrips, sizes ) )
/external/v8/src/arm64/
H A Dcpu-arm64.cc48 CacheLineSizes sizes; local
49 uintptr_t dsize = sizes.dcache_line_size();
50 uintptr_t isize = sizes.icache_line_size();
51 // Cache line sizes are always a power of 2.
/external/skia/src/core/
H A DSkImageGenerator.cpp55 bool SkImageGenerator::getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], argument
58 // In all cases, we need the sizes array
59 SkASSERT(sizes);
74 // If we do have planes information, make sure all sizes are non 0
77 ((sizes[0].fWidth >= 0) &&
78 (sizes[0].fHeight >= 0) &&
79 (sizes[1].fWidth >= 0) &&
80 (sizes[1].fHeight >= 0) &&
81 (sizes[2].fWidth >= 0) &&
82 (sizes[
91 onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3]) argument
95 onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], SkYUVColorSpace* colorSpace) argument
114 computeScaledDimensions(SkScalar scale, SupportedSizes* sizes) argument
[all...]
/external/autotest/client/site_tests/hardware_MemoryThroughput/
H A Dhardware_MemoryThroughput.py23 def _run_benchmarks(self, test, warmup, num_iterations, parallel, sizes):
33 sizes: list of integer sizes in bytes to run
37 for size in sizes:
72 parallel=1, sizes= [ 4096, 192 * 1024, 32 * 1024 * 1024 ]):
74 sizes)
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_mpeg12_bitstream.h54 const unsigned *sizes);
H A Dvl_vlc.h50 const unsigned *sizes; member in struct:vl_vlc
95 unsigned len = vlc->sizes[0];
114 ++vlc->sizes;
170 const void *const *inputs, const unsigned *sizes)
181 vlc->sizes = sizes;
185 vlc->bytes_left += sizes[i];
169 vl_vlc_init(struct vl_vlc *vlc, unsigned num_inputs, const void *const *inputs, const unsigned *sizes) argument
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
H A DSampleList.java19 long[] sizes; field in class:SampleList
55 sizes = new long[l2i(sampleSizeBox.getSampleCount())];
56 Arrays.fill(sizes, sampleSizeBox.getSampleSize());
58 sizes = sampleSizeBox.getSampleSizes();
60 offsets = new long[sizes.length];
66 long sampleSize = sizes[sampleIndex];
90 if (sizes == null || offsets == null) {
91 sizes = new long[0];
98 // We have now a map from all sample offsets to their sizes
105 long[] nuSizes = new long[sizes
[all...]
/external/regex-re2/benchlog/
H A Dmktable21 @sizes = (
48 for(my $i=0; $i<@sizes; $i++) {
49 my $key = sprintf("%s%s/%s", $name, $who, $sizes[$i]);
62 my $n = @sizes;
65 for($i=0; $i<@sizes; $i+=3) {
66 printf JGR " hash_at $i hash_label at $i : $sizes[$i]\n";
/external/llvm/unittests/DebugInfo/DWARF/
H A DDWARFFormValueTest.cpp25 ArrayRef<uint8_t> sizes = DWARFFormValue::getFixedFormSizes(4, 2); local
26 EXPECT_EQ(sizes[DW_FORM_addr], sizes[DW_FORM_ref_addr]);
27 sizes = DWARFFormValue::getFixedFormSizes(8, 2);
28 EXPECT_EQ(sizes[DW_FORM_addr], sizes[DW_FORM_ref_addr]);
29 sizes = DWARFFormValue::getFixedFormSizes(8, 3);
30 EXPECT_EQ(4, sizes[DW_FORM_ref_addr]);
31 // Check that we don't have fixed form sizes for weird address sizes
[all...]
/external/skia/src/lazy/
H A DSkDiscardablePixelRef.h57 bool onGetYUV8Planes(SkISize sizes[3],
66 return fGenerator->getYUV8Planes(sizes, planes, rowBytes, colorSpace);
/external/skia/src/utils/
H A DSkRGBAToYUV.cpp15 bool SkRGBAToYUV(const SkImage* image, const SkISize sizes[3], void* const planes[3], argument
40 size_t rb = rowBytes[i] ? rowBytes[i] : sizes[i].fWidth;
42 SkImageInfo::MakeA8(sizes[i].fWidth, sizes[i].fHeight), planes[i], rb));
/external/autotest/client/deps/glbench/src/
H A Dtexturetest.cc85 const int sizes[] = { 32, 128, 256, 512, 768, 1024, 1536, 2048 }; local
86 for (unsigned int j = 0; j < arraysize(sizes); j++) {
88 if (g_hasty && sizes[j] > 512)
93 base::IntToString(sizes[j]);
95 width_ = height_ = sizes[j];
/external/autotest/client/site_tests/platform_DebugDaemonGetPerfData/
H A Dplatform_DebugDaemonGetPerfData.py114 for result_type, sizes in stored_results.iteritems():
116 total_size = sum(entry.size for entry in sizes)
117 total_size_zipped = sum(entry.size_zipped for entry in sizes)
120 keyvals[key] = total_size / len(sizes)
121 keyvals[key + '_zipped'] = total_size_zipped / len(sizes)

Completed in 508 milliseconds

123456789