Searched refs:key_values (Results 1 – 10 of 10) sorted by relevance
/external/cmockery/cmockery_0_1_2/src/example/ |
D | key_value_test.c | 34 static KeyValue key_values[] = { variable 42 KeyValue * const items = (KeyValue*)test_malloc(sizeof(key_values)); in create_key_values() 43 memcpy(items, key_values, sizeof(key_values)); in create_key_values() 45 set_key_values(items, sizeof(key_values) / sizeof(key_values[0])); in create_key_values() 55 for (i = 0; i < sizeof(key_values) / sizeof(key_values[0]); i++) { in test_find_item_by_value() 56 KeyValue * const found = find_item_by_value(key_values[i].value); in test_find_item_by_value() 58 assert_int_equal(found->key, key_values[i].key); in test_find_item_by_value() 59 assert_string_equal(found->value, key_values[i].value); in test_find_item_by_value() 67 for (i = 1; i < sizeof(key_values) / sizeof(key_values[0]); i++) { in test_sort_items_by_key()
|
D | key_value.c | 25 static KeyValue *key_values = NULL; variable 30 key_values = new_key_values; in set_key_values() 43 if (strcmp(key_values[i].value, value) == 0) { in find_item_by_value() 44 return &key_values[i]; in find_item_by_value() 52 qsort(key_values, number_of_key_values, sizeof(*key_values), in sort_items_by_key()
|
/external/clang/test/PCH/ |
D | objc_literals.mm | 55 void variadic_dictionary_expansion(pair<Ts, Us>... key_values) { 56 // CHECK-PRINT: id dict = @{ key_values.first : key_values.second... }; 59 id dict = @{ key_values.first : key_values.second ... };
|
/external/tensorflow/tensorflow/tools/test/ |
D | gpu_info_lib.py | 34 key_values = dict(line.rstrip().replace("\t", "").split(":", 1) 36 key_values = dict((k.lower(), v.strip(" ").rstrip(" ")) 37 for (k, v) in key_values.items()) 39 info.model = key_values.get("model", "Unknown") 40 info.uuid = key_values.get("gpu uuid", "Unknown")
|
/external/tensorflow/tensorflow/core/kernels/ |
D | lookup_table_op.h | 233 const auto key_values = keys.flat<K>(); in DoInsert() local 235 for (int64 i = 0; i < key_values.size(); ++i) { in DoInsert() 236 const K key = SubtleMustCopyIfIntegral(key_values(i)); in DoInsert() 251 const auto key_values = key.flat<K>(); in DoFind() local 254 for (int64 i = 0; i < key_values.size(); ++i) { in DoFind() 256 *table_, SubtleMustCopyIfIntegral(key_values(i)), default_val); in DoFind()
|
D | lookup_table_op.cc | 60 const auto key_values = key.flat<K>(); in Find() local 64 for (int64 i = 0; i < key_values.size(); ++i) { in Find() 66 table_, SubtleMustCopyIfIntegral(key_values(i)), default_val); in Find() 73 const auto key_values = keys.flat<K>(); in DoInsert() local 80 for (int64 i = 0; i < key_values.size(); ++i) { in DoInsert() 81 gtl::InsertOrUpdate(&table_, SubtleMustCopyIfIntegral(key_values(i)), in DoInsert() 93 const auto key_values = keys.flat<K>(); in Remove() local 96 for (int64 i = 0; i < key_values.size(); ++i) { in Remove() 97 table_.erase(SubtleMustCopyIfIntegral(key_values(i))); in Remove() 177 const auto key_values = key.flat<K>(); in Find() local [all …]
|
/external/autotest/client/bin/result_tools/ |
D | dedupe_file_throttler.py | 44 key_values = [] 46 key_values.append(getattr(info, key)) 47 grouped_key = os.sep.join(key_values)
|
/external/clang/test/SemaObjCXX/ |
D | literals.mm | 159 void test_variadic_dictionary_expansion(T t, pair<Ts, Us>... key_values) { 161 …t : key_values.second ..., // expected-error{{collection element of type 'int' is not an Objective… 162 …key_values.first : key_values.second ..., // expected-error{{collection element of type 'float' is… 163 key_values.second : t ...
|
/external/tensorflow/tensorflow/python/training/ |
D | server_lib.py | 327 key_values = self.as_dict() 329 repr(k) + ": " + repr(key_values[k]) for k in sorted(key_values)]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 1535 llvm::Value* key_values[2]; in CalculateSampleValues() local 1538 std::tie(key_values[0], key_values[1]) = in CalculateSampleValues() 1566 b->CreateXor(hi1, b->CreateXor(counter_values[1], key_values[0])); in CalculateSampleValues() 1569 b->CreateXor(hi0, b->CreateXor(counter_values[3], key_values[1])); in CalculateSampleValues() 1571 key_values[0] = b->CreateAdd(key_values[0], philoxW32A); in CalculateSampleValues() 1572 key_values[1] = b->CreateAdd(key_values[1], philoxW32B); in CalculateSampleValues()
|