/freebsd/contrib/wpa/src/fst/ |
H A D | fst_session.h | 28 void fst_session_set_llt(struct fst_session *s, u32 llt); 29 void fst_session_set_peer_addr(struct fst_session *s, const u8 *addr, 31 int fst_session_initiate_setup(struct fst_session *s); 32 int fst_session_respond(struct fst_session *s, u8 status_code); 33 int fst_session_initiate_switch(struct fst_session *s); 37 int fst_session_tear_down_setup(struct fst_session *s); 38 void fst_session_reset(struct fst_session *s); 39 void fst_session_delete(struct fst_session *s); 41 struct fst_group * fst_session_get_group(struct fst_session *s); 44 u32 fst_session_get_id(struct fst_session *s); [all …]
|
/freebsd/crypto/openssl/ssl/record/ |
H A D | ssl3_record_tls13.c | 44 ctx = s->enc_write_ctx; in tls13_enc() 45 staticiv = s->write_iv; in tls13_enc() 46 seq = RECORD_LAYER_get_write_sequence(&s->rlayer); in tls13_enc() 48 ctx = s->enc_read_ctx; in tls13_enc() 49 staticiv = s->read_iv; in tls13_enc() 50 seq = RECORD_LAYER_get_read_sequence(&s->rlayer); in tls13_enc() 71 if (s->early_data_state == SSL_EARLY_DATA_WRITING in tls13_enc() 73 if (s->session != NULL && s->session->ext.max_early_data > 0) { in tls13_enc() 74 alg_enc = s->session->cipher->algorithm_enc; in tls13_enc() 76 if (!ossl_assert(s->psksession != NULL in tls13_enc() [all …]
|
/freebsd/contrib/unbound/services/ |
H A D | modstack.c | 75 if(!s) in count_modules() 77 while(*s) { in count_modules() 79 while(*s && isspace((unsigned char)*s)) in count_modules() 81 if(*s && !isspace((unsigned char)*s)) { in count_modules() 84 while(*s && !isspace((unsigned char)*s)) in count_modules() 123 char * s = md; in modstack_config() local 126 while (*s && isspace((unsigned char)*s)) in modstack_config() 127 s++; in modstack_config() 128 if(strchr(s, ' ')) *(strchr(s, ' ')) = 0; in modstack_config() 129 if(strchr(s, '\t')) *(strchr(s, '\t')) = 0; in modstack_config() [all …]
|
/freebsd/contrib/ntp/ntpdc/ |
H A D | nl.pl.in | 9 next if /^\s*$/; 17 if (/^(struct\s*\w*)\s*{\s*$/) { 23 if (/^typedef (union\s*\w*)\s*{\s*$/) { 29 if (/\s*\w+\s+(\w*)\s*(\[.*\])?\s*;\s*$/) { 35 if (/^}\s*\w*\s*;\s*$/) {
|
/freebsd/sys/dev/led/ |
H A D | led.c | 123 if (*s == '0' || *s == '1') { in led_parse() 132 switch(s[0]) { in led_parse() 138 if (s[1] >= '1' && s[1] <= '9') in led_parse() 149 for(s++; *s; s++) { in led_parse() 169 for(s++; *s; s++) { in led_parse() 170 if ((*s >= 'a' && *s <= 'j') || in led_parse() 171 (*s >= 'A' && *s <= 'J') || in led_parse() 172 *s == 'U' || *s <= 'u' || in led_parse() 173 *s == '.') in led_parse() 187 for(s++; *s; s++) { in led_parse() [all …]
|
/freebsd/contrib/xz/src/liblzma/check/ |
H A D | crc64_tablegen.c | 28 for (size_t s = 0; s < 4; ++s) { in init_crc64_table() local 30 uint64_t r = s == 0 ? b : crc64_table[s - 1][b]; in init_crc64_table() 39 crc64_table[s][b] = r; in init_crc64_table() 44 for (size_t s = 0; s < 4; ++s) in init_crc64_table() local 46 crc64_table[s][b] = bswap64(crc64_table[s][b]); in init_crc64_table() 60 for (size_t s = 0; s < 4; ++s) { in print_crc64_table() local 66 crc64_table[s][b]); in print_crc64_table() 72 if (s == 3) in print_crc64_table()
|
/freebsd/bin/ls/ |
H A D | util.c | 63 n += printf("%s", s); in prn_normal() 69 s++; in prn_normal() 75 s += clen; in prn_normal() 95 s++; in prn_printable() 107 s += clen; in prn_printable() 113 s += clen; in prn_printable() 144 s++; in len_octal() 157 s += clen; in len_octal() 196 prtlen = strlen(s); in prn_octal() 210 s++; in prn_octal() [all …]
|
/freebsd/usr.bin/vi/catalog/ |
H A D | polish.UTF-8.base | 35 036 "set: opcja %s: %s" 36 037 "set: opcja %s: %s: przepełnienie" 37 038 "set: opcja %s: %s nie jest poprawną liczbą" 78 085 "Wewnętrzny błąd tablicy składni (%s: %s)" 118 125 "%s/%s: nie wczytany: nie należy do ciebie ani do roota" 119 126 "%s/%s: nie wczytany: nie należy do ciebie" 156 163 "%s: błędny znacznik w %s" 230 240 "%s: usuń" 232 242 "%s: usuń" 233 243 "%s: usuń" [all …]
|
/freebsd/contrib/tcsh/nls/finnish/ |
H A D | set23 | 6 4 solmu: %s\n 8 6 setlocal: %s: %s\n 16 14 sysname: %s\n 17 15 nodename: %s\n 18 16 release: %s\n 19 17 version: %s\n 20 18 machine: %s\n 21 19 getwd: Avaus ei onnistu ".." (%s) 22 20 getwd: En voi siirtyä hakemistoon ".." (%s) 27 25 getwd: En voi testata (stat) hakemistoa "%s" (%s) [all …]
|
/freebsd/contrib/tcsh/nls/german/ |
H A D | set23 | 6 4 Site: %s\n 8 6 setlocal: %s: %s\n 16 14 sysname: %s\n 17 15 nodename: %s\n 18 16 release: %s\n 19 17 version: %s\n 20 18 machine: %s\n 21 19 getwd: Kann ".." nicht öffnen (%s) 23 21 getwd: Lesefehler in ".." (%s) 27 25 getwd: Kann kein stat auf Verzeichnis "%s" machen (%s) [all …]
|
/freebsd/contrib/googletest/googletest/src/ |
H A D | gtest-printers.cc | 433 PrintCharsAsStringTo(s, std::char_traits<Char>::length(s), os); in PrintCStringTo() 439 void PrintTo(const char* s, ostream* os) { PrintCStringTo(s, os); } in PrintTo() argument 442 void PrintTo(const char8_t* s, ostream* os) { PrintCStringTo(s, os); } in PrintTo() argument 497 IsUTF8TrailByte(s[i]) && IsUTF8TrailByte(s[i + 1]) && in IsValidUTF8() 503 IsUTF8TrailByte(s[i]) && IsUTF8TrailByte(s[i + 1]) && in IsValidUTF8() 526 if (PrintCharsAsStringTo(s.data(), s.size(), os) == kHexEscape) { in PrintStringTo() 528 ConditionalPrintAsText(s.data(), s.size(), os); in PrintStringTo() 535 PrintCharsAsStringTo(s.data(), s.size(), os); in PrintU8StringTo() 540 PrintCharsAsStringTo(s.data(), s.size(), os); in PrintU16StringTo() 544 PrintCharsAsStringTo(s.data(), s.size(), os); in PrintU32StringTo() [all …]
|
/freebsd/sys/crypto/openssl/ |
H A D | ossl.c | 222 s->hash.axf = axf; in ossl_newsession_hash() 229 axf->Init(&s->hash.ictx); in ossl_newsession_hash() 285 struct ossl_session *s; in ossl_newsession() local 320 axf = s->hash.axf; in ossl_process_hash() 323 ctx = s->hash.ictx; in ossl_process_hash() 352 ctx = s->hash.octx; in ossl_process_hash() 383 return (s->cipher.cipher->process(&s->cipher, crp, csp)); in ossl_process_cipher() 393 error = s->cipher.cipher->process(&s->cipher, crp, csp); in ossl_process_eta() 399 error = s->cipher.cipher->process(&s->cipher, crp, csp); in ossl_process_eta() 415 return (s->cipher.cipher->process(&s->cipher, crp, csp)); in ossl_process_aead() [all …]
|
/freebsd/lib/geom/part/ |
H A D | geom_part.c | 267 const char *s; in find_provider() local 336 if (s == NULL) in gpart_autofill_resize() 373 if (*s == '*') in gpart_autofill_resize() 386 if (s == NULL) in gpart_autofill_resize() 463 if (s == NULL) in gpart_autofill() 539 if (s == NULL) in gpart_autofill() 544 if (s == NULL) in gpart_autofill() 636 if (s == NULL) in gpart_show_geom() 649 if (s != NULL && *s != 'C') in gpart_show_geom() 650 s = NULL; in gpart_show_geom() [all …]
|
/freebsd/sys/contrib/openzfs/scripts/ |
H A D | zfs2zol-patch.sed | 3 s:usr/src/uts/common/fs/zfs/sys:include/sys:g 4 s:usr/src/uts/common/fs/zfs:module/zfs:g 5 s:usr/src/lib/libzpool:lib/libzpool:g 6 s:usr/src/cmd:cmd:g 7 s:usr/src/common/nvpair:module/nvpair:g 9 s:usr/src/man/man1m/zfs.1m:man/man8/zfs.8:g 10 s:usr/src/uts/common/sys:include/sys:g 12 s:usr/src/lib/libzfs/common:lib/libzfs:g 14 s:lib/libzpool/common/sys:include/sys:g 15 s:lib/libzpool/common:lib/libzpool:g [all …]
|
/freebsd/contrib/arm-optimized-routines/string/test/ |
H A D | strchrnul.c | 57 char *s = src + align; in test() local 58 char *f = seekpos != -1 ? s + seekpos : s + len; in test() 72 s[i] = 'a' + (i & 31); in test() 74 s[seekpos] = seekchar; in test() 76 s[seekpos + 1] = seekchar; in test() 77 s[len] = '\0'; in test() 80 s = tag_buffer (s, mte_len, fun->test_mte); in test() 81 p = fun->fun (s, seekchar); in test() 92 s = tag_buffer (s, len + 1, fun->test_mte); in test() 93 p = fun->fun (s, 0); in test() [all …]
|
H A D | strchr.c | 53 char *s = src + align; in test() local 68 s[i] = 'a' + (i & 31); in test() 70 s[seekpos] = seekchar; in test() 72 s[seekpos + 1] = seekchar; in test() 73 s[len] = '\0'; in test() 75 s = tag_buffer (s, len + 1, fun->test_mte); in test() 76 p = fun->fun (s, seekchar); in test() 84 quote ("input", s, len); in test() 87 s = tag_buffer (s, len + 1, fun->test_mte); in test() 88 p = fun->fun (s, 0); in test() [all …]
|
/freebsd/usr.sbin/inetd/ |
H A D | builtins.c | 302 write(s, buffer, i) > 0) in echo_stream() 332 send(s, p, strlen(p), MSG_EOF); in iderror() 453 iderror(0, 0, s, ID_UNKNOWN); in ident_stream() 484 FD_SET(s, &fdset); in ident_stream() 486 iderror(0, 0, s, ID_UNKNOWN); in ident_stream() 488 iderror(0, 0, s, ID_UNKNOWN); in ident_stream() 504 iderror(0, 0, s, ID_INVALID); in ident_stream() 564 iderror(lport, fport, s, in ident_stream() 774 tcpmux(int s) in tcpmux() argument 799 strwrite(s, "\r\n"); in tcpmux() [all …]
|
/freebsd/contrib/tcsh/ |
H A D | ed.term.c | 590 Char *s; in dosetty() local 657 switch (*s) { in dosetty() 660 x = *s++; in dosetty() 666 d = short2str(s); in dosetty() 760 s[C_SUSP] = n->t_suspc; in tty_getchar() 867 s[C_INTR] = n->t_intrc; in tty_getchar() 868 s[C_QUIT] = n->t_quitc; in tty_getchar() 871 s[C_EOF] = n->t_eofc; in tty_getchar() 872 s[C_BRK] = n->t_brkc; in tty_getchar() 1009 n->t_eofc = s[C_EOF]; in tty_setchar() [all …]
|
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_upnp_ap.c | 21 struct subscription *s = eloop_ctx; in upnp_er_set_selected_timeout() local 24 s->selected_registrar = 0; in upnp_er_set_selected_timeout() 30 struct subscription *s, in upnp_er_set_selected_registrar() argument 41 s->reg = reg; in upnp_er_set_selected_registrar() 44 os_memset(s->authorized_macs, 0, sizeof(s->authorized_macs)); in upnp_er_set_selected_registrar() 48 s->selected_registrar = 0; in upnp_er_set_selected_registrar() 50 s->selected_registrar = 1; in upnp_er_set_selected_registrar() 51 s->dev_password_id = attr.dev_password_id ? in upnp_er_set_selected_registrar() 77 struct subscription *s) in upnp_er_remove_notification() argument 79 bool was_sel_reg = s->selected_registrar; in upnp_er_remove_notification() [all …]
|
/freebsd/sys/x86/pci/ |
H A D | pci_bus.c | 144 const char *s = NULL; in legacy_pcib_is_host_bridge() local 257 s = "SiS 85c496"; in legacy_pcib_is_host_bridge() 260 s = "SiS 85c501"; in legacy_pcib_is_host_bridge() 263 s = "SiS 85c601"; in legacy_pcib_is_host_bridge() 360 return s; in legacy_pcib_is_host_bridge() 362 const char *s = NULL; in legacy_pcib_is_host_bridge() 367 return s; in legacy_pcib_is_host_bridge() 423 const char *s; in legacy_pcib_identify() local 439 if (s == NULL) in legacy_pcib_identify() 453 s = NULL; in legacy_pcib_identify() [all …]
|
/freebsd/usr.sbin/bluetooth/bthidd/ |
H A D | kbd.c | 345 assert(s != NULL); in kbd_process_keys() 346 assert(s->srv != NULL); in kbd_process_keys() 358 kbd_write(s->keys2, f2, 0, s->vkbd); in kbd_process_keys() 359 uinput_kbd_write(s->keys2, f2, 0, s->ukbd); in kbd_process_keys() 370 memcpy(s->keys2, s->keys1, bitstr_size(xsize)); in kbd_process_keys() 371 kbd_write(s->keys1, f1, 1, s->vkbd); in kbd_process_keys() 372 uinput_kbd_write(s->keys1, f1, 1, s->ukbd); in kbd_process_keys() 393 bit_set(s->keys2, i); in kbd_process_keys() 407 kbd_write(s->keys1, f1, 1, s->vkbd); in kbd_process_keys() 408 uinput_kbd_write(s->keys1, f1, 1, s->ukbd); in kbd_process_keys() [all …]
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_string.c | 39 stresc2chr(char *s) in stresc2chr() argument 127 return ((size_t)(q - s)); in stresc2chr() 142 for (p = s; p < s + n; p++) { in strchr2esc() 167 for (p = s, q = s2; p < s + n; p++) { in strchr2esc() 241 return (s); in strbasename() 258 if (*s == '\0') in strbadidnum() 259 return (s); in strbadidnum() 269 return (s - 1); in strbadidnum() 280 strisglob(const char *s) in strisglob() argument 297 strhyphenate(char *s) in strhyphenate() argument [all …]
|
/freebsd/lib/libc/tests/stdio/ |
H A D | flushlbuf_test.c | 27 struct stream *s = cookie; in writefn() local 32 while (len > 0 && s->pos < s->len) { in writefn() 33 s->buf[s->pos++] = *buf++; in writefn() 46 static struct stream s; in ATF_TC_BODY() local 66 ATF_CHECK_EQ(0, s.pos); in ATF_TC_BODY() 77 ATF_CHECK_EQ(s.len, s.pos); in ATF_TC_BODY() 84 while (i < BUFSIZE + s.len) in ATF_TC_BODY() 101 static struct stream s; in ATF_TC_BODY() local 121 ATF_CHECK_EQ(0, s.pos); in ATF_TC_BODY() 132 ATF_CHECK_EQ(s.len, s.pos); in ATF_TC_BODY() [all …]
|
/freebsd/usr.bin/tip/tip/ |
H A D | value.c | 151 vlex(char *s) in vlex() argument 164 vtoken(s); in vlex() 165 s = cp; in vlex() 166 } while (s); in vlex() 175 vtoken(char *s) in vtoken() argument 200 if (*s != '!') in vtoken() 274 vlookup(char *s) in vlookup() argument 294 if (*s) in vinterp() 302 c = *s++; in vinterp() 322 s--; in vinterp() [all …]
|
/freebsd/contrib/expat/tests/ |
H A D | common.h | 64 # define xcstrlen(s) wcslen(s) argument 65 # define xcstrcmp(s, t) wcscmp((s), (t)) argument 66 # define xcstrncmp(s, t, n) wcsncmp((s), (t), (n)) argument 67 # define XCS(s) _XCS(s) argument 68 # define _XCS(s) L##s argument 74 # define xcstrlen(s) strlen(s) 75 # define xcstrcmp(s, t) strcmp((s), (t)) 76 # define xcstrncmp(s, t, n) strncmp((s), (t), (n)) 77 # define XCS(s) s 101 extern enum XML_Status _XML_Parse_SINGLE_BYTES(XML_Parser parser, const char *s, [all …]
|