Searched refs:ARRAYSIZE (Results 1 - 25 of 31) sorted by last modified time

12

/external/regex-re2/re2/testing/
H A Dre2_arg_test.cc87 const int kNumStrings = ARRAYSIZE(kSuccessTable);
/external/regex-re2/util/
H A Dtest.h34 #define ARRAYSIZE arraysize macro
/external/dhcpcd/
H A Ddhcpcd_test.cpp26 #define ARRAYSIZE(x) sizeof((x)) / sizeof((x)[0]) macro
79 memset(dhcpmsgs, 0, ARRAYSIZE(dhcpmsgs) * sizeof(struct dhcp_message));
/external/chromium_org/third_party/webrtc/examples/android/media_demo/jni/
H A Djni_helpers.h47 #define ARRAYSIZE(instance) \ macro
H A Dvideo_engine_jni.cc333 jni, g_classes, ARRAYSIZE(g_classes));
H A Dvoice_engine_jni.cc167 jni, g_classes, ARRAYSIZE(g_classes));
/external/chromium_org/third_party/ots/test/
H A Dcff_type2_charstring_test.cc16 #define ARRAYSIZE(a) (sizeof(a) / sizeof(a[0])) macro
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_strin
[all...]
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/
H A Dmain_wnd.cc72 ::GetWindowTextA(wnd, &text[0], ARRAYSIZE(text));
511 size_t total_width = (ARRAYSIZE(windows) - 1) * kSeparator;
513 for (size_t i = 0; i < ARRAYSIZE(windows); ++i) {
523 for (size_t i = 0; i < ARRAYSIZE(windows); ++i) {
535 for (size_t i = 0; i < ARRAYSIZE(windows); ++i) {
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
H A Ddata_socket.cc216 for (size_t i = 0; i < ARRAYSIZE(supported_methods); ++i) {
250 if ((headers + ARRAYSIZE(kContentLength)) < end &&
252 ARRAYSIZE(kContentLength) - 1) == 0) {
253 headers += ARRAYSIZE(kContentLength) - 1;
257 } else if ((headers + ARRAYSIZE(kContentType)) < end &&
259 ARRAYSIZE(kContentType) - 1) == 0) {
260 headers += ARRAYSIZE(kContentType) - 1;
H A Dpeer_channel.cc196 for (; i < ARRAYSIZE(kRequestPaths); ++i) {
201 if (i == ARRAYSIZE(kRequestPaths))
210 int id = atoi(&args[found + ARRAYSIZE(kPeerId) - 1]);
240 found += ARRAYSIZE(kTargetPeerIdParam) - 1;
243 args = found + ARRAYSIZE(kTargetPeerIdParam) - 1;
H A Dutils.h35 #ifndef ARRAYSIZE
36 #define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0])) macro
/external/chromium_org/url/
H A Dgurl_unittest.cc10 // Some implementations of base/basictypes.h may define ARRAYSIZE.
13 #ifndef ARRAYSIZE
14 #define ARRAYSIZE ARRAYSIZE_UNSAFE macro
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_case
[all...]
H A Durl_canon_icu_unittest.cc13 // Some implementations of base/basictypes.h may define ARRAYSIZE.
16 #ifndef ARRAYSIZE
17 #define ARRAYSIZE ARRAYSIZE_UNSAFE macro
64 for (size_t i = 0; i < ARRAYSIZE(icu_cases); i++) {
121 for (size_t i = 0; i < ARRAYSIZE(query_cases); i++) {
H A Durl_canon_unittest.cc15 // Some implementations of base/basictypes.h may define ARRAYSIZE.
18 #ifndef ARRAYSIZE
19 #define ARRAYSIZE ARRAYSIZE_UNSAFE macro
126 for (size_t i = 0; i < ARRAYSIZE(utf_cases); i++) {
185 for (size_t i = 0; i < ARRAYSIZE(utf_cases); i++) {
902 for (size_t i = 0; i < ARRAYSIZE(user_info_cases); i++) {
971 for (size_t i = 0; i < ARRAYSIZE(port_cases); i++) {
1155 for (size_t i = 0; i < ARRAYSIZE(query_cases); i++) {
1312 for (size_t i = 0; i < ARRAYSIZE(cases); i++) {
1651 for (size_t i = 0; i < ARRAYSIZE(case
[all...]
H A Durl_parse_unittest.cc11 // Some implementations of base/basictypes.h may define ARRAYSIZE.
14 #ifndef ARRAYSIZE
15 #define ARRAYSIZE ARRAYSIZE_UNSAFE macro
204 for (size_t i = 0; i < ARRAYSIZE(count_cases); i++) {
512 for (size_t i = 0; i < ARRAYSIZE(file_cases); i++) {
/external/chromium_org/win8/delegate_execute/
H A Dcrash_server_init.cc61 entries, ARRAYSIZE(entries) };
/external/chromium_org/win8/metro_driver/
H A Ddirect3d_helper.cc81 ARRAYSIZE(feature_levels),
H A Dmetro_dialog_box.cc96 if (::GetClassNameA(hwnd, classname, ARRAYSIZE(classname))) {
H A Dprint_handler.cc142 ARRAYSIZE(feature_levels),
155 ARRAYSIZE(feature_levels),
/external/chromium_org/third_party/libusb/src/libusb/
H A Dlibusbi.h69 #if !defined(ARRAYSIZE)
70 #define ARRAYSIZE(array) (sizeof(array)/sizeof(array[0])) macro
H A Dstrerror.c61 static const char* usbi_localized_errors[ARRAYSIZE(usbi_locale_supported)][LIBUSB_ERROR_COUNT] = {
148 for (i=0; i<ARRAYSIZE(usbi_locale_supported); i++) {
152 if (i >= ARRAYSIZE(usbi_locale_supported)) {
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dwindows_common.h57 #ifndef ARRAYSIZE
58 #define ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0])) macro
H A Dwindows_usb.c1426 for (; class_index < ARRAYSIZE(usb_class); class_index++) {
1431 if (class_index >= ARRAYSIZE(usb_class))
2411 ARRAYSIZE(hub_driver_names),
2432 ARRAYSIZE(composite_driver_names),
2453 ARRAYSIZE(winusbx_driver_names),
2474 ARRAYSIZE(hid_driver_names),
/external/chromium_org/third_party/re2/re2/testing/
H A Dre2_arg_test.cc87 const int kNumStrings = ARRAYSIZE(kSuccessTable);
/external/chromium_org/third_party/re2/util/
H A Dtest.h34 #define ARRAYSIZE arraysize macro

Completed in 747 milliseconds

12