Lines Matching refs:dict
31 CFMutableDictionaryRef dict = get(); in GetCount() local
32 if (dict) in GetCount()
33 return ::CFDictionaryGetCount(dict); in GetCount()
40 CFMutableDictionaryRef dict = get(); in GetCountOfKey() local
41 if (dict) in GetCountOfKey()
42 return ::CFDictionaryGetCountOfKey(dict, key); in GetCountOfKey()
49 CFMutableDictionaryRef dict = get(); in GetCountOfValue() local
50 if (dict) in GetCountOfValue()
51 return ::CFDictionaryGetCountOfValue(dict, value); in GetCountOfValue()
57 CFMutableDictionaryRef dict = get(); in GetKeysAndValues() local
58 if (dict) in GetKeysAndValues()
59 ::CFDictionaryGetKeysAndValues(dict, keys, values); in GetKeysAndValues()
65 CFMutableDictionaryRef dict = get(); in GetValue() local
66 if (dict) in GetValue()
67 return ::CFDictionaryGetValue(dict, key); in GetValue()
74 CFMutableDictionaryRef dict = get(); in GetValueIfPresent() local
75 if (dict) in GetValueIfPresent()
76 return ::CFDictionaryGetValueIfPresent(dict, key, value_handle); in GetValueIfPresent()
81 CFMutableDictionaryRef dict = get(); in Dictionary() local
82 if (can_create && dict == NULL) { in Dictionary()
83 dict = ::CFDictionaryCreateMutable(kCFAllocatorDefault, 0, in Dictionary()
86 reset(dict); in Dictionary()
88 return dict; in Dictionary()
93 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValue() local
94 if (dict != NULL) { in AddValue()
96 ::CFDictionaryAddValue(dict, key, value); in AddValue()
104 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValue() local
105 if (dict != NULL) { in SetValue()
107 ::CFDictionarySetValue(dict, key, value); in SetValue()
115 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueSInt8() local
116 if (dict != NULL) { in AddValueSInt8()
121 ::CFDictionaryAddValue(dict, key, cf_number.get()); in AddValueSInt8()
130 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueSInt8() local
131 if (dict != NULL) { in SetValueSInt8()
136 ::CFDictionarySetValue(dict, key, cf_number.get()); in SetValueSInt8()
145 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueSInt16() local
146 if (dict != NULL) { in AddValueSInt16()
151 ::CFDictionaryAddValue(dict, key, cf_number.get()); in AddValueSInt16()
160 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueSInt16() local
161 if (dict != NULL) { in SetValueSInt16()
166 ::CFDictionarySetValue(dict, key, cf_number.get()); in SetValueSInt16()
175 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueSInt32() local
176 if (dict != NULL) { in AddValueSInt32()
181 ::CFDictionaryAddValue(dict, key, cf_number.get()); in AddValueSInt32()
190 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueSInt32() local
191 if (dict != NULL) { in SetValueSInt32()
196 ::CFDictionarySetValue(dict, key, cf_number.get()); in SetValueSInt32()
205 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueSInt64() local
206 if (dict != NULL) { in AddValueSInt64()
211 ::CFDictionaryAddValue(dict, key, cf_number.get()); in AddValueSInt64()
220 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueSInt64() local
221 if (dict != NULL) { in SetValueSInt64()
226 ::CFDictionarySetValue(dict, key, cf_number.get()); in SetValueSInt64()
235 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueUInt8() local
236 if (dict != NULL) { in AddValueUInt8()
244 ::CFDictionaryAddValue(dict, key, cf_number.get()); in AddValueUInt8()
253 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueUInt8() local
254 if (dict != NULL) { in SetValueUInt8()
262 ::CFDictionarySetValue(dict, key, cf_number.get()); in SetValueUInt8()
271 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueUInt16() local
272 if (dict != NULL) { in AddValueUInt16()
280 ::CFDictionaryAddValue(dict, key, cf_number.get()); in AddValueUInt16()
289 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueUInt16() local
290 if (dict != NULL) { in SetValueUInt16()
298 ::CFDictionarySetValue(dict, key, cf_number.get()); in SetValueUInt16()
307 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueUInt32() local
308 if (dict != NULL) { in AddValueUInt32()
316 ::CFDictionaryAddValue(dict, key, cf_number.get()); in AddValueUInt32()
325 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueUInt32() local
326 if (dict != NULL) { in SetValueUInt32()
334 ::CFDictionarySetValue(dict, key, cf_number.get()); in SetValueUInt32()
343 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueUInt64() local
344 if (dict != NULL) { in AddValueUInt64()
352 ::CFDictionaryAddValue(dict, key, cf_number.get()); in AddValueUInt64()
361 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueUInt64() local
362 if (dict != NULL) { in SetValueUInt64()
370 ::CFDictionarySetValue(dict, key, cf_number.get()); in SetValueUInt64()
379 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueDouble() local
380 if (dict != NULL) { in AddValueDouble()
388 ::CFDictionaryAddValue(dict, key, cf_number.get()); in AddValueDouble()
397 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueDouble() local
398 if (dict != NULL) { in SetValueDouble()
406 ::CFDictionarySetValue(dict, key, cf_number.get()); in SetValueDouble()
415 CFMutableDictionaryRef dict = Dictionary(can_create); in AddValueCString() local
416 if (dict != NULL) { in AddValueCString()
420 ::CFDictionaryAddValue(dict, key, cf_str.get()); in AddValueCString()
429 CFMutableDictionaryRef dict = Dictionary(can_create); in SetValueCString() local
430 if (dict != NULL) { in SetValueCString()
434 ::CFDictionarySetValue(dict, key, cf_str.get()); in SetValueCString()
442 CFMutableDictionaryRef dict = get(); in RemoveAllValues() local
443 if (dict) in RemoveAllValues()
444 ::CFDictionaryRemoveAllValues(dict); in RemoveAllValues()
448 CFMutableDictionaryRef dict = get(); in RemoveValue() local
449 if (dict) in RemoveValue()
450 ::CFDictionaryRemoveValue(dict, value); in RemoveValue()
453 CFMutableDictionaryRef dict = get(); in ReplaceValue() local
454 if (dict) in ReplaceValue()
455 ::CFDictionaryReplaceValue(dict, key, value); in ReplaceValue()