Home
last modified time | relevance | path

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

/external/chromium/googleurl/src/
Dgurl_unittest.cc12 #ifndef ARRAYSIZE
13 #define ARRAYSIZE ARRAYSIZE_UNSAFE macro
59 for (size_t i = 0; i < ARRAYSIZE(type_cases); i++) { in TEST()
177 for (size_t i = 0; i < ARRAYSIZE(resolve_cases); i++) { in TEST()
205 for (size_t i = 0; i < ARRAYSIZE(cases); i++) { in TEST()
222 for (size_t i = 0; i < ARRAYSIZE(cases); i++) { in TEST()
253 for (size_t i = 0; i < ARRAYSIZE(replace_cases); i++) { in TEST()
283 for (size_t i = 0; i < ARRAYSIZE(cases); i++) { in TEST()
324 for (size_t i = 0; i < ARRAYSIZE(port_tests); i++) { in TEST()
345 for (size_t i = 0; i < ARRAYSIZE(ip_tests); i++) { in TEST()
[all …]
Durl_parse_unittest.cc37 #ifndef ARRAYSIZE
38 #define ARRAYSIZE ARRAYSIZE_UNSAFE macro
215 for (size_t i = 0; i < ARRAYSIZE(count_cases); i++) { in TEST()
459 for (size_t i = 0; i < ARRAYSIZE(file_cases); i++) { in TEST()
Durl_canon_unittest.cc44 #ifndef ARRAYSIZE
45 #define ARRAYSIZE ARRAYSIZE_UNSAFE macro
176 for (size_t i = 0; i < ARRAYSIZE(utf_cases); i++) { in TEST()
239 for (size_t i = 0; i < ARRAYSIZE(icu_cases); i++) { in TEST()
795 for (size_t i = 0; i < ARRAYSIZE(user_info_cases); i++) { in TEST()
861 for (size_t i = 0; i < ARRAYSIZE(port_cases); i++) { in TEST()
1052 for (size_t i = 0; i < ARRAYSIZE(query_cases); i++) { in TEST()
1222 for (size_t i = 0; i < ARRAYSIZE(cases); i++) { in TEST()
1509 for (size_t i = 0; i < ARRAYSIZE(cases); i++) { in TEST()
1549 for (size_t i = 0; i < ARRAYSIZE(path_cases); i++) { in TEST()
[all …]
/external/astl/tests/
Dtest_uninitialized.cpp47 const int size = ARRAYSIZE(src); in testCopyPod()
53 const int size = ARRAYSIZE(src); in testCopyPod()
135 const int size = ARRAYSIZE(src); in testFillChar()
147 const int size = ARRAYSIZE(src); in testFillPod()
Dcommon.h50 #ifndef ARRAYSIZE
51 #define ARRAYSIZE(array) (sizeof(array)/sizeof(array[0])) macro
Dtest_string.cpp76 string str6(text, ARRAYSIZE(text)); in testConstructorCString()
367 str9.append(more_text, ARRAYSIZE(more_text)); in testAppend()
368 EXPECT_TRUE(str9 == string(more_text, ARRAYSIZE(more_text))); in testAppend()
466 for (size_t i = 0; i < ARRAYSIZE(more_text); ++i) in testAppendOperator()
475 string str10(more_text, ARRAYSIZE(more_text)); in testAppendOperator()
/external/webkit/WebKitTools/FindSafari/
DFindSafari.cpp152 for (int i = 0; i < ARRAYSIZE(lines); ++i) { in _tmain()
161 … for (unsigned i = 0; i < (debugger ? ARRAYSIZE(debuggerLines) : ARRAYSIZE(launchLines)); ++i) { in _tmain()
/external/webkit/WebCore/platform/win/
DClipboardWin.cpp174 char contentGenerationBuffer[INTERNET_MAX_URL_LENGTH + ARRAYSIZE(szShellDotUrlTemplate) + 1]; in createGlobalURLContent()
176 if (estimatedFileSize > 0 && estimatedFileSize > ARRAYSIZE(contentGenerationBuffer)) in createGlobalURLContent()
179 …oMultiByte(CP_ACP, 0, (LPCWSTR)url.characters(), url.length(), ansiUrl, ARRAYSIZE(ansiUrl) - 1, 0,… in createGlobalURLContent()
194 …sprintf_s(contentGenerationBuffer, ARRAYSIZE(contentGenerationBuffer), szShellDotUrlTemplate, ansi… in createGlobalURLContent()
237 if (!::GetTempPath(ARRAYSIZE(tempPath), tempPath)) in createGlobalHDropContent()
305 int maxSize = min(fsPath.length(), ARRAYSIZE(fgd->fgd[0].cFileName)); in createGlobalUrlFileDescriptor()
347 int maxSize = min(fsPath.length(), ARRAYSIZE(fgd->fgd[0].cFileName)); in createGlobalImageFileDescriptor()
599 if (!DragQueryFileW(hdrop, i, filename, ARRAYSIZE(filename))) in files()
DDragDataWin.cpp81 if (!DragQueryFileW(hdrop, 0, filename, ARRAYSIZE(filename))) in asFilenames()
DClipboardUtilitiesWin.cpp63 if (!DragQueryFileW(hdrop, 0, filename, ARRAYSIZE(filename))) in getWebLocData()
69 …if (!GetPrivateProfileStringW(L"InternetShortcut", L"url", 0, urlBuffer, ARRAYSIZE(urlBuffer), fil… in getWebLocData()
DFileSystemWin.cpp277 if (!GetTempPathW(ARRAYSIZE(tempDirPath), tempDirPath)) in safeCreateFile()
/external/webkit/WebCore/platform/graphics/win/
DIconWin.cpp70 UINT length = ::GetSystemDirectory(buffer, ARRAYSIZE(buffer)); in createIconForFiles()
/external/webkit/WebKitTools/WebKitLauncherWin/
DWebKitLauncherWin.cpp79 if (!GetModuleFileName(0, exePath, ARRAYSIZE(exePath))) in _tWinMain()
/external/webkit/WebKit/win/
DWebKitDLL.cpp80 for (int i = 0; i < ARRAYSIZE(gRegCLSIDs); i++) { in DllGetClassObject()
DWebView.cpp1574 ASSERT(ARRAYSIZE(className) > _tcslen(PopupMenu::popupClassName())); in mouseWheel()
1576 …if (GetClassName(focusedWindow, className, ARRAYSIZE(className)) && !_tcscmp(className, PopupMenu:… in mouseWheel()
2285 GetModuleFileName(gInstance, path, ARRAYSIZE(path)); in webKitVersion()
2299 …_stprintf_s(key, ARRAYSIZE(key), TEXT("\\StringFileInfo\\%04x%04x\\ProductVersion"), lpTranslate[0… in webKitVersion()
/external/webkit/WebCore/platform/graphics/chromium/
DFontCacheChromiumWin.cpp383 numFonts = ARRAYSIZE(cjkFonts); in getFontDataForCharacters()
386 numFonts = ARRAYSIZE(commonFonts); in getFontDataForCharacters()
/external/webkit/WebKitTools/DumpRenderTree/win/
DEditingDelegate.cpp117 …_snwprintf(buffer, ARRAYSIZE(buffer), L"range from %ld of %s to %ld of %s", startOffset, dumpPath(… in dump()
DDumpRenderTree.cpp173 GetModuleFileName(GetModuleHandle(0), buffer, ARRAYSIZE(buffer)); in exePath()
300 for (int i = 0; i < ARRAYSIZE(fontsToInstall); ++i) in initialize()
/external/webkit/WebKit/win/WebCoreSupport/
DWebChromeClient.cpp548 GetModuleFileName(safariHandle, path, ARRAYSIZE(path)); in exceededDatabaseQuota()