Home
last modified time | relevance | path

Searched refs:oct (Results 1 – 25 of 92) sorted by relevance

1234

/external/openssl/crypto/asn1/
Dasn_pack.c109 void *ASN1_unpack_string(ASN1_STRING *oct, d2i_of_void *d2i) in ASN1_unpack_string() argument
114 p = oct->data; in ASN1_unpack_string()
115 if(!(ret = d2i(NULL, &p, oct->length))) in ASN1_unpack_string()
122 ASN1_STRING *ASN1_pack_string(void *obj, i2d_of_void *i2d, ASN1_STRING **oct) in ASN1_pack_string() argument
127 if (!oct || !*oct) { in ASN1_pack_string()
132 if (oct) *oct = octmp; in ASN1_pack_string()
133 } else octmp = *oct; in ASN1_pack_string()
147 if (!oct || !*oct) in ASN1_pack_string()
150 if (oct) in ASN1_pack_string()
151 *oct = NULL; in ASN1_pack_string()
[all …]
Dp8_pkey.c101 ASN1_OCTET_STRING *oct; variable
102 oct = ASN1_OCTET_STRING_new();
103 if (!oct)
105 oct->data = penc;
106 ppenc = &oct->data;
107 oct->length = penclen;
112 ASN1_TYPE_set(priv->pkey, pmtype, oct);
/external/openssl/crypto/x509v3/
Dv3_skey.c74 ASN1_OCTET_STRING *oct) in i2s_ASN1_OCTET_STRING() argument
76 return hex_to_string(oct->data, oct->length); in i2s_ASN1_OCTET_STRING()
82 ASN1_OCTET_STRING *oct; in s2i_ASN1_OCTET_STRING() local
85 if(!(oct = M_ASN1_OCTET_STRING_new())) { in s2i_ASN1_OCTET_STRING()
90 if(!(oct->data = string_to_hex(str, &length))) { in s2i_ASN1_OCTET_STRING()
91 M_ASN1_OCTET_STRING_free(oct); in s2i_ASN1_OCTET_STRING()
95 oct->length = length; in s2i_ASN1_OCTET_STRING()
97 return oct; in s2i_ASN1_OCTET_STRING()
104 ASN1_OCTET_STRING *oct; in s2i_skey_id() local
111 if(!(oct = M_ASN1_OCTET_STRING_new())) { in s2i_skey_id()
[all …]
Dv3_sxnet.c226 ASN1_OCTET_STRING *oct; in SXNET_get_id_asc() local
231 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_asc()
233 return oct; in SXNET_get_id_asc()
239 ASN1_OCTET_STRING *oct; in SXNET_get_id_ulong() local
245 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_ulong()
247 return oct; in SXNET_get_id_ulong()
Dv3_conf.c267 ASN1_OCTET_STRING *oct=NULL; in v3_generic_extension() local
288 if (!(oct = M_ASN1_OCTET_STRING_new())) in v3_generic_extension()
294 oct->data = ext_der; in v3_generic_extension()
295 oct->length = ext_len; in v3_generic_extension()
298 extension = X509_EXTENSION_create_by_OBJ(NULL, obj, crit, oct); in v3_generic_extension()
302 M_ASN1_OCTET_STRING_free(oct); in v3_generic_extension()
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/
Dv3_skey.c76 ASN1_OCTET_STRING *oct) in i2s_ASN1_OCTET_STRING() argument
78 return hex_to_string(oct->data, oct->length); in i2s_ASN1_OCTET_STRING()
84 ASN1_OCTET_STRING *oct; in s2i_ASN1_OCTET_STRING() local
87 if(!(oct = M_ASN1_OCTET_STRING_new())) { in s2i_ASN1_OCTET_STRING()
92 if(!(oct->data = string_to_hex(str, &length))) { in s2i_ASN1_OCTET_STRING()
93 M_ASN1_OCTET_STRING_free(oct); in s2i_ASN1_OCTET_STRING()
97 oct->length = length; in s2i_ASN1_OCTET_STRING()
99 return oct; in s2i_ASN1_OCTET_STRING()
106 ASN1_OCTET_STRING *oct; in s2i_skey_id() local
113 if(!(oct = M_ASN1_OCTET_STRING_new())) { in s2i_skey_id()
[all …]
Dv3_sxnet.c230 ASN1_OCTET_STRING *oct; in SXNET_get_id_asc() local
235 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_asc()
237 return oct; in SXNET_get_id_asc()
243 ASN1_OCTET_STRING *oct; in SXNET_get_id_ulong() local
249 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_ulong()
251 return oct; in SXNET_get_id_ulong()
Dv3_conf.c266 ASN1_OCTET_STRING *oct=NULL; in v3_generic_extension() local
287 if (!(oct = M_ASN1_OCTET_STRING_new())) in v3_generic_extension()
293 oct->data = ext_der; in v3_generic_extension()
294 oct->length = ext_len; in v3_generic_extension()
297 extension = X509_EXTENSION_create_by_OBJ(NULL, obj, crit, oct); in v3_generic_extension()
301 M_ASN1_OCTET_STRING_free(oct); in v3_generic_extension()
/external/libcxx/test/input.output/iostream.format/std.manip/
Dsetiosflags.pass.cpp29 assert(!(is.flags() & std::ios_base::oct)); in main()
30 is >> std::setiosflags(std::ios_base::oct); in main()
31 assert(is.flags() & std::ios_base::oct); in main()
36 assert(!(os.flags() & std::ios_base::oct)); in main()
37 os << std::setiosflags(std::ios_base::oct); in main()
38 assert(os.flags() & std::ios_base::oct); in main()
43 assert(!(is.flags() & std::ios_base::oct)); in main()
44 is >> std::setiosflags(std::ios_base::oct); in main()
45 assert(is.flags() & std::ios_base::oct); in main()
50 assert(!(os.flags() & std::ios_base::oct)); in main()
[all …]
Dsetbase.pass.cpp30 assert((is.flags() & std::ios_base::basefield) == std::ios_base::oct); in main()
42 assert((os.flags() & std::ios_base::basefield) == std::ios_base::oct); in main()
54 assert((is.flags() & std::ios_base::basefield) == std::ios_base::oct); in main()
66 assert((os.flags() & std::ios_base::basefield) == std::ios_base::oct); in main()
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
Dasn_pack.c65 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack() argument
69 if (!oct || !*oct) { in ASN1_item_pack()
74 if (oct) *oct = octmp; in ASN1_item_pack()
75 } else octmp = *oct; in ASN1_item_pack()
95 void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack() argument
100 p = oct->data; in ASN1_item_unpack()
101 if(!(ret = ASN1_item_d2i(NULL, &p, oct->length, it))) in ASN1_item_unpack()
/external/chromium_org/third_party/boringssl/src/crypto/x509/
Dx509.c74 ASN1_OCTET_STRING *oct; in PKCS8_pkey_set0() local
76 oct = ASN1_OCTET_STRING_new(); in PKCS8_pkey_set0()
77 if (!oct) { in PKCS8_pkey_set0()
80 oct->data = penc; in PKCS8_pkey_set0()
81 ppenc = &oct->data; in PKCS8_pkey_set0()
82 oct->length = penclen; in PKCS8_pkey_set0()
88 ASN1_TYPE_set(priv->pkey, pmtype, oct); in PKCS8_pkey_set0()
/external/openssl/crypto/pkcs12/
Dp12_decr.c121 const char *pass, int passlen, ASN1_OCTET_STRING *oct, int zbuf) in PKCS12_item_decrypt_d2i() argument
128 if (!PKCS12_pbe_crypt(algor, pass, passlen, oct->data, oct->length, in PKCS12_item_decrypt_d2i()
161 ASN1_OCTET_STRING *oct; in PKCS12_item_i2d_encrypt() local
164 if (!(oct = M_ASN1_OCTET_STRING_new ())) { in PKCS12_item_i2d_encrypt()
173 if (!PKCS12_pbe_crypt(algor, pass, passlen, in, inlen, &oct->data, in PKCS12_item_i2d_encrypt()
174 &oct->length, 1)) { in PKCS12_item_i2d_encrypt()
181 return oct; in PKCS12_item_i2d_encrypt()
/external/stlport/test/unit/
Dnum_put_get_test.cpp629 CHECK(short, 0, oct, "0") in num_put_integer()
630 CHECK(short, 1, oct, "1") in num_put_integer()
631 CHECK(short, 12345, oct, "30071") in num_put_integer()
633 CHECK(short, -1, oct, "177777") in num_put_integer()
634 CHECK(short, -12345, oct, "147707") in num_put_integer()
637 CHECK(unsigned short, 0, oct, "0") in num_put_integer()
638 CHECK(unsigned short, 12345, oct, "30071") in num_put_integer()
640 CHECK(int, 0, oct, "0") in num_put_integer()
641 CHECK(int, 12345678, oct, "57060516") in num_put_integer()
643 CHECK(int, -1, oct, "37777777777") in num_put_integer()
[all …]
/external/ltrace/etc/
Dsyscalls.conf21 int open(string, hex(uint), oct(uint));
121 int openat(at_dirfd_t, string, hex(uint), oct(uint));
122 int mknodat(at_dirfd_t, string, oct(uint), ushort)
123 int mkdirat(at_dirfd_t, string, oct(uint));
128 int faccessat(at_dirfd_t, string, oct(uint), hex(uint));
129 int fchmodat(at_dirfd_t, string, oct(uint), hex(uint));
145 int creat(string, oct(int));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DIvAlgorithmParameters.java76 ASN1OctetString oct = (ASN1OctetString)ASN1Primitive.fromByteArray(params); in engineInit() local
78 params = oct.getOctets(); in engineInit()
93 ASN1OctetString oct = (ASN1OctetString)ASN1Primitive.fromByteArray(params); in engineInit() local
95 engineInit(oct.getOctets()); in engineInit()
/external/libcxx/test/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/
Dfmtflags.pass.cpp44 assert(std::ios_base::oct); in main()
62 & std::ios_base::oct in main()
77 | std::ios_base::oct in main()
/external/libcxx/test/input.output/iostreams.base/std.ios.manip/basefield.manip/
Doct.pass.cpp26 std::ios_base& r = std::oct(ios); in main()
28 assert(ios.flags() & std::ios::oct); in main()
DAndroid.mk27 test_name := input.output/iostreams.base/std.ios.manip/basefield.manip/oct
28 test_src := oct.pass.cpp
/external/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/
Dput_long_long.pass.cpp97 oct(ios); in main()
106 oct(ios); in main()
170 oct(ios); in main()
180 oct(ios); in main()
191 oct(ios); in main()
204 oct(ios); in main()
217 oct(ios); in main()
Dput_unsigned_long_long.pass.cpp97 oct(ios); in main()
106 oct(ios); in main()
170 oct(ios); in main()
180 oct(ios); in main()
191 oct(ios); in main()
204 oct(ios); in main()
217 oct(ios); in main()
Dput_unsigned_long.pass.cpp103 oct(ios); in main()
113 oct(ios); in main()
183 oct(ios); in main()
194 oct(ios); in main()
206 oct(ios); in main()
220 oct(ios); in main()
234 oct(ios); in main()
Dput_long.pass.cpp103 oct(ios); in main()
113 oct(ios); in main()
183 oct(ios); in main()
194 oct(ios); in main()
206 oct(ios); in main()
220 oct(ios); in main()
234 oct(ios); in main()
/external/stlport/stlport/stl/
D_ios_base.h72 _STLP_STATIC_CONSTANT(int, oct = 0x0020);
83 _STLP_STATIC_CONSTANT(int, basefield = dec | hex | oct);
327 inline ios_base& _STLP_CALL oct(ios_base& __s) in oct() function
328 { __s.setf(ios_base::oct, ios_base::basefield); return __s; } in oct()
/external/chromium_org/third_party/boringssl/src/crypto/pkcs8/
Dpkcs8.c397 ASN1_OCTET_STRING *oct) { in pkcs12_item_decrypt_d2i() argument
403 if (!pbe_crypt(algor, pass_raw, pass_raw_len, oct->data, oct->length, in pkcs12_item_decrypt_d2i()
454 ASN1_OCTET_STRING *oct; in pkcs12_item_i2d_encrypt() local
459 oct = M_ASN1_OCTET_STRING_new(); in pkcs12_item_i2d_encrypt()
460 if (oct == NULL) { in pkcs12_item_i2d_encrypt()
469 if (!pbe_crypt(algor, pass_raw, pass_raw_len, in, in_len, &oct->data, &crypt_len, in pkcs12_item_i2d_encrypt()
475 oct->length = crypt_len; in pkcs12_item_i2d_encrypt()
478 return oct; in pkcs12_item_i2d_encrypt()

1234