/openbsd/gnu/usr.bin/perl/ |
H A D | regcharclass.h | 194 ( ( ( LIKELY((e) > (s)) ) && ( LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) ) ? ( ( 0xEF == ((const U8*)s)[… 1043 …( ( ( 0xCC == ((const U8*)s)[2] ) && ( 0x88 == ((const U8*)s)[3] || 0x93 == ((const U8*)s)[3] ) ) … 1126 …: ( ( 0xD5 == ((const U8*)s)[0] ) && ( 0xA5 == ((const U8*)s)[1] || 0xB4 == ((const U8*)s)[1] || 0… 1452 ( ( ( LIKELY((e) > (s)) ) && ( LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) ) ? ( ( 0xDD == ((const U8*)s)[… 2303 …( ( ( 0xAF == ((const U8*)s)[2] ) && ( 0x49 == ((const U8*)s)[3] || 0x62 == ((const U8*)s)[3] ) ) … 2349 …( ( ( 0x52 == ((const U8*)s)[1] ) && ( 0x46 == ((const U8*)s)[2] || 0x63 == ((const U8*)s)[2] || 0… 2368 …( ( ( 0x52 == ((const U8*)s)[1] ) && ( 0x46 == ((const U8*)s)[2] || 0x63 == ((const U8*)s)[2] || 0… 2526 …t U8*)s)[0] || inRANGE_helper_(U8, ((const U8*)s)[0], '\v', '\r') || '\n' == ((const U8*)s)[0] || … 2527 …: ( ( is_utf8 && LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) && ( 0xCA == ((const U8*)s)[0] ) ) ? ( ( 0x4… 2710 ( ( ( LIKELY((e) > (s)) ) && ( LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) ) ? ( ( 0xDD == ((const U8*)s)[… [all …]
|
/openbsd/regress/usr.bin/bc/ |
H A D | t17.out | 28 0s� 29 1s� 30 2s� 31 3s� 32 4s� 33 5s� 34 6s� 35 7s� 36 8s� 38 9s� [all …]
|
/openbsd/regress/usr.bin/dc/ |
H A D | t19.in | 27 0s� 28 1s� 29 2s� 30 3s� 31 4s� 32 5s� 33 6s� 34 7s� 35 8s� 36 9s� [all …]
|
/openbsd/sys/lib/libz/ |
H A D | deflate.c | 158 match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \ 299 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more); in fill_window() 313 s->prev[str & s->w_mask] = s->head[s->ins_h]; in fill_window() 507 s->sym_buf = s->pending_buf + s->lit_bufsize; in deflateInit2_() 590 s->prev[str & s->w_mask] = s->head[s->ins_h]; in deflateSetDictionary() 851 switch (s->wrap < 0 ? -s->wrap : s->wrap) { in deflateBound() 1723 zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size); in deflate_stored() 1731 zmemcpy(s->window, s->window + s->w_size, s->strstart); in deflate_stored() 1761 zmemcpy(s->window, s->window + s->w_size, s->strstart); in deflate_stored() 1848 check_match(s, s->strstart, s->match_start, s->match_length); in deflate_fast() [all …]
|
/openbsd/lib/libz/ |
H A D | deflate.c | 158 match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \ 299 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more); in fill_window() 313 s->prev[str & s->w_mask] = s->head[s->ins_h]; in fill_window() 507 s->sym_buf = s->pending_buf + s->lit_bufsize; in deflateInit2_() 590 s->prev[str & s->w_mask] = s->head[s->ins_h]; in deflateSetDictionary() 851 switch (s->wrap < 0 ? -s->wrap : s->wrap) { in deflateBound() 1721 zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size); in deflate_stored() 1729 zmemcpy(s->window, s->window + s->w_size, s->strstart); in deflate_stored() 1759 zmemcpy(s->window, s->window + s->w_size, s->strstart); in deflate_stored() 1846 check_match(s, s->strstart, s->match_start, s->match_length); in deflate_fast() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/ |
H A D | deflate.c | 184 match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \ 375 s->sym_buf = s->pending_buf + s->lit_bufsize; in deflateInit2_() 462 s->prev[str & s->w_mask] = s->head[s->ins_h]; in deflateSetDictionary() 1590 s->prev[str & s->w_mask] = s->head[s->ins_h]; in fill_window() 1785 zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size); in deflate_stored() 1793 zmemcpy(s->window, s->window + s->w_size, s->strstart); in deflate_stored() 1823 zmemcpy(s->window, s->window + s->w_size, s->strstart); in deflate_stored() 1913 check_match(s, s->strstart, s->match_start, s->match_length); in deflate_fast() 1941 UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]); in deflate_fast() 2006 s->prev_length = s->match_length, s->prev_match = s->match_start; in deflate_slow() [all …]
|
/openbsd/usr.sbin/smtpd/ |
H A D | mta_session.c | 218 s = xcalloc(1, sizeof *s); in mta_session() 478 s->use_smtps = s->use_starttls = s->use_smtp_tls = 0; in mta_connect() 544 mta_source_error(s->relay, s->route, io_error(s->io)); in mta_connect() 584 mta_send(s, "EHLO %s", s->helo); in mta_enter_state() 590 mta_send(s, "HELO %s", s->helo); in mta_enter_state() 733 s->task = mta_route_next_task(s->relay, s->route); in mta_enter_state() 762 tree_xset(&wait_fd, s->id, s); in mta_enter_state() 1018 mta_report_tx_mail(s, s->task->msgid, s->task->sender, 1); in mta_response() 1151 mta_report_tx_commit(s, s->task->msgid, s->datalen); in mta_response() 1318 s->id, s->msgcount); in mta_io() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/f/ |
H A D | symbol.h | 162 #define ffesymbol_attrs(s) ((s)->attrs) argument 166 #define ffesymbol_common(s) ((s)->common) argument 180 #define ffesymbol_dims(s) ((s)->dims) argument 186 #define ffesymbol_equiv(s) ((s)->equiv) argument 193 #define ffesymbol_global(s) ((s)->global) argument 194 #define ffesymbol_hook(s) ((s)->hook) argument 196 #define ffesymbol_info(s) ((s)->info) argument 197 #define ffesymbol_init(s) ((s)->init) argument 214 #define ffesymbol_name(s) ((s)->name) argument 266 #define ffesymbol_state(s) ((s)->state) argument [all …]
|
/openbsd/sys/kern/ |
H A D | init_sysent.c | 17 #define s(type) sizeof(type) macro 22 { 1, s(struct sys_exit_args), 0, 30 { 3, s(struct sys_open_args), 0, 38 { 2, s(struct sys_link_args), 0, 40 { 1, s(struct sys_unlink_args), 0, 42 { 4, s(struct sys_wait4_args), 0, 44 { 1, s(struct sys_chdir_args), 0, 48 { 3, s(struct sys_mknod_args), 0, 50 { 2, s(struct sys_chmod_args), 0, 52 { 3, s(struct sys_chown_args), 0, [all …]
|
/openbsd/lib/libssl/ |
H A D | ssl_pkt.c | 236 if (s->read_ahead || SSL_is_dtls(s)) { in ssl3_read_n() 296 n = ssl3_read_n(s, plen, s->s3->rbuf.len, 0); in ssl3_packet_read() 356 if (s->server && s->first_packet) { in ssl3_get_record() 413 if (!tls12_record_layer_open_record(s->rl, s->packet, s->packet_length, in ssl3_get_record() 490 if (SSL_in_init(s) && !s->in_handshake) { in ssl3_write_bytes() 491 i = s->handshake_func(s); in ssl3_write_bytes() 756 SSL_CTX_remove_session(s->ctx, s->session); in ssl3_read_alert() 979 if ((ret = s->handshake_func(s)) < 0) in ssl3_read_handshake_unexpected() 1076 if (SSL_in_init(s) && !s->in_handshake) { in ssl3_read_bytes() 1077 if ((ret = s->handshake_func(s)) < 0) in ssl3_read_bytes() [all …]
|
H A D | ssl_clnt.c | 201 if (!SSL_in_init(s) || SSL_in_before(s)) in ssl3_connect() 300 if (s->bbio != s->wbio) in ssl3_connect() 301 s->wbio = BIO_push(s->bbio, s->wbio); in ssl3_connect() 476 if (SSL_is_dtls(s) && !s->hit) in ssl3_connect() 484 s->session->cipher = s->s3->hs.cipher; in ssl3_connect() 498 if (SSL_is_dtls(s) && !s->hit) in ssl3_connect() 833 CBS_init(&cbs, s->init_msg, s->init_num); in ssl3_get_server_hello() 932 if (!s->tls_session_secret_cb(s, in ssl3_get_server_hello() 985 s->session->ssl_version = s->version; in ssl3_get_server_hello() 1678 ret = s->ctx->tlsext_status_cb(s, in ssl3_get_cert_status() [all …]
|
H A D | ssl_srvr.c | 204 if (!SSL_in_init(s) || SSL_in_before(s)) in ssl3_accept() 653 s->session->cipher = s->s3->hs.cipher; in ssl3_accept() 811 CBS_init(&cbs, s->init_msg, s->init_num); in ssl3_get_client_hello() 899 if ((s->new_session && (s->options & in ssl3_get_client_hello() 943 if (s->ctx->app_verify_cookie_cb(s, in ssl3_get_client_hello() 1065 if (!s->tls_session_secret_cb(s, in ssl3_get_client_hello() 1122 s->s3->hs.cipher = s->session->cipher; in ssl3_get_client_hello() 1173 s->ctx->app_gen_cookie_cb(s, s->d1->cookie, in ssl3_send_dtls_hello_verify_request() 1818 CBS_init(&cbs, s->init_msg, s->init_num); in ssl3_get_client_key_exchange() 1878 CBS_init(&cbs, s->init_msg, s->init_num); in ssl3_get_cert_verify() [all …]
|
H A D | d1_pkt.c | 362 tls12_record_layer_set_version(s->rl, s->version); in dtls1_process_record() 364 if (!tls12_record_layer_open_record(s->rl, s->packet, s->packet_length, in dtls1_process_record() 445 CBS_init(&header, s->packet, s->packet_length); in dtls1_get_record() 470 if (!s->first_packet && ssl_version != s->version) in dtls1_get_record() 524 if ((SSL_in_init(s) || s->in_handshake) && !s->d1->listen) { in dtls1_get_record() 693 if ((ret = s->handshake_func(s)) < 0) in dtls1_read_handshake_unexpected() 773 if (SSL_in_init(s) && !s->in_handshake) { in dtls1_read_bytes() 774 if ((ret = s->handshake_func(s)) < 0) in dtls1_read_bytes() 951 if (SSL_in_init(s) && !s->in_handshake) { in dtls1_write_app_data_bytes() 952 i = s->handshake_func(s); in dtls1_write_app_data_bytes() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/format/ |
H A D | ext-3.c | 11 foo (char *s, size_t m, const struct tm *tp) in foo() argument 17 strftime (s, m, "%5C%-C%_C%0C", tp); in foo() 24 strftime (s, m, "%-5k%_5k%05k%-5l%_5l%05l%-20s%_20s%020s", tp); in foo() 28 strftime (s, m, "%5a", tp); /* { dg-warning "width" "bad %a" } */ in foo() 29 strftime (s, m, "%-a", tp); /* { dg-warning "flag" "bad %a" } */ in foo() 30 strftime (s, m, "%_a", tp); /* { dg-warning "flag" "bad %a" } */ in foo() 31 strftime (s, m, "%0a", tp); /* { dg-warning "flag" "bad %a" } */ in foo() 33 strftime (s, m, "%-A", tp); /* { dg-warning "flag" "bad %A" } */ in foo() 34 strftime (s, m, "%_A", tp); /* { dg-warning "flag" "bad %A" } */ in foo() 35 strftime (s, m, "%0A", tp); /* { dg-warning "flag" "bad %A" } */ in foo() [all …]
|
/openbsd/usr.sbin/rpki-client/ |
H A D | rrdp.c | 187 if ((s = calloc(1, sizeof(*s))) == NULL) in rrdp_new() 202 s->nxml = new_notification_xml(s->parser, s->repository, s->current, in rrdp_new() 252 if (s->task == DELTA && !s->aborted) { in rrdp_failed() 257 s->sxml = new_snapshot_xml(s->parser, s->current, s); in rrdp_failed() 315 s->task = notification_done(s->nxml, s->last_mod); in rrdp_finished() 331 s->sxml = new_snapshot_xml(p, s->current, s); in rrdp_finished() 339 s->dxml = new_delta_xml(p, s->current, s); in rrdp_finished() 358 s->dxml = new_delta_xml(p, s->current, s); in rrdp_finished() 563 rrdp_http_req(s->id, s->notifyuri, in proc_rrdp() 569 s->hash, sizeof(s->hash), in proc_rrdp() [all …]
|
/openbsd/usr.bin/compress/ |
H A D | zipopen.c | 81 s->z_stream.next_in = s->z_buf; in get_byte() 201 s->z_ulen = get_uint64(s); in get_header() 216 s->z_time = get_uint32(s); in get_header() 229 s->z_time = get_uint32(s); in get_header() 274 s->z_stream.next_in = s->z_buf; in zip_ropen() 357 s->z_crc = crc32(s->z_crc, ubuf, in zip_read() 368 s->z_crc = crc32(s->z_crc, ubuf, in zip_read() 380 s->z_ocrc = get_uint32(s); in zip_read() 383 s->z_ulen = get_uint64(s); in zip_read() 387 s->z_ulen = get_uint32(s); in zip_read() [all …]
|
H A D | gzopen.c | 133 s->z_stream.next_in = s->z_buf; in gz_ropen() 156 s->z_stream.avail_in = read(s->z_fd, s->z_buf, Z_BUFSIZE); in get_byte() 161 s->z_stream.next_in = s->z_buf; in get_byte() 207 s->z_time = get_int32(s); in get_header() 278 s->z_stream.avail_in = read(s->z_fd, s->z_buf, in gz_read() 282 s->z_stream.next_in = s->z_buf; in gz_read() 297 s->z_crc = crc32(s->z_crc, start, in gz_read() 301 if (get_int32(s) != s->z_crc) { in gz_read() 324 s->z_crc = crc32(s->z_crc, start, in gz_read() 413 s->z_stream.next_out = s->z_buf; in gz_wopen() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Compress-Raw-Bzip2/bzip2-src/ |
H A D | decompress.c | 33 s->seqToUnseq[s->nInUse] = i; in makeMaps_d() 406 uc = s->seqToUnseq[ s->mtfa[s->mtfbase[0]] ]; in BZ2_decompress() 464 s->mtfa[s->mtfbase[lno]] in BZ2_decompress() 469 s->mtfa[s->mtfbase[0]] = uc; in BZ2_decompress() 474 s->mtfa[kk] = s->mtfa[s->mtfbase[ii] + jj]; in BZ2_decompress() 484 s->unzftab[s->seqToUnseq[uc]]++; in BZ2_decompress() 498 if (s->origPtr < 0 || s->origPtr >= nblock) in BZ2_decompress() 520 if (s->cftab[i-1] > s->cftab[i]) { in BZ2_decompress() 554 s->tPos = s->origPtr; in BZ2_decompress() 569 s->tt[s->cftab[uc]] |= (i << 8); in BZ2_decompress() [all …]
|
/openbsd/regress/usr.bin/sed/ |
H A D | math.sed | 17 s/[ ]//g 39 s/// 43 s/// 49 s//\2/ 74 s//1/ 78 s//\1/ 82 s//0/ 113 s//1/ 146 s/^-// 274 s/// [all …]
|
H A D | dc.sed | 35 s/|?./|?/ 54 /|?;/ s/|?;\([^{}]\)/|?~[s}s{L{s}q]S}[S}l\1L}1-d0>}s\1L\1l{xS\1]dS{xL}/ 55 /|?:/ s/|?:\([^{}]\)/|?~[s}L{s}L{s}L}s\1q]S}S}S{[L}1-d0>}S}l\1s\1L\1l{xS\1]dS{x/ 100 s/~.*// 113 s/.// 121 s/.// 155 s/|.*// 158 s/./a/g 182 s/^_/-/ 229 s/^>\([^~]*~\)\([^~]*~\)s\(-*\)\(-*o\3\(-*\)\)/>\2\1s\5\4/ [all …]
|
/openbsd/gnu/usr.bin/binutils/gas/config/ |
H A D | obj-coff.h | 339 #define SF_GET(s) (*symbol_get_obj (s)) argument 344 #define SF_GET_FILE(s) (SF_GET (s) & SF_FILE) argument 352 #define SF_GET_TAG(s) (SF_GET (s) & SF_TAG) argument 361 #define SF_SET(s,v) (SF_GET (s) = (v)) argument 364 #define SF_SET_FILE(s) (SF_GET (s) |= SF_FILE) argument 373 #define SF_SET_TAG(s) (SF_GET (s) |= SF_TAG) argument 551 #define S_GET_SEGMENT(s) s_get_segment(s) 659 #define SF_GET(s) ((s)->sy_symbol.ost_flags) 671 #define SF_GET_TAG(s) (SF_GET (s) & SF_TAG) 681 #define SF_SET(s,v) (SF_GET (s) = (v)) [all …]
|
/openbsd/sys/lib/libsa/ |
H A D | cread.c | 102 s->stream.avail_in = oread(s->fd, s->inbuf, Z_BUFSIZE); in get_byte() 109 s->stream.next_in = s->inbuf; in get_byte() 152 s->z_err = s->stream.avail_in != 0 ? Z_OK : in check_header() 187 s->z_err = s->z_eof ? Z_DATA_ERROR : Z_OK; in check_header() 223 if (s) in open() 318 s->stream.next_in = s->inbuf; in read() 324 s->crc = crc32(s->crc, start, in read() 328 if (getLong(s) != s->crc) { in read() 350 if (s->z_err != Z_OK || s->z_eof) in read() 353 s->crc = crc32(s->crc, start, (unsigned int)(s->stream.next_out - start)); in read() [all …]
|
/openbsd/gnu/usr.bin/perl/dist/Data-Dumper/ |
H A D | Dumper.pm | 227 $s = $s->new(@_) unless ref $s; 395 $pad = $s->{sep} . $s->{pad} . $s->{apad}; 416 $pad = $s->{sep} . $s->{pad} . $s->{apad}; 477 my $pad = $s->{sep} . $s->{pad} . $s->{apad} . $s->{xpad} x ($s->{level} - 1); 649 @_ >= 2 ? (($s->{pair} = $v), return $s) : $s->{pair}; 654 @_ >= 2 ? (($s->{pad} = $v), return $s) : $s->{pad}; 659 @_ >= 2 ? (($s->{varname} = $v), return $s) : $s->{varname}; 664 @_ >= 2 ? (($s->{purity} = $v), return $s) : $s->{purity}; 669 @_ >= 2 ? (($s->{useqq} = $v), return $s) : $s->{useqq}; 674 @_ >= 2 ? (($s->{terse} = $v), return $s) : $s->{terse}; [all …]
|
/openbsd/usr.bin/tr/ |
H A D | str.c | 70 s->lastch = backslash(s); in next() 83 if (s->str[0] == '-' && genrange(s)) in next() 100 if ((s->lastch = s->set[s->cnt++]) == OOBCH) { in next() 217 s->equiv[0] = backslash(s); in genequiv() 221 s->equiv[0] = s->str[0]; in genequiv() 228 s->set = s->equiv; in genequiv() 238 stopval = *++s->str == '\\' ? backslash(s) : *s->str++; in genrange() 243 s->cnt = stopval - s->lastch + 1; in genrange() 258 s->lastch = backslash(s); in genseq() 260 s->lastch = *s->str++; in genseq() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 980408-1.c | 88 *s, in MinifyImage() local 112 s=s0; in MinifyImage() 113 …s->red); total_green+=( 3 )*(s->green); total_blue+=( 3 )*(s->blue); total_matte+=( 3 )*(s->index)… in MinifyImage() 114 s=s1; in MinifyImage() 115 …s->red); total_green+=( 7 )*(s->green); total_blue+=( 7 )*(s->blue); total_matte+=( 7 )*(s->index)… in MinifyImage() 116 s=s2; in MinifyImage() 117 …s->red); total_green+=( 7 )*(s->green); total_blue+=( 7 )*(s->blue); total_matte+=( 7 )*(s->index)… in MinifyImage() 118 s=s3; in MinifyImage() 119 …s->red); total_green+=( 3 )*(s->green); total_blue+=( 3 )*(s->blue); total_matte+=( 3 )*(s->index)… in MinifyImage()
|