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/chromium_org/chrome_frame/
H A Dchrome_launcher.h10 // arraysize macro shamelessly stolen from base\basictypes.h
14 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Dport.h16 #define arraysize(x) (sizeof(x)/sizeof(*(x))) 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/googleurl/base/
H A Dbasictypes.h13 // The arraysize(arr) macro returns the # of elements in an array arr.
15 // used in defining new arrays, for example. If you use arraysize on
18 // One caveat is that arraysize() doesn't accept any array of an
24 // This template function declaration is used in defining arraysize.
38 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
40 // ARRAYSIZE performs essentially the same calculation as arraysize,
42 // functions. It's less safe than arraysize as it accepts some
43 // (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/gpu/command_buffer/common/
H A Dtypes.h78 // The arraysize(arr) macro returns the # of elements in an array arr.
80 // used in defining new arrays, for example. If you use arraysize on
83 // One caveat is that arraysize() doesn't accept any array of an
89 // This template function declaration is used in defining arraysize.
103 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
/external/chromium_org/cc/animation/
H A Danimation.cc29 arraysize(s_runStateNames), member in namespace:__anon4040
39 arraysize(s_targetPropertyNames), member in namespace:__anon4040
/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.h92 #define arraysize(array) (sizeof(array)/sizeof((array)[0])) macro
/external/regex-re2/util/
H A Dutil.h91 #define arraysize(array) (sizeof(array)/sizeof((array)[0])) macro
/external/chromium/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 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
132 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
134 // functions. It's less safe than arraysize as it accepts some
135 // (although not all) pointers. Therefore, you should use arraysize
/external/chromium/chrome/common/extensions/
H A Durl_pattern.cc39 COMPILE_ASSERT(arraysize(kValidSchemes) == arraysize(kValidSchemeMasks), member in namespace:__anon2847
64 COMPILE_ASSERT(URLPattern::NUM_PARSE_RESULTS == arraysize(kParseResultMessages),
203 for (size_t i = 0; i < arraysize(kValidSchemes); ++i) {
343 for (size_t i = 0; i < arraysize(kValidSchemes); ++i) {
/external/chromium_org/base/
H A Dbasictypes.h112 // The arraysize(arr) macro returns the # of elements in an array arr.
114 // used in defining new arrays, for example. If you use arraysize on
117 // One caveat is that arraysize() doesn't accept any array of an
123 // This template function declaration is used in defining arraysize.
137 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
139 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
141 // functions. It's less safe than arraysize as it accepts some
142 // (although not all) pointers. Therefore, you should use arraysize
/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/chrome/browser/extensions/
H A Dextension_webrequest_api.cc65 arraysize(kResourceTypeStrings) == arraysize(kResourceTypeValues), member in namespace:__anon2175
68 #define ARRAYEND(array) (array + arraysize(array))
/external/chromium_org/extensions/common/
H A Durl_pattern.cc42 COMPILE_ASSERT(arraysize(kValidSchemes) == arraysize(kValidSchemeMasks), member in namespace:__anon8225
66 COMPILE_ASSERT(URLPattern::NUM_PARSE_RESULTS == arraysize(kParseResultMessages),
287 for (size_t i = 0; i < arraysize(kValidSchemes); ++i) {
512 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/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/extensions/api/web_request/
H A Dweb_request_api_helpers.cc75 arraysize(kResourceTypeStrings) == arraysize(kResourceTypeValues), member in namespace:extension_web_request_api_helpers::__anon4968
1223 #define ARRAYEND(array) (array + arraysize(array))

Completed in 740 milliseconds

12