Home
last modified time | relevance | path

Searched refs:KeyValue (Results 1 – 23 of 23) sorted by relevance

/external/cmockery/cmockery_0_1_2/src/example/
Dkey_value_test.c24 typedef struct KeyValue { struct
27 } KeyValue; argument
29 void set_key_values(KeyValue * const new_key_values,
31 extern KeyValue* find_item_by_value(const char * const value);
34 static KeyValue key_values[] = {
42 KeyValue * const items = (KeyValue*)test_malloc(sizeof(key_values)); in create_key_values()
56 KeyValue * const found = find_item_by_value(key_values[i].value); in test_find_item_by_value()
65 KeyValue * const kv = *state; in test_sort_items_by_key()
Dkey_value.c20 typedef struct KeyValue { struct
23 } KeyValue; argument
25 static KeyValue *key_values = NULL;
28 void set_key_values(KeyValue * const new_key_values, in set_key_values()
36 return (int)((KeyValue*)a)->key - (int)((KeyValue*)b)->key; in key_value_compare_keys()
40 KeyValue* find_item_by_value(const char * const value) { in find_item_by_value()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSymbolRewriter.cpp337 StringRef KeyValue; in parseRewriteFunctionDescriptor() local
351 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor()
352 if (KeyValue.equals("source")) { in parseRewriteFunctionDescriptor()
360 } else if (KeyValue.equals("target")) { in parseRewriteFunctionDescriptor()
362 } else if (KeyValue.equals("transform")) { in parseRewriteFunctionDescriptor()
364 } else if (KeyValue.equals("naked")) { in parseRewriteFunctionDescriptor()
406 StringRef KeyValue; in parseRewriteGlobalVariableDescriptor() local
420 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalVariableDescriptor()
421 if (KeyValue.equals("source")) { in parseRewriteGlobalVariableDescriptor()
429 } else if (KeyValue.equals("target")) { in parseRewriteGlobalVariableDescriptor()
[all …]
/external/llvm/lib/Transforms/Utils/
DSymbolRewriter.cpp317 StringRef KeyValue; in parseRewriteFunctionDescriptor() local
331 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor()
332 if (KeyValue.equals("source")) { in parseRewriteFunctionDescriptor()
340 } else if (KeyValue.equals("target")) { in parseRewriteFunctionDescriptor()
342 } else if (KeyValue.equals("transform")) { in parseRewriteFunctionDescriptor()
344 } else if (KeyValue.equals("naked")) { in parseRewriteFunctionDescriptor()
384 StringRef KeyValue; in parseRewriteGlobalVariableDescriptor() local
398 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalVariableDescriptor()
399 if (KeyValue.equals("source")) { in parseRewriteGlobalVariableDescriptor()
407 } else if (KeyValue.equals("target")) { in parseRewriteGlobalVariableDescriptor()
[all …]
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h13 struct KeyValue;
162 struct KeyValue FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
170 bool KeyCompareLessThan(const KeyValue *o) const { in KeyCompareLessThan()
193 fbb_.AddOffset(KeyValue::VT_KEY, key); in add_key()
196 fbb_.AddOffset(KeyValue::VT_VALUE, value); in add_value()
203 flatbuffers::Offset<KeyValue> Finish() { in Finish()
205 auto o = flatbuffers::Offset<KeyValue>(end); in Finish()
206 fbb_.Required(o, KeyValue::VT_KEY); in Finish()
211 inline flatbuffers::Offset<KeyValue> CreateKeyValue(
221 inline flatbuffers::Offset<KeyValue> CreateKeyValueDirect(
[all …]
Didl.h237 flatbuffers::Vector<flatbuffers::Offset<reflection::KeyValue>>>
241 const Vector<Offset<reflection::KeyValue>> *attrs);
/external/swiftshader/third_party/subzero/src/
DIceELFSection.cpp157 for (auto &KeyValue : LocalSymbols) { in updateIndices() local
158 GlobalString Name = KeyValue.first; in updateIndices()
159 ELFSection *Section = KeyValue.second.Section; in updateIndices()
160 Elf64_Sym &SymInfo = KeyValue.second.Sym; in updateIndices()
164 KeyValue.second.setNumber(SymNumber++); in updateIndices()
166 for (auto &KeyValue : GlobalSymbols) { in updateIndices() local
167 const std::string &Name = KeyValue.first.toString(); in updateIndices()
168 ELFSection *Section = KeyValue.second.Section; in updateIndices()
169 Elf64_Sym &SymInfo = KeyValue.second.Sym; in updateIndices()
173 KeyValue.second.setNumber(SymNumber++); in updateIndices()
DIceELFSection.h334 for (auto &KeyValue : Map) { in writeSymbolMap()
335 const Elf64_Sym &SymInfo = KeyValue.second.Sym; in writeSymbolMap()
344 for (auto &KeyValue : Map) { in writeSymbolMap()
345 const Elf64_Sym &SymInfo = KeyValue.second.Sym; in writeSymbolMap()
/external/flatbuffers/reflection/
Dreflection.fbs37 table KeyValue {
55 attributes:[KeyValue];
69 attributes:[KeyValue];
79 attributes:[KeyValue];
87 attributes:[KeyValue];
94 attributes:[KeyValue];
/external/clang/lib/Tooling/
DJSONCompilationDatabase.cpp272 StringRef KeyValue = KeyString->getValue(KeyStorage); in parse() local
282 if (KeyValue == "arguments" && !SequenceString) { in parse()
285 } else if (KeyValue != "arguments" && !ValueString) { in parse()
289 if (KeyValue == "directory") { in parse()
291 } else if (KeyValue == "arguments") { in parse()
301 } else if (KeyValue == "command") { in parse()
304 } else if (KeyValue == "file") { in parse()
/external/llvm/utils/TableGen/
DCodeGenMapTable.cpp243 std::vector<Init*> KeyValue; in buildRowInstrMap() local
247 KeyValue.push_back(CurInstrVal); in buildRowInstrMap()
256 RowInstrMap[KeyValue].push_back(CurInstr); in buildRowInstrMap()
310 std::vector<Init*> KeyValue; in getInstrForColumn() local
315 KeyValue.push_back(KeyInstrVal); in getInstrForColumn()
322 const std::vector<Record*> &RelatedInstrVec = RowInstrMap[KeyValue]; in getInstrForColumn()
344 for (Init *Value : KeyValue) { in getInstrForColumn()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenMapTable.cpp243 std::vector<Init*> KeyValue; in buildRowInstrMap() local
252 KeyValue.push_back(CurInstrVal); in buildRowInstrMap()
261 RowInstrMap[KeyValue].push_back(CurInstr); in buildRowInstrMap()
315 std::vector<Init*> KeyValue; in getInstrForColumn() local
320 KeyValue.push_back(KeyInstrVal); in getInstrForColumn()
327 const std::vector<Record*> &RelatedInstrVec = RowInstrMap[KeyValue]; in getInstrForColumn()
349 for (Init *Value : KeyValue) { in getInstrForColumn()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringMap.h321 bool insert(MapEntryTy *KeyValue) { in insert() argument
322 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert()
329 Bucket.Item = KeyValue; in insert()
386 void remove(MapEntryTy *KeyValue) { in remove() argument
387 RemoveKey(KeyValue); in remove()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringMap.h348 bool insert(MapEntryTy *KeyValue) { in insert() argument
349 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert()
356 Bucket = KeyValue; in insert()
414 void remove(MapEntryTy *KeyValue) { in remove() argument
415 RemoveKey(KeyValue); in remove()
/external/llvm/include/llvm/ADT/
DStringMap.h344 bool insert(MapEntryTy *KeyValue) { in insert() argument
345 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert()
352 Bucket = KeyValue; in insert()
410 void remove(MapEntryTy *KeyValue) { in remove() argument
411 RemoveKey(KeyValue); in remove()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringMap.h366 bool insert(MapEntryTy *KeyValue) { in insert() argument
367 unsigned BucketNo = LookupBucketFor(KeyValue->getKey()); in insert()
374 Bucket = KeyValue; in insert()
432 void remove(MapEntryTy *KeyValue) { in remove() argument
433 RemoveKey(KeyValue); in remove()
/external/v8/src/compiler/
Dpersistent-map.h50 struct KeyValue : std::pair<Key, Value> { struct
174 KeyValue key_value;
397 FocusedTree{KeyValue(std::move(key), std::move(value)),
/external/google-breakpad/src/client/ios/
DBreakpad.mm151 NSString *KeyValue(NSString *key);
419 NSString *Breakpad::KeyValue(NSString *key) { function
436 NSString *directory = KeyValue(@BREAKPAD_DUMP_DIRECTORY);
448 NSString *directory = KeyValue(@BREAKPAD_DUMP_DIRECTORY);
515 NSString *dumpDirAsNSString = KeyValue(@BREAKPAD_DUMP_DIRECTORY);
779 value = breakpad->KeyValue(key);
/external/llvm/lib/IR/
DGCOV.cpp634 std::pair<const GCOVFunction *, GCOVCoverage> KeyValue( in print() local
636 FuncCoverages.insert(KeyValue); in print()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DGCOV.cpp656 std::pair<const GCOVFunction *, GCOVCoverage> KeyValue( in print() local
658 FuncCoverages.insert(KeyValue); in print()
/external/google-breakpad/src/client/mac/Framework/
DBreakpad.mm156 NSString *KeyValue(NSString *key);
378 NSString *inspectorPathString = KeyValue(@BREAKPAD_INSPECTOR_LOCATION);
656 NSString *Breakpad::KeyValue(NSString *key) { function
960 value = breakpad->KeyValue(key);
/external/protobuf/src/google/protobuf/
Dmap.h271 union KeyValue { union
272 KeyValue() {} in KeyValue() function
/external/flatbuffers/src/
Didl_parser.cpp2995 flatbuffers::Vector<flatbuffers::Offset<reflection::KeyValue>>>
2998 std::vector<flatbuffers::Offset<reflection::KeyValue>> attrs; in SerializeAttributes()
3016 Parser &parser, const Vector<Offset<reflection::KeyValue>> *attrs) { in DeserializeAttributes()