/packages/apps/Contacts/src/com/android/contacts/ |
ContactsSectionIndexer.java | 25 * their respective counts. 37 * @param counts a non-null array of the same size as <code>sections</code> 39 public ContactsSectionIndexer(String[] sections, int[] counts) { 40 if (sections == null || counts == null) { 44 if (sections.length != counts.length) { 46 "The sections and counts arrays must have the same length"); 49 // TODO process sections/counts based on current locale and/or specific section titles 52 mPositions = new int[counts.length]; 54 for (int i = 0; i < counts.length; i++) { 62 position += counts[i] [all...] |
/external/webkit/WebKit/mac/History/ |
WebHistoryItemPrivate.h | 64 - (size_t)_getDailyVisitCounts:(const int**)counts; 65 - (size_t)_getWeeklyVisitCounts:(const int**)counts;
|
WebHistoryItem.mm | 397 // Daily and weekly counts < 0 are errors in the data read from disk, so reset to 0. 631 - (size_t)_getDailyVisitCounts:(const int**)counts 634 *counts = coreItem->dailyVisitCounts().data(); 638 - (size_t)_getWeeklyVisitCounts:(const int**)counts 641 *counts = coreItem->weeklyVisitCounts().data();
|
/external/chromium/net/socket_stream/ |
socket_stream_metrics_unittest.cc | 51 EXPECT_EQ(1, sample.counts(SocketStreamMetrics::PROTOCOL_UNKNOWN)); 52 EXPECT_EQ(2, sample.counts(SocketStreamMetrics::PROTOCOL_WEBSOCKET)); 53 EXPECT_EQ(3, sample.counts(SocketStreamMetrics::PROTOCOL_WEBSOCKET_SECURE)); 84 EXPECT_EQ(1, sample.counts(SocketStreamMetrics::ALL_CONNECTIONS)); 85 EXPECT_EQ(2, sample.counts(SocketStreamMetrics::TUNNEL_CONNECTION)); 86 EXPECT_EQ(3, sample.counts(SocketStreamMetrics::SOCKS_CONNECTION)); 87 EXPECT_EQ(4, sample.counts(SocketStreamMetrics::SSL_CONNECTION));
|
/external/stlport/test/eh/ |
test_algo.cpp | 105 // Prepare an array of counts of the occurrence of each value in 107 unsigned counts[SortClass::kRange]; local 108 EH_STD::fill_n( counts, (int)SortClass::kRange, 0 ); 110 counts[ q->value() ]++; 125 counts[ p->value() ]--; 130 EH_ASSERT( counts[j] == 0 ); 151 // Prepare an array of counts of the occurrence of each value in 153 unsigned counts[SortClass::kRange]; local 154 EH_STD::fill_n( counts, (int)SortClass::kRange, 0 ); 156 counts[ q->value() ]++ [all...] |
/external/webkit/WebKit/mac/Misc/ |
WebCoreStatistics.mm | 87 OwnPtr<HashCountedSet<const char*> > counts(JSDOMWindow::commonJSGlobalData()->heap.protectedObjectTypeCounts()); 88 HashCountedSet<const char*>::iterator end = counts->end(); 89 for (HashCountedSet<const char*>::iterator it = counts->begin(); it != end; ++it) 102 OwnPtr<HashCountedSet<const char*> > counts(JSDOMWindow::commonJSGlobalData()->heap.objectTypeCounts()); 103 HashCountedSet<const char*>::iterator end = counts->end(); 104 for (HashCountedSet<const char*>::iterator it = counts->begin(); it != end; ++it)
|
/external/webkit/WebKit/win/Interfaces/ |
IWebHistoryItemPrivate.idl | 66 HRESULT getDailyVisitCounts([out] int* number, [out, retval] int** counts); 67 HRESULT getWeeklyVisitCounts([out] int* number, [out, retval] int** counts);
|
/external/libvpx/vp8/encoder/x86/ |
preproc_mmx.c | 100 __declspec(align(16)) unsigned short counts[8]; local 139 movdqa counts, xmm2 local 150 int blurvalue = sums[i] * ppi->fixed_divide[counts[i]]; 234 __declspec(align(16)) unsigned short counts[8]; local 272 movq counts, mm2 local 284 int blurvalue = sums[i] * ppi->fixed_divide[counts[i]];
|
/packages/apps/Email/src/com/android/email/activity/ |
MailboxList.java | 380 int[] counts = new int[2]; local 382 counts[0] = EmailContent.count(MailboxList.this, Message.CONTENT_URI, 386 counts[0] = -1; 389 counts[1] = EmailContent.count(MailboxList.this, Message.CONTENT_URI, 393 counts[1] = -1; 395 return counts; 399 protected void onPostExecute(int[] counts) { 401 if (counts == null) { 404 if (counts[0] != -1) { 405 if (mUnreadCountDraft != counts[0]) [all...] |
/external/chromium/base/ |
histogram_unittest.cc | 187 EXPECT_EQ(2, sample.counts(0)); 188 EXPECT_EQ(0, sample.counts(1)); 191 EXPECT_EQ(0, sample.counts(array_size - 2)); 192 EXPECT_EQ(2, sample.counts(array_size - 1)); 219 // Check to see that the bucket counts reflect our additions. 224 EXPECT_EQ(i + 1, sample.counts(i));
|
histogram.cc | 135 while (0 == snapshot.counts(largest_non_empty_bucket)) { 144 if (snapshot.counts(i)) { 155 Count current = snapshot.counts(i); 163 if (0 == current && i < bucket_count() - 1 && 0 == snapshot.counts(i + 1)) { 164 while (i < bucket_count() - 1 && 0 == snapshot.counts(i + 1)) 313 double current_size = GetBucketSize(snapshot.counts(i), i); 505 for (Counts::const_iterator it = counts_.begin();
|
/external/webkit/WebKit/win/ |
WebHistoryItem.h | 106 virtual HRESULT STDMETHODCALLTYPE getDailyVisitCounts(int* number, int** counts); 107 virtual HRESULT STDMETHODCALLTYPE getWeeklyVisitCounts(int* number, int** counts);
|
WebHistoryItem.cpp | 169 // Daily and weekly counts < 0 are errors in the data read from disk, so reset to 0. 495 HRESULT STDMETHODCALLTYPE WebHistoryItem::getDailyVisitCounts(int* number, int** counts) 497 if (!number || !counts) { 502 *counts = const_cast<int*>(m_historyItem->dailyVisitCounts().data()); 507 HRESULT STDMETHODCALLTYPE WebHistoryItem::getWeeklyVisitCounts(int* number, int** counts) 509 if (!number || !counts) { 514 *counts = const_cast<int*>(m_historyItem->weeklyVisitCounts().data());
|
/external/v8/test/mjsunit/ |
debug-ignore-breakpoints.js | 32 // Simple debug event handler which just counts the number of break points hit. 66 // Set different ignore counts. 78 // Set different ignore counts (opposite).
|
debug-enable-disable-breakpoints.js | 32 // Simple debug event handler which just counts the number of break points hit.
|
debug-multiple-breakpoints.js | 32 // Simple debug event handler which just counts the number of break points hit.
|
debug-step-stub-callfunction.js | 32 // Simple debug event handler which counts the number of breaks hit and steps.
|
/external/strace/ |
syscall.c | 241 static struct call_counts *counts; variable in typeref:struct:call_counts [all...] |
/libcore/luni/src/test/java/tests/api/java/util/concurrent/ |
AtomicIntegerArrayTest.java | 269 volatile int counts; field in class:AtomicIntegerArrayTest.Counter 280 ++counts; 305 assertEquals(c1.counts+c2.counts, SIZE * COUNTDOWN);
|
AtomicLongArrayTest.java | 268 volatile long counts; field in class:AtomicLongArrayTest.Counter 279 ++counts; 304 assertEquals(c1.counts+c2.counts, SIZE * COUNTDOWN);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
NewItemSelectionDialog.java | 217 TreeMap<String, Integer> counts = new TreeMap<String, Integer>(); local 222 Integer i = counts.get(name); 224 counts.put(name, count); 230 for (Entry<String, Integer> entry : counts.entrySet()) {
|
/libcore/dalvik/src/main/java/dalvik/system/ |
VMDebug.java | 299 public static native void getInstructionCount(int[] counts);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
TestCertUtils.java | 771 int counts[] = new int[datasNames.length]; local 778 // for( int j=0; j<counts.length; j++) { 779 // System.out.print(""+counts[j]+"|"); 787 String val = getData(j, counts[j]); 791 String val = getData(j, counts[j]); 804 if (inc(counts, datas.length)) {
|
/external/libxml2/ |
xmlregexp.c | 291 int *counts; /* save the automata state if it has some */ member in struct:_xmlRegExecRollback 323 int *counts; member in struct:_xmlRegExecCtxt [all...] |
/external/webkit/JavaScriptCore/runtime/ |
Collector.cpp | 1216 HashCountedSet<const char*>* counts = new HashCountedSet<const char*>; local 1227 HashCountedSet<const char*>* counts = new HashCountedSet<const char*>; local [all...] |