Lines Matching defs:current_set
111 SCNetworkSetRef current_set = NULL;
121 current_set = SCNetworkSetCopyCurrent(prefs);
122 if (current_set == NULL) {
125 services = SCNetworkSetCopyServices(current_set);
164 my_CFRelease(¤t_set);
232 SCNetworkSetRef current_set = NULL;
238 current_set = SCNetworkSetCopyCurrent(prefs);
239 if (current_set == NULL) {
242 services = SCNetworkSetCopyServices(current_set);
269 my_CFRelease(¤t_set);
580 SCNetworkSetRef current_set = NULL;
607 current_set = SCNetworkSetCopyCurrent(prefs);
608 if (current_set == NULL) {
613 if (SCNetworkSetAddService(current_set, service) == FALSE) {
626 my_CFRelease(¤t_set);
629 *ret_set_p = current_set;
642 SCNetworkSetRef current_set = NULL;
647 net_if_save = copy_interface(prefs, if_name, ¤t_set, &service);
656 if (current_set != NULL) {
657 SCNetworkSetRemoveService(current_set, service);
658 CFRelease(current_set);
680 SCNetworkSetRef current_set = NULL;
685 net_if = copy_interface(prefs, if_name, ¤t_set, &service);
689 my_CFRelease(¤t_set);