Home
last modified time | relevance | path

Searched refs:ARRAYSIZE (Results 1 – 17 of 17) sorted by relevance

/external/libtextclassifier/native/utils/utf8/
Dunilib-common.cc24 #define ARRAYSIZE(a) sizeof(a) / sizeof(*a) macro
39 constexpr int kNumOpeningBrackets = ARRAYSIZE(kOpeningBrackets);
51 constexpr int kNumClosingBrackets = ARRAYSIZE(kClosingBrackets);
62 constexpr int kNumWhitespaces = ARRAYSIZE(kWhitespaces);
68 constexpr int kNumBidirectional = ARRAYSIZE(kBidirectional);
81 constexpr int kNumDecimalDigitRangesEnd = ARRAYSIZE(kDecimalDigitRangesEnd);
91 constexpr int kNumLatinLettersRangesStart = ARRAYSIZE(kLatinLettersRangesStart);
95 constexpr int kNumLatinLettersRangesEnd = ARRAYSIZE(kLatinLettersRangesEnd);
101 ARRAYSIZE(kArabicLettersRangesStart);
104 constexpr int kNumArabicLettersRangesEnd = ARRAYSIZE(kArabicLettersRangesEnd);
[all …]
/external/webrtc/examples/peerconnection/server/
Ddata_socket.cc202 for (size_t i = 0; i < ARRAYSIZE(supported_methods); ++i) { in ParseMethodAndPath()
236 if ((headers + ARRAYSIZE(kContentLength)) < end && in ParseContentLengthAndType()
237 strncmp(headers, kContentLength, ARRAYSIZE(kContentLength) - 1) == in ParseContentLengthAndType()
239 headers += ARRAYSIZE(kContentLength) - 1; in ParseContentLengthAndType()
243 } else if ((headers + ARRAYSIZE(kContentType)) < end && in ParseContentLengthAndType()
244 strncmp(headers, kContentType, ARRAYSIZE(kContentType) - 1) == in ParseContentLengthAndType()
246 headers += ARRAYSIZE(kContentType) - 1; in ParseContentLengthAndType()
Dutils.h18 #ifndef ARRAYSIZE
19 #define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0])) macro
Dpeer_channel.cc182 for (; i < ARRAYSIZE(kRequestPaths); ++i) { in Lookup()
187 if (i == ARRAYSIZE(kRequestPaths)) in Lookup()
196 int id = atoi(&args[found + ARRAYSIZE(kPeerId) - 1]); in Lookup()
226 found += ARRAYSIZE(kTargetPeerIdParam) - 1; in IsTargetedRequest()
229 args = found + ARRAYSIZE(kTargetPeerIdParam) - 1; in IsTargetedRequest()
/external/libusb/libusb/
Dstrerror.c52 static const char * const usbi_localized_errors[ARRAYSIZE(usbi_locale_supported)][LIBUSB_ERROR_COUN…
186 for (i = 0; i < ARRAYSIZE(usbi_locale_supported); i++) { in libusb_setlocale()
192 if (i == ARRAYSIZE(usbi_locale_supported)) in libusb_setlocale()
Dlibusbi.h58 #ifndef ARRAYSIZE
59 #define ARRAYSIZE(array) (sizeof(array) / sizeof(array[0])) macro
/external/libusb/examples/
Dfxload.c48 #ifndef ARRAYSIZE
49 #define ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0])) macro
90 int fx_type = FX_TYPE_UNDEFINED, img_type[ARRAYSIZE(path)]; in main()
202 for (j=0; j<ARRAYSIZE(known_device); j++) { in main()
222 if (j < ARRAYSIZE(known_device)) { in main()
263 for (i=0; i<ARRAYSIZE(path); i++) { in main()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-sizeof-container.cpp46 #define ARRAYSIZE(a) \ macro
98 a = ARRAYSIZE(arr); in f()
/external/webrtc/examples/peerconnection/client/
Dmain_wnd.cc56 ::GetWindowTextA(wnd, &text[0], ARRAYSIZE(text)); in GetWindowText()
506 size_t total_width = (ARRAYSIZE(windows) - 1) * kSeparator; in LayoutConnectUI()
508 for (size_t i = 0; i < ARRAYSIZE(windows); ++i) { in LayoutConnectUI()
518 for (size_t i = 0; i < ARRAYSIZE(windows); ++i) { in LayoutConnectUI()
529 for (size_t i = 0; i < ARRAYSIZE(windows); ++i) { in LayoutConnectUI()
/external/android-clat/
Dclatd_test.cpp40 #define ARRAYSIZE(x) sizeof((x)) / sizeof((x)[0]) macro
684 reassemble_packet(kIPv4Fragments, kIPv4FragLengths, ARRAYSIZE(kIPv4Fragments), reassembled, in TEST_F()
693 reassemble_packet(kIPv6Fragments, kIPv6FragLengths, ARRAYSIZE(kIPv6Fragments), reassembled, in TEST_F()
768 for (i = 0; i < ARRAYSIZE(DATA); i++) { in TEST_F()
806 ARRAYSIZE(kIPv4Fragments), "IPv4->IPv6 fragment translation"); in TEST_F()
809 ARRAYSIZE(kIPv6Fragments), "IPv6->IPv4 fragment translation"); in TEST_F()
/external/libusb/include/libusb/
Dlibusbi.h58 #ifndef ARRAYSIZE
59 #define ARRAYSIZE(array) (sizeof(array) / sizeof(array[0])) macro
/external/libusb/libusb/os/
Dwindows_usbdk.c220 char dev_identity[ARRAYSIZE(id->DeviceID) + ARRAYSIZE(id->InstanceID) + 1]; in usbdk_get_session_id_for_device()
Dwindows_winusb.c1533 if (nb_usb_enumerators < ARRAYSIZE(usb_enumerator)) { in winusb_get_device_list()
2129 ARRAYSIZE(composite_driver_names),
2150 ARRAYSIZE(winusbx_driver_names),
2171 ARRAYSIZE(hid_driver_names),
/external/grpc-grpc/third_party/nanopb/
DCHANGELOG.txt5 Generate MIN/MAX/ARRAYSIZE defines for enums (#194)
/external/nanopb-c/
DCHANGELOG.txt66 Generate MIN/MAX/ARRAYSIZE defines for enums (#194)
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationWin32KeyedMutexTests.cpp822 …createShaders(shader, "VS", "vs_4_0", ARRAYSIZE(layout), layout, &m_pVertexShader, "PS", "ps_4_0",… in DX11Operation()
/external/python/cpython2/Modules/
Dposixmodule.c1586 #ifndef ARRAYSIZE
1587 #define ARRAYSIZE(a) (sizeof(a) / sizeof(a[0])) macro