Home
last modified time | relevance | path

Searched refs:SIZEOF_ARRAY (Results 1 – 25 of 166) sorted by relevance

1234567

/dports/net/samba412/samba-4.12.15/source4/heimdal/lib/asn1/
H A Dder.c100 #define SIZEOF_ARRAY(a) (sizeof((a))/sizeof((a)[0])) macro
105 if (num >= SIZEOF_ARRAY(class_names)) in der_get_class_name()
113 return get_type(name, class_names, SIZEOF_ARRAY(class_names)); in der_get_class_num()
119 if (num >= SIZEOF_ARRAY(type_names)) in der_get_type_name()
127 return get_type(name, type_names, SIZEOF_ARRAY(type_names)); in der_get_type_num()
133 if (num >= SIZEOF_ARRAY(tag_names)) in der_get_tag_name()
141 return get_type(name, tag_names, SIZEOF_ARRAY(tag_names)); in der_get_tag_num()
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/heimdal/lib/asn1/
H A Dder.c100 #define SIZEOF_ARRAY(a) (sizeof((a))/sizeof((a)[0])) macro
105 if (num >= SIZEOF_ARRAY(class_names)) in der_get_class_name()
113 return get_type(name, class_names, SIZEOF_ARRAY(class_names)); in der_get_class_num()
119 if (num >= SIZEOF_ARRAY(type_names)) in der_get_type_name()
127 return get_type(name, type_names, SIZEOF_ARRAY(type_names)); in der_get_type_num()
133 if (num >= SIZEOF_ARRAY(tag_names)) in der_get_tag_name()
141 return get_type(name, tag_names, SIZEOF_ARRAY(tag_names)); in der_get_tag_num()
/dports/textproc/luceneplusplus/LucenePlusPlus-rel_3.0.8/src/test/search/spans/
H A DBasicSpansTest.cpp87 checkHits(query, Collection<int32_t>::newInstance(results, results + SIZEOF_ARRAY(results))); in TEST_F()
101 checkHits(query, Collection<int32_t>::newInstance(results, results + SIZEOF_ARRAY(results))); in TEST_F()
119 checkHits(query, Collection<int32_t>::newInstance(results, results + SIZEOF_ARRAY(results))); in TEST_F()
135 checkHits(query, Collection<int32_t>::newInstance(results, results + SIZEOF_ARRAY(results))); in TEST_F()
151 checkHits(query, Collection<int32_t>::newInstance(results, results + SIZEOF_ARRAY(results))); in TEST_F()
160 checkHits(query, Collection<int32_t>::newInstance(results, results + SIZEOF_ARRAY(results))); in TEST_F()
172 checkHits(query, Collection<int32_t>::newInstance(results, results + SIZEOF_ARRAY(results))); in TEST_F()
189 checkHits(query, Collection<int32_t>::newInstance(results, results + SIZEOF_ARRAY(results))); in TEST_F()
208 checkHits(query, Collection<int32_t>::newInstance(results, results + SIZEOF_ARRAY(results))); in TEST_F()
225 checkHits(query, Collection<int32_t>::newInstance(results, results + SIZEOF_ARRAY(results))); in TEST_F()
[all …]
/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-signest.c111 for (i = 0; i < SIZEOF_ARRAY(signals); i++) { in stress_signest_find()
154 if ((i < 0) || (i == (ssize_t)SIZEOF_ARRAY(signals))) in stress_signest_handler()
159 for (; i < (ssize_t)SIZEOF_ARRAY(signals); i++) { in stress_signest_handler()
182 const size_t altstack_size = stress_min_sig_stack_size() * SIZEOF_ARRAY(signals); in stress_signest()
210 for (i = 0; i < SIZEOF_ARRAY(signals); i++) { in stress_signest()
224 for (sz = 1, n = 0, i = 0; i < SIZEOF_ARRAY(signals); i++) { in stress_signest()
235 for (ptr = buf, i = 0; i < SIZEOF_ARRAY(signals); i++) { in stress_signest()
H A Dstress-reboot.c64 size_t i, j = stress_mwc8() % SIZEOF_ARRAY(boot_magic); in reboot_clone_func()
69 for (i = 0; i < SIZEOF_ARRAY(boot_magic); i++) { in reboot_clone_func()
76 j = (j + 1) % SIZEOF_ARRAY(boot_magic); in reboot_clone_func()
143 for (i = 0; i < SIZEOF_ARRAY(boot_magic); i++) { in stress_reboot()
H A Dstress-vecwide.c153 for (i = 0; i < SIZEOF_ARRAY(stress_vecwide_funcs); i++) in stress_vecwide()
156 for (i = 0; i < SIZEOF_ARRAY(vec_args->a); i++) { in stress_vecwide()
169 for (i = 0; i < SIZEOF_ARRAY(stress_vecwide_funcs); i++) { in stress_vecwide()
184 for (i = 0; i < SIZEOF_ARRAY(stress_vecwide_funcs); i++) { in stress_vecwide()
193 for (i = 0; i < SIZEOF_ARRAY(stress_vecwide_funcs); i++) { in stress_vecwide()
H A Dstress-seccomp.c110 .len = (unsigned short)SIZEOF_ARRAY(filter_allow_all),
115 .len = (unsigned short)SIZEOF_ARRAY(filter_allow_write),
120 .len = (unsigned short)SIZEOF_ARRAY(filter),
125 .len = (unsigned short)SIZEOF_ARRAY(filter_random),
283 for (i = 0; i < SIZEOF_ARRAY(filter_random); i++) { in stress_seccomp_set_filter()
313 for (i = 0; i < SIZEOF_ARRAY(seccomp_actions); i++) { in stress_seccomp_set_filter()
H A Dstress-clock.c123 for (i = 0; i < SIZEOF_ARRAY(clocks); i++) { in stress_clock_name()
221 for (i = 0; i < SIZEOF_ARRAY(clocks); i++) { in stress_clock()
243 for (i = 0; i < SIZEOF_ARRAY(clocks); i++) { in stress_clock()
340 for (i = 0; i < SIZEOF_ARRAY(clocks_nanosleep); i++) { in stress_clock()
378 for (i = 0; i < SIZEOF_ARRAY(clocks); i++) { in stress_clock()
406 const size_t n = SIZEOF_ARRAY(timers); in stress_clock()
H A Dstress-fallocate.c214 if (SIZEOF_ARRAY(modes) > 1) { in stress_fallocate()
228 size_t j = (stress_mwc32() >> 8) % SIZEOF_ARRAY(modes); /* cppcheck-suppress moduloofone */ in stress_fallocate()
261 if (SIZEOF_ARRAY(illegal_modes) > 1) { in stress_fallocate()
264 for (i = 0; i < SIZEOF_ARRAY(illegal_modes); i++) { in stress_fallocate()
H A Dstress-fpunch.c149 for (i = 0; i < SIZEOF_ARRAY(modes); i++) in stress_punch_file()
152 for (i = 0; i < SIZEOF_ARRAY(modes); i++) in stress_punch_file()
155 for (i = 0; i < SIZEOF_ARRAY(modes); i++) in stress_punch_file()
161 for (i = 0; i < SIZEOF_ARRAY(modes); i++) in stress_punch_file()
H A Dstress-get.c343 for (i = 0; i < SIZEOF_ARRAY(priorities); i++) { in stress_get()
353 for (i = 0; i < SIZEOF_ARRAY(priorities); i++){ in stress_get()
387 for (i = 0; i < SIZEOF_ARRAY(rlimits); i++) { in stress_get()
406 for (i = 0; i < SIZEOF_ARRAY(rlimits); i++) { in stress_get()
420 for (i = 0; i < SIZEOF_ARRAY(rlimits); i++) { in stress_get()
459 sysctl_args.nlen = SIZEOF_ARRAY(name); in stress_get()
470 for (i = 0; i < SIZEOF_ARRAY(rusages); i++) { in stress_get()
H A Dcore-sched.c61 for (i = 0; i < SIZEOF_ARRAY(sched_types); i++) { in stress_get_sched_name()
328 for (i = 0; i < SIZEOF_ARRAY(sched_types); i++) { in stress_get_opt_sched()
334 if (SIZEOF_ARRAY(sched_types) == (0)) { in stress_get_opt_sched()
338 for (i = 0; i < SIZEOF_ARRAY(sched_types); i++) { in stress_get_opt_sched()
H A Dstress-iomix.c524 for (i = 0; i < SIZEOF_ARRAY(mmaps); i++) { in stress_iomix_rd_wr_mmap()
530 for (i = 0; i < SIZEOF_ARRAY(mmaps); i++) { in stress_iomix_rd_wr_mmap()
547 for (i = 0; i < SIZEOF_ARRAY(mmaps); i++) { in stress_iomix_rd_wr_mmap()
848 const size_t counters_sz = sizeof(uint64_t) * SIZEOF_ARRAY(iomix_funcs); in stress_iomix()
851 int pids[SIZEOF_ARRAY(iomix_funcs)]; in stress_iomix()
910 for (i = 0; i < SIZEOF_ARRAY(iomix_funcs); i++) { in stress_iomix()
929 for (i = 0; i < SIZEOF_ARRAY(iomix_funcs); i++) { in stress_iomix()
941 for (i = 0; i < SIZEOF_ARRAY(iomix_funcs); i++) { in stress_iomix()
949 for (i = 0; i < SIZEOF_ARRAY(iomix_funcs); i++) { in stress_iomix()
H A Dstress-ioport.c53 for (i = 0; i < SIZEOF_ARRAY(ioport_opts); i++) { in stress_set_ioport_opts()
63 for (i = 0; i < SIZEOF_ARRAY(ioport_opts); i++) { in stress_set_ioport_opts()
219 for (i = 0; i < SIZEOF_ARRAY(levels); i++) { in stress_ioport()
H A Dstress-softlockup.c130 if (SIZEOF_ARRAY(policies) == (0)) { in stress_softlockup()
140 for (policy = 0; policy < SIZEOF_ARRAY(policies); policy++) { in stress_softlockup()
258 policy %= SIZEOF_ARRAY(policies); in stress_softlockup()
H A Dstress-revio.c196 for (i = 0; i < SIZEOF_ARRAY(revio_opts); i++) { in stress_set_revio_opts()
223 for (i = 0; i < SIZEOF_ARRAY(revio_opts); i++) in stress_set_revio_opts()
255 for (i = 0; i < SIZEOF_ARRAY(revio_opts); i++) { in stress_revio_advise()
358 opt_index = (opt_index + 1) % SIZEOF_ARRAY(revio_opts); in stress_revio()
H A Dstress-rlimit.c176 for (i = 0; i < SIZEOF_ARRAY(resource_ids); i++) { in stress_rlimit_child()
200 for (i = 0; i < SIZEOF_ARRAY(limits); i++) { in stress_rlimit_child()
313 for (i = 0; i < SIZEOF_ARRAY(limits); i++) { in stress_rlimit()
H A Dstress-prefetch.c231 for (i = 0; i < SIZEOF_ARRAY(prefetch_info); i++) { in stress_prefetch()
242 for (i = 0; i < SIZEOF_ARRAY(prefetch_info); i++) { in stress_prefetch()
251 for (i = 0; i < SIZEOF_ARRAY(prefetch_info); i++) { in stress_prefetch()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/geometry/
H A Dfloat_polygon_test.cc76 #define SIZEOF_ARRAY(p) (sizeof(p) / sizeof(p[0])) macro
92 SIZEOF_ARRAY(kTriangleCoordinates)); in TEST()
192 SIZEOF_ARRAY(kTriangleCoordinates)); in TEST()
217 SIZEOF_ARRAY(coordinates)); \
257 kTrapezoidCoordinates, SIZEOF_ARRAY(kTrapezoidCoordinates)); in TEST()
294 SIZEOF_ARRAY(kHCoordinates)); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/geometry/
H A Dfloat_polygon_test.cc76 #define SIZEOF_ARRAY(p) (sizeof(p) / sizeof(p[0])) macro
92 SIZEOF_ARRAY(kTriangleCoordinates)); in TEST()
192 SIZEOF_ARRAY(kTriangleCoordinates)); in TEST()
217 SIZEOF_ARRAY(coordinates)); \
257 kTrapezoidCoordinates, SIZEOF_ARRAY(kTrapezoidCoordinates)); in TEST()
294 SIZEOF_ARRAY(kHCoordinates)); in TEST()
/dports/games/rnd_jue/rnd_jue-3.3.0.0/src/libgame/
H A Dtypes.h69 #define SIZEOF_ARRAY(array, type) (sizeof(array) / sizeof(type)) macro
70 #define SIZEOF_ARRAY_INT(array) SIZEOF_ARRAY(array, int)
/dports/games/rocksndiamonds/rocksndiamonds-3.3.1.2/src/libgame/
H A Dtypes.h69 #define SIZEOF_ARRAY(array, type) (sizeof(array) / sizeof(type)) macro
70 #define SIZEOF_ARRAY_INT(array) SIZEOF_ARRAY(array, int)
/dports/games/rnd_jue/rocksndiamonds-3.3.1.0/src/libgame/
H A Dtypes.h69 #define SIZEOF_ARRAY(array, type) (sizeof(array) / sizeof(type)) macro
70 #define SIZEOF_ARRAY_INT(array) SIZEOF_ARRAY(array, int)
/dports/games/rocksndiamonds/rnd_jue-3.3.0.0/src/libgame/
H A Dtypes.h69 #define SIZEOF_ARRAY(array, type) (sizeof(array) / sizeof(type)) macro
70 #define SIZEOF_ARRAY_INT(array) SIZEOF_ARRAY(array, int)
/dports/devel/p5-Regexp-Compare/Regexp-Compare-0.33/
H A Dengine.c28 #define SIZEOF_ARRAY(a) (sizeof(a) / sizeof(a[0])) macro
526 case SIZEOF_ARRAY(perl_space_invlist): in convert_invlist_to_map()
606 case SIZEOF_ARRAY(xposix_digit_invlist): in convert_invlist_to_map()
629 case SIZEOF_ARRAY(xposix_alnum_invlist): in convert_invlist_to_map()
652 case SIZEOF_ARRAY(xposix_alpha_invlist): in convert_invlist_to_map()
675 case SIZEOF_ARRAY(xposix_word_invlist): in convert_invlist_to_map()
5200 SIZEOF_ARRAY(whitespace_expl)); in rc_init()
5249 SIZEOF_ARRAY(alphanumeric_expl)); in rc_init()
5265 SIZEOF_ARRAY(alpha_expl)); in rc_init()
5267 SIZEOF_ARRAY(lower_expl)); in rc_init()
[all …]

1234567