Lines Matching defs:keys
86 * Manage per-session keys.
90 CFArrayRef keys;
96 * Add this key to my list of per-session keys
99 keys = CFDictionaryGetValue(session, kSCDSessionKeys);
100 if ((keys == NULL) ||
101 (CFArrayGetFirstIndexOfValue(keys,
102 CFRangeMake(0, CFArrayGetCount(keys)),
105 * if no session keys defined "or" keys defined but not
108 if (keys != NULL) {
110 newKeys = CFArrayCreateMutableCopy(NULL, 0, keys);
131 * Since we are using per-session keys and this key already
182 * sessionData dictionary looking for regex keys which match the
183 * updated key. If a match is found then we mark those keys as
340 * Set the new/updated keys
349 * Remove the specified keys
359 * Notify the specified keys
390 CFArrayRef notify = NULL; /* keys to notify (un-serialized) */
391 CFArrayRef remove = NULL; /* keys to remove (un-serialized) */
403 /* un-serialize the keys to remove */
410 /* un-serialize the keys to notify */
447 const void ** keys = keys_q;
454 keys = CFAllocatorAllocate(NULL, n * sizeof(CFStringRef), 0);
456 CFDictionaryGetKeysAndValues(dict, keys, NULL);
460 key = (CFStringRef)keys[i];
466 if (keys != keys_q) {
467 CFAllocatorDeallocate(NULL, keys);