/external/cmockery/cmockery_0_1_2/src/example/ |
key_value_test.c | 34 static KeyValue key_values[] = { variable 42 KeyValue * const items = (KeyValue*)test_malloc(sizeof(key_values)); 43 memcpy(items, key_values, sizeof(key_values)); 45 set_key_values(items, sizeof(key_values) / sizeof(key_values[0])); 55 for (i = 0; i < sizeof(key_values) / sizeof(key_values[0]); i++) { 56 KeyValue * const found = find_item_by_value(key_values[i].value); 58 assert_int_equal(found->key, key_values[i].key) [all...] |
key_value.c | 25 static KeyValue *key_values = NULL; variable 30 key_values = new_key_values; 43 if (strcmp(key_values[i].value, value) == 0) { 44 return &key_values[i]; 52 qsort(key_values, number_of_key_values, sizeof(*key_values),
|
/external/clang/test/PCH/ |
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/ |
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-C object}} 162 key_values.first : key_values.second ..., // expected-error{{collection element of type 'float' is not an Objective-C object}} 163 key_values.second : t ...
|
/external/cmockery/cmockery_0_1_2/doc/ |
index.html | 606 static KeyValue *key_values = NULL; 611 key_values = new_key_values; 624 if (strcmp(key_values[i].value, value) == 0) { 625 return &key_values[i]; 633 qsort(key_values, number_of_key_values, sizeof(*key_values), 657 static KeyValue key_values[] = { 665 KeyValue * const items = (KeyValue*)test_malloc(sizeof(key_values)); 666 memcpy(items, key_values, sizeof(key_values)); [all...] |
/external/libchrome/base/trace_event/ |
trace_event_unittest.cc | 71 DictionaryValue* FindMatchingTraceEntry(const JsonKeyValue* key_values); 253 static bool IsAllKeyValueInDict(const JsonKeyValue* key_values, 255 // Scan all key_values, they must all be present and equal. 256 while (key_values && key_values->key) { 257 if (!IsKeyValueInDict(key_values, dict)) 259 ++key_values; 265 const JsonKeyValue* key_values) { 275 if (IsAllKeyValueInDict(key_values, dict)) 304 JsonKeyValue key_values[] = local 317 JsonKeyValue key_values[] = { local 328 JsonKeyValue key_values[] = { local 337 JsonKeyValue key_values[] = { local [all...] |