/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLLinkElementSizesAttributeTest.cpp | 20 Vector<IntSize> sizes; local 21 HTMLLinkElement::parseSizesAttribute(sizesAttribute, sizes); 22 ASSERT_EQ(1U, sizes.size()); 23 EXPECT_EQ(32, sizes[0].width()); 24 EXPECT_EQ(33, sizes[0].height()); 28 sizes.clear(); 29 HTMLLinkElement::parseSizesAttribute(sizesAttribute, sizes); 30 ASSERT_EQ(1U, sizes.size()); 31 EXPECT_EQ(32, sizes[0].width()); 32 EXPECT_EQ(33, sizes[0].height()) [all...] |
/external/chromium_org/chrome/common/extensions/api/notifications/ |
notification_style.cc | 15 NotificationBitmapSizes sizes; local 16 sizes.image_size = 19 sizes.icon_size = gfx::Size(message_center::kNotificationIconSize, 21 sizes.button_icon_size = 25 sizes.app_icon_mask_size = gfx::Size(message_center::kSmallImageSize, 27 return sizes;
|
/external/chromium_org/third_party/skia/tests/ |
ImageGeneratorTest.cpp | 13 SkISize sizes[3]; local 14 sizes[0] = SkISize::Make(200, 200); 15 sizes[1] = SkISize::Make(100, 100); 16 sizes[2] = SkISize::Make( 50, 50); 22 ig.getYUV8Planes(sizes, NULL, NULL, &colorSpace); 23 ig.getYUV8Planes(sizes, NULL, NULL, NULL); 24 ig.getYUV8Planes(sizes, planes, NULL, NULL); 25 ig.getYUV8Planes(sizes, NULL, rowBytes, NULL); 26 ig.getYUV8Planes(sizes, planes, rowBytes, NULL); 27 ig.getYUV8Planes(sizes, planes, rowBytes, &colorSpace) [all...] |
/external/chromium_org/chrome/renderer/ |
web_apps_unittest.cc | 38 // Sizes. 45 std::vector<gfx::Size> sizes; local 47 base::ASCIIToUTF16(data[i].input), &sizes, &is_any); 51 ASSERT_EQ(data[i].expected_size_count, sizes.size()); 52 if (!sizes.empty()) { 53 ASSERT_EQ(data[i].width1, sizes[0].width()); 54 ASSERT_EQ(data[i].height1, sizes[0].height()); 56 if (sizes.size() > 1) { 57 ASSERT_EQ(data[i].width2, sizes[1].width()); 58 ASSERT_EQ(data[i].height2, sizes[1].height()) [all...] |
web_apps.h | 23 // on success, false on errors. On success either all the sizes specified in 24 // the attribute are added to sizes, or is_any is set to true. 27 bool ParseIconSizes(const base::string16& text, std::vector<gfx::Size>* sizes,
|
web_apps.cc | 40 // Sizes a single size (the width or height) from a 'sizes' attribute. A size 62 std::vector<base::string16> sizes; local 63 base::SplitStringDontTrim(text, L'x', &sizes); 64 if (sizes.size() != 2) 67 return gfx::Size(ParseSingleIconSize(sizes[0]), 68 ParseSingleIconSize(sizes[1])); 85 if (link.hasAttribute("sizes") && 86 ParseIconSizes(link.getAttribute("sizes"), &icon_sizes, &is_any) && 99 std::vector<gfx::Size>* sizes, [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkImageGenerator.cpp | 60 bool SkImageGenerator::getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], 63 // In all cases, we need the sizes array 64 SkASSERT(sizes); 79 // If we do have planes information, make sure all sizes are non 0 82 ((sizes[0].fWidth >= 0) && 83 (sizes[0].fHeight >= 0) && 84 (sizes[1].fWidth >= 0) && 85 (sizes[1].fHeight >= 0) && 86 (sizes[2].fWidth >= 0) && 87 (sizes[2].fHeight >= 0) & [all...] |
/external/chromium_org/components/favicon/core/ |
favicon_url.cc | 14 const std::vector<gfx::Size>& sizes) 15 : icon_url(url), icon_type(type), icon_sizes(sizes) {
|
favicon_url.h | 21 const std::vector<gfx::Size>& sizes);
|
/external/chromium_org/content/public/common/ |
favicon_url.cc | 15 const std::vector<gfx::Size>& sizes) 16 : icon_url(url), icon_type(type), icon_sizes(sizes) {}
|
/external/chromium_org/third_party/tcmalloc/chromium/src/gperftools/ |
stacktrace.h | 52 // "result", and the corresponding stack frame sizes in "sizes". 53 // Returns the number of values recorded in "result"/"sizes". 60 // int sizes[10]; 61 // int depth = GetStackFrames(result, sizes, 10, 1); 71 // And corresponding stack frame sizes will also be recorded: 72 // sizes[0] 16 73 // sizes[1] 16 74 // (Stack frame sizes of 16 above are just for illustration purposes.) 75 // Stack frame sizes of 0 or less indicate that those frame sizes couldn' [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
stacktrace_with_context.cc | 51 int GetStackFramesWithContext(void** pcs, int* sizes, int max_depth, 53 return GetStackFrames(pcs, sizes, max_depth, skip_count + 1);
|
stacktrace_generic-inl.h | 57 // int* sizes: the size of each stack frame, as an array 59 // int max_depth: the size of the result (and sizes) array(s) 78 // No implementation for finding out the stack frame sizes yet. 79 memset(sizes, 0, sizeof(*sizes) * result_count);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/gperftools/ |
stacktrace.h | 52 // "result", and the corresponding stack frame sizes in "sizes". 53 // Returns the number of values recorded in "result"/"sizes". 60 // int sizes[10]; 61 // int depth = GetStackFrames(result, sizes, 10, 1); 71 // And corresponding stack frame sizes will also be recorded: 72 // sizes[0] 16 73 // sizes[1] 16 74 // (Stack frame sizes of 16 above are just for illustration purposes.) 75 // Stack frame sizes of 0 or less indicate that those frame sizes couldn' [all...] |
/external/llvm/unittests/DebugInfo/ |
DWARFFormValueTest.cpp | 21 ArrayRef<uint8_t> sizes = DWARFFormValue::getFixedFormSizes(4, 2); local 22 EXPECT_EQ(sizes[DW_FORM_addr], sizes[DW_FORM_ref_addr]); 23 sizes = DWARFFormValue::getFixedFormSizes(8, 2); 24 EXPECT_EQ(sizes[DW_FORM_addr], sizes[DW_FORM_ref_addr]); 25 sizes = DWARFFormValue::getFixedFormSizes(8, 3); 26 EXPECT_EQ(4, sizes[DW_FORM_ref_addr]); 27 // Check that we don't have fixed form sizes for weird address sizes [all...] |
/external/chromium_org/tools/deep_memory_profiler/subcommands/ |
policies.py | 75 A dict mapping components and their corresponding sizes. 104 sizes = dict((c, 0) for c in policy.components) 106 PolicyCommands._accumulate_malloc(dump, policy, bucket_set, sizes) 108 dump, all_pfn_dict, policy, bucket_set, sizes) 118 sizes['mmap-no-log'] = ( 120 sizes['mmap-total-log']) 121 sizes['mmap-total-record'] = dump.global_stat('profiled-mmap_committed') 122 sizes['mmap-total-record-vm'] = dump.global_stat('profiled-mmap_virtual') 124 sizes['tc-no-log'] = ( 126 sizes['tc-total-log'] [all...] |
expand.py | 61 sizes = {} 64 dump, policy, bucket_set, component_name, depth, sizes) 67 sizes.iteritems(), key=(lambda x: x[1]), reverse=True) 76 def _add_size(precedence, bucket, depth, committed, sizes): 84 if not stacktrace_sequence in sizes: 85 sizes[stacktrace_sequence] = 0 86 sizes[stacktrace_sequence] += committed 89 def _accumulate(dump, policy, bucket_set, component_name, depth, sizes): 109 ExpandCommand._add_size(precedence, bucket, depth, committed, sizes) 117 region[1]['committed'], sizes) [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
stacktrace_generic-inl.h | 57 // int* sizes: the size of each stack frame, as an array 59 // int max_depth: the size of the result (and sizes) array(s) 78 // No implementation for finding out the stack frame sizes yet. 79 memset(sizes, 0, sizeof(*sizes) * result_count);
|
/external/chromium_org/v8/src/arm64/ |
cpu-arm64.cc | 57 // Sizes will be used to generate a mask big enough to cover a pointer. 58 CacheLineSizes sizes; 59 uintptr_t dsize = sizes.dcache_line_size(); 60 uintptr_t isize = sizes.icache_line_size(); 61 // Cache line sizes are always a power of 2.
|
/external/openssl/crypto/bn/ |
bnspeed.c | 165 static int sizes[NUM_SIZES]={128,256,512,1024,2048}; variable 166 /*static int sizes[NUM_SIZES]={59,179,299,419,539}; */ 193 BN_rand(a,sizes[i],1,0); 196 BN_rand(b,sizes[j],1,0); 201 printf("mul %4d x %4d -> %8.3fms\n",sizes[i],sizes[j],tm*1000.0/num); 209 BN_rand(a,sizes[i],1,0); 214 printf("sqr %4d x %4d -> %8.3fms\n",sizes[i],sizes[i],tm*1000.0/num); 221 BN_rand(a,sizes[i]-1,1,0) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
IconURL.h | 59 IconURL(const KURL& url, const Vector<IntSize>& sizes, const String& mimeType, IconType type) 61 , m_sizes(sizes)
|
/bootable/recovery/ |
interlace-frames.py | 30 sizes = set() variable 32 sizes.add(fr.size) 34 assert len(sizes) == 1, "All input images must have the same size." 35 w, h = sizes.pop()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_mpeg12_bitstream.h | 54 const unsigned *sizes);
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_mpeg12_bitstream.h | 54 const unsigned *sizes);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
SampleList.java | 19 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.length + keys.size()] [all...] |