/system/core/include/utils/ |
KeyedVector.h | 34 template <typename KEY, typename VALUE> 38 typedef KEY key_type; 68 const VALUE& valueFor(const KEY& key) const; 70 const KEY& keyAt(size_t index) const; 71 ssize_t indexOfKey(const KEY& key) const; 78 VALUE& editValueFor(const KEY& key); 85 ssize_t add(const KEY& key, const VALUE& item) [all...] |
/external/chromium_org/net/data/ssl/scripts/ |
generate-android-test-keys.sh | 20 # Generate a single 2048-bits RSA private key in PKCS#8 format. 21 KEY=android-test-key-rsa 23 -out out/$KEY.pem \ 26 # Generate a 2048-bits DSA private key in PKCS#8 format, 27 # as well as its public key in X.509 DER format. 28 KEY=android-test-key-dsa 30 -out out/$KEY.param.pem \ 34 -out out/$KEY.pem [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
SystemPropertiesTest.java | 26 private static final String KEY = "com.android.frameworks.coretests"; 32 SystemProperties.set(KEY, ""); 33 value = SystemProperties.get(KEY, "default"); 36 SystemProperties.set(KEY, "AAA"); 37 value = SystemProperties.get(KEY, "default"); 40 value = SystemProperties.get(KEY); 43 SystemProperties.set(KEY, ""); 44 value = SystemProperties.get(KEY, "default"); 47 value = SystemProperties.get(KEY);
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
KeyedVector.h | 33 template <typename KEY, typename VALUE> 37 typedef KEY key_type; 64 const VALUE& valueFor(const KEY& key) const; 66 const KEY& keyAt(size_t index) const; 67 ssize_t indexOfKey(const KEY& key) const; 73 VALUE& editValueFor(const KEY& key); 80 ssize_t add(const KEY& key, const VALUE& item) [all...] |
/ndk/sources/host-tools/make-3.81/ |
hash.h | 38 typedef unsigned long (*hash_func_t) __P((void const *key)); 64 void **hash_find_slot __P((struct hash_table *ht, void const *key)); 65 void *hash_find_item __P((struct hash_table *ht, void const *key)); 85 #define STRING_HASH_1(KEY, RESULT) do { \ 86 unsigned char const *_key_ = (unsigned char const *) (KEY) - 1; \ 90 #define return_STRING_HASH_1(KEY) do { \ 92 STRING_HASH_1 ((KEY), _result_); \ 96 #define STRING_HASH_2(KEY, RESULT) do { \ 97 unsigned char const *_key_ = (unsigned char const *) (KEY) - 1; \ 101 #define return_STRING_HASH_2(KEY) do { [all...] |
/frameworks/base/core/tests/systemproperties/src/android/os/ |
SystemPropertiesTest.java | 25 private static final String KEY = "sys.testkey"; 40 SystemProperties.set(KEY, Long.toString(i)); 41 long ret = SystemProperties.getLong(KEY, -1); 50 SystemProperties.set(KEY, ""); 51 value = SystemProperties.get(KEY, "default"); 54 SystemProperties.set(KEY, "SA"); 55 value = SystemProperties.get(KEY, "default"); 58 value = SystemProperties.get(KEY); 61 SystemProperties.set(KEY, ""); 62 value = SystemProperties.get(KEY, "default") [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
BundleTest.java | 45 public static final String KEY = "Bruce Lee"; 65 b1.putBoolean(KEY, true); 69 assertTrue(b2.getBoolean(KEY)); 89 mBundle.putBoolean(KEY, true); 109 assertFalse(mBundle.containsKey(KEY)); 110 mBundle.putBoolean(KEY, true); 111 assertTrue(mBundle.containsKey(KEY)); 113 assertTrue(mBundle.containsKey(KEY)); 119 assertNull(mBundle.get(KEY)); 120 mBundle.putBoolean(KEY, true) [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrTBSearch.h | 14 template <typename ELEM, typename KEY> 15 int GrTBSearch(const ELEM array[], int count, KEY target) {
|
/external/skia/src/gpu/ |
GrTBSearch.h | 14 template <typename ELEM, typename KEY> 15 int GrTBSearch(const ELEM array[], int count, KEY target) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ConcurrentHashMultisetTest.java | 52 private static final String KEY = "puppies"; 70 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(COUNT)); 73 assertEquals(COUNT, multiset.count(KEY)); 78 expect(backingMap.get(KEY)).andReturn(null); 81 assertEquals(0, multiset.count(KEY)); 88 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(INITIAL_COUNT)); 90 assertEquals(INITIAL_COUNT, multiset.add(KEY, 0)); 97 expect(backingMap.get(KEY)).andReturn(null); 98 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(null); 101 assertEquals(0, multiset.add(KEY, COUNT)) [all...] |
/external/libselinux/src/ |
selinux_internal.h | 113 /* Pthread key macros */ 114 #define __selinux_key_create(KEY, DESTRUCTOR) \ 117 pthread_key_create(KEY, DESTRUCTOR); \ 120 #define __selinux_key_delete(KEY) \ 123 pthread_key_delete(KEY); \ 126 #define __selinux_setspecific(KEY, VALUE) \ 129 pthread_setspecific(KEY, VALUE); \
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
RecordLocationPreference.java | 30 public static final String KEY = "pref_camera_recordlocation_key"; 50 String value = pref.getString(KEY, VALUE_NONE);
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
SerializerTests.java | 34 private static final String KEY = "Key"; 44 s.writeStringValue(values, KEY, Tags.COMPOSE_ACCOUNT_ID); 45 values.put(KEY, ID); 46 s.writeStringValue(values, KEY, Tags.COMPOSE_ACCOUNT_ID);
|
/external/chromium_org/third_party/openssl/openssl/crypto/bf/ |
bf_locl.h | 164 #define BF_ENC(LL,R,KEY,Pi) (\ 165 LL^=KEY[Pi], \ 166 t= KEY[BF_ROUNDS+2 + 0 + ((R>>24)&0xFF)], \ 167 t+= KEY[BF_ROUNDS+2 + 256 + ((R>>16)&0xFF)], \ 168 t^= KEY[BF_ROUNDS+2 + 512 + ((R>>8 )&0xFF)], \ 169 t+= KEY[BF_ROUNDS+2 + 768 + ((R )&0xFF)], \
|
/external/openssl/crypto/bf/ |
bf_locl.h | 164 #define BF_ENC(LL,R,KEY,Pi) (\ 165 LL^=KEY[Pi], \ 166 t= KEY[BF_ROUNDS+2 + 0 + ((R>>24)&0xFF)], \ 167 t+= KEY[BF_ROUNDS+2 + 256 + ((R>>16)&0xFF)], \ 168 t^= KEY[BF_ROUNDS+2 + 512 + ((R>>8 )&0xFF)], \ 169 t+= KEY[BF_ROUNDS+2 + 768 + ((R )&0xFF)], \
|
/external/chromium_org/components/test/data/web_database/ |
version_25.sql | 3 CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY,value LONGVARCHAR); 7 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,show_in_default_list INTEGER,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,autogenerate_keyword INTEGER DEFAULT 0,logo_id INTEGER DEFAULT 0); 11 CREATE TABLE autofill (name VARCHAR, value VARCHAR, value_lower VARCHAR,pair_id INTEGER PRIMARY KEY, count INTEGER DEFAULT 1); 13 CREATE TABLE autofill_profiles ( label VARCHAR,unique_id INTEGER PRIMARY KEY, first_name VARCHAR,middle_name VARCHAR, last_name VARCHAR, email VARCHAR,company_name VARCHAR, address_line_1 VARCHAR, address_line_2 VARCHAR,city VARCHAR, state VARCHAR, zipcode VARCHAR, country VARCHAR,phone VARCHAR, fax VARCHAR); 14 CREATE TABLE credit_cards ( label VARCHAR, unique_id INTEGER PRIMARY KEY,name_on_card VARCHAR, type VARCHAR, card_number VARCHAR,expiration_month INTEGER, expiration_year INTEGER,verification_code VARCHAR, billing_address VARCHAR,shipping_address VARCHAR, card_number_encrypted BLOB,verification_code_encrypted BLOB); 15 CREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token BLOB);
|
version_26.sql | 3 CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY,value LONGVARCHAR); 7 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,show_in_default_list INTEGER,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,autogenerate_keyword INTEGER DEFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0); 11 CREATE TABLE autofill (name VARCHAR, value VARCHAR, value_lower VARCHAR,pair_id INTEGER PRIMARY KEY, count INTEGER DEFAULT 1); 13 CREATE TABLE autofill_profiles ( label VARCHAR,unique_id INTEGER PRIMARY KEY, first_name VARCHAR,middle_name VARCHAR, last_name VARCHAR, email VARCHAR,company_name VARCHAR, address_line_1 VARCHAR, address_line_2 VARCHAR,city VARCHAR, state VARCHAR, zipcode VARCHAR, country VARCHAR,phone VARCHAR, fax VARCHAR); 14 CREATE TABLE credit_cards ( label VARCHAR, unique_id INTEGER PRIMARY KEY,name_on_card VARCHAR, type VARCHAR, card_number VARCHAR,expiration_month INTEGER, expiration_year INTEGER,verification_code VARCHAR, billing_address VARCHAR,shipping_address VARCHAR, card_number_encrypted BLOB,verification_code_encrypted BLOB); 15 CREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token BLOB);
|
version_48.sql | 3 CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR); 8 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,show_in_default_list INTEGER,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR,last_modified INTEGER DEFAULT 0,sync_guid VARCHAR,alternate_urls VARCHAR); 9 CREATE TABLE autofill (name VARCHAR, value VARCHAR, value_lower VARCHAR, pair_id INTEGER PRIMARY KEY, count INTEGER DEFAULT 1); 10 CREATE TABLE credit_cards ( guid VARCHAR PRIMARY KEY, name_on_card VARCHAR, expiration_month INTEGER, expiration_year INTEGER, card_number_encrypted BLOB, date_modified INTEGER NOT NULL DEFAULT 0); 12 CREATE TABLE autofill_profiles ( guid VARCHAR PRIMARY KEY, company_name VARCHAR, address_line_1 VARCHAR, address_line_2 VARCHAR, city VARCHAR, state VARCHAR, zipcode VARCHAR, country VARCHAR, country_code VARCHAR, date_modified INTEGER NOT NULL DEFAULT 0); 19 CREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token BLOB);
|
version_27.sql | 3 CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY,value LONGVARCHAR); 7 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,show_in_default_list INTEGER,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,autogenerate_keyword INTEGER DEFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0); 13 CREATE TABLE autofill (name VARCHAR, value VARCHAR, value_lower VARCHAR, pair_id INTEGER PRIMARY KEY, count INTEGER DEFAULT 1); 15 CREATE TABLE autofill_profiles ( label VARCHAR, unique_id INTEGER PRIMARY KEY, first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, email VARCHAR, company_name VARCHAR, address_line_1 VARCHAR, address_line_2 VARCHAR, city VARCHAR, state VARCHAR, zipcode VARCHAR, country VARCHAR, phone VARCHAR, fax VARCHAR); 16 CREATE TABLE credit_cards ( label VARCHAR, unique_id INTEGER PRIMARY KEY, name_on_card VARCHAR, type VARCHAR, card_number VARCHAR, expiration_month INTEGER, expiration_year INTEGER, verification_code VARCHAR, billing_address VARCHAR, shipping_address VARCHAR, card_number_encrypted BLOB, verification_code_encrypted BLOB); 17 CREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token BLOB);
|
version_29.sql | 3 CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY,value LONGVARCHAR); 8 CREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,show_in_default_list INTEGER,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,autogenerate_keyword INTEGER DEFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR); 15 CREATE TABLE autofill (name VARCHAR, value VARCHAR, value_lower VARCHAR, pair_id INTEGER PRIMARY KEY, count INTEGER DEFAULT 1); 17 CREATE TABLE autofill_profiles ( label VARCHAR, unique_id INTEGER PRIMARY KEY, first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, email VARCHAR, company_name VARCHAR, address_line_1 VARCHAR, address_line_2 VARCHAR, city VARCHAR, state VARCHAR, zipcode VARCHAR, country VARCHAR, phone VARCHAR, fax VARCHAR); 19 CREATE TABLE credit_cards ( label VARCHAR, unique_id INTEGER PRIMARY KEY, name_on_card VARCHAR, type VARCHAR, card_number VARCHAR, expiration_month INTEGER, expiration_year INTEGER, verification_code VARCHAR, billing_address VARCHAR, shipping_address VARCHAR, card_number_encrypted BLOB, verification_code_encrypted BLOB); 21 CREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token BLOB);
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
SimpleBackupSharedPreference.java | 34 private static final String KEY = "key"; 37 public SimpleBackupSharedPreference(final String key, final Object value) { 38 mKey = key; 59 json.put(KEY, mKey); 83 return new SimpleBackupSharedPreference(json.getString(KEY), value);
|
/frameworks/compile/mclinker/include/mcld/LD/ |
BranchIsland.h | 103 /** \class Key 104 * \brief Key to recognize a stub in the island. 107 class Key 110 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend) 114 ~Key() 125 size_t operator() (const Key& KEY) const 127 llvm::StringRef sym_name(KEY.symbol()->name()); 129 return (size_t((uintptr_t)KEY.prototype())) ^ 131 KEY.addend() [all...] |
/external/chromium_org/third_party/bintrees/bintrees/ |
ctrees.c | 15 #define KEY(node) (node->key) 25 ct_new_node(PyObject *key, PyObject *value, int xdata) 29 KEY(new_node) = key; 30 Py_INCREF(key); 44 Py_XDECREF(KEY(node)); 70 tmp = KEY(node1); 71 KEY(node1) = KEY(node2) [all...] |
/external/elfutils/ |
Makefile.am | 36 EXTRA_DIST = elfutils.spec GPG-KEY NOTES EXCEPTION
|
/development/build/tools/ |
mk_sdk_repo_xml.sh | 257 local KEY VALUE 261 KEY="$1" 263 NODE="${KEY%%/*}" 264 KEY="${KEY##*/}" 265 if [[ "$NODE" == "$KEY" ]]; then 275 if needs_full_revision "$ELEMENT" "$KEY" ${FULL_REVISIONS[@]}; then 276 echo "$EXTRA_SPACE <sdk:$KEY>" >> "$OUT" 278 echo "$EXTRA_SPACE </sdk:$KEY>" >> "$OUT" 280 echo "$EXTRA_SPACE <sdk:$KEY>$VALUE</sdk:$KEY>" >> "$OUT [all...] |