Lines Matching defs:KeyStrRef

107  * @param   KeyStrRef   The key name.
109 static bool darwinDictIsPresent(CFDictionaryRef DictRef, CFStringRef KeyStrRef)
111 return !!CFDictionaryGetValue(DictRef, KeyStrRef);
120 * @param KeyStrRef The key name.
123 static bool darwinDictGetBool(CFDictionaryRef DictRef, CFStringRef KeyStrRef, bool *pf)
125 CFTypeRef BoolRef = CFDictionaryGetValue(DictRef, KeyStrRef);
142 * @param KeyStrRef The key name.
145 static bool darwinDictGetU8(CFDictionaryRef DictRef, CFStringRef KeyStrRef, uint8_t *pu8)
147 CFTypeRef ValRef = CFDictionaryGetValue(DictRef, KeyStrRef);
163 * @param KeyStrRef The key name.
166 static bool darwinDictGetU16(CFDictionaryRef DictRef, CFStringRef KeyStrRef, uint16_t *pu16)
168 CFTypeRef ValRef = CFDictionaryGetValue(DictRef, KeyStrRef);
184 * @param KeyStrRef The key name.
187 static bool darwinDictGetU32(CFDictionaryRef DictRef, CFStringRef KeyStrRef, uint32_t *pu32)
189 CFTypeRef ValRef = CFDictionaryGetValue(DictRef, KeyStrRef);
205 * @param KeyStrRef The key name.
208 static bool darwinDictGetU64(CFDictionaryRef DictRef, CFStringRef KeyStrRef, uint64_t *pu64)
210 CFTypeRef ValRef = CFDictionaryGetValue(DictRef, KeyStrRef);
226 * @param KeyStrRef The key name.
229 static bool darwinDictGetProcess(CFMutableDictionaryRef DictRef, CFStringRef KeyStrRef, PRTPROCESS pProcess)
233 case sizeof(uint16_t): return darwinDictGetU16(DictRef, KeyStrRef, (uint16_t *)pProcess);
234 case sizeof(uint32_t): return darwinDictGetU32(DictRef, KeyStrRef, (uint32_t *)pProcess);
235 case sizeof(uint64_t): return darwinDictGetU64(DictRef, KeyStrRef, (uint64_t *)pProcess);
247 * @param KeyStrRef The key name.
251 static bool darwinDictGetString(CFDictionaryRef DictRef, CFStringRef KeyStrRef, char *psz, size_t cch)
253 CFTypeRef ValRef = CFDictionaryGetValue(DictRef, KeyStrRef);
270 * @param KeyStrRef The key name.
273 static bool darwinDictDupString(CFDictionaryRef DictRef, CFStringRef KeyStrRef, char **ppsz)
276 if (darwinDictGetString(DictRef, KeyStrRef, szBuf, sizeof(szBuf)))
292 * @param KeyStrRef The key name.
296 static bool darwinDictGetData(CFDictionaryRef DictRef, CFStringRef KeyStrRef, void *pvBuf, size_t cbBuf)
298 CFTypeRef ValRef = CFDictionaryGetValue(DictRef, KeyStrRef);