/external/tensorflow/tensorflow/core/kernels/ |
H A D | stateless_random_ops.cc | 68 random::PhiloxRandom::Key key; variable 70 key[0] = 0x3ec8f720; 71 key[1] = 0x02461e29; 76 const auto mix = random::PhiloxRandom(counter, key)(); 77 key[0] = mix[0]; 78 key[1] = mix[1]; 84 Fill(context, random::PhiloxRandom(counter, key), output);
|
H A D | string_to_hash_bucket_op.h | 71 std::vector<int64> key; local 72 OP_REQUIRES_OK(ctx, ctx->GetAttr("key", &key)); 73 OP_REQUIRES(ctx, key.size() == 2, 75 std::memcpy(key_, key.data(), sizeof(key_));
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
H A D | map_util.h | 32 // Returns a pointer to the const value associated with the given key if it 37 const typename Collection::value_type::first_type& key) { 38 typename Collection::const_iterator it = collection.find(key); 49 const typename Collection::value_type::first_type& key) { 50 typename Collection::iterator it = collection.find(key); 57 // Returns the pointer value associated with the given key. If none is found, 61 // This function does not distinguish between a missing key and a key mapped 66 const typename Collection::value_type::first_type& key) { 67 typename Collection::const_iterator it = collection.find(key); 35 FindOrNull( const Collection& collection, const typename Collection::value_type::first_type& key) argument 47 FindOrNull( Collection& collection, const typename Collection::value_type::first_type& key) argument 64 FindPtrOrNull( const Collection& collection, const typename Collection::value_type::first_type& key) argument 84 FindWithDefault( const Collection& collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& value) argument 112 InsertOrUpdate(Collection* const collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& value) argument 131 InsertIfNotPresent( Collection* const collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& value) argument 150 LookupOrInsert( Collection* const collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& value) argument [all...] |
/external/tensorflow/tensorflow/core/lib/io/ |
H A D | block_builder.cc | 18 // When we store a key, we drop the prefix shared with the previous 21 // compression and store the entire key. We call this a "restart 24 // for a particular key. Values are stored as-is (without compression) 25 // immediately following the corresponding key. 27 // An entry for a particular key-value pair has the form: 83 void BlockBuilder::Add(const StringPiece& key, const StringPiece& value) { argument 88 || key.compare(last_key_piece) > 0); 92 const size_t min_length = std::min(last_key_piece.size(), key.size()); 93 while ((shared < min_length) && (last_key_piece[shared] == key[shared])) { 102 const size_t non_shared = key [all...] |
/external/tensorflow/tensorflow/stream_executor/ |
H A D | multi_platform_manager.cc | 29 string key = port::Lowercase(platform->Name()); local 31 if (GetPlatformMap()->find(key) != GetPlatformMap()->end()) { 42 (*GetPlatformMap())[key] = platform.release();
|
/external/toybox/kconfig/lxdialog/ |
H A D | yesno.c | 44 int i, x, y, key = 0, button = 0; local 78 while (key != KEY_ESC) { 79 key = wgetch(dialog); 80 switch (key) { 93 button = ((key == KEY_LEFT ? --button : ++button) < 0) ? 1 : (button > 1 ? 0 : button); 103 key = on_key_esc(dialog); 113 return key; /* ESC pressed */
|
/external/toybox/toys/example/ |
H A D | demo_scankey.c | 26 int key, x, y; local 44 key = scan_key_getsize(scratch, -1*!!t[0], &width, &height); 49 printf("key=[ESC"); 51 while (0<(key = scan_key_getsize(scratch, 0, &width, &height))) 52 printf("%c", key); 54 } else printf("key=%d ", key); 58 if (key == -2) continue; 59 if (key <= ' ') break; 60 if (key> [all...] |
/external/toybox/toys/pending/ |
H A D | getfattr.c | 36 char *keys, *key; local 55 for (key = keys, key_count = 0; key-keys < keys_len; key += strlen(key)+1) 58 for (key = keys, i = 0; key-keys < keys_len; key += strlen(key)+1) 59 sorted_keys[i++] = key; [all...] |
H A D | ipcrm.c | 38 static void do_ipcrm(int key, int ipc, char *name) argument 49 if (key) { 51 error_msg("illegal key (%s)", name); 57 perror_msg("key (%s)", name); 66 if (ret < 0) perror_msg("%s (%s)", ((key)? "key": "id"), name);
|
/external/turbine/java/com/google/turbine/binder/lookup/ |
H A D | CompoundScope.java | 35 public LookupResult lookup(LookupKey key) { argument 36 LookupResult result = scope.lookup(key); 41 return base.lookup(key);
|
/external/v8/src/base/ |
H A D | hashmap-entry.h | 13 // HashMap entries are (key, value, hash) triplets, with a boolean indicating if 15 // (e.g. implementers of sets, where the key is the value). 18 Key key; member in struct:v8::base::TemplateHashMapEntry 20 uint32_t hash; // The full hash value for key 22 TemplateHashMapEntry(Key key, Value value, uint32_t hash) argument 23 : key(key), value(value), hash(hash), exists_(true) {} 36 Key* key; member in struct:v8::base::TemplateHashMapEntry 38 uint32_t hash; // The full hash value for key 40 TemplateHashMapEntry(Key* key, Valu argument [all...] |
/external/v8/src/builtins/ |
H A D | builtins-reflect.cc | 25 Handle<Object> key = args.at(2); local 37 Object::ToName(isolate, key)); 56 Handle<Object> key = args.at(2); local 67 Object::ToName(isolate, key)); 79 Handle<Object> key = args.atOrUndefined(isolate, 2); local 91 Object::ToName(isolate, key)); 103 Handle<Object> key = args.at(2); local 114 Object::ToName(isolate, key)); 146 Handle<Object> key = args.at(2); local 157 Object::ToName(isolate, key)); 229 Handle<Object> key = args.atOrUndefined(isolate, 2); local [all...] |
/external/v8/src/heap/ |
H A D | array-buffer-tracker-inl.h | 50 void LocalArrayBufferTracker::Add(Key key, const Value& value) { argument 51 auto ret = array_buffers_.insert(std::make_pair(key, value)); 58 LocalArrayBufferTracker::Value LocalArrayBufferTracker::Remove(Key key) { argument 59 TrackingData::iterator it = array_buffers_.find(key); 60 // Check that we indeed find a key to remove.
|
/external/v8/src/ |
H A D | lookup-cache-inl.h | 25 Key& key = keys_[index]; local 26 if ((key.source == source) && (key.name == name)) return results_[index]; 33 Key& key = keys_[index]; local 34 key.source = source; 35 key.name = name;
|
/external/v8/tools/clang/blink_gc_plugin/ |
H A D | JsonWriter.h | 21 void OpenList(const std::string& key) { argument 22 Write(key); 47 void Write(const std::string& key, const size_t val) { argument 49 *os_ << "\"" << key << "\":" << val; 51 void Write(const std::string& key, const std::string& val) { argument 53 *os_ << "\"" << key << "\":\"" << val << "\"";
|
/external/vboot_reference/firmware/lib20/ |
H A D | api.c | 44 struct vb2_public_key key; local 80 * Unpack the firmware data key to see which hashing algorithm we 91 rv = vb2_unpack_key(&key, 104 rv = vb2ex_hwcrypto_digest_init(key.hash_alg, 108 key.hash_alg); 109 dc->hash_alg = key.hash_alg; 116 key.hash_alg); 121 return vb2_digest_init(dc, key.hash_alg); 135 struct vb2_public_key key; local 176 /* Unpack the data key */ [all...] |
H A D | packed_key.c | 12 const uint8_t *vb2_packed_key_data(const struct vb2_packed_key *key) argument 14 return (const uint8_t *)key + key->key_offset; 19 const struct vb2_packed_key *key) 22 key, sizeof(*key), 23 key->key_offset, key->key_size); 26 int vb2_unpack_key(struct vb2_public_key *key, argument 36 /* Make sure passed buffer is big enough for the packed key */ 17 vb2_verify_packed_key_inside(const void *parent, uint32_t parent_size, const struct vb2_packed_key *key) argument [all...] |
/external/vboot_reference/firmware/lib21/ |
H A D | packed_key.c | 13 int vb2_unpack_key_data(struct vb2_public_key *key, argument 18 uint32_t expected_key_size = vb2_packed_key_size(key->sig_alg); 22 VB2_DEBUG("Wrong key size for algorithm\n"); 30 key->arrsize = buf32[0]; 32 /* Sanity check key array size */ 33 if (key->arrsize * sizeof(uint32_t) != vb2_rsa_sig_size(key->sig_alg)) 36 key->n0inv = buf32[1]; 38 /* Arrays point inside the key data */ 39 key 45 vb2_unpack_key(struct vb2_public_key *key, const uint8_t *buf, uint32_t size) argument [all...] |
/external/vboot_reference/host/lib/ |
H A D | file_keys.c | 5 * Utility functions for file and key handling. 54 RSAPublicKey* key = NULL; local 57 key = RSAPublicKeyFromBuf(buf, len); 59 return key;
|
/external/vboot_reference/host/lib21/ |
H A D | host_keyblock.c | 34 struct vb2_packed_key *key = NULL; local 49 if (vb2_public_key_pack(&key, data_key)) 52 kb.sig_offset = kb.key_offset + key->c.total_size; 55 /* Allocate buffer and copy header and data key */ 58 free(key); 65 memcpy(buf + kb.key_offset, key, key->c.total_size); 66 free(key);
|
/external/vogar/src/vogar/ |
H A D | HostFileCache.java | 53 public void copyFromCache(String key, File destination) { argument 54 File cachedFile = new File(CACHE_ROOT, key); 58 public void copyToCache(File source, String key) { argument 59 File cachedFile = new File(CACHE_ROOT, key); 68 public boolean existsInCache(String key) { argument 69 return new File(CACHE_ROOT, key).exists();
|
/external/vogar/test/vogar/target/ |
H A D | TestRunnerRule.java | 63 private void setProperty(String key, String value) { argument 66 properties.setProperty(key, value); 70 private void setProperty(String key, boolean value) { argument 71 properties.setProperty(key, String.valueOf(value)); 74 private void setProperty(String key, int value) { argument 75 properties.setProperty(key, String.valueOf(value));
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
H A D | NoCache.java | 30 public Entry get(String key) { argument 35 public void put(String key, Entry entry) { argument 39 public void invalidate(String key, boolean fullExpire) { argument 43 public void remove(String key) { argument
|
/external/webp/src/utils/ |
H A D | color_cache_utils.h | 40 const VP8LColorCache* const cc, uint32_t key) { 41 assert((key >> cc->hash_bits_) == 0u); 42 return cc->colors_[key]; 46 uint32_t key, uint32_t argb) { 47 assert((key >> cc->hash_bits_) == 0u); 48 cc->colors_[key] = argb; 53 const int key = VP8LHashPix(argb, cc->hash_shift_); local 54 cc->colors_[key] = argb; 62 // Return the key if cc contains argb, and -1 otherwise. 65 const int key local 39 VP8LColorCacheLookup( const VP8LColorCache* const cc, uint32_t key) argument 45 VP8LColorCacheSet(const VP8LColorCache* const cc, uint32_t key, uint32_t argb) argument [all...] |
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
H A D | MediaConstraints.java | 38 /** Simple String key/value pair. */ 40 private final String key; field in class:MediaConstraints.KeyValuePair 43 public KeyValuePair(String key, String value) { argument 44 this.key = key; 49 return key; 57 return key + ": " + value; 69 return key.equals(that.key) && value.equals(that.value); 74 return key [all...] |