Searched refs:window_array (Results 1 – 3 of 3) sorted by relevance
62 CFArrayRef window_array = in GetWindowRef() local68 if (window_array && CFArrayGetCount(window_array)) { in GetWindowRef()70 CFArrayGetValueAtIndex(window_array, 0))); in GetWindowRef()74 if (window_array) { in GetWindowRef()75 CFRelease(window_array); in GetWindowRef()93 CFArrayRef window_array = CGWindowListCopyWindowInfo( in GetWindowList() local96 if (!window_array) in GetWindowList()104 CFIndex count = CFArrayGetCount(window_array); in GetWindowList()107 CFArrayGetValueAtIndex(window_array, i)); in GetWindowList()153 CFRelease(window_array); in GetWindowList()
107 CFArrayRef window_array = CGWindowListCreateDescriptionFromArray(window_id_array);109 if (CFArrayGetCount(window_array) > 0) {111 reinterpret_cast<CFDictionaryRef>(CFArrayGetValueAtIndex(window_array, 0));118 CFRelease(window_array);
39 CFArrayRef window_array =41 bool valid = window_array && CFArrayGetCount(window_array);43 CFRelease(window_array);107 CFArrayRef window_array =109 if (!window_array || 0 == CFArrayGetCount(window_array)) {117 CFArrayGetValueAtIndex(window_array, 0));131 CFRelease(window_array);