/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 | 10 NotificationBitmapSizes sizes; local 11 sizes.image_size = 14 sizes.icon_size = gfx::Size(message_center::kNotificationIconSize, 16 sizes.button_icon_size = 19 return sizes;
|
/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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_imgfile.py | 28 sizes = imgfile.getsizes(name) 39 sizes = imgfile.getsizes(name) 41 print 'Opening test image: %s, sizes: %s' % (name, str(sizes)) 56 imgfile.write (outputfile, image, sizes[0], sizes[1], sizes[2]) 60 print 'Opening scaled test image: %s, sizes: %s' % (name, str(sizes)) 62 # is scaled to the given x and y sizes. If the filter and blu [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_imgfile.py | 28 sizes = imgfile.getsizes(name) 39 sizes = imgfile.getsizes(name) 41 print 'Opening test image: %s, sizes: %s' % (name, str(sizes)) 56 imgfile.write (outputfile, image, sizes[0], sizes[1], sizes[2]) 60 print 'Opening scaled test image: %s, sizes: %s' % (name, str(sizes)) 62 # is scaled to the given x and y sizes. If the filter and blu [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
SSLKeyGenerator.cpp | 41 void getSupportedKeySizes(Locale& locale, Vector<String>& sizes) 43 sizes.resize(2); 44 sizes[0] = locale.queryString(blink::WebLocalizedString::KeygenMenuHighGradeKeySize); 45 sizes[1] = locale.queryString(blink::WebLocalizedString::KeygenMenuMediumGradeKeySize);
|
SSLKeyGenerator.h | 38 // Returns strings representing key sizes that may be used 41 PLATFORM_EXPORT void getSupportedKeySizes(Locale&, Vector<String>& sizes);
|
/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) {
|
/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...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
Size.java | 31 public static Size[] convert(android.util.Size[] sizes) { 32 Size[] converted = new Size[sizes.length]; 33 for (int i = 0; i < sizes.length; ++i) { 34 converted[i] = new Size(sizes[i].getWidth(), sizes[i].getHeight()); 39 public static List<Size> convert(List<com.android.ex.camera2.portability.Size> sizes) { 40 ArrayList<Size> converted = new ArrayList<>(sizes.size()); 41 for (com.android.ex.camera2.portability.Size size : sizes) {
|
/external/chromium_org/tools/deep_memory_profiler/subcommands/ |
policies.py | 76 A dict mapping components and their corresponding sizes. 105 sizes = dict((c, 0) for c in policy.components) 107 PolicyCommands._accumulate_malloc(dump, policy, bucket_set, sizes) 109 dump, all_pfn_dict, policy, bucket_set, sizes) 119 sizes['mmap-no-log'] = ( 121 sizes['mmap-total-log']) 122 sizes['mmap-total-record'] = dump.global_stat('profiled-mmap_committed') 123 sizes['mmap-total-record-vm'] = dump.global_stat('profiled-mmap_virtual') 125 sizes['tc-no-log'] = ( 127 sizes['tc-total-log'] [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);
|
/hardware/intel/img/libdrm/libdrm/radeon/ |
radeon_cs_space.c | 39 static inline int radeon_cs_setup_bo(struct radeon_cs_space_check *sc, struct rad_sizes *sizes) 67 sizes->op_vram_write += bo->size; 69 sizes->op_gart_write += bo->size; 71 sizes->op_read += bo->size; 83 sizes->op_read -= bo->size; 84 sizes->op_vram_write += bo->size; 86 sizes->op_read -= bo->size; 87 sizes->op_gart_write += bo->size; 108 struct rad_sizes sizes; local 116 memset(&sizes, 0, sizeof(struct rad_sizes)) [all...] |
/external/chromium_org/third_party/openssl/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/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...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SizeAreaComparator.java | 62 * @param sizes a non-{@code null} list of non-{@code null} sizes 65 * @throws NullPointerException if {@code sizes} or any elements in it were {@code null} 67 public static Camera.Size findLargestByArea(List<Camera.Size> sizes) { 68 checkNotNull(sizes, "sizes must not be null"); 70 return Collections.max(sizes, new SizeAreaComparator());
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
SizeAreaComparator.java | 61 * @param sizes a non-{@code null} list of non-{@code null} sizes 64 * @throws NullPointerException if {@code sizes} or any elements in it were {@code null} 66 public static Size findLargestByArea(List<Size> sizes) { 67 checkNotNull(sizes, "sizes must not be null"); 69 return Collections.max(sizes, new SizeAreaComparator());
|
/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()
|