/external/chromium_org/tools/deep_memory_profiler/subcommands/ |
expand.py | 46 sizes = {} 49 dump, policy, bucket_set, component_name, depth, sizes) 52 sizes.iteritems(), key=(lambda x: x[1]), reverse=True) 61 def _add_size(precedence, bucket, depth, committed, sizes): 69 if not stacktrace_sequence in sizes: 70 sizes[stacktrace_sequence] = 0 71 sizes[stacktrace_sequence] += committed 74 def _accumulate(dump, policy, bucket_set, component_name, depth, sizes): 96 int(words[COMMITTED]), sizes) 104 region[1]['committed'], sizes) [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...] |
/external/chromium_org/chrome/renderer/ |
web_apps.cc | 42 // Sizes a single size (the width or height) from a 'sizes' attribute. A size 64 std::vector<string16> sizes; local 65 base::SplitStringDontTrim(text, L'x', &sizes); 66 if (sizes.size() != 2) 69 return gfx::Size(ParseSingleIconSize(sizes[0]), 70 ParseSingleIconSize(sizes[1])); 84 if (!link.hasAttribute("sizes")) 89 if (!ParseIconSizes(link.getAttribute("sizes"), &icon_sizes, &is_any) || 104 std::vector<gfx::Size>* sizes, [all...] |
/external/chromium_org/third_party/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/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/chromium_org/third_party/tcmalloc/chromium/src/ |
stacktrace.cc | 73 GetStackFrames(void **result, int *sizes, int max_depth, int skip_count) 92 GetStackFramesWithContext(void **result, int *sizes, int max_depth, \
|
stacktrace_libunwind-inl.h | 71 // int* sizes: the size of each stack frame, as an array 73 // int max_depth: the size of the result (and sizes) array(s) 111 sizes[n] = 0; 122 sizes[n - 1] = next_sp - sp;
|
stacktrace_arm-inl.h | 99 // int* sizes: the size of each stack frame, as an array 101 // int max_depth: the size of the result (and sizes) array(s) 134 sizes[n] = (uintptr_t)next_sp - (uintptr_t)sp; 137 sizes[n] = 0;
|
stacktrace_powerpc-inl.h | 90 // int* sizes: the size of each stack frame, as an array 92 // int max_depth: the size of the result (and sizes) array(s) 159 sizes[n] = (uintptr_t)next_sp - (uintptr_t)sp; 162 sizes[n] = 0;
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
stacktrace.cc | 73 GetStackFrames(void **result, int *sizes, int max_depth, int skip_count) 92 GetStackFramesWithContext(void **result, int *sizes, int max_depth, \
|
stacktrace_libunwind-inl.h | 71 // int* sizes: the size of each stack frame, as an array 73 // int max_depth: the size of the result (and sizes) array(s) 111 sizes[n] = 0; 122 sizes[n - 1] = next_sp - sp;
|
stacktrace_arm-inl.h | 99 // int* sizes: the size of each stack frame, as an array 101 // int max_depth: the size of the result (and sizes) array(s) 134 sizes[n] = (uintptr_t)next_sp - (uintptr_t)sp; 137 sizes[n] = 0;
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_vlc.h | 50 const unsigned *sizes; member in struct:vl_vlc 95 unsigned len = vlc->sizes[0]; 114 ++vlc->sizes; 170 const void *const *inputs, const unsigned *sizes) 181 vlc->sizes = sizes; 185 vlc->bytes_left += sizes[i];
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_vlc.h | 50 const unsigned *sizes; member in struct:vl_vlc 95 unsigned len = vlc->sizes[0]; 114 ++vlc->sizes; 170 const void *const *inputs, const unsigned *sizes) 181 vlc->sizes = sizes; 185 vlc->bytes_left += sizes[i];
|
/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
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/template.gslice.array/gslice.array.assign/ |
gslice_array.pass.cpp | 33 typedef std::valarray<std::size_t> sizes; typedef 35 v1[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])), 37 = v2[std::gslice(3, sizes(sz, sizeof(sz)/sizeof(sz[0])),
|
/developers/samples/android/common/src/java/com/example/android/common/media/ |
CameraHelper.java | 39 * Iterate over supported camera preview sizes to see which one best fits the 43 * @param sizes Supported camera preview sizes. 48 public static Camera.Size getOptimalPreviewSize(List<Camera.Size> sizes, int w, int h) { 52 if (sizes == null) 57 // Start with max value and refine as we iterate over available preview sizes. This is the 65 // Iterate over all available sizes and pick the largest size that can fit in the view and 67 for (Camera.Size size : sizes) { 80 for (Camera.Size size : sizes) {
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
CameraHelper.java | 39 * Iterate over supported camera preview sizes to see which one best fits the 43 * @param sizes Supported camera preview sizes. 48 public static Camera.Size getOptimalPreviewSize(List<Camera.Size> sizes, int w, int h) { 52 if (sizes == null) 57 // Start with max value and refine as we iterate over available preview sizes. This is the 65 // Iterate over all available sizes and pick the largest size that can fit in the view and 67 for (Camera.Size size : sizes) { 80 for (Camera.Size size : sizes) {
|
/external/chromium_org/ash/wm/workspace/ |
workspace_window_resizer.h | 86 // Calculates the new sizes of the attached windows, given that the main 91 // Populates |sizes| with the desired sizes of the attached windows, and 100 std::vector<int>* sizes) const; 102 // Divides |amount| evenly between |sizes|. If |amount| is negative it 103 // indicates how many pixels |sizes| should be shrunk by. 104 // Returns how many pixels failed to be allocated/removed from |sizes|. 105 int GrowFairly(int amount, std::vector<WindowSize>& sizes) const; 107 // Calculate the ratio of pixels that each WindowSize in |sizes| should 109 void CalculateGrowthRatios(const std::vector<WindowSize*>& sizes, [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/ |
jmpfar.asm | 2 jmp near 1234:5678 ; YASM: near jump; NASM: mismatch in operand sizes 3 jmp far 1234:5678 ; YASM: far jump; NASM: mismatch in operand sizes
|
/external/clang/lib/AST/ |
ExternalASTSource.cpp | 62 void ExternalASTSource::getMemoryBufferSizes(MemoryBufferSizes &sizes) const { }
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLLinkElement.idl | 30 [CustomSetter] attribute DOMSettableTokenList sizes;
|
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
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);
|