/external/v8/test/mjsunit/ |
H A D | 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]);
|
H A D | object-literal-gc.js | 59 // 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 D | big-array-literal.js | 83 // The sizes to test. 84 var sizes = [1, 2, 100, 200, 300]; variable 87 for (var i = 0; i < sizes.length; i++) { 88 testLiteral(sizes[i], false); 89 testLiteral(sizes[i], true);
|
H A D | big-object-literal.js | 86 // 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);
|
H A D | sparse-array-reverse.js | 66 var sizes = [140, 40000, VERYLARGE]; variable 72 for (var size_pos = 0; size_pos < sizes.length; size_pos++) { 73 var size = sizes[size_pos];
|
/external/dropbear/libtommath/ |
H A D | bn_mp_prime_rabin_miller_trials.c | 21 } sizes[] = { variable in typeref:struct:__anon4091 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/ |
H A D | SSLKeyGeneratorChromium.cpp | 43 void getSupportedKeySizes(Vector<String>& sizes) argument 45 sizes.resize(2); 46 sizes[0] = keygenMenuHighGradeKeySize(); 47 sizes[1] = keygenMenuMediumGradeKeySize();
|
/external/dropbear/libtommath/etc/ |
H A D | 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);
|
H A D | 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/chromium/chrome/common/ |
H A D | web_apps_unittest.cc | 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());
|
H A D | 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, 135 sizes 122 ParseIconSizes(const string16& text, std::vector<gfx::Size>* sizes, bool* is_any) argument [all...] |
/external/chromium/chrome/browser/extensions/ |
H A D | convert_web_app_unittest.cc | 102 const int sizes[] = {16, 48, 128}; local 103 for (size_t i = 0; i < arraysize(sizes); ++i) { 104 GURL icon_url(web_app.app_url.Resolve(StringPrintf("%i.png", sizes[i]))); 105 web_app.icons.push_back(GetIconInfo(icon_url, sizes[i]));
|
/external/dropbear/libtomcrypt/testprof/ |
H A D | 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[ [all...] |
H A D | x86_prof.c | 1010 static unsigned long sizes[] = { local 1037 for (x = sizes[i=0]; x < 100000; x = sizes[++i]) {
|
/external/openssl/crypto/bn/ |
H A D | 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[ [all...] |
H A D | 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/skia/bench/ |
H A D | RectBench.cpp | 104 size_t sizes = SK_ARRAY_COUNT(gSizes); local 108 sizes = 1; 114 for (size_t i = 0; i < sizes; i++) { 150 size_t sizes = SK_ARRAY_COUNT(gSizes); local 154 sizes = 1; 172 for (size_t i = 0; i < sizes; i++) {
|
/external/valgrind/unittest/ |
H A D | windows_tests.cc | 78 // Just spawn few threads with different stack sizes. 79 int sizes[3] = {1 << 19, 1 << 21, 1 << 22}; local 81 HANDLE t = ::CreateThread(0, sizes[i],
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
H A D | ComplexTextControllerATSUI.cpp | 213 ByteCount sizes[] = { sizeof(ATSLineLayoutOptions), sizeof(Boolean), sizeof(ATSULayoutOperationOverrideSpecifier) }; local 216 status = ATSUSetLayoutControls(atsuTextLayout, 3, tags, sizes, values);
|
/external/chromium/chrome/browser/chromeos/login/ |
H A D | camera.cc | 76 // Enumerates available frame sizes for specified pixel format and picks up the 85 std::vector<gfx::Size> sizes; local 89 sizes.push_back(gfx::Size(size.discrete.width, size.discrete.height)); 94 if (sizes.empty()) { 98 for (size_t i = 0; i < sizes.size(); ++i) { 99 if (sizes[i].width() >= desired_width && 100 sizes[i].height() >= desired_height) 101 return sizes[i]; 105 int max_area = sizes[0].GetArea(); 106 for (size_t i = 1; i < sizes [all...] |
/external/chromium/net/disk_cache/ |
H A D | disk_format.h | 72 int32 sizes[5]; member in struct:disk_cache::LruData
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | schanneladapter.cc | 103 SecPkgContext_StreamSizes sizes; member in struct:talk_base::SChannelAdapter::SSLImpl 301 &impl_->sizes); 498 impl_->sizes.cbMaximumMessage); 502 out_buf[0].cbBuffer = impl_->sizes.cbHeader; 506 out_buf[2].cbBuffer = impl_->sizes.cbTrailer; 533 ASSERT(out_buf[0].cbBuffer == impl_->sizes.cbHeader); 537 ASSERT(out_buf[2].cbBuffer <= impl_->sizes.cbTrailer);
|
/external/javassist/src/main/javassist/ |
H A D | CtField.java | 786 * @param sizes an <code>int</code> array of the size in every 791 public static Initializer byNewArray(CtClass type, int[] sizes) { argument 792 return new MultiArrayInitializer(type, sizes);
|
/external/qemu/android/camera/ |
H A D | camera-capture-linux.c | 544 /* Enumerates frame sizes for the given pixel format. 547 * fmt - Pixel format to enum frame sizes for. 548 * sizes - Upon success contains an array of supported frame sizes. The size of 552 * On success returns number of entries in the 'sizes' array. On failure returns 558 CameraFrameDim** sizes) 566 /* Calculate number of supported sizes for the given format. */ 592 * Fortunately, we don't need to be fancy, so three sizes would be 603 *sizes = (CameraFrameDim*)malloc(sizes_num * sizeof(CameraFrameDim)); 604 if (*sizes 556 _camera_device_enum_format_sizes(LinuxCameraDevice* cd, uint32_t fmt, CameraFrameDim** sizes) argument [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
H A D | SDL_x11modes.c | 192 XRRScreenSize *sizes; local 195 sizes = XRRConfigSizes(screen_config, &nsizes); 220 if ( (sizes[size_id].width == SDL_modelist[i]->w) && 221 (sizes[size_id].height == SDL_modelist[i]->h) ) 269 XRRScreenSize* sizes; local 271 sizes = XRRConfigSizes(screen_config, &nsizes); 278 *w = sizes[cur_size].width; 279 *h = sizes[cur_size].height; 485 XRRScreenSize *sizes; local 591 sizes [all...] |