/freebsd/contrib/netbsd-tests/include/ |
H A D | t_inttypes.c | 71 #define SCAN(fmt, var) \ in ATF_TC_BODY() macro 165 SCAN(SCNd8, i8); in ATF_TC_BODY() 166 SCAN(SCNd16, i16); in ATF_TC_BODY() 167 SCAN(SCNd32, i32); in ATF_TC_BODY() 168 SCAN(SCNd64, i64); in ATF_TC_BODY() 169 SCAN(SCNdLEAST8, il8); in ATF_TC_BODY() 170 SCAN(SCNdLEAST16, il16); in ATF_TC_BODY() 171 SCAN(SCNdLEAST32, il32); in ATF_TC_BODY() 172 SCAN(SCNdLEAST64, il64); in ATF_TC_BODY() 173 SCAN(SCNdFAST8, if8); in ATF_TC_BODY() [all …]
|
/freebsd/lib/libnetmap/ |
H A D | nmreq.c | 106 const char *scan = NULL; in nmreq_header_decode() local 113 scan = ifname; in nmreq_header_decode() 115 if (!strncmp(scan, p->prefix, p->len)) in nmreq_header_decode() 122 scan += p->len; in nmreq_header_decode() 124 vpname = index(scan, ':'); in nmreq_header_decode() 129 if (vpname != scan) { in nmreq_header_decode() 136 if (!nm_is_identifier(scan, vpname)) { in nmreq_header_decode() 137 nmctx_ferror(ctx, "%s: invalid identifier '%.*s'", *pifname, vpname - scan, scan); in nmreq_header_decode() 149 scan = vpname; in nmreq_header_decode() 151 /* scan for a separator */ in nmreq_header_decode() [all …]
|
/freebsd/share/man/man9/ |
H A D | ieee80211_scan.9 | 139 An active scan causes one or more ProbeRequest frames to be sent on 141 A passive request causes each channel in the scan set to be visited but 146 A scan operation involves constructing a set of channels to inspect 147 (the scan set), 153 does things like intelligently construct scan sets and dwell on a channel 155 Scan results are cached and the scan cache is used to avoid scanning when 168 result of a scan. 172 the scan cache for doing roaming and rogue AP monitoring. 198 to register a scan module for a particular operating mode and 212 methods that are called at the start of a scan and when the [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | scan.h | 10 /* Scan Commands, Responses, Notifications */ 13 * enum iwl_scan_subcmd_ids - scan commands 33 * struct iwl_ssid_ie - directed scan network information element 50 /* scan offload */ 59 /* Default watchdog (in MS) for scheduled scan iteration */ 152 * struct iwl_scan_offload_profile_cfg_v1 - scan offload profile config 172 * struct iwl_scan_schedule_lmac - schedule of scan offload 174 * @iterations: num of scan iterations 175 * @full_scan_mul: number of partial scans before each full scan 217 * @flags: bits 1-20: directed scan t [all...] |
/freebsd/sys/net80211/ |
H A D | ieee80211_scan_sw.c | 59 #define ISCAN_INTERRUPT 0x0004 /* interrupt current scan */ 60 #define ISCAN_CANCEL 0x0008 /* cancel current scan */ 62 #define ISCAN_ABORT 0x0010 /* end the scan immediately */ 63 #define ISCAN_RUNNING 0x0020 /* scan was started */ 66 unsigned long ss_scanend; /* time scan must stop */ 67 u_int ss_duration; /* duration for next scan */ 68 struct task ss_scan_start; /* scan start */ 69 struct timeout_task ss_scan_curchan; /* scan execution */ 75 * scan. This value should be large enough to catch most 93 MALLOC_DEFINE(M_80211_SCAN, "80211scan", "802.1 164 ieee80211_swscan_start_scan_locked(const struct ieee80211_scanner * scan,struct ieee80211vap * vap,int flags,u_int duration,u_int mindwell,u_int maxdwell,u_int nssid,const struct ieee80211_scan_ssid ssids[]) ieee80211_swscan_start_scan_locked() argument 239 ieee80211_swscan_start_scan(const struct ieee80211_scanner * scan,struct ieee80211vap * vap,int flags,u_int duration,u_int mindwell,u_int maxdwell,u_int nssid,const struct ieee80211_scan_ssid ssids[]) ieee80211_swscan_start_scan() argument 266 ieee80211_swscan_check_scan(const struct ieee80211_scanner * scan,struct ieee80211vap * vap,int flags,u_int duration,u_int mindwell,u_int maxdwell,u_int nssid,const struct ieee80211_scan_ssid ssids[]) ieee80211_swscan_check_scan() argument 331 ieee80211_swscan_bg_scan(const struct ieee80211_scanner * scan,struct ieee80211vap * vap,int flags) ieee80211_swscan_bg_scan() argument [all...] |
H A D | ieee80211_scan.c | 78 * If there's no scan method pointer, attach the in ieee80211_scan_attach() 198 const struct ieee80211_scanner *scan) in ieee80211_scanner_register() argument 202 scanners[mode] = scan; in ieee80211_scanner_register() 207 const struct ieee80211_scanner *scan) in ieee80211_scanner_unregister() argument 211 if (scanners[mode] == scan) in ieee80211_scanner_unregister() 216 ieee80211_scanner_unregister_all(const struct ieee80211_scanner *scan) in ieee80211_scanner_unregister_all() argument 221 if (scanners[m] == scan) in ieee80211_scanner_unregister_all() 235 const struct ieee80211_scanner *scan) in ieee80211_scan_update_locked() argument 243 if (ss->ss_vap != vap || ss->ss_ops != scan) { in ieee80211_scan_update_locked() 256 if (ss->ss_ops != scan) { in ieee80211_scan_update_locked() 332 const struct ieee80211_scanner *scan; ieee80211_start_scan() local 359 const struct ieee80211_scanner *scan; ieee80211_check_scan() local 427 const struct ieee80211_scanner *scan; ieee80211_bg_scan() local [all...] |
H A D | ieee80211_input.c | 519 struct ieee80211_channel *rxchan, struct ieee80211_scanparams *scan) in ieee80211_parse_beacon() argument 529 scan->status = 0; in ieee80211_parse_beacon() 555 return (scan->status = IEEE80211_BPARSE_BADIELEN)); in ieee80211_parse_beacon() 556 memset(scan, 0, sizeof(*scan)); in ieee80211_parse_beacon() 557 scan->tstamp = frm; frm += 8; in ieee80211_parse_beacon() 558 scan->bintval = le16toh(*(uint16_t *)frm); frm += 2; in ieee80211_parse_beacon() 559 scan->capinfo = le16toh(*(uint16_t *)frm); frm += 2; in ieee80211_parse_beacon() 560 scan->bchan = ieee80211_chan2ieee(ic, rxchan); in ieee80211_parse_beacon() 561 scan->chan = scan->bchan; in ieee80211_parse_beacon() 562 scan->ies = frm; in ieee80211_parse_beacon() [all …]
|
H A D | ieee80211_scan.h | 36 * active scan causes one or more probe request frames to be sent on 38 * scan set to be visited but no frames to be transmitted; the station 45 * A scan operation involves constructing a set of channels to inspect 46 * (the scan set), visiting each channel and collecting information 49 * as possible so we do things like intelligently construct scan sets 50 * and dwell on a channel only as long as necessary. The scan code also 51 * maintains a cache of recent scan results and uses it to bypass scanning 52 * whenever possible. The scan cache is also used to enable roaming 62 * the final station/channel to return as the result of a scan. 66 * scan cach [all...] |
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | bgscan_simple.c | 2 * WPA Supplicant - background scan and roaming module: simple 17 #include "scan.h" 30 int short_scan_count; /* counter for scans using short scan interval */ 31 int max_short_scans; /* maximum times we short-scan before back-off */ 52 /* Try BTM x times, scan on x + 1 */ in bgscan_simple_btm_query() 65 /* Fall through and do regular scan */ in bgscan_simple_btm_query() 69 /* Start a new timeout for the next one. We don't have scan callback to in bgscan_simple_btm_query() 98 wpa_printf(MSG_DEBUG, "bgscan simple: Request a background scan"); in bgscan_simple_timeout() 100 wpa_printf(MSG_DEBUG, "bgscan simple: Failed to trigger scan"); in bgscan_simple_timeout() 110 "off to long scan interval"); in bgscan_simple_timeout() [all …]
|
H A D | scan.c | 24 #include "scan.h" 168 "end of scan list - go back to beginning"); in wpa_supplicant_assoc_try() 207 "Failed to assign random MAC address for a scan"); in wpas_trigger_scan_cb() 218 "Request driver to clear scan cache due to local BSS flush"); in wpas_trigger_scan_cb() 223 * Store the obtained vendor scan cookie (if any) in wpa_s context. in wpas_trigger_scan_cb() 224 * The current design is to allow only one scan request on each in wpas_trigger_scan_cb() 225 * interface, hence having this scan cookie stored in wpa_s context is in wpas_trigger_scan_cb() 228 * Revisit this logic if concurrent scan operations per interface in wpas_trigger_scan_cb() 256 /* Restore scan_req since we will try to scan again */ in wpas_trigger_scan_cb() 282 * wpa_supplicant_trigger_scan - Request driver to start a scan [all …]
|
/freebsd/usr.bin/rpcgen/ |
H A D | rpc_parse.c | 91 scan(TOK_SEMICOLON, &tok); in get_definition() 112 scan(TOK_IDENT, &tok); in def_struct() 114 scan(TOK_LBRACE, &tok); in def_struct() 122 scan(TOK_SEMICOLON, &tok); in def_struct() 143 scan(TOK_IDENT, &tok); in def_program() 145 scan(TOK_LBRACE, &tok); in def_program() 148 scan(TOK_VERSION, &tok); in def_program() 150 scan(TOK_IDENT, &tok); in def_program() 153 scan(TOK_LBRACE, &tok); in def_program() 163 scan(TOK_IDENT, &tok); in def_program() [all …]
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_nl80211_scan.c | 95 wpa_printf(MSG_DEBUG, "nl80211: Abort scan"); in nl80211_abort_scan() 99 wpa_printf(MSG_DEBUG, "nl80211: Abort scan failed: ret=%d (%s)", in nl80211_abort_scan() 114 wpa_printf(MSG_DEBUG, "nl80211: Abort vendor scan with cookie 0x%llx", in nl80211_abort_vendor_scan() 132 "nl80211: Aborting vendor scan with cookie 0x%llx failed: ret=%d (%s)", in nl80211_abort_vendor_scan() 146 * wpa_driver_nl80211_scan_timeout - Scan timeout to report scan completion 150 * This function can be used as registered timeout when starting a scan to 151 * generate a scan completed event if the driver does not report this. 157 wpa_printf(MSG_DEBUG, "nl80211: Scan timeout - try to abort it"); in wpa_driver_nl80211_scan_timeout() 167 wpa_printf(MSG_DEBUG, "nl80211: Failed to abort scan"); in wpa_driver_nl80211_scan_timeout() 172 wpa_printf(MSG_DEBUG, "nl80211: Try to get scan results"); in wpa_driver_nl80211_scan_timeout() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_blist.c | 130 static daddr_t blst_leaf_alloc(blmeta_t *scan, daddr_t blk, 132 static daddr_t blst_meta_alloc(blmeta_t *scan, daddr_t cursor, int *count, 134 static void blst_leaf_free(blmeta_t *scan, daddr_t relblk, int count); 135 static void blst_meta_free(blmeta_t *scan, daddr_t freeBlk, daddr_t count, 137 static void blst_copy(blmeta_t *scan, daddr_t blk, daddr_t radix, 139 static daddr_t blst_leaf_fill(blmeta_t *scan, daddr_t blk, int count); 140 static daddr_t blst_meta_fill(blmeta_t *scan, daddr_t allocBlk, daddr_t count, 143 static void blst_radix_print(blmeta_t *scan, daddr_t blk, daddr_t radix, 538 * Scan leaf. in blist_stats() 578 * 'scan' is a leaf node, and its first block is at address 'start'. The [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | dsl_scan.h | 66 uint64_t scn_errors; /* scan I/O error count */ 99 * in-memory information about the scan and a pointer to the on-disk 100 * representation (i.e. dsl_scan_phys_t). Most of the state of the scan 101 * is contained on-disk to allow the scan to resume in the event of a reboot 103 * running scan, some caching information, and how it should traverse the pool. 105 * The following members of this structure direct the behavior of the scan: 107 * scn_suspending - a scan that cannot be completed in a single txg or 113 * a scan at the specified txg value. 115 * scn_done_txg - when a scan completes its traversal it will set 118 * the scan but have not yet been processed (i.e deferred [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ObjCUnusedIVarsChecker.cpp | 33 static void Scan(IvarUsageMap& M, const Stmt *S) { in Scan() function 47 Scan(M, BE->getBody()); in Scan() 55 Scan(M, sub); in Scan() 59 Scan(M, SubStmt); in Scan() 62 static void Scan(IvarUsageMap& M, const ObjCPropertyImplDecl *D) { in Scan() function 76 static void Scan(IvarUsageMap& M, const ObjCContainerDecl *D) { in Scan() function 77 // Scan the methods for accesses. in Scan() 79 Scan(M, I->getBody()); in Scan() 82 // Scan for @synthesized property methods that act as setters/getters in Scan() 85 Scan(M, I); in Scan() [all …]
|
/freebsd/contrib/less/ |
H A D | regexp.c | 161 static char *regparse; /* Input-scan pointer. */ 214 register char *scan; local 256 scan = r->program+1; /* First BRANCH. */ 257 if (OP(regnext(scan)) == END) { /* Only one top-level choice. */ 258 scan = OPERAND(scan); 261 if (OP(scan) == EXACTLY) 262 r->regstart = *OPERAND(scan); 263 else if (OP(scan) == BOL) 277 for (; scan != NULL; scan = regnext(scan)) 278 if (OP(scan) == EXACTLY && ((int) strlen(OPERAND(scan))) >= len) { [all …]
|
/freebsd/usr.bin/lex/ |
H A D | initscan.c | 1847 #line 1 "scan.l" 1848 /* scan.l - scanner for flex input -*-C-*- */ 1849 #line 4 "scan.l" 2224 #line 159 "scan.l" 2226 #line 161 "scan.l" 2296 #line 171 "scan.l" 2301 #line 172 "scan.l" 2306 #line 173 "scan.l" 2311 #line 174 "scan.l" 2316 #line 175 "scan.l" [all …]
|
/freebsd/usr.bin/bsdiff/bsdiff/ |
H A D | bsdiff.c | 121 off_t scan,pos,len; in main() 204 scan=0;len=0;pos=0; in main() 206 while(scan<newsize) { in main() 209 for(scsc=scan+=len;scan<newsize;scan++) { in main() 210 len=search(I,old,oldsize,new+scan,newsize-scan, in main() 213 for(;scsc<scan+len;scsc++) in main() 221 if((scan in main() 120 off_t scan,pos,len; main() local [all...] |
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | scan.c | 12 #include "fw/api/scan.h" 24 /* adaptive dwell max budget time [TU] for full scan */ 26 /* adaptive dwell max budget time [TU] for directed scan */ 34 /* number of scan channels */ 45 /* minimal number of 2GHz and 5GHz channels in the regular scan request */ 48 /* Number of iterations on the channel for mei filtered scan */ 82 /* For CDB this is low band scan type, for non-CDB - type. */ 234 * Force a non-fragmented scan in that case. in _iwl_mvm_get_scan_type() 254 * in case of DCM with P2P GO set all scan requests as in _iwl_mvm_get_scan_type() 255 * fast-balance scan in _iwl_mvm_get_scan_type() [all...] |
/freebsd/contrib/ntp/libntp/ |
H A D | getopt.c | 31 static char *scan = NULL; /* Private scan pointer. */ variable 66 scan = NULL; in ntp_getopt() 70 if (scan == NULL || *scan == '\0') { in ntp_getopt() 82 scan = argv[ntp_optind++]+1; in ntp_getopt() 85 c = *scan++; in ntp_getopt() 97 if (*scan != '\0') { in ntp_getopt() 98 ntp_optarg = scan; in ntp_getopt() 99 scan = NULL; in ntp_getopt()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
H A D | redundancy_draid_spare3.ksh | 114 log_must check_pool_status $TESTPOOL "scan" "repaired 0B" 115 log_must check_pool_status $TESTPOOL "scan" "with 0 errors" 125 log_must check_pool_status $TESTPOOL "scan" "repaired 0B" 126 log_must check_pool_status $TESTPOOL "scan" "with 0 errors" 135 log_must check_pool_status $TESTPOOL "scan" "repaired 0B" 136 log_must check_pool_status $TESTPOOL "scan" "with 0 errors" 146 log_must check_pool_status $TESTPOOL "scan" "repaired 0B" 147 log_must check_pool_status $TESTPOOL "scan" "with 0 errors" 157 log_must check_pool_status $TESTPOOL "scan" "repaired 0B" 158 log_must check_pool_status $TESTPOOL "scan" "with 0 errors" [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | rc_cmdlength.c | 21 const char *scan; in remoteconfig_cmdlength() local 31 /* now do a forward scan */ in remoteconfig_cmdlength() 32 for (scan = src_buf; scan != src_end; ++scan) { in remoteconfig_cmdlength() 33 ch = scan[0]; in remoteconfig_cmdlength() 37 return (size_t)(scan - src_buf); in remoteconfig_cmdlength()
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | numeric.cppm |
|
/freebsd/usr.sbin/bluetooth/bluetooth-config/ |
H A D | bluetooth-config.8 | 33 .Ar scan 44 Scan for a specific bluetooth device address. 46 Limit scan to a specific host controller. 52 will help finding and setting up bluetooth controllers, scan for nearby bluetooth devices in 72 scan -n ubt0 -a 00:26:bb:7a:58:95 74 This will scan the bluetooth controller ubt0hci for a bluetooth device with the address 85 scan 87 This will scan all bluetooth controllers on the systems for bluetooth devices, prompting
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_settings.cpp | 1119 const char *scan = next; in __kmp_parse_nested_num_threads() local 1196 SKIP_WS(scan); in __kmp_parse_nested_num_threads() 1197 if (*scan == '\0') { in __kmp_parse_nested_num_threads() 1201 if (*scan == ',') { in __kmp_parse_nested_num_threads() 1216 scan++; // skip ',' in __kmp_parse_nested_num_threads() 1217 SKIP_WS(scan); in __kmp_parse_nested_num_threads() 1220 if (*scan >= '0' && *scan <= '9') { in __kmp_parse_nested_num_threads() 1222 const char *buf = scan; in __kmp_parse_nested_num_threads() 1225 SKIP_DIGITS(scan); in __kmp_parse_nested_num_threads() 1228 num = __kmp_str_to_int(buf, *scan); in __kmp_parse_nested_num_threads() [all …]
|