Home | History | Annotate | Download | only in cfcpp

Lines Matching refs:dict

50     CFMutableDictionaryRef dict = get();
51 if (dict)
52 return ::CFDictionaryGetCount (dict);
60 CFMutableDictionaryRef dict = get();
61 if (dict)
62 return ::CFDictionaryGetCountOfKey (dict, key);
70 CFMutableDictionaryRef dict = get();
71 if (dict)
72 return ::CFDictionaryGetCountOfValue (dict, value);
79 CFMutableDictionaryRef dict = get();
80 if (dict)
81 ::CFDictionaryGetKeysAndValues (dict, keys, values);
89 CFMutableDictionaryRef dict = get();
90 if (dict)
91 return ::CFDictionaryGetValue (dict, key);
98 CFMutableDictionaryRef dict = get();
99 if (dict)
100 return ::CFDictionaryGetValueIfPresent (dict, key, value_handle);
108 CFMutableDictionaryRef dict = get();
109 if (can_create && dict == NULL)
111 dict = ::CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks);
112 reset ( dict );
114 return dict;
120 CFMutableDictionaryRef dict = Dictionary(can_create);
121 if (dict != NULL)
124 ::CFDictionaryAddValue (dict, key, value);
133 CFMutableDictionaryRef dict = Dictionary(can_create);
134 if (dict != NULL)
137 ::CFDictionarySetValue (dict, key, value);
146 CFMutableDictionaryRef dict = Dictionary(can_create);
147 if (dict != NULL)
153 ::CFDictionaryAddValue (dict, key, cf_number.get());
163 CFMutableDictionaryRef dict = Dictionary(can_create);
164 if (dict != NULL)
170 ::CFDictionarySetValue (dict, key, cf_number.get());
180 CFMutableDictionaryRef dict = Dictionary(can_create);
181 if (dict != NULL)
187 ::CFDictionaryAddValue (dict, key, cf_number.get());
197 CFMutableDictionaryRef dict = Dictionary(can_create);
198 if (dict != NULL)
204 ::CFDictionarySetValue (dict, key, cf_number.get());
214 CFMutableDictionaryRef dict = Dictionary(can_create);
215 if (dict != NULL)
221 ::CFDictionaryAddValue (dict, key, cf_number.get());
231 CFMutableDictionaryRef dict = Dictionary(can_create);
232 if (dict != NULL)
238 ::CFDictionarySetValue (dict, key, cf_number.get());
248 CFMutableDictionaryRef dict = Dictionary(can_create);
249 if (dict != NULL)
255 ::CFDictionaryAddValue (dict, key, cf_number.get());
265 CFMutableDictionaryRef dict = Dictionary(can_create);
266 if (dict != NULL)
272 ::CFDictionarySetValue (dict, key, cf_number.get());
282 CFMutableDictionaryRef dict = Dictionary(can_create);
283 if (dict != NULL)
291 ::CFDictionaryAddValue (dict, key, cf_number.get());
301 CFMutableDictionaryRef dict = Dictionary(can_create);
302 if (dict != NULL)
310 ::CFDictionarySetValue (dict, key, cf_number.get());
321 CFMutableDictionaryRef dict = Dictionary(can_create);
322 if (dict != NULL)
330 ::CFDictionaryAddValue (dict, key, cf_number.get());
340 CFMutableDictionaryRef dict = Dictionary(can_create);
341 if (dict != NULL)
349 ::CFDictionarySetValue (dict, key, cf_number.get());
359 CFMutableDictionaryRef dict = Dictionary(can_create);
360 if (dict != NULL)
368 ::CFDictionaryAddValue (dict, key, cf_number.get());
378 CFMutableDictionaryRef dict = Dictionary(can_create);
379 if (dict != NULL)
387 ::CFDictionarySetValue (dict, key, cf_number.get());
398 CFMutableDictionaryRef dict = Dictionary(can_create);
399 if (dict != NULL)
407 ::CFDictionaryAddValue (dict, key, cf_number.get());
418 CFMutableDictionaryRef dict = Dictionary(can_create);
419 if (dict != NULL)
427 ::CFDictionarySetValue (dict, key, cf_number.get());
437 CFMutableDictionaryRef dict = Dictionary(can_create);
438 if (dict != NULL)
446 ::CFDictionaryAddValue (dict, key, cf_number.get());
456 CFMutableDictionaryRef dict = Dictionary(can_create);
457 if (dict != NULL)
465 ::CFDictionarySetValue (dict, key, cf_number.get());
475 CFMutableDictionaryRef dict = Dictionary(can_create);
476 if (dict != NULL)
482 ::CFDictionaryAddValue (dict, key, cf_str.get());
492 CFMutableDictionaryRef dict = Dictionary(can_create);
493 if (dict != NULL)
499 ::CFDictionarySetValue (dict, key, cf_str.get());
510 CFMutableDictionaryRef dict = get();
511 if (dict)
512 ::CFDictionaryRemoveAllValues(dict);
518 CFMutableDictionaryRef dict = get();
519 if (dict)
520 ::CFDictionaryRemoveValue(dict, value);
525 CFMutableDictionaryRef dict = get();
526 if (dict)
527 ::CFDictionaryReplaceValue (dict, key, value);