Searched defs:arraysize (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/chrome/installer/mini_installer/
H A Ddecompress.h8 // arraysize borrowed from basictypes.h
11 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
/external/ceres-solver/include/ceres/internal/
H A Dmacros.h66 // 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
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
/external/chromium_org/third_party/cld/base/
H A Dmacros.h107 // 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
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 some
137 // (although not all) pointers. Therefore, you should use arraysize
H A Dbasictypes.h97 // 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/eigen/test/
H A Dmapstride.cpp21 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/
H A Dmacros.h49 // 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
/external/chromium_org/third_party/libaddressinput/src/cpp/src/
H A Daddress_data.cc61 COMPILE_ASSERT(arraysize(kStringField) == arraysize(kVectorStringField), member in namespace:i18n::addressinput::__anon12543
75 assert(static_cast<size_t>(field) < arraysize(kStringField));
90 assert(static_cast<size_t>(field) < arraysize(kStringField));
97 assert(static_cast<size_t>(field) < arraysize(kStringField));
124 assert(static_cast<size_t>(field) < arraysize(kVectorStringField));
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/util/
H A Dbasictypes.h116 // The arraysize(arr) macro returns the # of elements in an array arr.
118 // used in defining new arrays, for example. If you use arraysize on
121 // One caveat is that arraysize() doesn't accept any array of an
127 // This template function declaration is used in defining arraysize.
141 #if !defined(arraysize)
142 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
145 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
147 // functions. It's less safe than arraysize as it accepts some
148 // (although not all) pointers. Therefore, you should use arraysize
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/
H A Dbasictypes.h105 // 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/
H A Dots.h18 // arraysize borrowed from base/basictypes.h
21 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
/external/chromium_org/third_party/re2/util/
H A Dutil.h96 #define arraysize(array) (sizeof(array)/sizeof((array)[0])) macro
/external/chromium_org/v8/src/base/
H A Dmacros.h26 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
28 // functions. It's less safe than arraysize as it accepts some
29 // (although not all) pointers. Therefore, you should use arraysize
70 // definition of arraysize() below, so we have to use the unsafe version for
72 #define arraysize ARRAYSIZE_UNSAFE macro
76 // The arraysize(arr) macro returns the # of elements in an array arr.
78 // used in defining new arrays, for example. If you use arraysize on
81 // One caveat is that arraysize() doesn't accept any array of an
86 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
89 // This template function declaration is used in defining arraysize
[all...]
/external/regex-re2/util/
H A Dutil.h91 #define arraysize(array) (sizeof(array)/sizeof((array)[0])) macro
/external/chromium_org/cc/animation/
H A Danimation.cc27 arraysize(s_runStateNames), member in namespace:__anon2624
40 arraysize(s_targetPropertyNames), member in namespace:__anon2624
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dbasictypes.h191 #define arraysize(a) (sizeof(a) / sizeof(*(a))) macro
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dbasictypes.h191 #define arraysize(a) (sizeof(a) / sizeof(*(a))) macro
/external/chromium_org/extensions/common/
H A Durl_pattern.cc46 COMPILE_ASSERT(arraysize(kValidSchemes) == arraysize(kValidSchemeMasks), member in namespace:__anon8252
72 COMPILE_ASSERT(URLPattern::NUM_PARSE_RESULTS == arraysize(kParseResultMessages),
120 for (size_t i = 0; i < arraysize(kValidSchemes); ++i) {
320 for (size_t i = 0; i < arraysize(kValidSchemes); ++i) {
586 for (size_t i = 0; i < arraysize(kValidSchemes); ++i) {
/external/chromium_org/third_party/npapi/npspy/common/
H A Dformat.cpp66 // 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);
/external/chromium_org/v8/test/cctest/
H A Dtest-mark-compact.cc142 const int arraysize = 100; local
145 allocation = heap->AllocateFixedArray(arraysize);
148 heap->AllocateFixedArray(arraysize).ToObjectChecked();
/external/chromium_org/third_party/libjpeg_turbo/
H A Djquant1.c730 size_t arraysize; local
733 arraysize = (size_t) ((cinfo->output_width + 2) * SIZEOF(FSERROR));
736 (*cinfo->mem->alloc_large)((j_common_ptr) cinfo, JPOOL_IMAGE, arraysize);
749 size_t arraysize; local
787 arraysize = (size_t) ((cinfo->output_width + 2) * SIZEOF(FSERROR));
789 jzero_far((void FAR *) cquantize->fserrors[i], arraysize);
/external/jpeg/
H A Djquant1.c725 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/
H A Djquant1.c725 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/ui/views/tabs/
H A Dtab_drag_controller_interactive_uitest.cc1865 arraysize(kDragPoints) == arraysize(kDeviceScaleFactorExpectations), member in namespace:__anon5360
1876 if (index < arraysize(kDragPoints)) {
/external/chromium_org/media/filters/
H A Dh264_parser.cc118 COMPILE_ASSERT(arraysize(kTableSarWidth) == arraysize(kTableSarHeight), member in namespace:media
531 res = ParseScalingList(arraysize(sps->scaling_list4x4[i]),
551 res = ParseScalingList(arraysize(sps->scaling_list8x8[i]),
580 res = ParseScalingList(arraysize(pps->scaling_list4x4[i]),
609 res = ParseScalingList(arraysize(pps->scaling_list8x8[i]),
669 const int max_aspect_ratio_idc = arraysize(kTableSarWidth) - 1;
1097 for (i = 0; i < arraysize(shdr->ref_pic_marking); ++i) {
1122 if (i == arraysize(shdr->ref_pic_marking)) {
/external/chromium_org/third_party/cython/src/Cython/Utility/
H A DBuffer.c67 size_t arraysize[8]; /* length of array in each dimension */ member in struct:__anon11731
457 size_t size, offset, arraysize = 1; local
464 if (ctx->head->field->type->arraysize[0]) {
471 if (ctx->enc_count != ctx->head->field->type->arraysize[0]) {
474 ctx->head->field->type->arraysize[0], ctx->enc_count);
485 arraysize *= ctx->head->field->type->arraysize[i];
541 if (arraysize)
542 ctx->fmt_offset += (arraysize - 1) * size;
608 if (i < ndim && (size_t) number != ctx->head->field->type->arraysize[
[all...]

Completed in 1090 milliseconds

12