/external/chromium_org/chrome/installer/mini_installer/ |
decompress.h | 8 // arraysize borrowed from basictypes.h 11 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
|
/external/ceres-solver/include/ceres/internal/ |
macros.h | 66 // The arraysize(arr) macro returns the # of elements in an array arr. 68 // used in defining new arrays, for example. If you use arraysize on 71 // One caveat is that arraysize() doesn't accept any array of an 73 // cases, you have to use the unsafe ARRAYSIZE() macro below. This is 77 // This template function declaration is used in defining arraysize. 91 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro 93 // ARRAYSIZE performs essentially the same calculation as arraysize, 95 // functions. It's less safe than arraysize as it accepts some 96 // (although not all) pointers. Therefore, you should use arraysize [all...] |
/external/chromium_org/third_party/cld/base/ |
macros.h | 24 // COMPILE_ASSERT(ARRAYSIZE(content_type_names) == CONTENT_NUM_TYPES, 107 // The arraysize(arr) macro returns the # of elements in an array arr. 109 // used in defining new arrays, for example. If you use arraysize on 112 // One caveat is that arraysize() doesn't accept any array of an 114 // cases, you have to use the unsafe ARRAYSIZE() macro below. This is 118 // This template function declaration is used in defining arraysize. 132 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro 134 // ARRAYSIZE performs essentially the same calculation as arraysize, 136 // functions. It's less safe than arraysize as it accepts som [all...] |
basictypes.h | 97 // The arraysize(arr) macro returns the # of elements in an array arr. 99 // used in defining new arrays, for example. If you use arraysize on 102 // One caveat is that arraysize() doesn't accept any array of an 108 // This template function declaration is used in defining arraysize. 122 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro 124 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize, 126 // functions. It's less safe than arraysize as it accepts some 127 // (although not all) pointers. Therefore, you should use arraysize
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
address_data.cc | 59 COMPILE_ASSERT(arraysize(kStringField) == arraysize(kVectorStringField), member in namespace:i18n::addressinput::__anon16221 73 assert(static_cast<size_t>(field) < arraysize(kStringField)); 88 assert(static_cast<size_t>(field) < arraysize(kStringField)); 95 assert(static_cast<size_t>(field) < arraysize(kStringField)); 122 assert(static_cast<size_t>(field) < arraysize(kVectorStringField));
|
/external/eigen/test/ |
mapstride.cpp | 21 Index arraysize = 3*size; local 23 Scalar* a_array = internal::aligned_new<Scalar>(arraysize+1); 48 internal::aligned_delete(a_array, arraysize+1); 60 Index arraysize = 2*(rows+4)*(cols+4); local 62 Scalar* a_array = internal::aligned_new<Scalar>(arraysize+1); 113 internal::aligned_delete(a_array, arraysize+1);
|
/external/chromium_org/base/ |
macros.h | 49 // The arraysize(arr) macro returns the # of elements in an array arr. 51 // used in defining new arrays, for example. If you use arraysize on 54 // One caveat is that arraysize() doesn't accept any array of an 60 // This template function declaration is used in defining arraysize. 74 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro 76 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize, 78 // functions. It's less safe than arraysize as it accepts some 79 // (although not all) pointers. Therefore, you should use arraysize
|
/art/compiler/dex/quick/ |
resource_mask.cc | 88 // NOTE: arraysize(kNoRegMasks) multiplied by 32 due to the gcc bug workaround, see above. 89 COMPILE_ASSERT(arraysize(kSingleRegMasks) == arraysize(kNoRegMasks) * 32, check_arraysizes); member in namespace:art::__anon18 118 COMPILE_ASSERT(arraysize(kTwoRegsMasks) == 16 * 15 / 2, check_arraysize_kTwoRegsMasks); 158 DCHECK_LT(index, arraysize(kNoRegMasks));
|
/external/chromium_org/cc/animation/ |
animation.cc | 27 arraysize(s_runStateNames), member in namespace:__anon7213 40 arraysize(s_targetPropertyNames), member in namespace:__anon7213
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/include/libaddressinput/util/internal/ |
basictypes.h | 105 // The arraysize(arr) macro returns the # of elements in an array arr. 107 // used in defining new arrays, for example. If you use arraysize on 110 // One caveat is that arraysize() doesn't accept any array of an 116 // This template function declaration is used in defining arraysize. 130 #if !defined(arraysize) 131 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro 134 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize, 136 // functions. It's less safe than arraysize as it accepts some 137 // (although not all) pointers. Therefore, you should use arraysize
|
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/util/ |
basictypes.h | 117 // The arraysize(arr) macro returns the # of elements in an array arr. 119 // used in defining new arrays, for example. If you use arraysize on 122 // One caveat is that arraysize() doesn't accept any array of an 128 // This template function declaration is used in defining arraysize. 142 #if !defined(arraysize) 143 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro 146 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize, 148 // functions. It's less safe than arraysize as it accepts some 149 // (although not all) pointers. Therefore, you should use arraysize
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/ |
basictypes.h | 105 // The arraysize(arr) macro returns the # of elements in an array arr. 107 // used in defining new arrays, for example. If you use arraysize on 110 // One caveat is that arraysize() doesn't accept any array of an 116 // This template function declaration is used in defining arraysize. 130 #if !defined(arraysize) 131 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro 134 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize, 136 // functions. It's less safe than arraysize as it accepts some 137 // (although not all) pointers. Therefore, you should use arraysize
|
/external/chromium_org/third_party/ots/src/ |
ots.h | 18 // arraysize borrowed from base/basictypes.h 21 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
|
/external/chromium_org/third_party/re2/util/ |
util.h | 92 #define arraysize(array) (sizeof(array)/sizeof((array)[0])) macro
|
/external/regex-re2/util/ |
util.h | 91 #define arraysize(array) (sizeof(array)/sizeof((array)[0])) macro
|
/art/runtime/base/ |
macros.h | 48 // COMPILE_ASSERT(ARRAYSIZE(content_type_names) == CONTENT_NUM_TYPES, 82 // The arraysize(arr) macro returns the # of elements in an array arr. 84 // used in defining new arrays, for example. If you use arraysize on 87 // One caveat is that arraysize() doesn't accept any array of an 93 // This template function declaration is used in defining arraysize. 99 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro 101 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize, 103 // functions. It's less safe than arraysize as it accepts some 104 // (although not all) pointers. Therefore, you should use arraysize
|
/external/chromium_org/third_party/npapi/npspy/common/ |
format.cpp | 66 // The arraysize(arr) macro returns the # of elements in an array arr. 68 // used in defining new arrays, for example. If you use arraysize on 71 // One caveat is that arraysize() doesn't accept any array of an 77 // This template function declaration is used in defining arraysize. 91 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro 126 int result = vsnprintf(stack_buf, arraysize(stack_buf), format, ap_copy); 129 if (result >= 0 && result < static_cast<int>(arraysize(stack_buf))) { 136 int mem_length = arraysize(stack_buf); [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
basictypes.h | 191 #define arraysize(a) (sizeof(a) / sizeof(*(a))) macro
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
basictypes.h | 191 #define arraysize(a) (sizeof(a) / sizeof(*(a))) macro
|
/external/chromium_org/extensions/common/ |
url_pattern.cc | 42 COMPILE_ASSERT(arraysize(kValidSchemes) == arraysize(kValidSchemeMasks), member in namespace:__anon12386 68 COMPILE_ASSERT(URLPattern::NUM_PARSE_RESULTS == arraysize(kParseResultMessages), 116 for (size_t i = 0; i < arraysize(kValidSchemes); ++i) { 307 for (size_t i = 0; i < arraysize(kValidSchemes); ++i) { 532 for (size_t i = 0; i < arraysize(kValidSchemes); ++i) {
|
/external/chromium_org/media/filters/ |
h264_parser.cc | 121 COMPILE_ASSERT(arraysize(kTableSarWidth) == arraysize(kTableSarHeight), member in namespace:media 477 res = ParseScalingList(arraysize(sps->scaling_list4x4[i]), 497 res = ParseScalingList(arraysize(sps->scaling_list8x8[i]), 526 res = ParseScalingList(arraysize(pps->scaling_list4x4[i]), 555 res = ParseScalingList(arraysize(pps->scaling_list8x8[i]), 615 const int max_aspect_ratio_idc = arraysize(kTableSarWidth) - 1; [all...] |
/external/jpeg/ |
jquant1.c | 725 size_t arraysize; local 728 arraysize = (size_t) ((cinfo->output_width + 2) * SIZEOF(FSERROR)); 731 (*cinfo->mem->alloc_large)((j_common_ptr) cinfo, JPOOL_IMAGE, arraysize); 744 size_t arraysize; local 782 arraysize = (size_t) ((cinfo->output_width + 2) * SIZEOF(FSERROR)); 784 jzero_far((void FAR *) cquantize->fserrors[i], arraysize);
|
/external/qemu/distrib/jpeg-6b/ |
jquant1.c | 725 size_t arraysize; local 728 arraysize = (size_t) ((cinfo->output_width + 2) * SIZEOF(FSERROR)); 731 (*cinfo->mem->alloc_large)((j_common_ptr) cinfo, JPOOL_IMAGE, arraysize); 744 size_t arraysize; local 782 arraysize = (size_t) ((cinfo->output_width + 2) * SIZEOF(FSERROR)); 784 jzero_far((void FAR *) cquantize->fserrors[i], arraysize);
|
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
web_request_api_helpers.cc | 76 arraysize(kResourceTypeStrings) == arraysize(kResourceTypeValues), member in namespace:extension_web_request_api_helpers::__anon8424 [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab_drag_controller_interactive_uitest.cc | 1858 arraysize(kDragPoints) == arraysize(kDeviceScaleFactorExpectations), member in namespace:__anon9906 [all...] |