Home
last modified time | relevance | path

Searched refs:scan (Results 1 – 25 of 511) sorted by relevance

12345678910>>...21

/freebsd/lib/libnetmap/
H A Dnmreq.c152 for (; *scan && !index("-*^/@", *scan); scan++) in nmreq_header_decode()
289 scan++; in nmreq_register_decode()
310 num = strtol(scan, (char **)&scan, 10); in nmreq_register_decode()
356 num = strtol(scan, (char **)&scan, 10); in nmreq_register_decode()
425 for ( scan++; *scan != '\0' && *scan != '=' && *scan != ','; scan++) { in nmreq_option_parsekeys()
431 scan++; in nmreq_option_parsekeys()
449 for ( ; *scan != '\0' && *scan != ','; scan++) in nmreq_option_parsekeys()
454 scan++; in nmreq_option_parsekeys()
493 for (scan = opt; *scan != '\0' && *scan != ':' && *scan != '='; scan++) in nmreq_option_decode1()
497 scan++; in nmreq_option_decode1()
[all …]
/freebsd/sys/net80211/
H A Dieee80211_input.c529 scan->status = 0; in ieee80211_parse_beacon()
556 memset(scan, 0, sizeof(*scan)); in ieee80211_parse_beacon()
561 scan->chan = scan->bchan; in ieee80211_parse_beacon()
562 scan->ies = frm; in ieee80211_parse_beacon()
570 scan->ssid = frm; in ieee80211_parse_beacon()
579 scan->csa = frm; in ieee80211_parse_beacon()
601 scan->tim = frm; in ieee80211_parse_beacon()
634 scan->rsn = frm; in ieee80211_parse_beacon()
688 if (scan->rates != NULL && scan->xrates != NULL) { in ieee80211_parse_beacon()
701 if (scan->chan != scan->bchan && ic->ic_phytype != IEEE80211_T_FH) { in ieee80211_parse_beacon()
[all …]
H A Dieee80211_scan.c202 scanners[mode] = scan; in ieee80211_scanner_register()
211 if (scanners[mode] == scan) in ieee80211_scanner_unregister()
221 if (scanners[m] == scan) in ieee80211_scanner_unregister_all()
256 if (ss->ss_ops != scan) { in ieee80211_scan_update_locked()
269 if (scan != NULL && !scan->scan_attach(ss)) { in ieee80211_scan_update_locked()
272 scan = NULL; in ieee80211_scan_update_locked()
275 ss->ss_ops = scan; in ieee80211_scan_update_locked()
336 if (scan == NULL) { in ieee80211_start_scan()
363 if (scan == NULL) { in ieee80211_check_scan()
388 if (ss->ss_ops != scan) { in ieee80211_check_scan()
[all …]
H A Dieee80211_sta.c1477 ni->ni_erp = scan.erp; in sta_recv_mgmt()
1498 if (scan.wme != NULL && in sta_recv_mgmt()
1512 if (scan.ath != NULL) in sta_recv_mgmt()
1515 if (scan.htcap != NULL && scan.htinfo != NULL && in sta_recv_mgmt()
1519 scan.htcap, scan.htinfo); in sta_recv_mgmt()
1522 if (scan.vhtcap != NULL && scan.vhtopmode != NULL && in sta_recv_mgmt()
1526 scan.vhtcap, scan.vhtopmode); in sta_recv_mgmt()
1531 scan.htcap, scan.htinfo)) in sta_recv_mgmt()
1543 if (scan.quiet) { in sta_recv_mgmt()
1556 if (scan.tim != NULL) { in sta_recv_mgmt()
[all …]
H A Dieee80211_adhoc.c732 struct ieee80211_scanparams scan; in adhoc_recv_mgmt() local
743 if (ieee80211_parse_beacon(ni, m0, rxchan, &scan) != 0) in adhoc_recv_mgmt()
769 ieee80211_add_scan(vap, rxchan, &scan, wh, in adhoc_recv_mgmt()
773 if (scan.capinfo & IEEE80211_CAPINFO_IBSS) { in adhoc_recv_mgmt()
787 if (ieee80211_ibss_node_check_new(ni, &scan)) { in adhoc_recv_mgmt()
788 ni = ieee80211_add_neighbor(vap, wh, &scan); in adhoc_recv_mgmt()
821 ieee80211_init_neighbor(ni, wh, &scan); in adhoc_recv_mgmt()
837 memcpy(ni->ni_tstamp.data, scan.tstamp, in adhoc_recv_mgmt()
848 if (scan.htcap != NULL && scan.htinfo != NULL && in adhoc_recv_mgmt()
851 scan.htcap, scan.htinfo)); in adhoc_recv_mgmt()
[all …]
/freebsd/contrib/less/
H A Dregexp.c258 scan = OPERAND(scan);
277 for (; scan != NULL; scan = regnext(scan))
667 scan = p;
842 scan = prog;
965 scan = regnext(scan);
966 } while (scan != NULL && OP(scan) == BRANCH);
1046 scan++;
1050 while (*scan != '\0' && strchr(opnd, *scan) != NULL) {
1052 scan++;
1056 while (*scan != '\0' && strchr(opnd, *scan) == NULL) {
[all …]
/freebsd/sys/kern/
H A Dsubr_blist.c624 --scan; in blst_next_leaf_alloc()
638 scan->bm_bitmap = 0; in blst_next_leaf_alloc()
647 scan->bm_bitmap ^= 1; in blst_next_leaf_alloc()
656 scan->bm_bitmap = 0; in blst_next_leaf_alloc()
676 mask = ~scan->bm_bitmap; in blst_leaf_alloc()
758 scan->bm_bitmap &= mask; in blst_leaf_alloc()
784 mask = scan->bm_bitmap; in blst_meta_alloc()
853 scan->bm_bitmap |= mask; in blst_leaf_free()
940 if (scan->bm_bitmap == 0) { in blst_copy()
977 scan->bm_bitmap &= ~mask; in blst_leaf_fill()
[all …]
/freebsd/usr.bin/rpcgen/
H A Drpc_parse.c112 scan(TOK_IDENT, &tok); in def_struct()
114 scan(TOK_LBRACE, &tok); in def_struct()
143 scan(TOK_IDENT, &tok); in def_program()
145 scan(TOK_LBRACE, &tok); in def_program()
150 scan(TOK_IDENT, &tok); in def_program()
228 scan(TOK_EQUAL, &tok); in def_program()
243 scan(TOK_IDENT, &tok); in def_enum()
270 scan(TOK_IDENT, &tok); in def_const()
272 scan(TOK_EQUAL, &tok); in def_const()
286 scan(TOK_IDENT, &tok); in def_union()
[all …]
/freebsd/contrib/ntp/libntp/
H A Dgetopt.c31 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/usr.bin/bsdiff/bsdiff/
H A Dbsdiff.c121 off_t scan,pos,len; in main() local
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()
222 (old[scan+lastoffset] == new[scan])) in main()
235 if(scan<newsize) { in main()
249 if(new[scan-lenb+i]== in main()
281 lastscan=scan-lenb; in main()
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_settings.cpp1220 if (*scan >= '0' && *scan <= '9') { in __kmp_parse_nested_num_threads()
2808 if ((**scan < '0') || (**scan > '9')) { in __kmp_parse_subplace_list()
2833 if ((**scan < '0') || (**scan > '9')) { in __kmp_parse_subplace_list()
2872 if ((**scan < '0') || (**scan > '9')) { in __kmp_parse_subplace_list()
2914 } else if ((**scan >= '0') && (**scan <= '9')) { in __kmp_parse_place()
2955 if ((*scan < '0') || (*scan > '9')) { in __kmp_parse_place_list()
2994 if ((*scan < '0') || (*scan > '9')) { in __kmp_parse_place_list()
3199 next = scan; in __kmp_stg_parse_places()
3203 scan = next; in __kmp_stg_parse_places()
3530 for (scan = buf; *scan != '\0'; scan++) { in __kmp_stg_parse_proc_bind()
[all …]
H A Dkmp_affinity.cpp1437 KMP_SNPRINTF(scan, end - scan + 1, "{<empty>}"); in __kmp_affinity_print_mask()
1457 KMP_SNPRINTF(scan, end - scan + 1, "%s", ","); in __kmp_affinity_print_mask()
1467 KMP_SNPRINTF(scan, end - scan + 1, "%u", start); in __kmp_affinity_print_mask()
1470 KMP_SNPRINTF(scan, end - scan + 1, ",%u", previous); in __kmp_affinity_print_mask()
3754 next = scan; in __kmp_affinity_process_proclist()
3962 if (**scan == '}' || **scan == ',') { in __kmp_process_subplace_list()
3990 if (**scan == '}' || **scan == ',') { in __kmp_process_subplace_list()
4037 if (**scan == '}' || **scan == ',') { in __kmp_process_subplace_list()
4077 } else if ((**scan >= '0') && (**scan <= '9')) { in __kmp_process_place()
4126 if (*scan == '\0' || *scan == ',') { in __kmp_affinity_process_placelist()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Drc_cmdlength.c21 const char *scan; in remoteconfig_cmdlength() local
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 Dnumeric.inc26 // [exclusive.scan], exclusive scan
29 // [inclusive.scan], inclusive scan
32 // [transform.exclusive.scan], transform exclusive scan
35 // [transform.inclusive.scan], transform inclusive scan
/freebsd/sys/contrib/zlib/
H A Ddeflate.c1434 if (*scan == *match) scan++; in longest_match()
1459 } while (*++scan == *++match && *++scan == *++match && in longest_match()
1460 *++scan == *++match && *++scan == *++match && in longest_match()
1461 *++scan == *++match && *++scan == *++match && in longest_match()
1462 *++scan == *++match && *++scan == *++match && in longest_match()
1531 } while (*++scan == *++match && *++scan == *++match && in longest_match()
1532 *++scan == *++match && *++scan == *++match && in longest_match()
1533 *++scan == *++match && *++scan == *++match && in longest_match()
1534 *++scan == *++match && *++scan == *++match && in longest_match()
2063 if (prev == *++scan && prev == *++scan && prev == *++scan) { in deflate_rle()
[all …]
/freebsd/contrib/ntp/sntp/libopts/
H A Dnested.c434 *nm_len = (size_t)(scan - name); in scan_xml_name()
443 scan = SPN_WHITESPACE_CHARS(scan); in scan_xml_name()
444 scan = parse_attrs(NULL, scan, &option_load_mode, val); in scan_xml_name()
445 if (scan == NULL) in scan_xml_name()
452 if (*scan == '/') { in scan_xml_name()
456 if (*++scan != '>') in scan_xml_name()
460 return scan+1; in scan_xml_name()
513 char const * scan; in scan_xml() local
529 scan = val_str; in scan_xml()
534 if (scan == NULL) in scan_xml()
[all …]
H A Dsave.c519 char * scan = text; in remove_settings() local
522 char * next = scan = strstr(scan, zCfgProg); in remove_settings()
523 if (scan == NULL) in remove_settings()
526 scan = SPN_WHITESPACE_CHARS(scan + zCfgProg_LEN); in remove_settings()
530 scan = next; in remove_settings()
545 new_sz = map_info.txt_size - strlen(scan); in remove_settings()
549 if (lseek(fd, (scan - text), SEEK_SET) < 0) in remove_settings()
550 scan = next; in remove_settings()
552 scan = next; in remove_settings()
554 scan = next; in remove_settings()
[all …]
H A Dusage.c434 char * scan; in optionPrintParagraphs() local
441 scan = buf; in optionPrintParagraphs()
444 scan = strchr(scan, NL); in optionPrintParagraphs()
445 if (scan == NULL) in optionPrintParagraphs()
449 scan++; in optionPrintParagraphs()
453 scan++; in optionPrintParagraphs()
454 if ((! isspace((int)*scan)) || (*scan == HT)) in optionPrintParagraphs()
460 if (*scan == NL) { in optionPrintParagraphs()
489 *scan = NUL; in optionPrintParagraphs()
494 *scan = svch; in optionPrintParagraphs()
[all …]
/freebsd/contrib/ofed/libibnetdisc/
H A Dibnetdisc.c101 f_internal_t *f_int = scan->f_int; in retract_dpath()
103 if (scan->cfg->max_hops && in retract_dpath()
122 f_internal_t *f_int = scan->f_int; in extend_dpath()
124 if (scan->cfg->max_hops && in extend_dpath()
334 f_internal_t *f_int = scan->f_int; in recv_port_info()
530 f_internal_t *f_int = scan->f_int; in recv_node_info()
570 if (scan->cfg->show_progress) in recv_node_info()
757 ibnd_scan_t scan; in ibnd_discover_fabric() local
777 memset(&scan.selfportid, 0, sizeof(scan.selfportid)); in ibnd_discover_fabric()
778 scan.f_int = f_int; in ibnd_discover_fabric()
[all …]
/freebsd/sys/dev/ath/
H A Dif_ath_lna_div.c331 antcomb->scan = AH_FALSE; in ath_select_ant_div_from_quick_scan()
503 if ((antcomb->scan == 0) in ath_ant_adjust_fast_divbias()
518 if ((antcomb->scan == 0) in ath_ant_adjust_fast_divbias()
528 if ((antcomb->scan == 0) in ath_ant_adjust_fast_divbias()
543 if ((antcomb->scan == 0) in ath_ant_adjust_fast_divbias()
589 if ((antcomb->scan == 0) in ath_ant_adjust_fast_divbias()
604 if ((antcomb->scan == 0) in ath_ant_adjust_fast_divbias()
614 if ((antcomb->scan == 0) in ath_ant_adjust_fast_divbias()
629 if ((antcomb->scan == 0) in ath_ant_adjust_fast_divbias()
822 antcomb->scan = AH_TRUE; in ath_lna_rx_comb_scan()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp559 if (!scan(V)) in scan()
578 bool ScanReachableSymbols::scan(SVal val) { in scan() function in ScanReachableSymbols
580 return scan(X->getRegion()); in scan()
584 return scan(*X); in scan()
587 return scan(X->getLoc()); in scan()
590 return scan(Sym); in scan()
593 return scan(*X); in scan()
617 if (!scan(Super)) in scan()
631 if (!scan(Var.getCapturedRegion())) in scan()
641 return S.scan(val); in scanReachableSymbols()
[all …]
/freebsd/contrib/ncurses/ncurses/tty/
H A Dlib_tstp.c270 SCREEN *scan; in handle_SIGINT() local
271 for (each_screen(scan)) { in handle_SIGINT()
272 if (scan->_ofp != 0 in handle_SIGINT()
273 && NC_ISATTY(fileno(scan->_ofp))) { in handle_SIGINT()
274 scan->_outch = NCURSES_SP_NAME(_nc_outch); in handle_SIGINT()
276 set_term(scan); in handle_SIGINT()
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dmcu.c16 u8 bw_index, bool scan) in mt76x2_mcu_set_channel() argument
20 u8 scan; in mt76x2_mcu_set_channel() member
30 .scan = scan, in mt76x2_mcu_set_channel()
/freebsd/usr.bin/lex/
H A DMakefile21 nfa.c options.c parse.y regex.c scan.c scanflags.c \
36 CLEANFILES= scan.c skel.c
37 GENFILES= parse.c parse.h scan.c skel.c
57 ./${PROG} ${LFLAGS} -t ${COMPRESSION} ${FLEXDIR}/scan.l | \
/freebsd/sbin/camcontrol/
H A Dmodeedit.c271 struct editentry *scan; in editentry_lookup() local
277 return (scan); in editentry_lookup()
389 struct pagename *scan; in nameentry_lookup() local
391 SLIST_FOREACH(scan, &namelist, link) { in nameentry_lookup()
392 if (page == scan->page && subpage == scan->subpage) in nameentry_lookup()
393 return (scan); in nameentry_lookup()
838 struct editentry *scan; in modepage_write() local
842 if (scan->editable || !editonly) { in modepage_write()
844 if (scan->type == 'c' || scan->type == 'z') { in modepage_write()
846 scan->value.svalue); in modepage_write()
[all …]

12345678910>>...21