Home
last modified time | relevance | path

Searched refs:oct_str (Results 1 – 25 of 34) sorted by relevance

12

/dports/biology/fasta3/fasta-36.3.8/src/
H A Dpssm_asn_subs.c238 read_asn_dest(struct asn_bstruct *asnp, int v, unsigned char *oct_str, int o_len) { in read_asn_dest() argument
243 if (oct_str != NULL && v > o_len) { in read_asn_dest()
250 if (oct_str != NULL) memmove(oct_str, asnp->abp, v); in read_asn_dest()
258 if (oct_str != NULL) memmove(oct_str, asnp->abp, asnp->len); in read_asn_dest()
259 oct_ptr = oct_str+asnp->len; in read_asn_dest()
269 if (oct_str != NULL) memmove(oct_ptr, asnp->buf, v); in read_asn_dest()
275 if (oct_str != NULL) memmove(oct_ptr, asnp->buf, new_buf); in read_asn_dest()
473 unsigned char *oct_str, in get_astr_octstr() argument
499 asnp->abp = read_asn_dest(asnp,q_len, oct_str, o_len); in get_astr_octstr()
502 asnp->abp = read_asn_dest(asnp,o_len, oct_str, o_len); in get_astr_octstr()
[all …]
/dports/net/freerdp/freerdp-2.5.0/libfreerdp/crypto/
H A Dper.c393 BOOL per_read_octet_string(wStream* s, BYTE* oct_str, int length, int min) in per_read_octet_string() argument
413 if (a_oct_str[i] != oct_str[i]) in per_read_octet_string()
428 void per_write_octet_string(wStream* s, BYTE* oct_str, int length, int min) in per_write_octet_string() argument
438 Stream_Write_UINT8(s, oct_str[i]); in per_write_octet_string()
H A Dder.c90 void der_write_octet_string(wStream* s, BYTE* oct_str, int length) in der_write_octet_string() argument
94 Stream_Write(s, oct_str, length); in der_write_octet_string()
H A Der.c303 void er_write_octet_string(wStream* s, BYTE* oct_str, int length, BOOL flag) in er_write_octet_string() argument
307 Stream_Write(s, oct_str, length); in er_write_octet_string()
H A Dber.c315 size_t ber_write_octet_string(wStream* s, const BYTE* oct_str, size_t length) in ber_write_octet_string() argument
320 Stream_Write(s, oct_str, length); in ber_write_octet_string()
/dports/net/freerdp/freerdp-2.5.0/include/freerdp/crypto/
H A Dper.h50 FREERDP_API BOOL per_read_octet_string(wStream* s, BYTE* oct_str, int length, int min);
51 FREERDP_API void per_write_octet_string(wStream* s, BYTE* oct_str, int length, int min);
H A Dder.h38 FREERDP_API void der_write_octet_string(wStream* s, BYTE* oct_str, int length);
H A Dber.h77 FREERDP_API size_t ber_write_octet_string(wStream* s, const BYTE* oct_str, size_t length);
H A Der.h83 FREERDP_API void er_write_octet_string(wStream* s, BYTE* oct_str, int length, BOOL flag);
/dports/security/dropbear/dropbear-2020.81/libtomcrypt/testprof/
H A Dder_tests.c19 static const unsigned char oct_str[] = { 1, 2, 3, 4 }; in der_set_test() local
28 LTC_SET_ASN1(list, 0, LTC_ASN1_OCTET_STRING, oct_str, sizeof(oct_str)); in der_set_test()
51 if (memcmp(strs[0], oct_str, sizeof(oct_str))) { in der_set_test()
140 static const unsigned char oct_str[] = { 1, 2, 3, 4 }; in der_flexi_test() local
159 LTC_SET_ASN1(static_list[2], 0, LTC_ASN1_OCTET_STRING, (void *)oct_str, 4); in der_flexi_test()
332 if (l->size != sizeof(oct_str) || memcmp(oct_str, l->data, l->size)) { in der_flexi_test()
/dports/security/dropbear/dropbear-2020.81/libtomcrypt/tests/
H A Dder_test.c598 static const unsigned char oct_str[] = { 1, 2, 3, 4 }; in der_set_test() local
606 LTC_SET_ASN1(list, 0, LTC_ASN1_OCTET_STRING, oct_str, sizeof(oct_str)); in der_set_test()
622 if (memcmp(strs[0], oct_str, sizeof(oct_str))) { in der_set_test()
707 static const unsigned char oct_str[] = { 1, 2, 3, 4 }; in der_flexi_test() local
726 LTC_SET_ASN1(static_list[2], 0, LTC_ASN1_OCTET_STRING, (void *)oct_str, 4); in der_flexi_test()
913 if (l->size != sizeof(oct_str) || memcmp(oct_str, l->data, l->size)) { in der_flexi_test()
/dports/security/libtomcrypt/libtomcrypt-1.18.2/tests/
H A Dder_test.c598 static const unsigned char oct_str[] = { 1, 2, 3, 4 }; in der_set_test() local
606 LTC_SET_ASN1(list, 0, LTC_ASN1_OCTET_STRING, oct_str, sizeof(oct_str)); in der_set_test()
622 if (memcmp(strs[0], oct_str, sizeof(oct_str))) { in der_set_test()
707 static const unsigned char oct_str[] = { 1, 2, 3, 4 }; in der_flexi_test() local
726 LTC_SET_ASN1(static_list[2], 0, LTC_ASN1_OCTET_STRING, (void *)oct_str, 4); in der_flexi_test()
913 if (l->size != sizeof(oct_str) || memcmp(oct_str, l->data, l->size)) { in der_flexi_test()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/source/Utility/
H A DArgs.cpp496 char oct_str[5] = {'\0', '\0', '\0', '\0', '\0'}; in EncodeEscapeSequences() local
500 oct_str[i] = p[i]; in EncodeEscapeSequences()
506 unsigned long octal_value = ::strtoul(oct_str, nullptr, 8); in EncodeEscapeSequences()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/source/Utility/
H A DArgs.cpp497 char oct_str[5] = {'\0', '\0', '\0', '\0', '\0'}; in EncodeEscapeSequences() local
501 oct_str[i] = p[i]; in EncodeEscapeSequences()
507 unsigned long octal_value = ::strtoul(oct_str, nullptr, 8); in EncodeEscapeSequences()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/source/Utility/
H A DArgs.cpp496 char oct_str[5] = {'\0', '\0', '\0', '\0', '\0'}; in EncodeEscapeSequences() local
500 oct_str[i] = p[i]; in EncodeEscapeSequences()
506 unsigned long octal_value = ::strtoul(oct_str, nullptr, 8); in EncodeEscapeSequences()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/source/Utility/
H A DArgs.cpp496 char oct_str[5] = {'\0', '\0', '\0', '\0', '\0'}; in EncodeEscapeSequences() local
500 oct_str[i] = p[i]; in EncodeEscapeSequences()
506 unsigned long octal_value = ::strtoul(oct_str, nullptr, 8); in EncodeEscapeSequences()
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/source/Utility/
H A DArgs.cpp497 char oct_str[5] = {'\0', '\0', '\0', '\0', '\0'}; in EncodeEscapeSequences() local
501 oct_str[i] = p[i]; in EncodeEscapeSequences()
507 unsigned long octal_value = ::strtoul(oct_str, nullptr, 8); in EncodeEscapeSequences()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/source/Utility/
H A DArgs.cpp496 char oct_str[5] = {'\0', '\0', '\0', '\0', '\0'}; in EncodeEscapeSequences() local
500 oct_str[i] = p[i]; in EncodeEscapeSequences()
506 unsigned long octal_value = ::strtoul(oct_str, nullptr, 8); in EncodeEscapeSequences()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/source/Utility/
H A DArgs.cpp496 char oct_str[5] = {'\0', '\0', '\0', '\0', '\0'}; in EncodeEscapeSequences() local
500 oct_str[i] = p[i]; in EncodeEscapeSequences()
506 unsigned long octal_value = ::strtoul(oct_str, nullptr, 8); in EncodeEscapeSequences()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/source/Utility/
H A DArgs.cpp496 char oct_str[5] = {'\0', '\0', '\0', '\0', '\0'}; in EncodeEscapeSequences() local
500 oct_str[i] = p[i]; in EncodeEscapeSequences()
506 unsigned long octal_value = ::strtoul(oct_str, nullptr, 8); in EncodeEscapeSequences()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/source/Utility/
H A DArgs.cpp497 char oct_str[5] = {'\0', '\0', '\0', '\0', '\0'}; in EncodeEscapeSequences() local
501 oct_str[i] = p[i]; in EncodeEscapeSequences()
507 unsigned long octal_value = ::strtoul(oct_str, nullptr, 8); in EncodeEscapeSequences()
/dports/devel/llvm13/llvm-project-13.0.1.src/lldb/source/Utility/
H A DArgs.cpp496 char oct_str[5] = {'\0', '\0', '\0', '\0', '\0'}; in EncodeEscapeSequences() local
500 oct_str[i] = p[i]; in EncodeEscapeSequences()
506 unsigned long octal_value = ::strtoul(oct_str, nullptr, 8); in EncodeEscapeSequences()
/dports/lang/ruby26/ruby-2.6.9/test/openssl/
H A Dtest_asn1.rb485 oct_str = OpenSSL::ASN1::OctetString.new("a", 0, :EXPLICIT)
486 encode_test B(%w{ A0 03 04 01 61 }), oct_str
/dports/www/firefox/firefox-99.0/third_party/python/pip/pip/_vendor/tomli/
H A D_parser.py652 pos, oct_str = parse_regex(src, pos + 2, RE_OCT)
653 return pos, int(oct_str, 8)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/source/Core/
H A DFormatEntity.cpp2108 char oct_str[5] = {0, 0, 0, 0, 0}; in ParseInternal() local
2112 oct_str[i] = format[i]; in ParseInternal()
2118 unsigned long octal_value = ::strtoul(oct_str, nullptr, 8); in ParseInternal()

12