Searched refs:oct (Results 1 - 25 of 55) sorted by relevance

123

/openbsd-current/lib/libcrypto/x509/
H A Dx509_skey.c88 i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, const ASN1_OCTET_STRING *oct) argument
90 return hex_to_string(oct->data, oct->length);
98 ASN1_OCTET_STRING *oct; local
101 if (!(oct = ASN1_OCTET_STRING_new())) {
106 if (!(oct->data = string_to_hex(str, &length))) {
107 ASN1_OCTET_STRING_free(oct);
111 oct->length = length;
113 return oct;
120 ASN1_OCTET_STRING *oct; local
[all...]
H A Dx509_conf.c293 ASN1_OCTET_STRING *oct = NULL; local
317 if ((oct = ASN1_OCTET_STRING_new()) == NULL) {
322 ASN1_STRING_set0(oct, ext_der, ext_len);
326 ext = X509_EXTENSION_create_by_OBJ(NULL, obj, crit, oct);
330 ASN1_OCTET_STRING_free(oct);
/openbsd-current/gnu/usr.bin/perl/cpan/bignum/gentest/
H A Dscope-nested-const.sh67 is(ref(oct("1")), "$c0", 'ref(oct("1"))');
73 is(ref(oct("1")), "$c1", 'ref(oct("1"))');
79 is(ref(oct("1")), "$c2", 'ref(oct("1"))');
84 is(ref(oct("1")), "", 'ref(oct("1"))');
88 is(ref(oct("1")), "$c1", 'ref(oct("
[all...]
H A Dscope-nested-hex-oct.sh15 my $outfile = "t/scope-nested-hex-oct.t";
67 is(ref(oct("1")), "$c0", 'ref(oct("1"))');
73 is(ref(oct("1")), "$c1", 'ref(oct("1"))');
79 is(ref(oct("1")), "$c2", 'ref(oct("1"))');
84 is(ref(oct("1")), "", 'ref(oct("1"))');
88 is(ref(oct("
[all...]
/openbsd-current/lib/libcrypto/pkcs12/
H A Dp12_decr.c126 const char *pass, int passlen, const ASN1_OCTET_STRING *oct, int zbuf)
133 if (!PKCS12_pbe_crypt(algor, pass, passlen, oct->data, oct->length,
157 ASN1_OCTET_STRING *oct; local
161 if (!(oct = ASN1_OCTET_STRING_new())) {
170 if (!PKCS12_pbe_crypt(algor, pass, passlen, in, inlen, &oct->data,
171 &oct->length, 1)) {
178 return oct;
182 ASN1_OCTET_STRING_free(oct);
125 PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, const char *pass, int passlen, const ASN1_OCTET_STRING *oct, int zbuf) argument
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Denum2.C15 dec=020, oct=040, hex=0100, enumerator in enum:ios::__anon6667
26 { i.setf(ios::dec, ios::dec|ios::hex|ios::oct); return i; }
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
H A Dlong_long.c69 long long bin, oct, dec, hex; member in struct:__anon4659
75 val.oct = 01234567123456701234567LL; /* = 21+ octal digits */
79 val.hex = val.bin - val.dec | val.oct;
/openbsd-current/gnu/usr.bin/perl/t/op/
H A D64bitint.t78 cmp_ok(oct "0$x", '==', 0133767016065);
79 cmp_ok(oct $x, '>', $f);
82 cmp_ok(oct "0$x", '==', 0133767016065);
83 cmp_ok(oct $x, '>', $f);
86 cmp_ok(oct "0$x", '==', 0133767016065);
87 cmp_ok(oct $x, '>', $f);
90 cmp_ok(oct "0b$x", '==', 0b1011011111110111000001110000110101);
91 cmp_ok(oct "0b$x", '>', $f);
94 cmp_ok(oct "0b$x", '==', 0b1011011111110111000001110000110101);
95 cmp_ok(oct "
[all...]
H A Doct.t63 my $result = oct $string;
65 my $desc = ($^O ne 'VMS' || length $string <= 256) && "oct \"$string\"";
69 diag(sprintf "oct '%s' gives '%s' ($format), not %s ($format)",
141 eval '$a = oct "10\x{100}"';
142 like($@, qr/Wide character/, "wide character - oct");
/openbsd-current/lib/libcrypto/ct/
H A Dct_oct.c433 ASN1_OCTET_STRING *oct = NULL; local
438 if (d2i_ASN1_OCTET_STRING(&oct, &p, len) == NULL)
441 p = oct->data;
442 if ((sk = o2i_SCT_LIST(a, &p, oct->length)) != NULL)
445 ASN1_OCTET_STRING_free(oct);
453 ASN1_OCTET_STRING oct; local
456 oct.data = NULL;
457 if ((oct.length = i2o_SCT_LIST(a, &oct.data)) == -1)
460 len = i2d_ASN1_OCTET_STRING(&oct, ou
[all...]
/openbsd-current/bin/chmod/
H A Dchmod.c62 int oct; local
169 oct = 1;
174 oct = 0;
188 oct = 1;
192 oct = 0;
264 if (!fchmodat(AT_FDCWD, p->fts_accpath, oct ? omode :
273 if (!chflagsat(AT_FDCWD, p->fts_accpath, oct ? fset :
/openbsd-current/gnu/gcc/libstdc++-v3/include/backward/
H A Diomanip.h53 using std::oct;
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/backward/
H A Diomanip.h53 using std::oct;
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.benjamin/
H A Dtypedef03.C18 oct = 0x0020, enumerator in enum:QTextStream::__anon6618
/openbsd-current/usr.bin/m4/
H A Dtokenizer.l36 oct 0[0-7]*
44 {hex}|{oct}|{dec} { yylval = number(); return(NUMBER); }
/openbsd-current/lib/libcrypto/asn1/
H A Dasn1_item.c175 ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) argument
179 if (!oct || !*oct) {
185 octmp = *oct;
198 if (oct)
199 *oct = octmp;
202 if (!oct || octmp != *oct)
210 ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it) argument
215 p = oct
[all...]
H A Da_type.c319 ASN1_OCTET_STRING *oct; local
322 if ((oct = ASN1_item_pack(s, it, NULL)) == NULL)
329 ASN1_OCTET_STRING_free(oct);
335 ASN1_TYPE_set(rt, V_ASN1_SEQUENCE, oct);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp811.C38 dec=020, oct=040, hex=0100, enumerator in enum:ios::__anon6682
478 { i.setf(ios::dec, ios::dec|ios::hex|ios::oct); return i; }
480 { i.setf(ios::hex, ios::dec|ios::hex|ios::oct); return i; }
481 inline ios& oct(ios& i) function
482 { i.setf(ios::oct, ios::dec|ios::hex|ios::oct); return i; }
500 extern char* oct(long, int=0);
501 extern char* oct(int, int=0);
502 extern char* oct(unsigned long, int=0);
503 extern char* oct(unsigne
[all...]
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/27_io/
H A Dios_manip_basefield.cc59 oss << std::oct << std::showbase;
/openbsd-current/gnu/gcc/libstdc++-v3/include/std/
H A Dstd_iomanip.h128 * @c ios_base::basefield flags to @c oct, @c dec, or @c hex when @a base
143 __is.setf(__f._M_base == 8 ? ios_base::oct :
154 __os.setf(__f._M_base == 8 ? ios_base::oct :
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/std/
H A Dstd_iomanip.h129 * @c ios_base::basefield flags to @c oct, @c dec, or @c hex when @a base
144 __is.setf(__f._M_base == 8 ? ios_base::oct :
155 __os.setf(__f._M_base == 8 ? ios_base::oct :
H A Dstd_ostream.h180 if (__fmt & ios_base::oct || __fmt & ios_base::hex)
195 if (__fmt & ios_base::oct || __fmt & ios_base::hex)
/openbsd-current/gnu/usr.bin/perl/t/re/
H A Danyof.t799 my $oct = sprintf "%o", $cp;
/openbsd-current/gnu/gcc/libstdc++-v3/include/bits/
H A Dios_base.h240 * - oct
277 static const fmtflags oct = _S_oct; member in class:ios_base
310 /// A mask of dec|oct|hex. Useful for the 2-arg form of @c setf.
940 /// Calls base.setf(ios_base::oct, ios_base::basefield).
942 oct(ios_base& __base) function
944 __base.setf(ios_base::oct, ios_base::basefield);
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dios_base.h199 * - oct
229 static const fmtflags oct = fmtflags(__ios_flags::_S_oct); member in class:std::ios_base
252 /// A mask of dec|oct|hex. Useful for the 2-arg form of @c setf.
830 /// Calls base.setf(ios_base::oct, ios_base::basefield).
832 oct(ios_base& __base) function in namespace:std
834 __base.setf(ios_base::oct, ios_base::basefield);

Completed in 297 milliseconds

123