OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bucketIndex
(Results
1 - 15
of
15
) sorted by null
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactLocaleUtils.java
159
public String getBucketLabel(int
bucketIndex
) {
160
if (
bucketIndex
< 0 ||
bucketIndex
>= getBucketCount()) {
162
} else if (
bucketIndex
== mNumberBucketIndex) {
164
} else if (
bucketIndex
> mNumberBucketIndex) {
165
--
bucketIndex
;
167
return mAlphabeticIndex.getBucketLabel(
bucketIndex
);
248
final int
bucketIndex
= super.getBucketIndex(name);
249
if ((
bucketIndex
== mMiscBucketIndex &&
251
bucketIndex
> mMiscBucketIndex)
[
all
...]
/external/emma/core/java12/com/vladium/util/
IntObjectMap.java
88
final int
bucketIndex
= (key & 0x7FFFFFFF) % buckets.length;
91
for (Entry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
113
final int
bucketIndex
= (key & 0x7FFFFFFF) % buckets.length;
116
for (Entry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
161
int
bucketIndex
= (key & 0x7FFFFFFF) % m_buckets.length;
165
for (Entry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
190
bucketIndex
= (key & 0x7FFFFFFF) % buckets.length;
191
final Entry bucketListHead = buckets [
bucketIndex
];
193
buckets [
bucketIndex
] = newEntry;
IntIntMap.java
88
final int
bucketIndex
= (key & 0x7FFFFFFF) % buckets.length;
91
for (Entry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
112
final int
bucketIndex
= (key & 0x7FFFFFFF) % buckets.length;
115
for (Entry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
131
final int
bucketIndex
= (key & 0x7FFFFFFF) % buckets.length;
134
for (Entry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
175
int
bucketIndex
= (key & 0x7FFFFFFF) % m_buckets.length;
179
for (Entry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
201
bucketIndex
= (key & 0x7FFFFFFF) % buckets.length;
202
final Entry bucketListHead = buckets [
bucketIndex
];
[
all
...]
ObjectIntMap.java
93
final int
bucketIndex
= (keyHash & 0x7FFFFFFF) % buckets.length;
96
for (Entry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
121
final int
bucketIndex
= (keyHash & 0x7FFFFFFF) % buckets.length;
124
for (Entry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
168
int
bucketIndex
= (keyHash & 0x7FFFFFFF) % m_buckets.length;
172
for (Entry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
194
bucketIndex
= (keyHash & 0x7FFFFFFF) % buckets.length;
195
final Entry bucketListHead = buckets [
bucketIndex
];
197
buckets [
bucketIndex
] = newEntry;
214
final int
bucketIndex
= (keyHash & 0x7FFFFFFF) % m_buckets.length
[
all
...]
SoftValueMap.java
164
final int
bucketIndex
= (keyHashCode & 0x7FFFFFFF) % buckets.length;
169
for (SoftEntry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
235
int
bucketIndex
= (keyHashCode & 0x7FFFFFFF) % buckets.length;
238
for (SoftEntry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
270
currentKeyEntry.m_softValue = new IndexedSoftReference (value, m_valueReferenceQueue,
bucketIndex
);
282
bucketIndex
= (keyHashCode & 0x7FFFFFFF) % buckets.length;
283
final SoftEntry bucketListHead = buckets [
bucketIndex
];
284
final SoftEntry newEntry = new SoftEntry (m_valueReferenceQueue, key, value, bucketListHead,
bucketIndex
);
285
buckets [
bucketIndex
] = newEntry;
302
final int
bucketIndex
= (keyHashCode & 0x7FFFFFFF) % buckets.length
[
all
...]
IntSet.java
86
final int
bucketIndex
= (key & 0x7FFFFFFF) % buckets.length;
89
for (Entry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
142
int
bucketIndex
= (key & 0x7FFFFFFF) % m_buckets.length;
146
for (Entry entry = buckets [
bucketIndex
]; entry != null; entry = entry.m_next)
162
bucketIndex
= (key & 0x7FFFFFFF) % buckets.length;
163
final Entry bucketListHead = buckets [
bucketIndex
];
165
buckets [
bucketIndex
] = newEntry;
/external/icu4c/test/intltest/
alphaindextst.cpp
369
int32_t
bucketIndex
= 0;
372
assertEquals("bucket index",
bucketIndex
, index.getBucketIndex());
377
const AlphabeticIndex::Bucket *bucket = immIndex->getBucket(
bucketIndex
);
380
" index=" +
bucketIndex
,
385
++
bucketIndex
;
389
TEST_ASSERT(immIndex->getBucketCount() ==
bucketIndex
);
391
TEST_ASSERT(immIndex->getBucket(
bucketIndex
) == NULL);
565
int32_t
bucketIndex
= index.getBucketIndex(UnicodeString((UChar)0x897f), status);
566
assertEquals("getBucketIndex(U+897F)", 0,
bucketIndex
); // underflow bucket
567
bucketIndex
= index.getBucketIndex("i", status)
[
all
...]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
LocalSource.java
81
int
bucketIndex
= cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID);
85
if (
bucketIndex
< 0) {
89
String id = constructId(internal, cursor.getString(
bucketIndex
));
166
int
bucketIndex
= cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID);
169
data.albumId = cursor.getString(
bucketIndex
);
PicasaSource.java
148
int
bucketIndex
= cursor.getColumnIndex(PICASA_ALBUM_ID);
151
if (
bucketIndex
>= 0) {
152
data.albumId = cursor.getString(
bucketIndex
);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLocaleUtilsTest.java
123
int
bucketIndex
= utils.getBucketIndex(name);
124
return utils.getBucketLabel(
bucketIndex
);
/external/icu4c/i18n/
alphaindex.cpp
657
int32_t
bucketIndex
= 1;
660
if (
bucketIndex
< buckets_->bucketList_->size()) {
661
nextBucket = getBucket(*buckets_->bucketList_,
bucketIndex
++);
675
if (
bucketIndex
< buckets_->bucketList_->size()) {
676
nextBucket = getBucket(*buckets_->bucketList_,
bucketIndex
++);
[
all
...]
/external/chromium_org/third_party/jsoncpp/overrides/include/json/
value.h
676
typedef unsigned int
BucketIndex
;
690
BucketIndex
itemIndex_;
691
BucketIndex
bucketIndex_;
702
BucketIndex
size() const;
706
bool reserveDelta(
BucketIndex
growth );
708
bool reserve(
BucketIndex
newItemCount );
720
BucketIndex
index,
721
BucketIndex
bucketIndex
);
723
ValueInternalLink *&getLastLinkInBucket(
BucketIndex
bucketIndex )
[
all
...]
/libcore/luni/src/main/native/
org_apache_harmony_xml_ExpatParser.cpp
367
int
bucketIndex
= hash & (BUCKET_COUNT - 1);
370
InternedString** bucket = buckets[
bucketIndex
];
394
buckets[
bucketIndex
] = bucket;
410
buckets[
bucketIndex
] = bucket;
[
all
...]
/external/emma/lib/
emma.jar
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.metadata_2.0.0.v20100601.jar
Completed in 1169 milliseconds