Home
last modified time | relevance | path

Searched refs:chk (Results 1 – 25 of 61) 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/gnu/usr.bin/perl/cpan/Test2-Suite/t/modules/Compare/
H A DObject.t159 chk => T(),
164 chk => T(),
169 chk => T(),
175 chk => T(),
180 chk => T(),
186 chk => T(),
191 chk => T(),
197 chk => T(),
203 chk => T(),
208 chk => T(),
[all …]
H A DHash.t111 chk => F(),
118 chk => F(),
133 chk => T(),
141 chk => T(),
155 chk => T(),
162 chk => T(),
/openbsd/usr.bin/lex/
H A Dtblcmp.c310 chk = reallocate_integer_array(chk, current_max_xpairs); in expand_nxt_chk()
381 if (chk[i - 1] == 0) { in find_table_space()
383 if (chk[i] == 0) in find_table_space()
416 for (chk_ptr = &chk[i + 1]; in find_table_space()
482 chk[tblend] = jamstate; in mkdeftbl()
486 chk[tblend + i] = jamstate; in mkdeftbl()
640 while (chk[firstfree] != 0) in mk1tbl()
646 chk[firstfree] = state; in mk1tbl()
793 chk[position - 1] = 1; in place_state()
799 chk[position] = 1; in place_state()
[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()
1450 if (chk[i] == 0) in gentabs()
1453 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.t24 my $chk = Encode::LEAVE_SRC();
56 is decode( "gsm0338", $c, $chk ), $u,
58 eval { decode( "gsm0338", $c . "\xff", $chk | Encode::FB_CROAK ) };
60 is encode( "gsm0338", $u, $chk ), $c, sprintf( "encode %s", eu($u) );
61 eval { encode( "gsm0338", $u . "\x{3000}", $chk | Encode::FB_CROAK ) };
70 is decode( "gsm0338", $ecs, $chk ), $unesc_seq{$ecs},
72 is encode( "gsm0338", $unesc_seq{$ecs}, $chk ), $ecs,
76 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()
492 XPUSHs(e->chk); in PerlIOEncode_flush()
572 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.c1091 if (chklen > 1 && chk[0] == '.') in do_x509_check()
1120 chk, chklen, peername)) != 0) in do_x509_check()
1147 chk, chklen, peername)) != 0) in do_x509_check()
1157 if (chk == NULL) in X509_check_host()
1160 chklen = strlen(chk); in X509_check_host()
1161 else if (memchr(chk, '\0', chklen)) in X509_check_host()
1170 if (chk == NULL) in X509_check_email()
1173 chklen = strlen(chk); in X509_check_email()
1174 else if (memchr(chk, '\0', chklen)) in X509_check_email()
1176 return do_x509_check(x, chk, chklen, flags, GEN_EMAIL, NULL); in X509_check_email()
[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/cpan/Test2-Suite/lib/Test2/Compare/
H A DDelta.pm21 *check = \&chk;
304 my $chk = $row->[$COLUMNS{CHECK}->{id}] || '';
308 elsif ($chk eq '<DOES NOT EXIST>') {

123