/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UResource.java | 18 * ICU resource bundle key and value types. 22 * Represents a resource bundle item's key string. 27 public static final class Key implements CharSequence, Cloneable, Comparable<Key> { 28 // Stores a reference to the resource bundle key string bytes array, 29 // with an offset of the key, to avoid creating a String object 31 // Alternatively, we could try to always just get the key String object, 39 * Constructs an empty resource key string object. 41 public Key() {} 43 private Key(byte[] keyBytes, int keyOffset, int keyLength) [all...] |
/external/llvm/include/llvm/MC/ |
SubtargetFeature.h | 49 /// SubtargetFeatureKV - Used to provide key value pairs for feature and 53 const char *Key; // K-V key string 60 return StringRef(Key) < S; 66 /// SubtargetInfoKV - Used to provide key value pairs for CPU and arbitrary 70 const char *Key; // K-V key string 75 return StringRef(Key) < S;
|
/external/skia/src/gpu/text/ |
GrTextBlobCache.cpp | 15 SkTDynamicHash<GrAtlasTextBlob, GrAtlasTextBlob::Key>::Iter iter(&fCache);
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/tokens/ |
KeyToken.java | 28 return ID.Key;
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
TokenCache.java | 48 private static class Key { 54 public Key(Account account, String tokenType, String packageName, byte[] sigDigest) { 63 if (o != null && o instanceof Key) { 64 Key cacheKey = (Key) o; 83 private static class TokenLruCache extends LruCache<Key, Value> { 86 private final List<Key> mKeys; 92 public void add(Key k) { 97 for (Key k : mKeys) { 116 protected int sizeOf(Key k, Value v) [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
MockSignatureSpi.java | 21 import java.security.Key; 33 public void checkKeyType(Key key) throws InvalidKeyException { 34 if (!(key instanceof MockPrivateKey)) { 42 public void checkKeyType(Key key) throws InvalidKeyException { 43 if (!(key instanceof MockPrivateKey2)) { 52 public void checkKeyType(Key key) throws InvalidKeyException {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyFactorySpiTest.java | 24 import java.security.Key; 62 protected KeySpec engineGetKeySpec(Key key, Class keySpec){ 65 protected Key engineTranslateKey(Key key){
|
/libcore/ojluni/src/main/java/javax/crypto/ |
NullCipherSpi.java | 69 protected void engineInit(int mode, Key key, SecureRandom random) {} 71 protected void engineInit(int mode, Key key, 75 protected void engineInit(int mode, Key key, 109 protected int engineGetKeySize(Key key)
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
KeyboardAccessibilityDelegate.java | 30 import com.android.inputmethod.keyboard.Key; 54 private Key mLastHoverKey; 88 protected final void setLastHoverKey(final Key key) { 89 mLastHoverKey = key; 92 protected final Key getLastHoverKey() { 155 * Get a key that a hover event is on. 158 * @return key The key that the <code>event</code> is on. 160 protected final Key getHoverKeyOf(final MotionEvent event) 197 final Key key = getHoverKeyOf(event); local 214 final Key key = getHoverKeyOf(event); local 242 final Key key = getHoverKeyOf(event); local [all...] |
KeyboardAccessibilityNodeProvider.java | 31 import com.android.inputmethod.keyboard.Key; 42 * {@link AccessibilityEvent}s for individual {@link Key}s. 102 private Key getKeyOf(final int virtualViewId) { 106 final List<Key> sortedKeys = mKeyboard.getSortedKeys(); 114 private int getVirtualViewIdOf(final Key key) { 118 final List<Key> sortedKeys = mKeyboard.getSortedKeys(); 121 if (sortedKeys.get(index) == key) { 130 * Creates and populates an {@link AccessibilityEvent} for the specified key 133 * @param key A key on the host keyboard view 211 final Key key = sortedKeys.get(index); local 222 final Key key = getKeyOf(virtualViewId); local 267 final Key key = getKeyOf(virtualViewId); local [all...] |
/external/guice/core/src/com/google/inject/internal/ |
ProvisionListenerCallbackStore.java | 27 import com.google.inject.Key; 37 * {@link ProvisionListenerStackCallback} for each key. 45 private static final Set<Key<?>> INTERNAL_BINDINGS = 46 ImmutableSet.of(Key.get(Injector.class), Key.get(Stage.class), Key.get(Logger.class)); 53 public ProvisionListenerStackCallback<?> load(KeyBinding key) { 54 return create(key.binding); 62 /** Returns a new {@link ProvisionListenerStackCallback} for the key. 75 * Purges a key from the cache. Use this only if the type is not actually valid fo 111 final Key<?> key; field in class:ProvisionListenerCallbackStore.KeyBinding [all...] |
/external/guice/extensions/service/src/com/google/inject/service/ |
CompositeService.java | 24 import com.google.inject.Key; 41 private final Set<Key<? extends Service>> services = Sets.newLinkedHashSet(); 58 return add(Key.get(service)); 61 public CompositeService add(Key<? extends Service> service) { 77 final List<Key<? extends Service>> services = ImmutableList.copyOf(this.services); 82 for (Key<? extends Service> service : services) { 91 for (Key<? extends Service> service : services) {
|
/external/clang/lib/Lex/ |
HeaderMap.cpp | 38 uint32_t Key; // Offset (into strings) of key. 133 /// this return a bucket with an empty key (0). 136 Result.Key = HMAP_EmptyBucketKey; 150 Result.Key = getEndianAdjustedWord(BucketPtr->Key); 187 if (B.Key == HMAP_EmptyBucketKey) continue; 189 const char *Key = getString(B.Key); 192 fprintf(stderr, " %d. %s -> '%s' '%s'\n", i, Key, Prefix, Suffix) [all...] |
/external/v8/src/compiler/ |
node-cache.cc | 23 template <typename Key, typename Hash, typename Pred> 24 struct NodeCache<Key, Hash, Pred>::Entry { 25 Key key_; 30 template <typename Key, typename Hash, typename Pred> 31 bool NodeCache<Key, Hash, Pred>::Resize(Zone* zone) { 63 template <typename Key, typename Hash, typename Pred> 64 Node** NodeCache<Key, Hash, Pred>::Find(Zone* zone, Key key) { 65 size_t hash = hash_(key); [all...] |
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
stochastic_linear_ranker.h | 41 template<class Key = std::string, class Hash = std::unordered_map<std::string, double> > 169 void LoadWeights(const SparseWeightVector<Key, Hash> &model) { 173 void SaveWeights(SparseWeightVector<Key, Hash> *model) { 177 double ScoreSample(const SparseWeightVector<Key, Hash> &sample) { 201 int UpdateClassifier(const SparseWeightVector<Key, Hash> &positive, 202 const SparseWeightVector<Key, Hash> &negative); 205 SparseWeightVector<Key, Hash> weight_; 221 SparseWeightVector<Key, Hash> current_negative_; 235 void UpdateSubGradient(const SparseWeightVector<Key, Hash> &positive, 236 const SparseWeightVector<Key, Hash> &negative [all...] |
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
KeyboardTest.java | 25 import android.inputmethodservice.Keyboard.Key; 32 Key nonStickyKey = null; 33 Key stickyKey = null; 34 // Indirectly instantiate Keyboard.Key with XML resources. 36 for (final Key key : keyboard.getKeys()) { 37 if (!key.sticky) { 38 nonStickyKey = key; 42 for (final Key key : keyboard.getModifierKeys()) [all...] |
/external/google-breakpad/src/processor/ |
map_serializers.h | 52 template<typename Key, typename Value> 56 size_t SizeOf(const std::map<Key, Value> &m) const; 62 char* Write(const std::map<Key, Value> &m, char* dest) const; 69 char* Serialize(const std::map<Key, Value> &m, unsigned int *size) const; 72 SimpleSerializer<Key> key_serializer_; 130 // Serializer for RangeMap's key and Range::base_.
|
/external/guice/core/src/com/google/inject/spi/ |
Dependency.java | 24 import com.google.inject.Key; 42 private final Key<T> key; field in class:Dependency 46 Dependency(InjectionPoint injectionPoint, Key<T> key, boolean nullable, int parameterIndex) { 48 this.key = checkNotNull(key, "key"); 57 public static <T> Dependency<T> get(Key<T> key) { [all...] |
/frameworks/base/tools/split-select/ |
TestRules.cpp | 27 const Rule EqRule(Rule::Key key, long value) { 30 rule.key = key; 35 const Rule GtRule(Rule::Key key, long value) { 38 rule.key = key; 43 const Rule LtRule(Rule::Key key, long value) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/ |
standard_policies.hpp | 58 template<typename Key> 62 typedef std::tr1::hash<Key> type; 66 template<typename Key> 70 typedef std::equal_to<Key> type; 134 template<typename Key>
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/ |
standard_policies.hpp | 58 template<typename Key> 62 typedef std::tr1::hash<Key> type; 66 template<typename Key> 70 typedef std::equal_to<Key> type; 134 template<typename Key>
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/ |
standard_policies.hpp | 58 template<typename Key> 62 typedef std::tr1::hash<Key> type; 66 template<typename Key> 70 typedef std::equal_to<Key> type; 134 template<typename Key>
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
pstore.h | 342 virtual HRESULT WINAPI CreateType(PST_KEY Key,const GUID *pType,PPST_TYPEINFO pInfo,DWORD dwFlags) = 0; 343 virtual HRESULT WINAPI GetTypeInfo(PST_KEY Key,const GUID *pType,PPST_TYPEINFO *ppInfo,DWORD dwFlags) = 0; 344 virtual HRESULT WINAPI DeleteType(PST_KEY Key,const GUID *pType,DWORD dwFlags) = 0; 345 virtual HRESULT WINAPI CreateSubtype(PST_KEY Key,const GUID *pType,const GUID *pSubtype,PPST_TYPEINFO pInfo,PPST_ACCESSRULESET pRules,DWORD dwFlags) = 0; 346 virtual HRESULT WINAPI GetSubtypeInfo(PST_KEY Key,const GUID *pType,const GUID *pSubtype,PPST_TYPEINFO *ppInfo,DWORD dwFlags) = 0; 347 virtual HRESULT WINAPI DeleteSubtype(PST_KEY Key,const GUID *pType,const GUID *pSubtype,DWORD dwFlags) = 0; 348 virtual HRESULT WINAPI ReadAccessRuleset(PST_KEY Key,const GUID *pType,const GUID *pSubtype,PPST_ACCESSRULESET *ppRules,DWORD dwFlags) = 0; 349 virtual HRESULT WINAPI WriteAccessRuleset(PST_KEY Key,const GUID *pType,const GUID *pSubtype,PPST_ACCESSRULESET pRules,DWORD dwFlags) = 0; 350 virtual HRESULT WINAPI EnumTypes(PST_KEY Key,DWORD dwFlags,IEnumPStoreTypes **ppenum) = 0; 351 virtual HRESULT WINAPI EnumSubtypes(PST_KEY Key,const GUID *pType,DWORD dwFlags,IEnumPStoreTypes **ppenum) = 0 [all...] |
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/ |
standard_policies.hpp | 58 template<typename Key> 62 typedef std::tr1::hash<Key> type; 66 template<typename Key> 70 typedef std::equal_to<Key> type; 134 template<typename Key>
|
/external/guice/core/test/com/google/inject/ |
BindingTest.java | 123 * This test ensures that the asEagerSingleton() scoping applies to the key, 124 * not to what the key is linked to. 242 final Key<Object> s = new Key<Object>(named("s")) {}; 243 final Key<Object> i = new Key<Object>(named("i")) {}; 275 "1) T cannot be used as a key; It is not fully specified.", 277 "2) T cannot be used as a key; It is not fully specified.", 323 final Key<Object> d = Key.get(Object.class, named("D")); // default scopin [all...] |