Home
last modified time | relevance | path

Searched refs:gCount (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/core/
DSkFlattenable.cpp84 int gCount = 0; variable
90 std::sort(gEntries, gEntries + gCount, EntryComparator()); in Finalize()
96 SkASSERT(gCount < (int)std::size(gEntries)); in Register()
98 gEntries[gCount].fName = name; in Register()
99 gEntries[gCount].fFactory = factory; in Register()
100 gCount += 1; in Register()
106 SkASSERT(std::is_sorted(gEntries, gEntries + gCount, EntryComparator())); in NameToFactory()
107 auto pair = std::equal_range(gEntries, gEntries + gCount, name, EntryComparator()); in NameToFactory()
118 for (int i = gCount - 1; i >= 0; --i) { in FactoryToName()
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp214 int gCount; variable
281 gCount++; in ICUstrcmpK()
288 gCount++; in ICUstrcmpL()
298 gCount++; in ICUstrcmp()
308 gCount++; in Winstrcmp()
316 gCount++; in UNIXstrcmp()
324 gCount++; in WinstrcmpL()
332 gCount++; in WinstrcmpK()
469 gCount = 0; in doBinarySearch()
511 gCount++; in doBinarySearch()
[all …]
/external/cronet/third_party/icu/source/test/perf/collationperf/
Dcollperf.cpp214 int gCount; variable
281 gCount++; in ICUstrcmpK()
288 gCount++; in ICUstrcmpL()
298 gCount++; in ICUstrcmp()
308 gCount++; in Winstrcmp()
316 gCount++; in UNIXstrcmp()
324 gCount++; in WinstrcmpL()
332 gCount++; in WinstrcmpK()
469 gCount = 0; in doBinarySearch()
511 gCount++; in doBinarySearch()
[all …]
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java320 int gCount = 0; in doBinarySearch() local
353 gCount++; in doBinarySearch()
384 gCount++; in doBinarySearch()
419 gCount ++; in doBinarySearch()
422 gCount++; in doBinarySearch()
457 gCount ++; in doBinarySearch()
460 gCount++; in doBinarySearch()
478 int ns = (int)((float)(1000000) * (float)elapsedTime / (float)gCount); in doBinarySearch()
480 System.out.println("binary search: total # of string compares = " + gCount); in doBinarySearch()
481 System.out.println("binary search: compares per loop = " + gCount / loops); in doBinarySearch()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResXMLTree.java52 static volatile AtomicInteger gCount = new AtomicInteger(0); field in ResXMLTree
62 ALOGI("Creating ResXMLTree %s #%d\n", this, gCount.getAndIncrement()+1); in ResXMLTree()
76 ALOGI("Destroying ResXMLTree in %s #%d\n", this, gCount.getAndDecrement()-1); in finalize()
DAsset.java252 static int gCount = 0; field in Asset
301 return gCount; in getGlobalCount()
DCppAssetManager.java120 static volatile int gCount = 0; field in CppAssetManager
184 return gCount; in getGlobalCount()
/external/robolectric/resources/src/main/java/org/robolectric/res/android/
DResXMLTree.java52 static volatile AtomicInteger gCount = new AtomicInteger(0); field in ResXMLTree
62 ALOGI("Creating ResXMLTree %s #%d\n", this, gCount.getAndIncrement()+1); in ResXMLTree()
76 ALOGI("Destroying ResXMLTree in %s #%d\n", this, gCount.getAndDecrement()-1); in finalize()
DAsset.java257 static int gCount = 0; field in Asset
306 return gCount; in getGlobalCount()
DCppAssetManager.java120 static volatile int gCount = 0; field in CppAssetManager
184 return gCount; in getGlobalCount()