Home
last modified time | relevance | path

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

/external/webrtc/webrtc/examples/peerconnection/server/
Ddata_socket.cc199 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()
Dutils.h18 #ifndef ARRAYSIZE
19 #define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0])) macro
Dpeer_channel.cc186 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/opencv3/cmake/checks/
Ddirectx.cpp28 UINT numDriverTypes = ARRAYSIZE(driverTypes); in InitDevice()
36 UINT numFeatureLevels = ARRAYSIZE(featureLevels); in InitDevice()
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
DDirect3DBase.cpp56 ARRAYSIZE(featureLevels), in CreateDeviceResources()
150 m_d3dContext->OMSetRenderTargets(ARRAYSIZE(nullViews), nullViews, nullptr); in UpdateForRenderResolutionChange()
DCubeRenderer.cpp144 ARRAYSIZE(vertexDesc), in CreateDeviceResources()
253 m_indexCount = ARRAYSIZE(indices); in CreateDeviceResources()
/external/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
DDirect3DBase.cpp56 ARRAYSIZE(featureLevels), in CreateDeviceResources()
150 m_d3dContext->OMSetRenderTargets(ARRAYSIZE(nullViews), nullViews, nullptr); in UpdateForRenderResolutionChange()
DQuadRenderer.cpp134 ARRAYSIZE(vertexDesc), in CreateDeviceResources()
194 m_indexCount = ARRAYSIZE(indices); in CreateDeviceResources()
/external/webrtc/webrtc/examples/peerconnection/client/
Dmain_wnd.cc56 ::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/
Dclatd_test.cpp36 #define ARRAYSIZE(x) sizeof((x)) / sizeof((x)[0]) macro
776 reassemble_packet(kIPv4Fragments, kIPv4FragLengths, ARRAYSIZE(kIPv4Fragments), in TEST_F()
785 reassemble_packet(kIPv6Fragments, kIPv6FragLengths, ARRAYSIZE(kIPv6Fragments), in TEST_F()
858 for (i = 0; i < ARRAYSIZE(DATA); i++) { in TEST_F()
891 ARRAYSIZE(kIPv4Fragments), "IPv4->IPv6 fragment translation"); in TEST_F()
895 ARRAYSIZE(kIPv6Fragments), "IPv6->IPv4 fragment translation"); in TEST_F()
/external/regex-re2/util/
Dtest.h34 #define ARRAYSIZE arraysize macro
/external/regex-re2/re2/testing/
Dre2_arg_test.cc87 const int kNumStrings = ARRAYSIZE(kSuccessTable);
/external/opencv3/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/
DOcvTransform.cpp1055 if (dwTypeIndex >= ARRAYSIZE(g_MediaSubtypes)) in OnGetPartialType()
1179 for (DWORD i = 0; i < ARRAYSIZE(g_MediaSubtypes); i++) in OnCheckMediaType()
/external/vulkan-validation-layers/demos/
Dvulkaninfo.c55 DWORD num_pids = GetConsoleProcessList(pids, ARRAYSIZE(pids)); in ConsoleIsExclusive()
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
Dgtest-port.h.orig804 // GTEST_COMPILE_ASSERT_(ARRAYSIZE(content_type_names) == CONTENT_NUM_TYPES,