Searched refs:key_values (Results 1 – 5 of 5) 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/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/libchrome/base/trace_event/ |
D | trace_event_unittest.cc | 73 DictionaryValue* FindMatchingTraceEntry(const JsonKeyValue* key_values); 248 static bool IsAllKeyValueInDict(const JsonKeyValue* key_values, in IsAllKeyValueInDict() argument 251 while (key_values && key_values->key) { in IsAllKeyValueInDict() 252 if (!IsKeyValueInDict(key_values, dict)) in IsAllKeyValueInDict() 254 ++key_values; in IsAllKeyValueInDict() 260 const JsonKeyValue* key_values) { in FindMatchingTraceEntry() argument 270 if (IsAllKeyValueInDict(key_values, dict)) in FindMatchingTraceEntry() 299 JsonKeyValue key_values[] = { in FindNamePhase() local 304 return FindMatchingTraceEntry(key_values); in FindNamePhase() 312 JsonKeyValue key_values[] = { in FindNamePhaseKeyValue() local [all …]
|