Home
last modified time | relevance | path

Searched refs:chk (Results 1 – 25 of 53) sorted by relevance

123

/openbsd/gnu/usr.bin/perl/cpan/Encode/lib/Encode/MIME/
H A DHeader.pm135 … Carp::croak qq(Unknown charset "$charset") if not ref $chk and $chk and $chk & Encode::DIE_ON_ERR;
137 $stop = 1 if not ref $chk and $chk and $chk & Encode::RETURN_ON_ERR;
143 … $stop = 1 if not defined $decoded and not ref $chk and $chk and $chk & Encode::RETURN_ON_ERR;
148 … $stop = 1 if not defined $decoded and not ref $chk and $chk and $chk & Encode::RETURN_ON_ERR;
154 $stop = 1 if not ref $chk and $chk and $chk & Encode::RETURN_ON_ERR;
182 $_[1] = $str if not ref $chk and $chk and !($chk & Encode::LEAVE_SRC);
205 $chk = 0 unless defined $chk;
206 $chk &= ~Encode::LEAVE_SRC if not ref $chk and $chk;
208 return undef if not ref $chk and $chk and $octets ne '';
216 $_[1] = $str if not ref $chk and $chk and !($chk & Encode::LEAVE_SRC);
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Encode/lib/Encode/
H A DGSM0338.pm165 my ( $obj, $bytes, $chk ) = @_;
177 : ( $chk && ref $chk eq 'CODE' ) ? $chk->( unpack 'C*', $seq )
179 if ( not exists $GSM2UNI{$seq} and $chk and not ref $chk ) {
188 if $chk & Encode::DIE_ON_ERR;
191 if $chk & Encode::WARN_ON_ERR;
199 $_[1] = $bytes if not ref $chk and $chk and !( $chk & Encode::LEAVE_SRC );
204 my ( $obj, $str, $chk ) = @_;
212 : ( $chk && ref $chk eq 'CODE' ) ? $chk->( ord($u) )
214 if ( not exists $UNI2GSM{$u} and $chk and not ref $chk ) {
216 if $chk & Encode::DIE_ON_ERR;
[all …]
H A DGuess.pm51 my ( $obj, $octet, $chk ) = @_;
57 my $utf8 = $guessed->decode( $octet, $chk || 0 );
58 $_[1] = $octet if $chk;
/openbsd/gnu/gcc/libssp/
H A DMakefile.am31 ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
32 memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
33 strcat-chk.c strcpy-chk.c strncat-chk.c strncpy-chk.c \
34 vsnprintf-chk.c vsprintf-chk.c
H A DMakefile.in75 am_libssp_la_OBJECTS = ssp.lo gets-chk.lo memcpy-chk.lo memmove-chk.lo \
76 mempcpy-chk.lo memset-chk.lo snprintf-chk.lo sprintf-chk.lo \
77 stpcpy-chk.lo strcat-chk.lo strcpy-chk.lo strncat-chk.lo \
78 strncpy-chk.lo vsnprintf-chk.lo vsprintf-chk.lo
229 ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
230 memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
231 strcat-chk.c strcpy-chk.c strncat-chk.c strncpy-chk.c \
232 vsnprintf-chk.c vsprintf-chk.c
386 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gets-chk.Plo@am__quote@
388 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memcpy-chk.Plo@am__quote@
[all …]
/openbsd/usr.bin/lex/
H A Dtblcmp.c311 chk = reallocate_integer_array(chk, current_max_xpairs); in expand_nxt_chk()
383 if (chk[i - 1] == 0) {
385 if (chk[i] == 0)
418 for (chk_ptr = &chk[i + 1];
484 chk[tblend] = jamstate; in mkdeftbl()
488 chk[tblend + i] = jamstate; in mkdeftbl()
645 while (chk[firstfree] != 0)
651 chk[firstfree] = state;
802 chk[position - 1] = 1;
808 chk[position] = 1;
[all …]
H A Dgen.c263 chk[tblend + 1] = numecs + 1; in mkctbl()
277 chk[offset] = EOB_POSITION; in mkctbl()
289 } else if (chk[i] > numecs || chk[i] == 0) { in mkctbl()
294 tdata[curr++] = chk[i]; in mkctbl()
398 chk[offset] = EOB_POSITION; in genctbl()
404 if (chk[i] == EOB_POSITION) in genctbl()
410 else if (chk[i] > numecs || chk[i] == 0) in genctbl()
416 chk[i])); in genctbl()
1452 if (chk[i] == 0) in gentabs()
1455 mkdata(chk[i]); in gentabs()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Encode/lib/Encode/CN/
H A DHZ.pm23 my ( $obj, $str, $chk ) = @_;
54 $ret .= $GB->decode( $prefix, $chk );
64 $_[1] = '' if $chk; # needs_lines guarantees no partial character
69 my ( $obj, undef, $src, $pos, $trm, $chk ) = @_;
108 $now = $GB->decode( $1, $chk );
138 my ( $obj, $str, $chk ) = @_;
159 my $tmp = $GB->encode( $s, $chk || 0 );
180 $_[1] = $str if $chk;
/openbsd/gnu/usr.bin/perl/cpan/Encode/t/
H A Dgsm0338.t20 my $chk = Encode::LEAVE_SRC();
52 is decode( "gsm0338", $c, $chk ), $u,
54 eval { decode( "gsm0338", $c . "\xff", $chk | Encode::FB_CROAK ) };
56 is encode( "gsm0338", $u, $chk ), $c, sprintf( "encode %s", eu($u) );
57 eval { encode( "gsm0338", $u . "\x{3000}", $chk | Encode::FB_CROAK ) };
66 is decode( "gsm0338", $ecs, $chk ), $unesc_seq{$ecs},
68 is encode( "gsm0338", $unesc_seq{$ecs}, $chk ), $ecs,
72 is decode( "gsm0338", $ecs, $chk ),
/openbsd/gnu/usr.bin/perl/cpan/Encode/lib/Encode/JP/
H A DJIS7.pm32 my ( $obj, $str, $chk ) = @_;
35 if ($chk) {
39 $_[1] = $residue if $chk;
49 my ( $obj, $utf8, $chk ) = @_;
53 $_[1] = '' if $chk;
55 my $octet = Encode::encode( 'euc-jp', $utf8, $chk || 0 );
/openbsd/regress/usr.sbin/ospfd/
H A DPacket.pm42 my $chk = 0;
44 $chk += $short;
46 $chk = ($chk >> 16) + ($chk & 0xffff);
47 return(~(($chk >> 16) + $chk) & 0xffff);
/openbsd/gnu/usr.bin/perl/cpan/Encode/lib/Encode/KR/
H A D2022_KR.pm18 my ( $obj, $str, $chk ) = @_;
24 $_[1] = $residue if $chk;
29 my ( $obj, $utf8, $chk ) = @_;
33 $_[1] = '' if $chk;
/openbsd/gnu/usr.bin/perl/cpan/Encode/lib/Encode/Unicode/
H A DUTF7.pm31 my ( $obj, $str, $chk ) = @_;
57 $_[1] = '' if $chk;
63 my ( $obj, $bytes, $chk ) = @_;
90 $_[1] = '' if $chk;
/openbsd/gnu/usr.bin/perl/ext/PerlIO-encoding/
H A Dencoding.xs107 e->chk = NULL; in PerlIOEncode_pushed()
173 if (SvROK(e->chk)) in PerlIOEncode_pushed()
175 SvUV_set(e->chk, ((SvUV(e->chk) & ~encode_leave_src) | encode_stop_at_partial)); in PerlIOEncode_pushed()
200 if (e->chk) { in PerlIOEncode_popped()
201 SvREFCNT_dec(e->chk); in PerlIOEncode_popped()
202 e->chk = Nullsv; in PerlIOEncode_popped()
336 XPUSHs(e->chk); in PerlIOEncode_fill()
426 XPUSHs(e->chk); in PerlIOEncode_flush()
493 XPUSHs(e->chk); in PerlIOEncode_flush()
573 if (oe->chk) { in PerlIOEncode_dup()
[all …]
/openbsd/usr.bin/signify/
H A Dmod_ge25519.c203 fe25519 t, chk, num, den, den2, den4, den6; in ge25519_unpackneg_vartime() local
228 fe25519_square(&chk, &r->x); in ge25519_unpackneg_vartime()
229 fe25519_mul(&chk, &chk, &den); in ge25519_unpackneg_vartime()
230 if (!fe25519_iseq_vartime(&chk, &num)) in ge25519_unpackneg_vartime()
234 fe25519_square(&chk, &r->x); in ge25519_unpackneg_vartime()
235 fe25519_mul(&chk, &chk, &den); in ge25519_unpackneg_vartime()
236 if (!fe25519_iseq_vartime(&chk, &num)) in ge25519_unpackneg_vartime()
/openbsd/gnu/usr.bin/binutils/gas/
H A Dconfig-gas.com77 $ if f$search("tmp-chk-h.*").nes."" then DELETE tmp-chk-h.*;*
149 $ DELETE tmp-chk-h.c;*
155 $ if f$search("tmp-chk-h.obj").nes."" then DELETE tmp-chk-h.obj;*
158 $ gcc /Include=([],[-.include]) /Define=("''p1'") tmp-chk-h.c
163 $ if ok then DELETE tmp-chk-h.obj;*
/openbsd/lib/libcrypto/x509/
H A Dx509_utl.c1060 do_x509_check(X509 *x, const char *chk, size_t chklen, unsigned int flags,
1083 if (chklen > 1 && chk[0] == '.') in do_x509_check()
1112 chk, chklen, peername)) != 0) in do_x509_check()
1139 chk, chklen, peername)) != 0) in do_x509_check()
1146 X509_check_host(X509 *x, const char *chk, size_t chklen, unsigned int flags,
1149 if (chk == NULL) in X509_check_host()
1152 chklen = strlen(chk); in X509_check_host()
1153 else if (memchr(chk, '\0', chklen)) in X509_check_host()
1155 return do_x509_check(x, chk, chklen, flags, GEN_DNS, peername); in X509_check_host()
1160 X509_check_email(X509 *x, const char *chk, size_
1061 do_x509_check(X509 * x,const char * chk,size_t chklen,unsigned int flags,int check_type,char ** peername) do_x509_check() argument
1147 X509_check_host(X509 * x,const char * chk,size_t chklen,unsigned int flags,char ** peername) X509_check_host() argument
1161 X509_check_email(X509 * x,const char * chk,size_t chklen,unsigned int flags) X509_check_email() argument
1174 X509_check_ip(X509 * x,const unsigned char * chk,size_t chklen,unsigned int flags) X509_check_ip() argument
[all...]
/openbsd/gnu/usr.bin/perl/cpan/Encode/
H A DEncode.pm182 my ( undef, $str, $chk ) = @_;
190 $_[1] = '' if $chk;
194 my ( undef, $str, $chk ) = @_;
202 $_[1] = '' if $chk;
/openbsd/gnu/usr.bin/perl/ext/PerlIO-encoding/t/
H A Dencoding.t131 my ($self,$buf,$chk) = @_;
171 if ($chk) {
195 my ($self,$buf,$chk) = @_;
196 $_[1] = *foo if $chk;
/openbsd/gnu/llvm/clang/utils/analyzer/
H A Dexploded-graph-rewriter.py767 def dump_chk(chk, is_added=None): argument
772 for chk in removed:
773 dump_chk(chk, False)
776 for chk in updated:
777 dump_chk(chk)
778 for l in m.items[chk].diff_lines(prev_m.items[chk]):
780 for chk in added:
781 dump_chk(chk, True)
782 for l in m.items[chk].lines:
785 for chk in m.items:
[all …]
/openbsd/usr.sbin/lpr/common_source/
H A Drmjob.c66 static int chk(char *);
133 if (lockchk(LO) && chk(current)) { in rmjob()
208 if (!chk(file)) in process()
247 chk(char *file) in chk() function
/openbsd/gnu/usr.bin/perl/ext/B/t/
H A Doptree_specials.t39 my $src = q[our ($beg, $chk, $init, $end, $uc) = qq{'foo'}; BEGIN { $beg++ } CHECK { $chk++ } INIT …
/openbsd/gnu/usr.bin/perl/dist/Net-Ping/lib/Net/
H A DPing.pm855 $chk # The checksum
860 $chk = 0;
863 $chk += $short;
865 $chk += (unpack("C", substr($msg, $len_msg - 1, 1)) << 8) if $len_msg % 2;
866 $chk = ($chk >> 16) + ($chk & 0xffff); # Fold high into low
867 return(~(($chk >> 16) + $chk) & 0xffff); # Again and complement
/openbsd/games/snake/
H A Dsnake.c109 int chk(struct point *);
688 chk(&p); in stretch()
695 chk(&p); in stretch()
706 chk(&p); in stretch()
713 chk(&p); in stretch()
855 chk(struct point *sp) in chk() function
/openbsd/gnu/gcc/gcc/cp/
H A Dsemantics.c237 deferred_access_check *chk, *probe; in pop_to_parent_deferring_access_checks() local
248 if (probe->binfo == chk->binfo && in pop_to_parent_deferring_access_checks()
249 probe->decl == chk->decl && in pop_to_parent_deferring_access_checks()
250 probe->diag_decl == chk->diag_decl) in pop_to_parent_deferring_access_checks()
255 ptr->deferred_access_checks, chk); in pop_to_parent_deferring_access_checks()
270 deferred_access_check *chk; in perform_access_checks() local
276 enforce_access (chk->binfo, chk->decl, chk->diag_decl); in perform_access_checks()
309 deferred_access_check *chk; in perform_or_defer_access_check() local
332 ptr->deferred_access_checks, i, chk) ; in perform_or_defer_access_check()
335 if (chk->decl == decl && chk->binfo == binfo && in perform_or_defer_access_check()
[all …]

123