/external/libtextclassifier/native/utils/utf8/ |
D | unilib-common.cc | 24 #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); 75 constexpr int kNumDecimalDigitRangesEnd = ARRAYSIZE(kDecimalDigitRangesEnd); 85 constexpr int kNumLatinLettersRangesStart = ARRAYSIZE(kLatinLettersRangesStart); 89 constexpr int kNumLatinLettersRangesEnd = ARRAYSIZE(kLatinLettersRangesEnd); 95 ARRAYSIZE(kArabicLettersRangesStart); 98 constexpr int kNumArabicLettersRangesEnd = ARRAYSIZE(kArabicLettersRangesEnd); 104 ARRAYSIZE(kCyrillicLettersRangesStart); [all …]
|
/external/webrtc/webrtc/examples/peerconnection/server/ |
D | data_socket.cc | 199 for (size_t i = 0; i < ARRAYSIZE(supported_methods); ++i) { in ParseMethodAndPath() 233 if ((headers + ARRAYSIZE(kContentLength)) < end && in ParseContentLengthAndType() 235 ARRAYSIZE(kContentLength) - 1) == 0) { in ParseContentLengthAndType() 236 headers += ARRAYSIZE(kContentLength) - 1; in ParseContentLengthAndType() 240 } else if ((headers + ARRAYSIZE(kContentType)) < end && in ParseContentLengthAndType() 242 ARRAYSIZE(kContentType) - 1) == 0) { in ParseContentLengthAndType() 243 headers += ARRAYSIZE(kContentType) - 1; in ParseContentLengthAndType()
|
D | utils.h | 18 #ifndef ARRAYSIZE 19 #define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0])) macro
|
D | peer_channel.cc | 186 for (; i < ARRAYSIZE(kRequestPaths); ++i) { in Lookup() 191 if (i == ARRAYSIZE(kRequestPaths)) in Lookup() 200 int id = atoi(&args[found + ARRAYSIZE(kPeerId) - 1]); in Lookup() 230 found += ARRAYSIZE(kTargetPeerIdParam) - 1; in IsTargetedRequest() 233 args = found + ARRAYSIZE(kTargetPeerIdParam) - 1; in IsTargetedRequest()
|
/external/libusb/libusb/ |
D | strerror.c | 64 static const char* usbi_localized_errors[ARRAYSIZE(usbi_locale_supported)][LIBUSB_ERROR_COUNT] = { 166 for (i=0; i<ARRAYSIZE(usbi_locale_supported); i++) { in libusb_setlocale() 170 if (i >= ARRAYSIZE(usbi_locale_supported)) { in libusb_setlocale()
|
D | libusbi.h | 73 #if !defined(ARRAYSIZE) 74 #define ARRAYSIZE(array) (sizeof(array) / sizeof(array[0])) macro
|
/external/libusb/examples/ |
D | fxload.c | 46 #ifndef ARRAYSIZE 47 #define ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0])) macro 91 int fx_type = FX_TYPE_UNDEFINED, img_type[ARRAYSIZE(path)]; in main() 203 for (j=0; j<ARRAYSIZE(known_device); j++) { in main() 223 if (j < ARRAYSIZE(known_device)) { in main() 264 for (i=0; i<ARRAYSIZE(path); i++) { in main()
|
/external/honggfuzz/libhfcommon/ |
D | common.h | 36 #ifndef ARRAYSIZE 37 #define ARRAYSIZE(x) (sizeof(x) / sizeof(*x)) macro
|
/external/honggfuzz/examples/terminal-emulators/ |
D | terminal-test.c | 18 #define ARRAYSIZE(x) (sizeof(x) / sizeof(*x)) macro 114 writev(fd_log, iov, ARRAYSIZE(iov)); in LLVMFuzzerTestOneInput()
|
/external/libusb/libusb/os/ |
D | windows_common.h | 65 #ifndef ARRAYSIZE 66 #define ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0])) macro
|
D | windows_usbdk.c | 233 char dev_identity[ARRAYSIZE(id->DeviceID) + ARRAYSIZE(id->InstanceID)]; in usbdk_get_session_id_for_device()
|
D | windows_winusb.c | 1374 for (; class_index < ARRAYSIZE(usb_class); class_index++) { in windows_get_device_list() 1379 if (class_index >= ARRAYSIZE(usb_class)) in windows_get_device_list() 2217 ARRAYSIZE(hub_driver_names), 2239 ARRAYSIZE(composite_driver_names), 2261 ARRAYSIZE(winusbx_driver_names), 2283 ARRAYSIZE(hid_driver_names),
|
/external/honggfuzz/ |
D | mangle.c | 430 uint64_t choice = util_rndGet(0, ARRAYSIZE(mangleMagicVals) - 1); in mangle_Magic() 673 uint64_t choice = util_rndGet(0, ARRAYSIZE(mangleMagicVals) - 1); in mangle_MagicPrintable() 934 uint64_t choice = util_rndGet(0, ARRAYSIZE(manglePrintableFuncs) - 1); in mangle_mangleContent() 939 uint64_t choice = util_rndGet(0, ARRAYSIZE(mangleFuncs) - 1); in mangle_mangleContent()
|
D | cmdline.c | 146 for (size_t i = 0; i < ARRAYSIZE(hfuzz->exe.envs); i++) { in cmdlineAddEnv() 158 LOG_E("No more space for new envars (max.%zu)", ARRAYSIZE(hfuzz->exe.envs)); in cmdlineAddEnv() 470 struct option opts[ARRAYSIZE(custom_opts)]; in cmdlineParse() 471 for (unsigned i = 0; i < ARRAYSIZE(custom_opts); i++) { in cmdlineParse()
|
D | subproc.c | 236 for (size_t i = 0; i < ARRAYSIZE(run->global->exe.envs) && run->global->exe.envs[i]; i++) { in subproc_PrepareExecv()
|
/external/webrtc/webrtc/examples/peerconnection/client/ |
D | main_wnd.cc | 56 ::GetWindowTextA(wnd, &text[0], ARRAYSIZE(text)); in GetWindowText() 495 size_t total_width = (ARRAYSIZE(windows) - 1) * kSeparator; in LayoutConnectUI() 497 for (size_t i = 0; i < ARRAYSIZE(windows); ++i) { in LayoutConnectUI() 507 for (size_t i = 0; i < ARRAYSIZE(windows); ++i) { in LayoutConnectUI() 519 for (size_t i = 0; i < ARRAYSIZE(windows); ++i) { in LayoutConnectUI()
|
/external/android-clat/ |
D | clatd_test.cpp | 40 #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/ |
D | libusbi.h | 73 #if !defined(ARRAYSIZE) 74 #define ARRAYSIZE(array) (sizeof(array) / sizeof(array[0])) macro
|
/external/grpc-grpc/third_party/nanopb/ |
D | CHANGELOG.txt | 5 Generate MIN/MAX/ARRAYSIZE defines for enums (#194)
|
/external/nanopb-c/ |
D | CHANGELOG.txt | 66 Generate MIN/MAX/ARRAYSIZE defines for enums (#194)
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationWin32KeyedMutexTests.cpp | 822 …createShaders(shader, "VS", "vs_4_0", ARRAYSIZE(layout), layout, &m_pVertexShader, "PS", "ps_4_0",… in DX11Operation()
|
/external/python/cpython2/Modules/ |
D | posixmodule.c | 1586 #ifndef ARRAYSIZE 1587 #define ARRAYSIZE(a) (sizeof(a) / sizeof(a[0])) macro
|