HomeSort by relevance Sort by last modified time
    Searched defs:ARRAYSIZE (Results 1 - 19 of 19) sorted by null

  /external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
utils.h 46 #ifndef ARRAYSIZE
47 #define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0]))
  /external/chromium_org/third_party/webrtc/examples/android/media_demo/jni/
jni_helpers.h 47 #define ARRAYSIZE(instance) \
  /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...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
stack_trace_table_test.cc 11 #undef ARRAYSIZE // may be defined on, eg, windows
12 #define ARRAYSIZE(a) ( sizeof(a) / sizeof(*(a)) )
41 CheckTracesAndReset(&table, k1, ARRAYSIZE(k1));
61 CheckTracesAndReset(&table, k2, ARRAYSIZE(k2));
69 CheckTracesAndReset(&table, k3, ARRAYSIZE(k3));
78 CheckTracesAndReset(&table, k4, ARRAYSIZE(k4));
93 CheckTracesAndReset(&table, k5, ARRAYSIZE(k5));
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
stack_trace_table_test.cc 11 #undef ARRAYSIZE // may be defined on, eg, windows
12 #define ARRAYSIZE(a) ( sizeof(a) / sizeof(*(a)) )
41 CheckTracesAndReset(&table, k1, ARRAYSIZE(k1));
61 CheckTracesAndReset(&table, k2, ARRAYSIZE(k2));
69 CheckTracesAndReset(&table, k3, ARRAYSIZE(k3));
78 CheckTracesAndReset(&table, k4, ARRAYSIZE(k4));
93 CheckTracesAndReset(&table, k5, ARRAYSIZE(k5));
  /external/chromium_org/third_party/ots/test/
cff_type2_charstring_test.cc 16 #define ARRAYSIZE(a) (sizeof(a) / sizeof(a[0]))
175 EXPECT_TRUE(ValidateCharStrings(char_string, ARRAYSIZE(char_string)));
183 EXPECT_TRUE(ValidateCharStrings(char_string, ARRAYSIZE(char_string)));
191 EXPECT_FALSE(ValidateCharStrings(char_string, ARRAYSIZE(char_string)));
201 EXPECT_TRUE(ValidateCharStrings(char_string, ARRAYSIZE(char_string)));
209 EXPECT_TRUE(ValidateCharStrings(char_string, ARRAYSIZE(char_string)));
217 EXPECT_FALSE(ValidateCharStrings(char_string, ARRAYSIZE(char_string)));
227 EXPECT_TRUE(ValidateCharStrings(char_string, ARRAYSIZE(char_string)));
235 EXPECT_TRUE(ValidateCharStrings(char_string, ARRAYSIZE(char_string)));
243 EXPECT_FALSE(ValidateCharStrings(char_string, ARRAYSIZE(char_string)))
    [all...]
  /external/chromium_org/third_party/re2/util/
test.h 34 #define ARRAYSIZE arraysize
  /external/chromium_org/url/
url_canon_icu_unittest.cc 13 // Some implementations of base/basictypes.h may define ARRAYSIZE.
16 #ifndef ARRAYSIZE
17 #define ARRAYSIZE ARRAYSIZE_UNSAFE
64 for (size_t i = 0; i < ARRAYSIZE(icu_cases); i++) {
121 for (size_t i = 0; i < ARRAYSIZE(query_cases); i++) {
gurl_unittest.cc 10 // Some implementations of base/basictypes.h may define ARRAYSIZE.
13 #ifndef ARRAYSIZE
14 #define ARRAYSIZE ARRAYSIZE_UNSAFE
235 for (size_t i = 0; i < ARRAYSIZE(valid_cases); i++) {
247 for (size_t i = 0; i < ARRAYSIZE(invalid_cases); i++) {
302 for (size_t i = 0; i < ARRAYSIZE(resolve_cases); i++) {
334 for (size_t i = 0; i < ARRAYSIZE(cases); i++) {
353 for (size_t i = 0; i < ARRAYSIZE(cases); i++) {
372 for (size_t i = 0; i < ARRAYSIZE(cases); i++) {
404 for (size_t i = 0; i < ARRAYSIZE(replace_cases); i++)
    [all...]
url_parse_unittest.cc 11 // Some implementations of base/basictypes.h may define ARRAYSIZE.
14 #ifndef ARRAYSIZE
15 #define ARRAYSIZE ARRAYSIZE_UNSAFE
145 for (size_t i = 0; i < arraysize(length_cases); i++) {
204 for (size_t i = 0; i < ARRAYSIZE(count_cases); i++) {
322 for (size_t i = 0; i < arraysize(cases); i++) {
357 for (size_t i = 0; i < arraysize(path_cases); i++) {
456 for (size_t i = 0; i < arraysize(file_cases); i++) {
512 for (size_t i = 0; i < ARRAYSIZE(file_cases); i++) {
620 for (size_t i = 0; i < arraysize(mailto_cases); ++i)
    [all...]
url_canon_unittest.cc 15 // Some implementations of base/basictypes.h may define ARRAYSIZE.
18 #ifndef ARRAYSIZE
19 #define ARRAYSIZE ARRAYSIZE_UNSAFE
126 for (size_t i = 0; i < ARRAYSIZE(utf_cases); i++) {
185 for (size_t i = 0; i < ARRAYSIZE(utf_cases); i++) {
253 for (size_t i = 0; i < arraysize(scheme_cases); i++) {
494 for (size_t i = 0; i < arraysize(host_cases); i++) {
541 for (size_t i = 0; i < arraysize(host_cases); i++) {
    [all...]
  /external/regex-re2/util/
test.h 34 #define ARRAYSIZE arraysize
  /external/chromium_org/third_party/libusb/src/libusb/os/
windows_common.h 57 #ifndef ARRAYSIZE
58 #define ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0]))
  /external/android-clat/
clatd_test.cpp 35 #define ARRAYSIZE(x) sizeof((x)) / sizeof((x)[0])
562 reassemble_packet(kIPv4Fragments, kIPv4FragLengths, ARRAYSIZE(kIPv4Fragments),
571 reassemble_packet(kIPv6Fragments, kIPv6FragLengths, ARRAYSIZE(kIPv6Fragments),
644 for (i = 0; i < ARRAYSIZE(DATA); i++) {
678 ARRAYSIZE(kIPv4Fragments), "IPv4->IPv6 fragment translation");
682 ARRAYSIZE(kIPv6Fragments), "IPv6->IPv4 fragment translation");
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
celib.h 20 #define ARRAYSIZE(a) (sizeof(a)/sizeof((a)[0]))
ntdef.h 649 #define ARRAYSIZE(A) RTL_NUMBER_OF_V2(A)
winnt.h 494 #define ARRAYSIZE(A) RTL_NUMBER_OF_V2(A)
    [all...]
  /external/chromium_org/third_party/libusb/src/libusb/
libusbi.h 69 #if !defined(ARRAYSIZE)
70 #define ARRAYSIZE(array) (sizeof(array)/sizeof(array[0]))
    [all...]
  /hardware/broadcom/wlan/bcmdhd/dhdutil/include/
bcmutils.h 643 #ifndef ARRAYSIZE
644 #define ARRAYSIZE(a) (sizeof(a) / sizeof(a[0]))
648 #define ARRAYLAST(a) (&a[ARRAYSIZE(a)-1])

Completed in 500 milliseconds