MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / getValueForKey

Function getValueForKey

Trash/stringTable.c:311–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309}
310
311BOOL getValueForKey(
312 char *key,
313 char **val,
314 INTN *size
315)
316{
317 if (getValueForBootKey(bootArgs->bootString, key, val, size))
318 return YES;
319 else if (getValueForStringTableKey(bootArgs->config, key, val, size))
320 return YES;
321
322 return NO;
323}
324
325#define LOCALIZABLE \
326 "/usr/Devices/%s.config/%s.lproj/Localizable.strings"

Callers 3

newStringForKeyFunction · 0.85
getBoolForKeyFunction · 0.85
loadOtherConfigsFunction · 0.85

Calls 2

getValueForBootKeyFunction · 0.85

Tested by

no test coverage detected