Home
last modified time | relevance | path

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

12345

/external/boringssl/src/crypto/x509v3/
Dv3_skey.c77 char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, ASN1_OCTET_STRING *oct) in i2s_ASN1_OCTET_STRING() argument
79 return hex_to_string(oct->data, oct->length); in i2s_ASN1_OCTET_STRING()
85 ASN1_OCTET_STRING *oct; in s2i_ASN1_OCTET_STRING() local
88 if (!(oct = M_ASN1_OCTET_STRING_new())) { in s2i_ASN1_OCTET_STRING()
93 if (!(oct->data = string_to_hex(str, &length))) { in s2i_ASN1_OCTET_STRING()
94 M_ASN1_OCTET_STRING_free(oct); in s2i_ASN1_OCTET_STRING()
98 oct->length = length; in s2i_ASN1_OCTET_STRING()
100 return oct; in s2i_ASN1_OCTET_STRING()
107 ASN1_OCTET_STRING *oct; in s2i_skey_id() local
115 if (!(oct = M_ASN1_OCTET_STRING_new())) { in s2i_skey_id()
[all …]
Dv3_sxnet.c238 ASN1_OCTET_STRING *oct; in SXNET_get_id_asc() local
243 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_asc()
245 return oct; in SXNET_get_id_asc()
251 ASN1_OCTET_STRING *oct; in SXNET_get_id_ulong() local
257 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_ulong()
259 return oct; in SXNET_get_id_ulong()
Dv3_conf.c272 ASN1_OCTET_STRING *oct = NULL; in v3_generic_extension() local
291 if (!(oct = M_ASN1_OCTET_STRING_new())) { in v3_generic_extension()
296 oct->data = ext_der; in v3_generic_extension()
297 oct->length = ext_len; in v3_generic_extension()
300 extension = X509_EXTENSION_create_by_OBJ(NULL, obj, crit, oct); in v3_generic_extension()
304 M_ASN1_OCTET_STRING_free(oct); in v3_generic_extension()
/external/libcxx/test/std/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/boringssl/src/crypto/asn1/
Dasn_pack.c64 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack() argument
68 if (!oct || !*oct) { in ASN1_item_pack()
73 if (oct) in ASN1_item_pack()
74 *oct = octmp; in ASN1_item_pack()
76 octmp = *oct; in ASN1_item_pack()
96 void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it) in ASN1_item_unpack() argument
101 p = oct->data; in ASN1_item_unpack()
102 if (!(ret = ASN1_item_d2i(NULL, &p, oct->length, it))) in ASN1_item_unpack()
/external/ltp/testcases/network/stress/ns-tools/
Dns-common.c372 unsigned int oct[16]; in get_a_lla_byifindex() local
385 &oct[0], &oct[1], &oct[2], &oct[3], in get_a_lla_byifindex()
386 &oct[4], &oct[5], &oct[6], &oct[7], in get_a_lla_byifindex()
387 &oct[8], &oct[9], &oct[10], &oct[11], in get_a_lla_byifindex()
388 &oct[12], &oct[13], &oct[14], &oct[15], in get_a_lla_byifindex()
413 lla_p->sin6_addr.s6_addr[pos] = oct[pos]; in get_a_lla_byifindex()
/external/python/cpython2/Lib/test/
Dtest_future_builtins.py4 from future_builtins import hex, oct, map, zip, filter
16 self.assertEqual(oct(0), '0o0')
17 self.assertEqual(oct(100), '0o144')
18 self.assertEqual(oct(100L), '0o144')
19 self.assertEqual(oct(-100), '-0o144')
20 self.assertEqual(oct(-100L), '-0o144')
21 self.assertRaises(TypeError, oct, ())
/external/boringssl/src/crypto/x509/
Dx509.c79 ASN1_OCTET_STRING *oct; in OPENSSL_DECLARE_ERROR_REASON() local
81 oct = ASN1_OCTET_STRING_new(); in OPENSSL_DECLARE_ERROR_REASON()
82 if (!oct) { in OPENSSL_DECLARE_ERROR_REASON()
85 oct->data = penc; in OPENSSL_DECLARE_ERROR_REASON()
86 ppenc = &oct->data; in OPENSSL_DECLARE_ERROR_REASON()
87 oct->length = penclen; in OPENSSL_DECLARE_ERROR_REASON()
93 ASN1_TYPE_set(priv->pkey, pmtype, oct); in OPENSSL_DECLARE_ERROR_REASON()
/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/std/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/toybox/lib/
Dgetmountlist.c69 int i, oct = 0; in octal_deslash() local
73 oct = (oct<<3)+s[i]-'0'; in octal_deslash()
76 *o++ = oct; in octal_deslash()
/external/libcxx/test/std/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()
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/
Dput_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_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.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()
/external/icu/icu4c/source/data/locales/
Dfr_MA.txt31 "oct.",
47 "oct.",
Des_VE.txt98 "oct.",
114 "oct.",
Des_PY.txt111 "oct.",
127 "oct.",
/external/protobuf/src/google/protobuf/stubs/
Dint128_unittest.cc460 {uint128(0), std::ios::oct, 0, '_', "0"}, in TEST()
464 {uint128(0, -1), std::ios::oct, 0, '_', "1777777777777777777777"}, in TEST()
467 {uint128(1, 0), std::ios::oct, 0, '_', "2000000000000000000000"}, in TEST()
472 {uint128(GOOGLE_ULONGLONG(0x8000000000000000), 0), std::ios::oct, 0, '_', in TEST()
479 {uint128(-1, -1), std::ios::oct, 0, '_', in TEST()
488 {uint128(1), std::ios::oct | std::ios::showbase, 0, '_', "01"}, in TEST()
492 {uint128(0), std::ios::oct | std::ios::showbase, 0, '_', "0"}, in TEST()
/external/autotest/client/site_tests/security_ProfilePermissions/
Dsecurity_ProfilePermissions.py42 path, expected_owner, oct(expected_mode),
43 actual_owner, oct(actual_mode))
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/util/
DASN1Dump.java179 ASN1OctetString oct = (ASN1OctetString)obj; in _dumpAsString() local
183 … buf.append(indent + "BER Constructed Octet String" + "[" + oct.getOctets().length + "] "); in _dumpAsString()
187 buf.append(indent + "DER Octet String" + "[" + oct.getOctets().length + "] "); in _dumpAsString()
191 buf.append(dumpBinaryDataAsString(indent, oct.getOctets())); in _dumpAsString()
/external/python/cpython2/Doc/library/
Dfuture_builtins.rst58 .. function:: oct(object)
60 Works like the built-in :func:`oct`, but instead of :meth:`__oct__` it will
/external/autotest/client/site_tests/login_UserPolicyKeys/
Dlogin_UserPolicyKeys.py50 (key_file, oct(info.st_mode)))
61 (current, oct(info.st_mode)))

12345