Home
last modified time | relevance | path

Searched refs:arraysize (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/flutter/skia/third_party/externals/zlib/google/
Dcompression_utils_unittest.cc37 std::string data(reinterpret_cast<const char*>(kData), arraysize(kData)); in TEST()
42 arraysize(kCompressedData)); in TEST()
48 arraysize(kCompressedData)); in TEST()
54 arraysize(kData)); in TEST()
79 arraysize(kData)); in TEST()
82 arraysize(kCompressedData)); in TEST()
/third_party/re2/re2/testing/
Dparse_test.cc264 TestParse(tests, arraysize(tests), kTestFlags, "simple"); in TEST()
281 TestParse(foldcase_tests, arraysize(foldcase_tests), Regexp::FoldCase, "foldcase"); in TEST()
290 TestParse(literal_tests, arraysize(literal_tests), Regexp::Literal, "literal"); in TEST()
303 TestParse(matchnl_tests, arraysize(matchnl_tests), Regexp::MatchNL, "with MatchNL"); in TEST()
315 TestParse(nomatchnl_tests, arraysize(nomatchnl_tests), Regexp::NoParseFlags, "without MatchNL"); in TEST()
359 TestParse(prefix_tests, arraysize(prefix_tests), Regexp::PerlX, "prefix"); in TEST()
375 TestParse(nested_tests, arraysize(nested_tests), Regexp::PerlX, "nested"); in TEST()
430 for (size_t i = 0; i < arraysize(badtests); i++) { in TEST()
436 for (size_t i = 0; i < arraysize(only_posix); i++) { in TEST()
443 for (size_t i = 0; i < arraysize(only_perl); i++) { in TEST()
[all …]
Dfiltered_re2_test.cc186 for (size_t i = 0; i < arraysize(atom_tests); i++) { in TEST()
190 for (nregexp = 0; nregexp < arraysize(t->regexps); nregexp++) in TEST()
193 for (natom = 0; natom < arraysize(t->atoms); natom++) in TEST()
225 for (nregexp = 0; nregexp < arraysize(t->regexps); nregexp++) in TEST()
242 for (nregexp = 0; nregexp < arraysize(t->regexps); nregexp++) in TEST()
289 AddRegexpsAndCompile(regexps, arraysize(regexps), &v); in TEST()
290 EXPECT_TRUE(CheckExpectedAtoms(atoms, arraysize(atoms), in TEST()
Dtester.cc53 CHECK_LT(e, arraysize(engine_names)); in EngineName()
163 for (size_t i = 0; i < arraysize(parse_modes); i++) in FormatMode()
618 for (size_t i = 0; i < arraysize(kinds); i++) { in Tester()
619 for (size_t j = 0; j < arraysize(parse_modes); j++) { in Tester()
663 for (size_t i = 0; i < arraysize(anchors); i++) in TestInputInContext()
Dre2_test.cc343 re.Match(s, 0, s.size(), RE2::UNANCHORED, group, arraysize(group))); in TEST()
348 re.Match(s, 0, s.size(), RE2::UNANCHORED, group, arraysize(group))); in TEST()
522 for (size_t i = 0; i < arraysize(empties); i++) in TEST()
537 for (size_t i = 0; i < arraysize(nop_empties); i++) in TEST()
1300 for (size_t i = 0; i < arraysize(error_tests); i++) { in TEST()
1322 for (size_t i = 0; i < arraysize(never_tests); i++) { in TEST()
1457 for (size_t i = 0; i < arraysize(matches); i++) in TEST()
1462 matches, arraysize(matches))); in TEST()
1463 for (size_t i = 0; i < arraysize(matches); i++) { in TEST()
1468 for (size_t i = 0; i < arraysize(matches); i++) in TEST()
[all …]
Dsearch_test.cc315 for (size_t i = 0; i < arraysize(simple_tests); i++) { in TEST()
Dbacktrack.cc119 CHECK_LT(2*nsubmatch_, static_cast<int>(arraysize(cap_))); in Search()
209 ip->cap() < static_cast<int>(arraysize(cap_))) { in Try()
Dmimics_pcre_test.cc61 for (size_t i = 0; i < arraysize(tests); i++) { in TEST()
/third_party/json/benchmarks/thirdparty/benchmark/src/
Dstring_util.cc23 static_assert(arraysize(kBigSIUnits) == arraysize(kBigIECUnits),
25 static_assert(arraysize(kSmallSIUnits) == arraysize(kBigSIUnits),
28 static const int64_t kUnitsSize = arraysize(kBigSIUnits);
52 for (size_t i = 0; i < arraysize(kBigSIUnits); ++i) { in ToExponentAndMantissa()
67 for (size_t i = 0; i < arraysize(kSmallSIUnits); ++i) { in ToExponentAndMantissa()
Darraysize.h28 #define arraysize(array) (sizeof(::benchmark::internal::ArraySizeHelper(array))) macro
/third_party/benchmark/src/
Dstring_util.cc26 static_assert(arraysize(kBigSIUnits) == arraysize(kBigIECUnits),
28 static_assert(arraysize(kSmallSIUnits) == arraysize(kBigSIUnits),
31 static const int64_t kUnitsSize = arraysize(kBigSIUnits);
55 for (size_t i = 0; i < arraysize(kBigSIUnits); ++i) { in ToExponentAndMantissa()
70 for (size_t i = 0; i < arraysize(kSmallSIUnits); ++i) { in ToExponentAndMantissa()
Darraysize.h28 #define arraysize(array) (sizeof(::benchmark::internal::ArraySizeHelper(array))) macro
/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumbermatcher_test.cc934 kPossibleOnlyCases + arraysize(kPossibleOnlyCases)); in TEST_F()
936 kValidCases + arraysize(kValidCases)); in TEST_F()
939 kStrictGroupingCases + arraysize(kStrictGroupingCases)); in TEST_F()
941 kExactGroupingCases + arraysize(kExactGroupingCases)); in TEST_F()
948 kImpossibleCases + arraysize(kImpossibleCases)); in TEST_F()
955 kValidCases + arraysize(kValidCases)); in TEST_F()
958 kStrictGroupingCases + arraysize(kStrictGroupingCases)); in TEST_F()
960 kExactGroupingCases + arraysize(kExactGroupingCases)); in TEST_F()
967 kImpossibleCases + arraysize(kImpossibleCases)); in TEST_F()
969 kPossibleOnlyCases + arraysize(kPossibleOnlyCases)); in TEST_F()
[all …]
/third_party/node/src/
Duv.cc88 size_t errors_len = arraysize(per_process::uv_errors_map); in GetErrMap()
96 Array::New(isolate, arr, arraysize(arr))) in GetErrMap()
120 size_t errors_len = arraysize(per_process::uv_errors_map); in Initialize()
Dconnection_wrap.cc73 wrap_data->MakeCallback(env->onconnection_string(), arraysize(argv), argv); in OnConnection()
111 req_wrap->MakeCallback(env->oncomplete_string(), arraysize(argv), argv); in AfterConnect()
Djs_native_api_v8_internals.h22 node::arraysize((array))
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dpreadv.c49 int arraysize = sizeof(data) / sizeof(char); in preadv_0100() local
57 EXPECT_EQ("preadv_0100", ret, arraysize); in preadv_0100()
/third_party/libphonenumber/cpp/src/phonenumbers/base/
Dbasictypes.h130 #if !defined(arraysize)
131 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
/third_party/libphonenumber/tools/cpp/src/base/
Dbasictypes.h149 #if !defined(arraysize)
150 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
/third_party/libjpeg-turbo/
Djquant1.c728 size_t arraysize; in alloc_fs_workspace() local
731 arraysize = (size_t)((cinfo->output_width + 2) * sizeof(FSERROR)); in alloc_fs_workspace()
734 (*cinfo->mem->alloc_large) ((j_common_ptr)cinfo, JPOOL_IMAGE, arraysize); in alloc_fs_workspace()
747 size_t arraysize; in start_pass_1_quant() local
785 arraysize = (size_t)((cinfo->output_width + 2) * sizeof(FSERROR)); in start_pass_1_quant()
787 jzero_far((void *)cquantize->fserrors[i], arraysize); in start_pass_1_quant()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djquant1.c728 size_t arraysize; in alloc_fs_workspace() local
731 arraysize = (size_t)((cinfo->output_width + 2) * sizeof(FSERROR)); in alloc_fs_workspace()
734 (*cinfo->mem->alloc_large) ((j_common_ptr)cinfo, JPOOL_IMAGE, arraysize); in alloc_fs_workspace()
747 size_t arraysize; in start_pass_1_quant() local
785 arraysize = (size_t)((cinfo->output_width + 2) * sizeof(FSERROR)); in start_pass_1_quant()
787 jzero_far((void *)cquantize->fserrors[i], arraysize); in start_pass_1_quant()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djquant1.c725 size_t arraysize; in alloc_fs_workspace() local
728 arraysize = (size_t)((cinfo->output_width + 2) * sizeof(FSERROR)); in alloc_fs_workspace()
731 (*cinfo->mem->alloc_large) ((j_common_ptr)cinfo, JPOOL_IMAGE, arraysize); in alloc_fs_workspace()
744 size_t arraysize; in start_pass_1_quant() local
782 arraysize = (size_t)((cinfo->output_width + 2) * sizeof(FSERROR)); in start_pass_1_quant()
784 jzero_far((void *)cquantize->fserrors[i], arraysize); in start_pass_1_quant()
/third_party/node/src/tracing/
Dtraced_value.cc51 number_buffer, arraysize(number_buffer), "\\u%04X", in EscapeString()
76 number_buffer, arraysize(number_buffer), "\\u%04X", in EscapeString()
/third_party/python/Modules/_sqlite/
Dcursor.h39 int arraysize; member
/third_party/re2/util/
Dutil.h8 #define arraysize(array) (sizeof(array)/sizeof((array)[0])) macro

1234