HomeSort by relevance Sort by last modified time
    Searched refs:sizes (Results 1 - 25 of 238) sorted by null

1 2 3 4 5 6 7 8 910

  /external/dropbear/libtommath/
bn_mp_prime_rabin_miller_trials.c 21 } sizes[] = { variable in typeref:struct:__anon6142
37 for (x = 0; x < (int)(sizeof(sizes)/(sizeof(sizes[0]))); x++) {
38 if (sizes[x].k == size) {
39 return sizes[x].t;
40 } else if (sizes[x].k > size) {
41 return (x == 0) ? sizes[0].t : sizes[x - 1].t;
44 return sizes[x-1].t + 1;
  /external/webkit/Source/WebCore/platform/chromium/
SSLKeyGeneratorChromium.cpp 43 void getSupportedKeySizes(Vector<String>& sizes)
45 sizes.resize(2);
46 sizes[0] = keygenMenuHighGradeKeySize();
47 sizes[1] = keygenMenuMediumGradeKeySize();
ThemeChromiumMac.mm 214 static LengthSize sizeFromNSControlSize(NSControlSize nsControlSize, const LengthSize& zoomedSize, float zoomFactor, const IntSize* sizes)
216 IntSize controlSize = sizes[nsControlSize];
227 static LengthSize sizeFromFont(const Font& font, const LengthSize& zoomedSize, float zoomFactor, const IntSize* sizes)
229 return sizeFromNSControlSize(controlSizeForFont(font), zoomedSize, zoomFactor, sizes);
232 static ControlSize controlSizeFromPixelSize(const IntSize* sizes, const IntSize& minZoomedSize, float zoomFactor)
234 if (minZoomedSize.width() >= static_cast<int>(sizes[NSRegularControlSize].width() * zoomFactor) &&
235 minZoomedSize.height() >= static_cast<int>(sizes[NSRegularControlSize].height() * zoomFactor))
237 if (minZoomedSize.width() >= static_cast<int>(sizes[NSSmallControlSize].width() * zoomFactor) &&
238 minZoomedSize.height() >= static_cast<int>(sizes[NSSmallControlSize].height() * zoomFactor))
243 static void setControlSize(NSCell* cell, const IntSize* sizes, const IntSize& minZoomedSize, float zoomFactor
    [all...]
  /external/dropbear/libtommath/etc/
2kprime.c 5 int sizes[] = {256, 512, 768, 1024, 1536, 2048, 3072, 4096}; variable
19 for (x = 0; x < (int)(sizeof(sizes) / sizeof(sizes[0])); x++) {
21 mp_2expt(&q, sizes[x]);
31 printf("No primes of size %d found\n", sizes[x]);
65 ++sizes[x];
70 printf("\n\n%d-bits (k = %lu) = %s\n", sizes[x], z, buf);
71 fprintf(out, "%d-bits (k = %lu) = %s\n", sizes[x], z, buf); fflush(out);
drprime.c 4 int sizes[] = { 1+256/DIGIT_BIT, 1+512/DIGIT_BIT, 1+768/DIGIT_BIT, 1+1024/DIGIT_BIT, 1+2048/DIGIT_BIT, 1+4096/DIGIT_BIT }; variable
16 for (x = 0; x < (int)(sizeof(sizes)/sizeof(sizes[0])); x++) {
18 printf("Seeking a %d-bit safe prime\n", sizes[x] * DIGIT_BIT);
19 mp_grow(&a, sizes[x]);
21 for (y = 1; y < sizes[x]; y++) {
27 a.used = sizes[x];
46 printf("Error not DR modulus\n"); sizes[x] += 1; goto top;
  /external/webkit/Source/WebCore/platform/
SSLKeyGenerator.h 36 // Returns strings representing key sizes that may be used
39 void getSupportedKeySizes(Vector<String>& sizes);
  /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...]
expspeed.c 194 static int sizes[NUM_SIZES]={128,256,512,1024,2048,4096,8192}; variable
196 /*static int sizes[NUM_SIZES]={59,179,299,419,539}; */
245 if (!BN_generate_prime(c,sizes[i],0,ADD,REM,genprime_cb,NULL)) goto err;
254 if (!BN_pseudo_rand(a,sizes[i],1,0)) goto err;
256 if (!BN_pseudo_rand(b,sizes[i],1,0)) goto err;
259 if (!BN_pseudo_rand(c,sizes[i],1,1)) goto err;
328 sizes[i],sizes[i],sizes[i],tm*1000.0/num,tm*mul_c[i]/num, num);
  /external/dropbear/libtomcrypt/testprof/
ecc_test.c 5 static int sizes[] = { variable
47 for (x = 0; x < (int)(sizeof(sizes)/sizeof(sizes[0])); x++) {
50 if (sizes[z] < ltc_ecc_sets[z].size) break;
64 LTC_ARGCHK(yarrow_read(buf, sizes[x], &yarrow_prng) == sizes[x]);
65 DO(mp_read_unsigned_bin(rA, buf, sizes[x]));
66 LTC_ARGCHK(yarrow_read(buf, sizes[x], &yarrow_prng) == sizes[x]);
67 DO(mp_read_unsigned_bin(rB, buf, sizes[x]))
    [all...]
  /external/chromium/chrome/common/
web_apps_unittest.cc 167 // Sizes.
174 std::vector<gfx::Size> sizes; local
175 bool result = web_apps::ParseIconSizes(ASCIIToUTF16(data[i].input), &sizes,
180 ASSERT_EQ(data[i].expected_size_count, sizes.size());
181 if (!sizes.empty()) {
182 ASSERT_EQ(data[i].width1, sizes[0].width());
183 ASSERT_EQ(data[i].height1, sizes[0].height());
185 if (sizes.size() > 1) {
186 ASSERT_EQ(data[i].width2, sizes[1].width());
187 ASSERT_EQ(data[i].height2, sizes[1].height())
    [all...]
web_apps.cc 41 // Sizes a single size (the width or height) from a 'sizes' attribute. A size
70 if (!link.hasAttribute("sizes"))
75 if (!web_apps::ParseIconSizes(link.getAttribute("sizes"), &icon_sizes,
113 std::vector<string16> sizes; local
114 base::SplitStringDontTrim(text, L'x', &sizes);
115 if (sizes.size() != 2)
118 return gfx::Size(ParseSingleIconSize(sizes[0]),
119 ParseSingleIconSize(sizes[1]));
123 std::vector<gfx::Size>* sizes,
    [all...]
web_apps.h 80 // on success, false on errors. On success either all the sizes specified in
81 // the attribute are added to sizes, or is_any is set to true.
84 bool ParseIconSizes(const string16& text, std::vector<gfx::Size>* sizes,
  /external/regex-re2/benchlog/
mktable 21 @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/skia/tests/
StreamTest.cpp 105 const size_t sizes[] = { local
114 char buffer[sizeof(sizes) * 4];
117 for (i = 0; i < SK_ARRAY_COUNT(sizes); ++i) {
118 bool success = wstream.writePackedUInt(sizes[i]);
124 for (i = 0; i < SK_ARRAY_COUNT(sizes); ++i) {
126 if (sizes[i] != n) {
127 SkDebugf("-- %d: sizes:%x n:%x\n", i, sizes[i], n);
129 REPORTER_ASSERT(reporter, sizes[i] == n);
  /frameworks/base/core/tests/coretests/src/android/text/
DynamicLayoutBlocksTest.java 69 private void assertState(int[] sizes, int[] indices) {
72 assertEquals(sizes.length, dl.getNumberOfBlocks());
75 int[] ends = new int[sizes.length];
77 ends[i] = i == 0 ? (sizes[0] == 0 ? 0 : sizes[0] - 1) : ends[i - 1] + sizes[i];
86 private void assertState(int[] sizes) {
87 int[] ids = new int[sizes.length];
88 for (int i = 0; i < sizes.length; i++) {
91 assertState(sizes, ids)
    [all...]
  /build/tools/
compare_fileslist.py 47 for fn,sizes in data.iteritems():
50 if sizes.has_key(i):
51 row.append(sizes[i])
check_builds.sh 28 # test-builds/sizes.html that has a pretty chart of which files are
30 # that are missing are red, and rows where the file sizes are not all
68 build/tools/compare_fileslist.py $inputs > $TEST_BUILD_DIR/sizes.html
90 build/tools/compare_fileslist.py $inputs > $TEST_BUILD_DIR/sizes.html
  /external/v8/test/mjsunit/
large-object-literal.js 28 // 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]);
  /external/webkit/Source/WebCore/platform/mac/
ThemeMac.mm 101 static LengthSize sizeFromNSControlSize(NSControlSize nsControlSize, const LengthSize& zoomedSize, float zoomFactor, const IntSize* sizes)
103 IntSize controlSize = sizes[nsControlSize];
114 static LengthSize sizeFromFont(const Font& font, const LengthSize& zoomedSize, float zoomFactor, const IntSize* sizes)
116 return sizeFromNSControlSize(controlSizeForFont(font), zoomedSize, zoomFactor, sizes);
119 static ControlSize controlSizeFromPixelSize(const IntSize* sizes, const IntSize& minZoomedSize, float zoomFactor)
121 if (minZoomedSize.width() >= static_cast<int>(sizes[NSRegularControlSize].width() * zoomFactor) &&
122 minZoomedSize.height() >= static_cast<int>(sizes[NSRegularControlSize].height() * zoomFactor))
124 if (minZoomedSize.width() >= static_cast<int>(sizes[NSSmallControlSize].width() * zoomFactor) &&
125 minZoomedSize.height() >= static_cast<int>(sizes[NSSmallControlSize].height() * zoomFactor))
130 static void setControlSize(NSCell* cell, const IntSize* sizes, const IntSize& minZoomedSize, float zoomFactor
    [all...]
  /development/ndk/platforms/android-3/include/linux/
msm_adsp.h 17 #include <asm/sizes.h>
  /external/clang/lib/AST/
ExternalASTSource.cpp 62 void ExternalASTSource::getMemoryBufferSizes(MemoryBufferSizes &sizes) const { }
  /packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/
WalkAroundWallpaper.java 169 final List<Camera.Size> sizes = params.getSupportedPreviewSizes(); local
173 for (Camera.Size size : sizes) {
185 for (Camera.Size size : sizes) {
205 Camera.Size size = sizes.get(0);
  /prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/
msm_adsp.h 17 #include <asm/sizes.h>
  /prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/
msm_adsp.h 17 #include <asm/sizes.h>
  /prebuilts/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
msm_adsp.h 17 #include <asm/sizes.h>

Completed in 1138 milliseconds

1 2 3 4 5 6 7 8 910