/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
CollationKeyTest.java | 32 collator.setStrength(Collator.PRIMARY); 45 collator.setStrength(Collator.PRIMARY); 56 collator.setStrength(Collator.PRIMARY); 67 collator.setStrength(Collator.PRIMARY); 79 collator.setStrength(Collator.PRIMARY); 92 collator.setStrength(Collator.PRIMARY);
|
CollatorTest.java | 46 assertTrue("a) Failed on primary difference", c.compare(o, o2) < 0); 59 assertTrue("a) Failed on primary expansion", 65 assertTrue("b) Failed on primary difference", c.compare(o, o2) < 0); 82 assertTrue("c) Failed on primary difference", c.compare(o, o2) < 0); 96 c.setStrength(Collator.PRIMARY); 99 assertTrue("d) Failed on primary difference", c.compare(o, o2) < 0); 140 assertTrue("a) Failed on primary difference", !c.equals("E", "F")); 148 assertTrue("b) Failed on primary difference", !c.equals("E", "F")); 156 assertTrue("c) Failed on primary difference", !c.equals("E", "F")); 163 c.setStrength(Collator.PRIMARY); [all...] |
RuleBasedCollatorTest.java | 84 coll.setStrength(Collator.PRIMARY);
|
/libcore/luni/src/test/java/libcore/java/text/ |
CollatorTest.java | 30 collator.setStrength(Collator.PRIMARY); 31 assertEquals(Collator.PRIMARY, collator.getStrength()); 48 mColl.setStrength(Collator.PRIMARY); 63 mColl.setStrength(Collator.PRIMARY); 99 coll.setStrength(Collator.PRIMARY);
|
OldCollationKeyTest.java | 30 collator.setStrength(Collator.PRIMARY);
|
/libcore/luni/src/main/java/java/text/ |
Collator.java | 36 * <li>PRIMARY strength: Typically, this is used to denote differences between 43 * the language. A secondary difference is ignored when there is a primary 50 * when there is a primary or secondary difference anywhere in the strings. 75 * // Get the Collator for US English and set its strength to PRIMARY 77 * usCollator.setStrength(Collator.PRIMARY); 131 public static final int PRIMARY = 0; 297 * @return the strength value, either PRIMARY, SECONDARY, TERTIARY or 326 * the strength value, either PRIMARY, SECONDARY, TERTIARY, or 360 case Collator.PRIMARY: 376 javaValue = Collator.PRIMARY; [all...] |
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
legacy_contacts.sql | 5 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account)); 10 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT); 11 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); 15 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,person INTEGER REFERENCES people(_id),UNIQUE(person, name)); 16 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries INTEGER); 17 CREATE TABLE fave_phone_changes (_id INTEGER PRIMARY KEY, old_phone TEXT, new_phone TEXT, change_timestamp TEXT); 18 CREATE TABLE faves (_id INTEGER PRIMARY KEY, ui_pos INTEGER, phone TEXT NOT NULL, nickname TEXT NOT NULL, photo TEXT NOT NULL, timestamp TEXT NOT NULL, pending_phone TEXT, pending_nickname TEXT, pending_photo TEXT); 24 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_account STRING,group_sync_id STRING); 30 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT NOT NULL,notes TEXT,should_sync INTEGER NOT NULL DEFAULT 0,system_id TEXT,UNIQUE(name,system_id,_sync_account)); 32 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NU (…) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameNormalizer.java | 32 sCompressingCollator.setStrength(Collator.PRIMARY);
|
/external/icu4c/test/intltest/ |
allcoll.cpp | 67 /* test primary > 17 */ 107 myCollation->setStrength(Collator::PRIMARY); 172 /* To compare them with just primary differences */ 173 coll->setStrength(Collator::PRIMARY);
|
ficoll.cpp | 65 // test primary > 4 80 myCollation->setStrength(Collator::PRIMARY);
|
escoll.cpp | 76 // test primary > 5 94 myCollation->setStrength(Collator::PRIMARY);
|
trcoll.cpp | 84 myCollation->setStrength(Collator::PRIMARY);
|
decoll.cpp | 87 // Primary Tertiary 127 myCollation->setStrength(Collator::PRIMARY);
|
mnkytst.cpp | 106 myCollator->setStrength(Collator::PRIMARY); 109 result = collationKey1.compareTo(collationKey2); // Primary 110 revResult = collationKey2.compareTo(collationKey1); // Primary 174 myCollator->setStrength(Collator::PRIMARY); 175 result = myCollator->compare(subs, subt); // Primary 176 revResult = myCollator->compare(subt, subs); // Primary
|
jacoll.cpp | 122 myCollation->setStrength(Collator::PRIMARY);
|
apicoll.cpp | 169 doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary difference"); 175 doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary difference"); 214 col->setStrength(Collator::PRIMARY); 217 doAssert((col->getStrength() == Collator::PRIMARY), "collation object's strength is not primary difference"); 222 doAssert((col->getStrength() != Collator::PRIMARY), "collation object's strength is primary difference"); 469 someCollators[index]->setStrength(Collator::PRIMARY); [all...] |
itercoll.cpp | 551 coll->setStrength(Collator::PRIMARY); 561 errln("Strength order for a primary strength collator should be the first 2 bytes");
|
/packages/providers/ContactsProvider/tests/assets/test1/ |
legacy_contacts.sql | 6 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account)); 12 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT); 14 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); 31 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,person INTEGER REFERENCES people(_id),UNIQUE(person, name)); 32 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries INTEGER); 33 CREATE TABLE fave_phone_changes (_id INTEGER PRIMARY KEY, old_phone TEXT, new_phone TEXT, change_timestamp TEXT); 34 CREATE TABLE faves (_id INTEGER PRIMARY KEY, ui_pos INTEGER, phone TEXT NOT NULL, nickname TEXT NOT NULL, photo TEXT NOT NULL, timestamp TEXT NOT NULL, pending_phone TEXT, pending_nickname TEXT, pending_photo TEXT); 40 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_account STRING,group_sync_id STRING); 47 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT NOT NULL,notes TEXT,should_sync INTEGER NOT NULL DEFAULT 0,system_id TEXT,UNIQUE(name,system_id,_sync_account)); 51 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NU (…) [all...] |
/packages/providers/ContactsProvider/tests/assets/testSynced/ |
legacy_contacts.sql | 5 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account)); 11 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT); 12 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); 18 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,person INTEGER REFERENCES people(_id),UNIQUE(person, name)); 19 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries INTEGER); 21 CREATE TABLE fave_phone_changes (_id INTEGER PRIMARY KEY, old_phone TEXT, new_phone TEXT, change_timestamp TEXT); 22 CREATE TABLE faves (_id INTEGER PRIMARY KEY, ui_pos INTEGER, phone TEXT NOT NULL, nickname TEXT NOT NULL, photo TEXT NOT NULL, timestamp TEXT NOT NULL, pending_phone TEXT, pending_nickname TEXT, pending_photo TEXT); 28 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_account STRING,group_sync_id STRING); 40 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT NOT NULL,notes TEXT,should_sync INTEGER NOT NULL DEFAULT 0,system_id TEXT,UNIQUE(name,system_id,_sync_account)); 42 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NU (…) [all...] |
/external/collada/include/1.4/dom/ |
domFx_surface_init_volume_common.h | 96 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PRIMARY; } 183 * Gets the primary element. 184 * @return a daeSmartRef to the primary element.
|
domFx_surface_init_cube_common.h | 90 * Init all primary mip level 0 subsurfaces with one compound image such as 97 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PRIMARY; } 300 * Init all primary mip level 0 subsurfaces with one compound image such as 331 * Gets the primary element. 332 * @return a daeSmartRef to the primary element.
|
/external/icu4c/i18n/unicode/ |
tblcoll.h | 346 * . myCollation->setStrength(Collator::PRIMARY); 348 * . // (no primary difference between "abc" and "ABC") 569 * U_PRIMARY_TOO_LONG_ERROR if the primary for the variable top has more than two bytes 580 * U_PRIMARY_TOO_LONG_ERROR if the primary for the variable top has more than two bytes 653 * <p>E.g. with strength == PRIMARY, the secondary and tertiary difference 707 /* primary strength increment */ 713 /* mask off anything but primary order */ 721 /* use only the primary difference */ 723 /* use only the primary and secondary difference */ 725 /* primary order shift * [all...] |
coll.h | 123 * Five strengths are provided: <code>PRIMARY</code>, <code>SECONDARY</code>, 126 * For example, in Czech, "e" and "f" are considered primary differences, 133 * //Get the Collator for US English and set its strength to PRIMARY 136 * usCollator->setStrength(Collator::PRIMARY); 138 * cout << "'abc' and 'ABC' strings are equivalent with strength PRIMARY" << endl; 183 * Base letter represents a primary difference. Set comparison level to 184 * PRIMARY to ignore secondary and tertiary differences.<br> 186 * Example of primary difference, "abc" < "abd" 209 PRIMARY = 0, 572 * <p>E.g. with strength == PRIMARY, the secondary and tertiary differenc [all...] |
/frameworks/base/core/java/android/widget/ |
AlphabetIndexer.java | 97 mCollator.setStrength(java.text.Collator.PRIMARY);
|
/external/webkit/LayoutTests/storage/ |
hash-change-with-xhr.js | 4 var CREATE_HEALTH_TABLE = 'CREATE TABLE IF NOT EXISTS health (key VARCHAR(16) PRIMARY KEY);';
|