Home
last modified time | relevance | path

Searched refs:comparisonSize (Results 1 – 4 of 4) sorted by relevance

/external/clang/test/Analysis/
Dcomparison-implicit-casts.cpp19 size_t comparisonSize = sizeof(1 == 1); in PR12206() local
22 clang_analyzer_eval(sizeof(size_t) > comparisonSize); // expected-warning{{TRUE}} in PR12206()
29 value <<= 8 * comparisonSize; in PR12206()
76 size_t comparisonSize = sizeof(1 == 1); in PR12206_strlen() local
79 clang_analyzer_eval(sizeof(size_t) > comparisonSize); // expected-warning{{TRUE}} in PR12206_strlen()
83 value <<= 8 * comparisonSize; in PR12206_strlen()
/external/llvm-project/clang/test/Analysis/
Dcomparison-implicit-casts.cpp19 size_t comparisonSize = sizeof(1 == 1); in PR12206() local
22 clang_analyzer_eval(sizeof(size_t) > comparisonSize); // expected-warning{{TRUE}} in PR12206()
29 value <<= 8 * comparisonSize; in PR12206()
76 size_t comparisonSize = sizeof(1 == 1); in PR12206_strlen() local
79 clang_analyzer_eval(sizeof(size_t) > comparisonSize); // expected-warning{{TRUE}} in PR12206_strlen()
83 value <<= 8 * comparisonSize; in PR12206_strlen()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMapTest.java372 private int checkSize(int comparisonSize, Style style, Option option, double ratioToMap) { in checkSize() argument
385 …nf.format(trieKeyByteSize) + "\t\t" + pf.format(trieKeyByteSize/(double)comparisonSize - 1D) + ""); in checkSize()
388 if (!useSmallList && trieKeyByteSize > ratioToMap * comparisonSize) { in checkSize()
389 …\ttrieKeyByteSize too large. Expected:\t< " + nf.format(ratioToMap * comparisonSize) + ", Actual:\… in checkSize()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMapTest.java369 private int checkSize(int comparisonSize, Style style, Option option, double ratioToMap) { in checkSize() argument
382 …nf.format(trieKeyByteSize) + "\t\t" + pf.format(trieKeyByteSize/(double)comparisonSize - 1D) + ""); in checkSize()
385 if (!useSmallList && trieKeyByteSize > ratioToMap * comparisonSize) { in checkSize()
386 …\ttrieKeyByteSize too large. Expected:\t< " + nf.format(ratioToMap * comparisonSize) + ", Actual:\… in checkSize()