/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/ |
2-1.c | 10 * Upon key creation, the value NULL shall be associated with the new key in all active threads. 15 * 1. Create a key 28 pthread_key_t key; local 31 /* Verify that the value associated with "key" in a new thread is NULL */ 32 rc = pthread_getspecific(key); 38 if (pthread_key_create(&key, NULL) != 0) { 42 /* Verify that the value associated with "key" after it is newly created is 44 rc = pthread_getspecific(key);
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
NoCache.java | 30 public Entry get(String key) { 35 public void put(String key, Entry entry) { 39 public void invalidate(String key, boolean fullExpire) { 43 public void remove(String key) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
PropertyService.java | 27 * Get the current value of |key|. 28 * @return value of |key|, if key exists; |defaultValue| or empty string otherwise 31 String get(String key, String defaultValue); 34 * Set the value for |key|. 35 * @throws IllegalArgumentException if the key exceeds 32 characters 38 void set(String key, String val); 41 * Get the current value of |key|. 42 * @return value of |key|, if key exists; |defaultValue| otherwis [all...] |
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
MutableSelection.java | 53 * @param <K> Selection key type. @see {@link StorageStrategy} for supported types. 58 public boolean add(@NonNull K key) { 59 return super.add(key); 63 public boolean remove(@NonNull K key) { 64 return super.remove(key);
|
/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_pla/include/ |
platform_lib_property_service.h | 38 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value);
|
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_pla/include/ |
platform_lib_property_service.h | 38 int platform_lib_abstraction_property_get(const char *key, char *value, const char *default_value);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/ |
I.java | 21 String find(String key);
|
/packages/apps/Camera2/src/com/android/camera/device/ |
SingleDeviceShutdownListener.java | 25 * represented by the provided key is completely shut down. 27 public void onShutdown(TKey key);
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
WidgetDAO.java | 27 /** Suffix for a key to a preference that stores the instance count for a given widget type. */ 38 final String key = widgetProviderClass.getSimpleName() + WIDGET_COUNT; local 39 final int oldCount = prefs.getInt(key, 0); 41 prefs.edit().remove(key).apply(); 43 prefs.edit().putInt(key, count).apply();
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/content/ |
SharedPreferences.java | 21 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key);
|
/test/framework/harnesses/host_controller/tfc/ |
api_message.py | 30 KeyError if any key in kwargs is not in all_keys. 32 for key, value in kwargs.iteritems(): 33 if key not in all_keys: 34 raise KeyError(key) 35 setattr(self, key, value)
|
/tools/test/connectivity/tools/lab/health/ |
constant_health_analyzer_wrapper.py | 22 """Extends ConstantHealthAnalyzer to check for every key in a dictionary 25 key: a string representing a key to a response dictionary, which is 27 _constant: constant value to compare every value in metric_results[key] to 37 for key in metric_results[self.key]: 39 key, self._constant).is_healthy(metric_results[self.key]):
|
custom_health_analyzer.py | 22 def __init__(self, key): 23 self.key = key 35 IP(metric_result[self.key])
|
/external/guava/guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ |
AtomicLongMapTest.java | 56 String key = "key"; local 58 long before = map.get(key); 59 long result = map.incrementAndGet(key); 60 long after = map.get(key); 66 assertTrue(map.containsKey(key)); 67 assertEquals(ITERATIONS, (int) map.get(key)); 72 String key = "key"; local 73 assertEquals(0L, map.get(key)); 89 String key = "key"; local 105 String key = "key"; local 122 String key = "key"; local 138 String key = "key"; local 155 String key = "key"; local 171 String key = "key"; local 188 String key = "key"; local 205 String key = "key"; local 223 String key = "key"; local 240 String key = "key"; local 258 String key = "key"; local 275 String key = "key"; local 316 String key = "key"; local 350 String key = "key"; local 368 String key = "key"; local 386 String key = "key"; local 404 String key = "key"; local 428 String key = "key"; local 447 String key = "key"; local 472 String key = "key"; local 493 Object key = new Object(); local [all...] |
/external/dng_sdk/source/ |
dng_parse_utils.h | 47 const char * LookupNewSubFileType (uint32 key); 49 const char * LookupCompression (uint32 key); 51 const char * LookupPredictor (uint32 key); 53 const char * LookupSampleFormat (uint32 key); 55 const char * LookupPhotometricInterpretation (uint32 key); 57 const char * LookupOrientation (uint32 key); 59 const char * LookupResolutionUnit (uint32 key); 61 const char * LookupCFAColor (uint32 key); 63 const char * LookupSensingMethod (uint32 key); 65 const char * LookupExposureProgram (uint32 key); [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_sf.c | 50 struct brw_sf_prog_key *key ) 64 c.key = *key; 66 if (c.key.do_point_coord) { 85 switch (key->primitive) { 96 if (key->do_point_sprite) 126 &c.key, sizeof(c.key), 139 struct brw_sf_prog_key key; local 158 memset(&key, 0, sizeof(key)) [all...] |
/frameworks/base/core/java/android/os/ |
SystemProperties.java | 34 * store contains a list of string key-value pairs. 61 private static void onKeyAccess(String key) { 64 if (key != null && key.startsWith("ro.")) { 66 MutableInt numReads = sRoReads.getOrDefault(key, null); 69 sRoReads.put(key, numReads); 74 + ") of a read-only system property '" + key + "'", 81 private static native String native_get(String key); 82 private static native String native_get(String key, String def); 83 private static native int native_get_int(String key, int def) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/cgi/ |
cgi2.py | 17 for key in form.keys():
18 value = form[key].value
19 print "<p>", cgi.escape(key), ":", cgi.escape(value)
|
/external/boringssl/src/crypto/fipsmodule/aes/ |
internal.h | 47 AES_KEY *key); 49 AES_KEY *key); 50 void aes_hw_encrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key); 51 void aes_hw_decrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key); 53 const AES_KEY *key, uint8_t *ivec, const int enc); 55 const AES_KEY *key, const uint8_t ivec[16]); 64 AES_KEY *key) { 69 AES_KEY *key) { 74 const AES_KEY *key) { 79 const AES_KEY *key) { [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
CipherKeyGenerator.java | 6 * The base class for symmetric, or secret, cipher key generators. 14 * initialise the key generator. 16 * @param param the parameters to be used for key generation 26 * generate a secret key. 28 * @return a byte array containing the key value. 32 byte[] key = new byte[strength]; 34 random.nextBytes(key); 36 return key;
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
BindingKey.java | 21 * A value object that pairs a {@link Key} with the style of its binding (i.e., whether it's a 29 /** The style of binding that makes a {@link Key} available. */ 34 static BindingKey create(Kind kind, Key key) { 35 return new AutoValue_BindingKey(kind, key); 39 abstract Key key(); method in class:BindingKey
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
DiskCache.java | 3 import com.bumptech.glide.load.Key; 12 * An interface to actually write data to a key in the disk cache. 25 * Get the cache for the value at the given key. 32 * @param key The key in the cache. 33 * @return An InputStream representing the data at key at the time get is called. 35 File get(Key key); 38 * Write to a key in the cache. {@link Writer} is used so that the cache implementation can perform actions after 41 * @param key The key to write to [all...] |
DiskCacheAdapter.java | 3 import com.bumptech.glide.load.Key; 12 public File get(Key key) { 18 public void put(Key key, Writer writer) { 23 public void delete(Key key) {
|
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
HttpsServiceConnectionSEIgnoringConnectionClose.java | 15 public void setRequestProperty(String key, String value) { 18 if ("Connection".equalsIgnoreCase(key) && "close".equalsIgnoreCase(value)) { 21 super.setRequestProperty(key, value);
|
/external/mesa3d/src/gallium/auxiliary/translate/ |
translate.c | 37 struct translate *translate_create( const struct translate_key *key ) 42 translate = translate_sse2_create( key ); 49 return translate_generic_create( key );
|