| /netbsd-src/external/bsd/wpa/dist/src/ap/ |
| H A D | mbo_ap.c | 132 char *pos2 = pos; in mbo_ap_get_info() local 134 ret = os_snprintf(pos2, end - pos2, in mbo_ap_get_info() 139 if (os_snprintf_error(end - pos2, ret)) in mbo_ap_get_info() 141 pos2 += ret; in mbo_ap_get_info() 144 ret = os_snprintf(pos2, end - pos2, "%u%s", in mbo_ap_get_info() 148 if (os_snprintf_error(end - pos2, ret)) { in mbo_ap_get_info() 149 pos2 = NULL; in mbo_ap_get_info() 152 pos2 += ret; in mbo_ap_get_info() 155 if (!pos2) in mbo_ap_get_info() 157 ret = os_snprintf(pos2, end - pos2, "\n"); in mbo_ap_get_info() [all …]
|
| /netbsd-src/external/bsd/wpa/dist/src/wps/ |
| H A D | wps_er_ssdp.c | 26 char buf[MULTICAST_MAX_READ], *pos, *pos2, *start; in wps_er_ssdp_rx() local 82 pos2 = os_strstr(start, "max-age="); in wps_er_ssdp_rx() 83 if (pos2 == NULL) in wps_er_ssdp_rx() 85 pos2 += 8; in wps_er_ssdp_rx() 86 max_age = atoi(pos2); in wps_er_ssdp_rx() 89 pos2 = os_strstr(start, "uuid:"); in wps_er_ssdp_rx() 90 if (pos2) { in wps_er_ssdp_rx() 91 pos2 += 5; in wps_er_ssdp_rx() 92 while (*pos2 == ' ') in wps_er_ssdp_rx() 93 pos2++; in wps_er_ssdp_rx() [all …]
|
| /netbsd-src/sys/dev/mca/ |
| H A D | com_mca.c | 219 int pos2; in ibm_modem_getcfg() local 222 pos2 = mca_conf_read(ma->ma_mc, ma->ma_slot, 2); in ibm_modem_getcfg() 231 snum = (pos2 & 0x0e) >> 1; in ibm_modem_getcfg() 245 int pos2, pos3, pos4; in neocom1_getcfg() local 248 pos2 = mca_conf_read(ma->ma_mc, ma->ma_slot, 2); in neocom1_getcfg() 270 *irqp = neotech_irq[(pos2 & 0x06) >> 1]; in neocom1_getcfg() 282 int snum, pos2; in ibm_mpcom_getcfg() local 284 pos2 = mca_conf_read(ma->ma_mc, ma->ma_slot, 2); in ibm_mpcom_getcfg() 295 if (pos2 & 0x10) { in ibm_mpcom_getcfg() 300 snum = (pos2 & 0x0e) >> 1; in ibm_mpcom_getcfg()
|
| H A D | if_tra_mca.c | 130 int pos2; in tiara_mca_attach() local 134 pos2 = mca_conf_read(ma->ma_mc, ma->ma_slot, 2); in tiara_mca_attach() 160 iobase = 0x1200 + ((pos2 & 0xf0) << 1); in tiara_mca_attach() 161 irq = tiara_irq[((pos2 & 0x0c) >> 2)]; in tiara_mca_attach() 184 iobase = smc_iobase[((pos2 & 0x0e) >> 1)]; in tiara_mca_attach() 185 if ((pos2 & 0x80) != 0) in tiara_mca_attach() 186 irq = smc_irq[((pos2 & 0x70) >> 4)]; in tiara_mca_attach()
|
| H A D | if_le_mca.c | 134 int i, pos2, pos3, pos4, irq, membase; in le_mca_attach() local 178 pos2 = mca_conf_read(ma->ma_mc, ma->ma_slot, 2); in le_mca_attach() 179 irq = (pos2 & (1<<4)) ? 11 : 10; in le_mca_attach() 180 membase = 0xc0000 + ((pos2 & 0x0e) >> 1) * 0x4000; in le_mca_attach() 198 pos2 = mca_conf_read(ma->ma_mc, ma->ma_slot, 2); in le_mca_attach() 199 if ((pos2 & 0x01) == 0) { in le_mca_attach() 201 mca_conf_write(ma->ma_mc, ma->ma_slot, 2, pos2 | 0x01); in le_mca_attach()
|
| H A D | if_ne_mca.c | 139 int pos2, iobase, irq; in ne_mca_attach() local 144 pos2 = mca_conf_read(ma->ma_mc, ma->ma_slot, 2); in ne_mca_attach() 161 iobase = ne_mca_iobase[(pos2 & 0x0e) >> 1]; in ne_mca_attach() 162 irq = ne_mca_irq[(pos2 & 0x60) >> 5]; in ne_mca_attach()
|
| H A D | if_we_mca.c | 159 int pos2, pos3, pos5; in we_mca_attach() local 163 pos2 = mca_conf_read(ma->ma_mc, ma->ma_slot, 2); in we_mca_attach() 224 iobase = 0x200 + (((pos2 & 0x0e) >> 1) * 0x020); in we_mca_attach() 230 iobase = 0x800 + (((pos2 & 0xf0) >> 4) * 0x1000); in we_mca_attach()
|
| H A D | if_elmc_mca.c | 107 int pos2, pos3, i, revision; in elmc_mca_attach() local 112 pos2 = mca_conf_read(ma->ma_mc, ma->ma_slot, 2); in elmc_mca_attach() 134 iobase = ELMC_IOADDR_BASE + (0x1000 * ((pos2 & 0x6) >> 1)); in elmc_mca_attach() 148 pbram_addr = ELMC_MADDR_BASE + (((pos2 & 0x18) >> 3) * 0x8000); in elmc_mca_attach() 255 (pos2 & 0x20) ? "ex" : "in"); in elmc_mca_attach()
|
| H A D | esp_mca.c | 143 int pos2, pos3, pos5; in esp_mca_attach() local 177 pos2 = mca_conf_read(ma->ma_mc, ma->ma_slot, 2); in esp_mca_attach() 181 iobase = ncrmca_iobase[(pos2 & 0x0e) >> 1]; in esp_mca_attach() 182 irq = 3 + 2 * ((pos2 & 0x30) >> 4); in esp_mca_attach()
|
| H A D | edc_mca.c | 147 int pos2, pos3, pos4; in edc_mca_attach() local 155 pos2 = mca_conf_read(ma->ma_mc, ma->ma_slot, 2); in edc_mca_attach() 199 iobase = (pos2 & IO_IS_ALT) ? ESDIC_IOALT : ESDIC_IOPRM; in edc_mca_attach() 200 drq = (pos2 & DRQ_MASK) >> 2; in edc_mca_attach() 219 (pos2 & FAIRNESS_ENABLE) ? "On" : "Off", in edc_mca_attach()
|
| /netbsd-src/external/bsd/wpa/dist/src/utils/ |
| H A D | ext_password_test.c | 47 char *pos, *pos2; in ext_password_test_get() local 61 pos2 = pos; in ext_password_test_get() 62 while (*pos2 != '|' && *pos2 != '\0') in ext_password_test_get() 63 pos2++; in ext_password_test_get() 64 buf = ext_password_alloc(pos2 - pos); in ext_password_test_get() 67 wpabuf_put_data(buf, pos, pos2 - pos); in ext_password_test_get()
|
| /netbsd-src/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/ |
| H A D | userdatarequest.cpp | 39 char *tmp, *pos, *pos2; in setParams() local 51 pos2 = strchr(pos, ':'); in setParams() 52 if (pos2 == NULL) { in setParams() 56 *pos2++ = '\0'; in setParams() 59 queryInfo->setText(pos2); in setParams()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | tree-ssa-alias.h | 185 HOST_WIDE_INT pos2, in ranges_overlap_p() argument 190 if (pos1 >= pos2 in ranges_overlap_p() 192 || pos1 < (pos2 + (HOST_WIDE_INT) size2))) in ranges_overlap_p() 194 if (pos2 >= pos1 in ranges_overlap_p() 196 || pos2 < (pos1 + (HOST_WIDE_INT) size1))) in ranges_overlap_p()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | tree-ssa-alias.h | 192 HOST_WIDE_INT pos2, in ranges_overlap_p() argument 197 if (pos1 >= pos2 in ranges_overlap_p() 199 || pos1 < (pos2 + (HOST_WIDE_INT) size2))) in ranges_overlap_p() 201 if (pos2 >= pos1 in ranges_overlap_p() 203 || pos2 < (pos1 + (HOST_WIDE_INT) size1))) in ranges_overlap_p()
|
| /netbsd-src/external/bsd/atf/dist/tools/ |
| H A D | text.cpp | 108 std::string::size_type pos2 = str.find_last_not_of(" \t"); in trim() local 110 if (pos1 == std::string::npos && pos2 == std::string::npos) in trim() 113 return str.substr(0, str.length() - pos2); in trim() 114 else if (pos2 == std::string::npos) in trim() 117 return str.substr(pos1, pos2 - pos1 + 1); in trim()
|
| /netbsd-src/external/bsd/atf/dist/atf-c++/detail/ |
| H A D | text.cpp | 113 std::string::size_type pos2 = str.find_last_not_of(" \t"); in trim() local 115 if (pos1 == std::string::npos && pos2 == std::string::npos) in trim() 118 return str.substr(0, str.length() - pos2); in trim() 119 else if (pos2 == std::string::npos) in trim() 122 return str.substr(pos1, pos2 - pos1 + 1); in trim()
|
| /netbsd-src/external/bsd/tre/dist/tests/ |
| H A D | test-str-source.c | 58 str_handler_compare(size_t pos1, size_t pos2, size_t len, void *context) in str_handler_compare() argument 63 (unsigned long)pos2, (unsigned long)pos2 + len); in str_handler_compare() 64 return strncmp(ctx->str + pos1, ctx->str + pos2, len); in str_handler_compare()
|
| /netbsd-src/external/bsd/wpa/dist/hostapd/ |
| H A D | hlr_auc_gw.c | 278 char buf[200], *pos, *pos2; in read_gsm_triplets() local 315 pos2 = NULL; in read_gsm_triplets() 316 pos = str_token(buf, ":", &pos2); in read_gsm_triplets() 325 pos = str_token(buf, ":", &pos2); in read_gsm_triplets() 333 pos = str_token(buf, ":", &pos2); in read_gsm_triplets() 342 pos = str_token(buf, ":", &pos2); in read_gsm_triplets() 390 char buf[200], *pos, *pos2; in read_milenage() local 427 pos2 = NULL; in read_milenage() 428 pos = str_token(buf, " ", &pos2); in read_milenage() 437 pos = str_token(buf, " ", &pos2); in read_milenage() [all …]
|
| /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/h8300/ |
| H A D | extl.s | 20 pos2: .long 0xffffff01 label 649 mov.l #pos2, er1 655 test_h_gr32 pos2 er1 ; result of sign extend 663 cmp.l #0x00000001, @pos2 667 mov.l #0xffffff01, @pos2 ; Restore initial value 724 mov.l #pos2, er1 730 test_h_gr32 pos2+4 er1 ; result of sign extend 738 cmp.l #0x00000001, @pos2 742 mov.l #0xffffff01, @pos2 ; Restore initial value 799 mov.l #pos2, er1 [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/gas/ |
| H A D | listing.c | 561 long pos2; in rebuffer_line() local 594 pos2 = pos = ftell (last_open_file); in rebuffer_line() 609 while (pos2 > 0 && ! found) in rebuffer_line() 614 pos2 = (long) size > pos2 ? 0 : pos2 - size; in rebuffer_line() 615 fseek (last_open_file, pos2, SEEK_SET); in rebuffer_line() 640 pos2 += (ptr - buffer); in rebuffer_line() 645 ++pos2; in rebuffer_line() 647 ++ pos2; in rebuffer_line() 650 pos2 += (ptr[1] == '\r' ? 2 : 1); in rebuffer_line() 653 fseek (last_open_file, pos2, SEEK_SET); in rebuffer_line()
|
| /netbsd-src/external/gpl3/binutils/dist/gas/ |
| H A D | listing.c | 561 long pos2; in rebuffer_line() local 594 pos2 = pos = ftell (last_open_file); in rebuffer_line() 609 while (pos2 > 0 && ! found) in rebuffer_line() 614 pos2 = (long) size > pos2 ? 0 : pos2 - size; in rebuffer_line() 615 fseek (last_open_file, pos2, SEEK_SET); in rebuffer_line() 640 pos2 += (ptr - buffer); in rebuffer_line() 645 ++pos2; in rebuffer_line() 647 ++ pos2; in rebuffer_line() 650 pos2 += (ptr[1] == '\r' ? 2 : 1); in rebuffer_line() 653 fseek (last_open_file, pos2, SEEK_SET); in rebuffer_line()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
| H A D | msgl-equal.c | 111 pos_equal (const lex_pos_ty *pos1, const lex_pos_ty *pos2) in pos_equal() argument 113 return ((pos1->file_name == pos2->file_name in pos_equal() 114 || strcmp (pos1->file_name, pos2->file_name) == 0) in pos_equal() 115 && pos1->line_number == pos2->line_number); in pos_equal()
|
| /netbsd-src/external/bsd/wpa/dist/src/common/ |
| H A D | cli.c | 256 char *pos2 = os_strrchr(pos, '"'); in tokenize_cmd() local 257 if (pos2) in tokenize_cmd() 258 pos = pos2 + 1; in tokenize_cmd()
|
| /netbsd-src/external/mit/isl/dist/include/isl/ |
| H A D | map.h | 517 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2); 519 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2); 521 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2); 523 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2); 525 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2); 527 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2); 529 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2); 531 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2); 533 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
|
| /netbsd-src/external/gpl2/texinfo/dist/util/ |
| H A D | texindex.c | 121 long int length2, long int pos2); 445 compare_general (char *str1, char *str2, long int pos1, long int pos2, int use_keyfields) in compare_general() argument 459 start2, length2, pos2); in compare_general() 659 long int pos1, char *start2, long int length2, long int pos2) in compare_field() argument 663 if (pos1 > pos2) in compare_field()
|