Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkFlattenable.cpp72 int gCount = 0; variable
78 std::sort(gEntries, gEntries + gCount, EntryComparator()); in Finalize()
84 SkASSERT(gCount < (int)SK_ARRAY_COUNT(gEntries)); in Register()
86 gEntries[gCount].fName = name; in Register()
87 gEntries[gCount].fFactory = factory; in Register()
88 gCount += 1; in Register()
94 SkASSERT(std::is_sorted(gEntries, gEntries + gCount, EntryComparator())); in NameToFactory()
95 auto pair = std::equal_range(gEntries, gEntries + gCount, name, EntryComparator()); in NameToFactory()
106 for (int i = gCount - 1; i >= 0; --i) { in FactoryToName()
/external/skqp/src/core/
DSkFlattenable.cpp72 int gCount = 0; variable
78 std::sort(gEntries, gEntries + gCount, EntryComparator()); in Finalize()
84 SkASSERT(gCount < (int)SK_ARRAY_COUNT(gEntries)); in Register()
86 gEntries[gCount].fName = name; in Register()
87 gEntries[gCount].fFactory = factory; in Register()
88 gCount += 1; in Register()
94 SkASSERT(std::is_sorted(gEntries, gEntries + gCount, EntryComparator())); in NameToFactory()
95 auto pair = std::equal_range(gEntries, gEntries + gCount, name, EntryComparator()); in NameToFactory()
106 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/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()