Home
last modified time | relevance | path

Searched refs:key_val (Results 1 – 17 of 17) sorted by relevance

/external/pdfium/third_party/libopenjpeg/
Dthread.c505 opj_tls_key_val_t* key_val; member
521 if (tls->key_val[i].opj_free_func) { in opj_tls_destroy()
522 tls->key_val[i].opj_free_func(tls->key_val[i].value); in opj_tls_destroy()
525 opj_free(tls->key_val); in opj_tls_destroy()
533 if (tls->key_val[i].key == key) { in opj_tls_get()
534 return tls->key_val[i].value; in opj_tls_get()
550 if (tls->key_val[i].key == key) { in opj_tls_set()
551 if (tls->key_val[i].opj_free_func) { in opj_tls_set()
552 tls->key_val[i].opj_free_func(tls->key_val[i].value); in opj_tls_set()
554 tls->key_val[i].value = value; in opj_tls_set()
[all …]
/external/rust/crates/unicode-normalization/src/
Dperfect_hash.rs44 let key_val = kv[my_hash(x, s, salt.len())]; in mph_lookup() localVariable
45 if x == fk(key_val) { in mph_lookup()
46 fv(key_val) in mph_lookup()
/external/tensorflow/tensorflow/examples/custom_ops_doc/simple_hash_table/
Dsimple_hash_table_kernel.cc38 const K key_val = key.flat<K>()(0); in Insert() local
42 table_[key_val] = value_val; in Insert()
55 const K key_val = key.flat<K>()(0); in Find() local
57 value_val(0) = gtl::FindWithDefault(table_, key_val, default_val); in Find()
64 const K key_val = key.flat<K>()(0); in Remove() local
65 if (table_.erase(key_val) != 1) { in Remove()
66 return errors::NotFound("Key for remove not found: ", key_val); in Remove()
/external/python/cpython2/Doc/tools/static/
Dsidebar.js141 var key_val = items[k].split('=');
142 var key = key_val[0];
144 var value = key_val[1];
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_util.h100 for (const auto& key_val : container.payloads()) { in InsertSerializedPayloads() local
101 s.SetPayload(key_val.first, key_val.second); in InsertSerializedPayloads()
/external/protobuf/ruby/ext/google/protobuf_c/
Dmap.c144 VALUE key_val = Convert_UpbToRuby(key, key_info, Qnil); in Map_CreateHash() local
146 rb_hash_aset(hash, key_val, val_val); in Map_CreateHash()
224 upb_MessageValue key_val = in merge_into_self_callback() local
228 upb_Map_Set(Map_GetMutable(_self), key_val, val_val, arena); in merge_into_self_callback()
350 VALUE key_val = Convert_UpbToRuby(key, Map_keyinfo(self), self->arena); in Map_each() local
352 rb_yield_values(2, key_val, val_val); in Map_each()
371 VALUE key_val = Convert_UpbToRuby(key, Map_keyinfo(self), self->arena); in Map_keys() local
372 rb_ary_push(ret, key_val); in Map_keys()
Dprotobuf.c368 VALUE key_val = (VALUE)key; in ObjectCache_GetKey() local
369 PBRUBY_ASSERT((key_val & 3) == 0); in ObjectCache_GetKey()
370 VALUE ret = LL2NUM(key_val >> 2); in ObjectCache_GetKey()
/external/cronet/third_party/protobuf/ruby/ext/google/protobuf_c/
Dmap.c144 VALUE key_val = Convert_UpbToRuby(key, key_info, Qnil); in Map_CreateHash() local
146 rb_hash_aset(hash, key_val, val_val); in Map_CreateHash()
224 upb_MessageValue key_val = in merge_into_self_callback() local
228 upb_Map_Set(Map_GetMutable(_self), key_val, val_val, arena); in merge_into_self_callback()
350 VALUE key_val = Convert_UpbToRuby(key, Map_keyinfo(self), self->arena); in Map_each() local
352 rb_yield_values(2, key_val, val_val); in Map_each()
371 VALUE key_val = Convert_UpbToRuby(key, Map_keyinfo(self), self->arena); in Map_keys() local
372 rb_ary_push(ret, key_val); in Map_keys()
Dprotobuf.c368 VALUE key_val = (VALUE)key; in ObjectCache_GetKey() local
369 PBRUBY_ASSERT((key_val & 3) == 0); in ObjectCache_GetKey()
370 VALUE ret = LL2NUM(key_val >> 2); in ObjectCache_GetKey()
/external/webrtc/rtc_base/experiments/
Dfield_trial_parser.cc220 for (auto& key_val : enum_mapping_) in AbstractFieldTrialEnum() local
221 valid_values_.insert(key_val.second); in AbstractFieldTrialEnum()
/external/lua/src/
Dlobject.h679 Value key_val; /* key value */ member
688 n_->u.key_val = io_->value_; n_->u.key_tt = io_->tt_; \
695 io_->value_ = n_->u.key_val; io_->tt_ = n_->u.key_tt; \
729 #define keyval(node) ((node)->u.key_val)
/external/pigweed/pw_software_update/
Dupdate_bundle_accessor.cc143 protobuf::Bytes key_val = in VerifyMetadataSignatures() local
145 PW_TRY(key_val.status()); in VerifyMetadataSignatures()
154 Result<bool> res = VerifyEcdsaSignature(key_val, sha256_digest, sig); in VerifyMetadataSignatures()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler_test.cc2349 for (const auto& key_val : expected) { in ExpectUnorderedMapEq() local
2350 EXPECT_GT(test_map.count(key_val.first), 0); in ExpectUnorderedMapEq()
2351 EXPECT_EQ(test_map.at(key_val.first), key_val.second); in ExpectUnorderedMapEq()
/external/cronet/net/extras/sqlite/
Dsqlite_persistent_cookie_store.cc1640 for (const auto& key_val : pending_) { in GetQueueLengthForTesting() local
1641 total += key_val.second.size(); in GetQueueLengthForTesting()
/external/toybox/toys/pending/
Dip.c2593 unsigned key_val; in parse_iptunnel_args() local
2595 sscanf(*argv, "%u", &key_val); in parse_iptunnel_args()
2596 addr = htonl(key_val); in parse_iptunnel_args()
/external/python/cpython2/Doc/whatsnew/
D2.4.rst1107 >>> for key_val, it in itertools.groupby(L, lambda x: x % 2):
1108 ... print key_val, list(it)
/external/python/cpython3/Doc/whatsnew/
D2.4.rst1107 >>> for key_val, it in itertools.groupby(L, lambda x: x % 2):
1108 ... print key_val, list(it)