/external/llvm/unittests/DebugInfo/ |
DWARFFormValueTest.cpp | 21 const 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/dropbear/libtommath/ |
bn_mp_prime_rabin_miller_trials.c | 21 } sizes[] = { variable in typeref:struct:__anon19212 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/chromium_org/chrome/renderer/ |
web_apps_unittest.cc | 38 // Sizes. 45 std::vector<gfx::Size> sizes; local 46 bool result = web_apps::ParseIconSizes(ASCIIToUTF16(data[i].input), &sizes, 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 string16& text, std::vector<gfx::Size>* sizes,
|
/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/core/platform/chromium/ |
SSLKeyGeneratorChromium.cpp | 45 void getSupportedKeySizes(Vector<String>& sizes) 47 sizes.resize(2); 48 sizes[0] = keygenMenuHighGradeKeySize(); 49 sizes[1] = keygenMenuMediumGradeKeySize();
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
SSLKeyGenerator.h | 36 // Returns strings representing key sizes that may be used 39 void getSupportedKeySizes(Vector<String>& 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/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/chromium_org/tools/deep_memory_profiler/subcommands/ |
policies.py | 71 A dict mapping components and their corresponding sizes. 100 sizes = dict((c, 0) for c in policy.components) 102 PolicyCommands._accumulate_malloc(dump, policy, bucket_set, sizes) 104 dump, all_pfn_dict, policy, bucket_set, sizes) 114 sizes['mmap-no-log'] = ( 116 sizes['mmap-total-log']) 117 sizes['mmap-total-record'] = dump.global_stat('profiled-mmap_committed') 118 sizes['mmap-total-record-vm'] = dump.global_stat('profiled-mmap_virtual') 120 sizes['tc-no-log'] = ( 122 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);
|
/external/chromium_org/net/disk_cache/flash/ |
log_store_entry_unittest.cc | 45 int sizes[disk_cache::kFlashLogStoreEntryNumStreams] = {333, 444, 555, 666}; local 50 buffers[i] = new net::IOBuffer(sizes[i]); 51 CacheTestFillBuffer(buffers[i]->data(), sizes[i], false); 52 EXPECT_EQ(sizes[i], entry->WriteData(i, 0, buffers[i].get(), sizes[i])); 61 EXPECT_EQ(sizes[i], entry->GetDataSize(i)); 62 scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(sizes[i])); 63 EXPECT_EQ(sizes[i], entry->ReadData(i, 0, buffer.get(), sizes[i])); 64 EXPECT_EQ(0, memcmp(buffers[i]->data(), buffer->data(), sizes[i])) [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/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 | 64 IconURL(const KURL& url, const String& sizes, const String& mimeType, IconType type) 66 , m_sizes(sizes)
|
/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_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...] |
/external/chromium_org/remoting/host/ |
desktop_resizer_mac.cc | 35 std::list<SkISize>* sizes); 54 std::list<SkISize> sizes; local 55 GetSupportedModesAndSizes(&modes, &sizes); 56 return sizes; 66 std::list<SkISize> sizes; local 67 GetSupportedModesAndSizes(&modes, &sizes); 72 for (std::list<SkISize>::const_iterator i = sizes.begin(); i != sizes.end(); 112 std::list<SkISize>* sizes) { 133 sizes->push_back(size) [all...] |