Lines Matching defs:idx
46 CFIndex idx;
49 for (idx = 0; idx < service_count; idx++) {
50 SCNetworkServiceRef service = CFArrayGetValueAtIndex(services, idx);
67 results = CFArrayCreateMutable(kCFAllocatorDefault, CFArrayGetCount(services) - idx, &kCFTypeArrayCallBacks);
84 CFIndex idx;
89 for (idx = 0; idx < rule_count; idx++) {
90 CFDictionaryRef rule = CFArrayGetValueAtIndex(app_rules, idx);
96 return idx;
114 CFIndex idx;
125 for (idx = 0; idx < executable_count; idx++) {
126 CFDictionaryRef executable = CFArrayGetValueAtIndex(executables, idx);
183 for (idx = 0; idx < account_count; idx++) {
184 CFStringRef account = CFArrayGetValueAtIndex(accounts, idx);
204 for (idx = 0; idx < match_domain_count; idx++) {
205 CFStringRef domain = CFArrayGetValueAtIndex(match_domains, idx);
280 CFIndex idx;
282 for (idx = 0; idx < app_rule_count; idx++) {
283 CFDictionaryRef rule = CFArrayGetValueAtIndex(app_rules, idx);
403 CFIndex idx = find_app_rule(vpn_config, ruleIdentifier);
404 if (idx >= 0) {
406 CFDictionaryRef ruleSettings = CFArrayGetValueAtIndex(app_rules, idx);
436 CFIndex idx = find_app_rule(vpn_config, ruleIdentifier);
437 if (idx >= 0) {
447 CFArrayRemoveValueAtIndex(new_app_rules, idx);