/external/mesa3d/include/pci_ids/ |
D | pci_id_driver_map.h | 6 #ifndef ARRAY_SIZE 7 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 66 { 0x8086, "i915", i915_chip_ids, ARRAY_SIZE(i915_chip_ids) }, 67 { 0x8086, "i965", i965_chip_ids, ARRAY_SIZE(i965_chip_ids) }, 69 { 0x1002, "radeon", r100_chip_ids, ARRAY_SIZE(r100_chip_ids) }, 70 { 0x1002, "r200", r200_chip_ids, ARRAY_SIZE(r200_chip_ids) }, 72 { 0x1002, "r300", r300_chip_ids, ARRAY_SIZE(r300_chip_ids) }, 73 { 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) }, 74 { 0x1002, "radeonsi", radeonsi_chip_ids, ARRAY_SIZE(radeonsi_chip_ids) }, 76 { 0x15ad, "vmwgfx", vmwgfx_chip_ids, ARRAY_SIZE(vmwgfx_chip_ids) },
|
/external/chromium_org/third_party/mesa/src/include/pci_ids/ |
D | pci_id_driver_map.h | 6 #ifndef ARRAY_SIZE 7 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 66 { 0x8086, "i915", i915_chip_ids, ARRAY_SIZE(i915_chip_ids) }, 67 { 0x8086, "i965", i965_chip_ids, ARRAY_SIZE(i965_chip_ids) }, 69 { 0x1002, "radeon", r100_chip_ids, ARRAY_SIZE(r100_chip_ids) }, 70 { 0x1002, "r200", r200_chip_ids, ARRAY_SIZE(r200_chip_ids) }, 72 { 0x1002, "r300", r300_chip_ids, ARRAY_SIZE(r300_chip_ids) }, 73 { 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) }, 74 { 0x1002, "radeonsi", radeonsi_chip_ids, ARRAY_SIZE(radeonsi_chip_ids) }, 76 { 0x15ad, "vmwgfx", vmwgfx_chip_ids, ARRAY_SIZE(vmwgfx_chip_ids) },
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stackdepot_test.cc | 22 u32 i1 = StackDepotPut(s1, ARRAY_SIZE(s1)); in TEST() 26 EXPECT_EQ(sz1, ARRAY_SIZE(s1)); in TEST() 51 u32 i1 = StackDepotPut(s1, ARRAY_SIZE(s1)); in TEST() 52 u32 i2 = StackDepotPut(s1, ARRAY_SIZE(s1)); in TEST() 57 EXPECT_EQ(sz1, ARRAY_SIZE(s1)); in TEST() 63 u32 i1 = StackDepotPut(s1, ARRAY_SIZE(s1)); in TEST() 65 u32 i2 = StackDepotPut(s2, ARRAY_SIZE(s2)); in TEST() 75 ids[0] = StackDepotPut(s1, ARRAY_SIZE(s1)); in TEST() 76 ids[1] = StackDepotPut(s2, ARRAY_SIZE(s2)); in TEST() 77 ids[2] = StackDepotPut(s3, ARRAY_SIZE(s3)); in TEST() [all …]
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
D | hists_link.c | 72 { "perf", perf_syms, ARRAY_SIZE(perf_syms) }, 73 { "bash", bash_syms, ARRAY_SIZE(bash_syms) }, 74 { "libc", libc_syms, ARRAY_SIZE(libc_syms) }, 75 { "[kernel]", kernel_syms, ARRAY_SIZE(kernel_syms) }, 88 for (i = 0; i < ARRAY_SIZE(fake_threads); i++) { in setup_fake_machine() 99 for (i = 0; i < ARRAY_SIZE(fake_mmap_info); i++) { in setup_fake_machine() 116 for (i = 0; i < ARRAY_SIZE(fake_symbols); i++) { in setup_fake_machine() 212 for (k = 0; k < ARRAY_SIZE(fake_common_samples); k++) { in add_hist_entries() 234 for (k = 0; k < ARRAY_SIZE(fake_samples[i]); k++) { in add_hist_entries() 299 ARRAY_SIZE(fake_common_samples), in __validate_match() [all …]
|
/external/chromium_org/third_party/webrtc/base/ |
D | urlencode_unittest.cc | 22 ASSERT_EQ(0, UrlEncode(source, dest, ARRAY_SIZE(dest))); in TEST() 33 ASSERT_EQ(3, UrlEncode(source, dest, ARRAY_SIZE(dest))); in TEST() 43 ASSERT_EQ(2, UrlEncode(source, dest, ARRAY_SIZE(dest))); in TEST() 52 ASSERT_EQ(0, UrlEncode(source, dest, ARRAY_SIZE(dest))); in TEST() 59 ASSERT_EQ(5, UrlEncode(source, dest, ARRAY_SIZE(dest))); in TEST() 67 ARRAY_SIZE(dest))); in TEST()
|
D | win32filesystem.cc | 200 if (!::GetTempPath(ARRAY_SIZE(buffer), buffer)) in GetTemporaryFolder() 203 !::GetLongPathName(buffer, buffer, ARRAY_SIZE(buffer))) in GetTemporaryFolder() 207 len += strcpyn(buffer + len, ARRAY_SIZE(buffer) - len, L"\\"); in GetTemporaryFolder() 209 if (len >= ARRAY_SIZE(buffer) - 1) in GetTemporaryFolder() 298 if (!::GetTempPath(ARRAY_SIZE(buffer), buffer)) in IsTemporaryPath() 301 !::GetLongPathName(buffer, buffer, ARRAY_SIZE(buffer))) in IsTemporaryPath() 340 if (0 == ::GetModuleFileName(NULL, buffer, ARRAY_SIZE(buffer))) in GetAppPathname() 354 !::GetLongPathName(buffer, buffer, ARRAY_SIZE(buffer))) in GetAppDataFolder() 356 size_t len = strcatn(buffer, ARRAY_SIZE(buffer), __T("\\")); in GetAppDataFolder() 357 len += strcpyn(buffer + len, ARRAY_SIZE(buffer) - len, in GetAppDataFolder() [all …]
|
/external/iptables/extensions/ |
D | libxt_CT.c | 142 info->ct_events = ct_parse_events(ct_event_tbl, ARRAY_SIZE(ct_event_tbl), cb->arg); in ct_parse() 145 info->exp_events = ct_parse_events(exp_event_tbl, ARRAY_SIZE(exp_event_tbl), cb->arg); in ct_parse() 161 ARRAY_SIZE(ct_event_tbl), in ct_parse_v1() 166 ARRAY_SIZE(exp_event_tbl), in ct_parse_v1() 184 ARRAY_SIZE(ct_event_tbl), info->ct_events); in ct_print() 187 ARRAY_SIZE(exp_event_tbl), info->exp_events); in ct_print() 211 ARRAY_SIZE(ct_event_tbl), info->ct_events); in ct_print_v1() 214 ARRAY_SIZE(exp_event_tbl), info->exp_events); in ct_print_v1() 232 ARRAY_SIZE(ct_event_tbl), info->ct_events); in ct_save() 235 ARRAY_SIZE(exp_event_tbl), info->exp_events); in ct_save() [all …]
|
D | libip6t_REJECT.c | 48 for (i = 0; i < ARRAY_SIZE(reject_table); ++i) { in print_reject_types() 85 for (i = 0; i < ARRAY_SIZE(reject_table); ++i) in REJECT_parse() 104 for (i = 0; i < ARRAY_SIZE(reject_table); ++i) in REJECT_print() 116 for (i = 0; i < ARRAY_SIZE(reject_table); ++i) in REJECT_save()
|
D | libip6t_ipv6header.c | 75 for (i = 0; i < ARRAY_SIZE(chain_protos); ++i) in proto_to_name() 92 for (i = 0; i < ARRAY_SIZE(chain_protos); ++i) in name_to_proto() 98 if (i == ARRAY_SIZE(chain_protos)) in name_to_proto() 111 for (i = 0; i < ARRAY_SIZE(chain_flags); ++i) in add_proto_to_mask() 117 if (i == ARRAY_SIZE(chain_flags)) in add_proto_to_mask()
|
D | libipt_REJECT.c | 61 for (i = 0; i < ARRAY_SIZE(reject_table); ++i) { in print_reject_types() 100 for (i = 0; i < ARRAY_SIZE(reject_table); ++i) in REJECT_parse() 124 for (i = 0; i < ARRAY_SIZE(reject_table); ++i) in REJECT_print() 136 for (i = 0; i < ARRAY_SIZE(reject_table); ++i) in REJECT_save()
|
/external/chromium_org/third_party/webrtc/sound/ |
D | automaticallychosensoundsystem_unittest.cc | 115 ARRAY_SIZE(kSingleSystemFailingCreators)> sound_system; in TEST() 126 ARRAY_SIZE(kSingleSystemSucceedingCreators)> sound_system; in TEST() 139 ARRAY_SIZE(kFailedFirstSystemResultsInUsingSecondCreators)> sound_system; in TEST() 151 ARRAY_SIZE(kEarlierEntriesHavePriorityCreators)> sound_system; in TEST() 172 ARRAY_SIZE(kManySoundSystemsCreators)> sound_system; in TEST() 185 ARRAY_SIZE(kDeletesAllCreatedSoundSystemsCreators)> TestSoundSystem; in TEST()
|
/external/libnl/lib/netfilter/ |
D | netfilter.c | 28 ARRAY_SIZE(nfnl_verdicts)); in nfnl_verdict2str() 33 return __str2type(name, nfnl_verdicts, ARRAY_SIZE(nfnl_verdicts)); in nfnl_str2verdict() 47 ARRAY_SIZE(nfnl_inet_hooks)); in nfnl_inet_hook2str() 52 return __str2type(name, nfnl_inet_hooks, ARRAY_SIZE(nfnl_inet_hooks)); in nfnl_str2inet_hook()
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | streamparams_unittest.cc | 55 for (size_t i = 0; i < ARRAY_SIZE(ssrc_groups); ++i) { in TEST() 56 for (size_t j = 0; j < ARRAY_SIZE(ssrc_groups); ++j) { in TEST() 93 CreateStreamParamsWithSsrcGroup("XYZ", kSsrcs2, ARRAY_SIZE(kSsrcs2)); in TEST() 108 CreateStreamParamsWithSsrcGroup("XYZ", kSsrcs2, ARRAY_SIZE(kSsrcs2)); in TEST() 117 CreateStreamParamsWithSsrcGroup("ABC", kSsrcs1, ARRAY_SIZE(kSsrcs1)); in TEST() 119 CreateStreamParamsWithSsrcGroup("ABC", kSsrcs2, ARRAY_SIZE(kSsrcs2)); in TEST() 121 CreateStreamParamsWithSsrcGroup("Abc", kSsrcs2, ARRAY_SIZE(kSsrcs2)); in TEST() 123 CreateStreamParamsWithSsrcGroup("abc", kSsrcs2, ARRAY_SIZE(kSsrcs2)); in TEST() 126 for (size_t i = 0; i < ARRAY_SIZE(sps); ++i) { in TEST() 127 for (size_t j = 0; j < ARRAY_SIZE(sps); ++j) { in TEST() [all …]
|
/external/bluetooth/bluedroid/osi/test/ |
D | list_test.cpp | 75 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) in TEST() 87 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) in TEST() 90 EXPECT_EQ(list_back(list), &x[ARRAY_SIZE(x) - 1]); in TEST() 99 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) in TEST() 113 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) in TEST() 127 for (size_t i = 0; i < ARRAY_SIZE(x); ++i) in TEST() 130 int i = ARRAY_SIZE(x) - 1; in TEST()
|
/external/icu/icu4c/source/test/cintltst/ |
D | stdnmtst.c | 21 #define ARRAY_SIZE(array) (int32_t)(sizeof array / sizeof array[0]) macro 292 doTestNames("ASCII", "IANA", asciiIANA, ARRAY_SIZE(asciiIANA)); in TestStandardNames() 293 doTestNames("US-ASCII", "IANA", asciiIANA, ARRAY_SIZE(asciiIANA)); in TestStandardNames() 294 doTestNames("ASCII", "MIME", asciiMIME, ARRAY_SIZE(asciiMIME)); in TestStandardNames() 295 doTestNames("ascii", "mime", asciiMIME, ARRAY_SIZE(asciiMIME)); in TestStandardNames() 302 doTestNames("ISO_2022,locale=ko,version=0", "MIME", iso2022MIME, ARRAY_SIZE(iso2022MIME)); in TestStandardNames() 303 doTestNames("csiso2022kr", "MIME", iso2022MIME, ARRAY_SIZE(iso2022MIME)); in TestStandardNames() 306 doTestUCharNames("ASCII", "IANA", asciiIANA, ARRAY_SIZE(asciiIANA)); in TestStandardNames()
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | stdnmtst.c | 21 #define ARRAY_SIZE(array) (int32_t)(sizeof array / sizeof array[0]) macro 292 doTestNames("ASCII", "IANA", asciiIANA, ARRAY_SIZE(asciiIANA)); in TestStandardNames() 293 doTestNames("US-ASCII", "IANA", asciiIANA, ARRAY_SIZE(asciiIANA)); in TestStandardNames() 294 doTestNames("ASCII", "MIME", asciiMIME, ARRAY_SIZE(asciiMIME)); in TestStandardNames() 295 doTestNames("ascii", "mime", asciiMIME, ARRAY_SIZE(asciiMIME)); in TestStandardNames() 302 doTestNames("ISO_2022,locale=ko,version=0", "MIME", iso2022MIME, ARRAY_SIZE(iso2022MIME)); in TestStandardNames() 303 doTestNames("csiso2022kr", "MIME", iso2022MIME, ARRAY_SIZE(iso2022MIME)); in TestStandardNames() 306 doTestUCharNames("ASCII", "IANA", asciiIANA, ARRAY_SIZE(asciiIANA)); in TestStandardNames()
|
/external/libnl/lib/route/ |
D | rtnl.c | 72 return __type2str(type, buf, size, rtntypes, ARRAY_SIZE(rtntypes)); in nl_rtntype2str() 77 return __str2type(name, rtntypes, ARRAY_SIZE(rtntypes)); in nl_str2rtntype() 97 return __type2str(scope, buf, size, scopes, ARRAY_SIZE(scopes)); in rtnl_scope2str() 102 return __str2type(name, scopes, ARRAY_SIZE(scopes)); in rtnl_str2scope()
|
/external/qemu/android/base/ |
D | String_unittest.cpp | 220 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro 223 for (size_t n = 0; n < ARRAY_SIZE(kComparisons); ++n) { in TEST() 233 for (size_t n = 0; n < ARRAY_SIZE(kComparisons); ++n) { in TEST() 245 for (size_t n = 0; n < ARRAY_SIZE(kComparisons); ++n) { in TEST() 256 for (size_t n = 0; n < ARRAY_SIZE(kComparisons); ++n) { in TEST() 267 for (size_t n = 0; n < ARRAY_SIZE(kComparisons); ++n) { in TEST() 277 for (size_t n = 0; n < ARRAY_SIZE(kComparisons); ++n) { in TEST() 289 for (size_t n = 0; n < ARRAY_SIZE(kComparisons); ++n) { in TEST() 300 for (size_t n = 0; n < ARRAY_SIZE(kComparisons); ++n) { in TEST() 311 for (size_t n = 0; n < ARRAY_SIZE(kComparisons); ++n) { in TEST() [all …]
|
/external/qemu/android/base/files/ |
D | PathUtils_unittest.cpp | 19 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro 38 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST() 64 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST() 104 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST() 134 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST() 202 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST() 245 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST() 300 for (size_t n = 0; n < ARRAY_SIZE(kData); ++n) { in TEST()
|
/external/libunwind/src/ia64/ |
D | Grbs.c | 103 c->rbs_curr = (c->rbs_curr + 1) % ARRAY_SIZE (c->rbs_area); in rbs_switch() 107 c->rbs_left_edge = (c->rbs_left_edge + 1) % ARRAY_SIZE (c->rbs_area); in rbs_switch() 143 curr = (curr + ARRAY_SIZE (c->rbs_area) - 1) % ARRAY_SIZE (c->rbs_area); in rbs_find_stacked() 172 curr = (curr + ARRAY_SIZE (c->rbs_area) - 1) % ARRAY_SIZE (c->rbs_area); in rbs_find_stacked() 266 curr = (curr + ARRAY_SIZE (c->rbs_area) - 1) in rbs_cover_and_flush() 267 % ARRAY_SIZE (c->rbs_area); in rbs_cover_and_flush()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | csr2022.cpp | 19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro 150 ARRAY_SIZE(escapeSequences_2022JP)); in match() 165 ARRAY_SIZE(escapeSequences_2022KR)); in match() 180 ARRAY_SIZE(escapeSequences_2022CN)); in match()
|
/external/icu/icu4c/source/i18n/ |
D | csr2022.cpp | 19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro 150 ARRAY_SIZE(escapeSequences_2022JP)); in match() 165 ARRAY_SIZE(escapeSequences_2022KR)); in match() 180 ARRAY_SIZE(escapeSequences_2022CN)); in match()
|
/external/vixl/examples/ |
D | sum-array.cc | 29 #define ARRAY_SIZE(Array) (sizeof(Array) / sizeof((Array)[0])) macro 79 simulator.set_xreg(1, ARRAY_SIZE(data)); in main() 83 for (i = 0; i < ARRAY_SIZE(data) - 1; ++i) { in main()
|
/external/bluetooth/bluedroid/test/suite/support/ |
D | callbacks.c | 89 for (size_t i = 0; i < ARRAY_SIZE(callback_data); ++i) { in callbacks_init() 95 for (size_t i = 0; i < ARRAY_SIZE(callback_data); ++i) { in callbacks_cleanup() 109 for (size_t i = 0; i < ARRAY_SIZE(callback_data); ++i) { in callbacks_get_semaphore()
|
/external/chromium_org/third_party/mesa/src/src/gbm/main/ |
D | backend.c | 37 #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) macro 94 for (i = 0; i < ARRAY_SIZE(backends); ++i) { in find_backend() 119 for (i = 0; i < ARRAY_SIZE(backends) && dev == NULL; ++i) { in _gbm_create_device()
|