Home
last modified time | relevance | path

Searched refs:enc (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/openbsd/src/lib/libexpat/lib/
Dxmltok_impl.c45 # define IS_INVALID_CHAR(enc, ptr, n) (0) argument
52 if (IS_INVALID_CHAR(enc, ptr, n)) { \
69 # define CHECK_NAME_CASE(n, enc, ptr, end, nextTokPtr) \ argument
73 if (IS_INVALID_CHAR(enc, ptr, n) || ! IS_NAME_CHAR(enc, ptr, n)) { \
80 # define CHECK_NAME_CASES(enc, ptr, end, nextTokPtr) \ argument
82 if (! IS_NAME_CHAR_MINBPC(enc, ptr)) { \
92 ptr += MINBPC(enc); \
94 CHECK_NAME_CASE(2, enc, ptr, end, nextTokPtr) \
95 CHECK_NAME_CASE(3, enc, ptr, end, nextTokPtr) \
96 CHECK_NAME_CASE(4, enc, ptr, end, nextTokPtr)
[all …]
Dxmltok.h179 int(PTRCALL *getAtts)(const ENCODING *enc, const char *ptr, int attsMax,
181 int(PTRFASTCALL *charRefNumber)(const ENCODING *enc, const char *ptr);
186 int(PTRCALL *isPublicId)(const ENCODING *enc, const char *ptr,
188 enum XML_Convert_Result(PTRCALL *utf8Convert)(const ENCODING *enc,
192 enum XML_Convert_Result(PTRCALL *utf16Convert)(const ENCODING *enc,
223 #define XmlTok(enc, state, ptr, end, nextTokPtr) \ argument
224 (((enc)->scanners[state])(enc, ptr, end, nextTokPtr))
226 #define XmlPrologTok(enc, ptr, end, nextTokPtr) \ argument
227 XmlTok(enc, XML_PROLOG_STATE, ptr, end, nextTokPtr)
229 #define XmlContentTok(enc, ptr, end, nextTokPtr) \ argument
[all …]
Dxmltok.c135 isNever(const ENCODING *enc, const char *p) { in isNever() argument
136 UNUSED_P(enc); in isNever()
142 utf8_isName2(const ENCODING *enc, const char *p) { in utf8_isName2() argument
143 UNUSED_P(enc); in utf8_isName2()
148 utf8_isName3(const ENCODING *enc, const char *p) { in utf8_isName3() argument
149 UNUSED_P(enc); in utf8_isName3()
156 utf8_isNmstrt2(const ENCODING *enc, const char *p) { in utf8_isNmstrt2() argument
157 UNUSED_P(enc); in utf8_isNmstrt2()
162 utf8_isNmstrt3(const ENCODING *enc, const char *p) { in utf8_isNmstrt3() argument
163 UNUSED_P(enc); in utf8_isNmstrt3()
[all …]
Dxmlrole.c111 # define MIN_BYTES_PER_CHAR(enc) ((enc)->minBytesPerChar) argument
124 const ENCODING *enc);
142 const ENCODING *enc) { in prolog0() argument
159 if (! XmlNameMatchesAscii(enc, ptr + 2 * MIN_BYTES_PER_CHAR(enc), end, in prolog0()
173 const ENCODING *enc) { in prolog1() argument
191 if (! XmlNameMatchesAscii(enc, ptr + 2 * MIN_BYTES_PER_CHAR(enc), end, in prolog1()
205 const ENCODING *enc) { in prolog2() argument
208 UNUSED_P(enc); in prolog2()
225 const ENCODING *enc) { in doctype0() argument
228 UNUSED_P(enc); in doctype0()
[all …]
Dxmltok_ns.c41 return &ns(internal_utf8_encoding).enc; in NS()
47 return &ns(internal_little2_encoding).enc; in NS()
49 return &ns(internal_big2_encoding).enc; in NS()
52 return (*(const char *)&n ? &ns(internal_little2_encoding).enc in NS()
53 : &ns(internal_big2_encoding).enc); in NS()
58 &ns(latin1_encoding).enc, &ns(ascii_encoding).enc,
59 &ns(utf8_encoding).enc, &ns(big2_encoding).enc,
60 &ns(big2_encoding).enc, &ns(little2_encoding).enc,
61 &ns(utf8_encoding).enc /* NO_ENC */
65 NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end, in NS()
[all …]
/openbsd/src/sys/dev/pci/drm/amd/display/dc/inc/hw/
Dstream_encoder.h134 struct stream_encoder *enc,
141 struct stream_encoder *enc,
147 struct stream_encoder *enc,
152 struct stream_encoder *enc,
156 struct stream_encoder *enc,
160 struct stream_encoder *enc,
164 struct stream_encoder *enc);
167 struct stream_encoder *enc,
171 struct stream_encoder *enc,
175 struct stream_encoder *enc,
[all …]
Dlink_encoder.h109 struct link_encoder *enc, struct link_enc_state *s);
111 struct link_encoder *enc, const struct dc_stream_state *stream);
112 void (*hw_init)(struct link_encoder *enc);
113 void (*setup)(struct link_encoder *enc,
115 void (*enable_tmds_output)(struct link_encoder *enc,
120 void (*enable_dp_output)(struct link_encoder *enc,
123 void (*enable_dp_mst_output)(struct link_encoder *enc,
126 void (*enable_lvds_output)(struct link_encoder *enc,
131 void (*dp_set_lane_settings)(struct link_encoder *enc,
134 void (*dp_set_phy_pattern)(struct link_encoder *enc,
[all …]
/openbsd/src/sys/dev/pci/drm/amd/display/dc/virtual/
Dvirtual_stream_encoder.c30 struct stream_encoder *enc, in virtual_stream_encoder_dp_set_stream_attribute() argument
37 struct stream_encoder *enc, in virtual_stream_encoder_hdmi_set_stream_attribute() argument
43 struct stream_encoder *enc, in virtual_stream_encoder_dvi_set_stream_attribute() argument
48 struct stream_encoder *enc, in virtual_stream_encoder_set_throttled_vcp_size() argument
53 struct stream_encoder *enc, in virtual_stream_encoder_update_hdmi_info_packets() argument
57 struct stream_encoder *enc) {} in virtual_stream_encoder_stop_hdmi_info_packets() argument
60 struct stream_encoder *enc, in virtual_stream_encoder_set_avmute() argument
63 struct stream_encoder *enc, in virtual_stream_encoder_update_dp_info_packets() argument
67 struct stream_encoder *enc) {} in virtual_stream_encoder_stop_dp_info_packets() argument
71 struct stream_encoder *enc) {} in virtual_stream_encoder_dp_blank() argument
[all …]
Dvirtual_link_encoder.c32 struct link_encoder *enc, in virtual_link_encoder_validate_output_with_stream() argument
35 static void virtual_link_encoder_hw_init(struct link_encoder *enc) {} in virtual_link_encoder_hw_init() argument
38 struct link_encoder *enc, in virtual_link_encoder_setup() argument
42 struct link_encoder *enc, in virtual_link_encoder_enable_tmds_output() argument
49 struct link_encoder *enc, in virtual_link_encoder_enable_dp_output() argument
54 struct link_encoder *enc, in virtual_link_encoder_enable_dp_mst_output() argument
63 struct link_encoder *enc, in virtual_link_encoder_dp_set_lane_settings() argument
68 struct link_encoder *enc, in virtual_link_encoder_dp_set_phy_pattern() argument
72 struct link_encoder *enc, in virtual_link_encoder_update_mst_stream_allocation_table() argument
76 struct link_encoder *enc, in virtual_link_encoder_connect_dig_be_to_fe() argument
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Encode/bin/
Ducmlint87 my $enc = encparse($encstr);
93 nit "dupe encode map: U$uni => $U2E{$uni} and $enc", 1;
95 $U2E{$uni} = $enc;
96 $Fallback{$uni}{$enc} = 1 if $fb == 1;
98 my $e = hex2enc($enc);
102 or nit qq(encode('$name', $uni) != $enc);
107 if (exists $E2U{$enc}){
108 nit "dupe decode map: $enc => U$E2U{$enc} and U$uni", 1;
110 $E2U{$enc} = $uni;
111 $Fallback{$enc}{$uni} = 1 if $fb == 3;
[all …]
/openbsd/src/gnu/usr.bin/binutils-2.17/opcodes/
Dor32-dis.c63 char *enc; in or32_extract() local
68 for (enc = enc_initial; *enc != '\0'; enc++) in or32_extract()
69 if (*enc == param_ch) in or32_extract()
71 if (enc - 2 >= enc_initial && (*(enc - 2) == '0') && (*(enc - 1) == 'x')) in or32_extract()
82 for (enc = enc_initial; *enc != '\0'; ) in or32_extract()
83 if ((*enc == '0') && (*(enc + 1) == 'x')) in or32_extract()
89 unsigned long tmp = strtoul (enc, NULL, 16); in or32_extract()
91 printf (" enc=%s, tmp=%x ", enc, tmp); in or32_extract()
97 enc += 3; in or32_extract()
99 else if ((*enc == '0') || (*enc == '1')) in or32_extract()
[all …]
Dor32-opc.c374 char *enc; in letter_range() local
381 for (enc = pinsn->encoding; *enc != '\0'; enc ++) in letter_range()
382 if ((*enc == '0') && (*(enc + 1) == 'x')) in letter_range()
383 enc += 2; in letter_range()
384 else if (*enc == l) in letter_range()
432 char *enc; in insn_extract() local
436 for (enc = enc_initial; *enc != '\0'; ) in insn_extract()
437 if ((*enc == '0') && (*(enc + 1) == 'x')) in insn_extract()
439 unsigned long tmp = strtol (enc+2, NULL, 16); in insn_extract()
448 enc += 3; in insn_extract()
[all …]
/openbsd/src/gnu/usr.bin/binutils/opcodes/
Dor32-dis.c78 char *enc; local
83 for (enc = enc_initial; *enc != '\0'; enc++)
84 if (*enc == param_ch)
86 if (enc - 2 >= enc_initial && (*(enc - 2) == '0') && (*(enc - 1) == 'x'))
97 for (enc = enc_initial; *enc != '\0'; )
98 if ((*enc == '0') && (*(enc + 1) == 'x'))
104 unsigned long tmp = strtoul (enc, NULL, 16);
106 printf (" enc=%s, tmp=%x ", enc, tmp);
112 enc += 3;
114 else if ((*enc == '0') || (*enc == '1'))
[all …]
Dor32-opc.c389 char *enc; local
396 for (enc = pinsn->encoding; *enc != '\0'; enc++)
397 if ((*enc == '0') && (*(enc+1) == 'x'))
398 enc += 2;
399 else if (*enc == l)
449 char *enc; local
453 for (enc = enc_initial; *enc != '\0'; )
454 if ((*enc == '0') && (*(enc + 1) == 'x'))
456 unsigned long tmp = strtol (enc+2, NULL, 16);
465 enc += 3;
[all …]
/openbsd/src/gnu/usr.bin/perl/t/comp/
Dutf.t13 my ($enc, $content, $do_bom) = @_;
14 my $template = $templates{$enc};
15 die "Unsupported encoding $enc" unless $template;
17 if ($enc ne 'UTF-8') {
36 my ($enc, $write, $expect, $bom, $nl, $name) = @_;
39 print $fh bytes_to_utf($enc, $write . ($nl ? "\n" : ''), $bom);
44 if ($@ =~ /^(Unsupported script encoding \Q$enc\E)/) {
47 print "not ok $test # $enc $bom $nl $name; got undef\n";
50 print "not ok $test # $enc $bom $nl $name; got '$got'\n";
52 print "ok $test # $enc $bom $nl $name\n";
[all …]
/openbsd/src/sys/dev/pci/drm/amd/display/dc/dce/
Ddce_stream_encoder.c268 struct stream_encoder *enc, in dce110_stream_encoder_dp_set_stream_attribute() argument
285 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_dp_set_stream_attribute()
534 struct stream_encoder *enc, in dce110_stream_encoder_hdmi_set_stream_attribute() argument
539 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_hdmi_set_stream_attribute()
651 struct stream_encoder *enc, in dce110_stream_encoder_dvi_set_stream_attribute() argument
655 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_dvi_set_stream_attribute()
677 struct stream_encoder *enc, in dce110_stream_encoder_lvds_set_stream_attribute() argument
680 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_lvds_set_stream_attribute()
698 struct stream_encoder *enc, in dce110_stream_encoder_set_throttled_vcp_size() argument
701 struct dce110_stream_encoder *enc110 = DCE110STRENC_FROM_STRENC(enc); in dce110_stream_encoder_set_throttled_vcp_size()
[all …]
Ddce_link_encoder.c235 unsigned int dce110_get_dig_frontend(struct link_encoder *enc) in dce110_get_dig_frontend() argument
237 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_get_dig_frontend()
274 struct link_encoder *enc, in dce110_link_encoder_set_dp_phy_pattern_training_pattern() argument
277 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_link_encoder_set_dp_phy_pattern_training_pattern()
646 void dce110_psr_program_dp_dphy_fast_training(struct link_encoder *enc, in dce110_psr_program_dp_dphy_fast_training() argument
649 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_dp_dphy_fast_training()
670 void dce110_psr_program_secondary_packet(struct link_encoder *enc, in dce110_psr_program_secondary_packet() argument
673 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_psr_program_secondary_packet()
680 bool dce110_is_dig_enabled(struct link_encoder *enc) in dce110_is_dig_enabled() argument
682 struct dce110_link_encoder *enc110 = TO_DCE110_LINK_ENC(enc); in dce110_is_dig_enabled()
[all …]
/openbsd/src/regress/sbin/ipsecctl/
Dsa9.ok1 esp tunnel from 1.1.1.1 to 2.2.2.2 spi 0x1eadbeef auth hmac-sha2-256 enc aes \
4 esp tunnel from 2.2.2.2 to 1.1.1.1 spi 0xbeef1ead auth hmac-sha2-256 enc aes \
7 esp tunnel from 1.1.1.2 to 2.2.2.2 spi 0x2eadbeef auth hmac-sha1 enc 3des-cbc \
10 esp tunnel from 2.2.2.2 to 1.1.1.2 spi 0xbeef2ead auth hmac-sha1 enc 3des-cbc \
13 esp tunnel from 1.1.1.4 to 2.2.2.2 spi 0x4eadbeef auth hmac-sha1 enc aes \
16 esp tunnel from 2.2.2.2 to 1.1.1.4 spi 0xbeef4ead auth hmac-sha1 enc aes \
19 esp tunnel from 1.1.1.6 to 2.2.2.2 spi 0x6eadbeef auth hmac-sha1 enc blowfish \
22 esp tunnel from 2.2.2.2 to 1.1.1.6 spi 0xbeef6ead auth hmac-sha1 enc blowfish \
25 esp tunnel from 1.1.1.7 to 2.2.2.2 spi 0x7eadbeef auth hmac-sha1 enc cast128 \
28 esp tunnel from 2.2.2.2 to 1.1.1.7 spi 0xbeef7ead auth hmac-sha1 enc cast128 \
[all …]
Dsa6.ok1 esp tunnel from 1.1.1.1 to 2.2.2.2 spi 0x1eadbeef auth hmac-sha2-256 enc aes \
4 esp tunnel from 2.2.2.2 to 1.1.1.1 spi 0xbeef1ead auth hmac-sha2-256 enc aes \
7 esp tunnel from 1.1.1.2 to 2.2.2.2 spi 0x2eadbeef auth hmac-sha1 enc 3des-cbc \
10 esp tunnel from 2.2.2.2 to 1.1.1.2 spi 0xbeef2ead auth hmac-sha1 enc 3des-cbc \
13 esp tunnel from 1.1.1.4 to 2.2.2.2 spi 0x4eadbeef auth hmac-sha1 enc aes \
16 esp tunnel from 2.2.2.2 to 1.1.1.4 spi 0xbeef4ead auth hmac-sha1 enc aes \
19 esp tunnel from 1.1.1.6 to 2.2.2.2 spi 0x6eadbeef auth hmac-sha1 enc blowfish \
22 esp tunnel from 2.2.2.2 to 1.1.1.6 spi 0xbeef6ead auth hmac-sha1 enc blowfish \
25 esp tunnel from 1.1.1.7 to 2.2.2.2 spi 0x7eadbeef auth hmac-sha1 enc cast128 \
28 esp tunnel from 2.2.2.2 to 1.1.1.7 spi 0xbeef7ead auth hmac-sha1 enc cast128 \
[all …]
Dsa11.ok1 esp transport from 1.1.1.1 to 2.2.2.2 spi 0x1eadbeef auth hmac-sha2-256 enc aes \
4 esp transport from 2.2.2.2 to 1.1.1.1 spi 0xbeef1ead auth hmac-sha2-256 enc aes \
7 esp transport from 1.1.1.2 to 2.2.2.2 spi 0x2eadbeef auth hmac-sha1 enc 3des-cbc \
10 esp transport from 2.2.2.2 to 1.1.1.2 spi 0xbeef2ead auth hmac-sha1 enc 3des-cbc \
13 esp transport from 1.1.1.4 to 2.2.2.2 spi 0x4eadbeef auth hmac-sha1 enc aes \
16 esp transport from 2.2.2.2 to 1.1.1.4 spi 0xbeef4ead auth hmac-sha1 enc aes \
19 esp transport from 1.1.1.6 to 2.2.2.2 spi 0x6eadbeef auth hmac-sha1 enc blowfish \
22 esp transport from 2.2.2.2 to 1.1.1.6 spi 0xbeef6ead auth hmac-sha1 enc blowfish \
25 esp transport from 1.1.1.7 to 2.2.2.2 spi 0x7eadbeef auth hmac-sha1 enc cast128 \
28 esp transport from 2.2.2.2 to 1.1.1.7 spi 0xbeef7ead auth hmac-sha1 enc cast128 \
[all …]
Dsa18.ok1 esp tunnel from 3ffe::1 to 3ffe::10 spi 0x1eadbeef auth hmac-sha2-256 enc aes \
4 esp tunnel from 3ffe::10 to 3ffe::1 spi 0xbeef1ead auth hmac-sha2-256 enc aes \
7 esp tunnel from 3ffe::2 to 3ffe::10 spi 0x2eadbeef auth hmac-sha1 enc 3des-cbc \
10 esp tunnel from 3ffe::10 to 3ffe::2 spi 0xbeef2ead auth hmac-sha1 enc 3des-cbc \
13 esp tunnel from 3ffe::4 to 3ffe::10 spi 0x4eadbeef auth hmac-sha1 enc aes \
16 esp tunnel from 3ffe::10 to 3ffe::4 spi 0xbeef4ead auth hmac-sha1 enc aes \
19 esp tunnel from 3ffe::6 to 3ffe::10 spi 0x6eadbeef auth hmac-sha1 enc blowfish \
22 esp tunnel from 3ffe::10 to 3ffe::6 spi 0xbeef6ead auth hmac-sha1 enc blowfish \
25 esp tunnel from 3ffe::7 to 3ffe::10 spi 0x7eadbeef auth hmac-sha1 enc cast128 \
28 esp tunnel from 3ffe::10 to 3ffe::7 spi 0xbeef7ead auth hmac-sha1 enc cast128 \
[all …]
Dsa23.ok1 esp transport from 3ffe::1 to 3ffe::10 spi 0x1eadbeef auth hmac-sha2-256 enc aes \
4 esp transport from 3ffe::10 to 3ffe::1 spi 0xbeef1ead auth hmac-sha2-256 enc aes \
7 esp transport from 3ffe::2 to 3ffe::10 spi 0x2eadbeef auth hmac-sha1 enc 3des-cbc \
10 esp transport from 3ffe::10 to 3ffe::2 spi 0xbeef2ead auth hmac-sha1 enc 3des-cbc \
13 esp transport from 3ffe::4 to 3ffe::10 spi 0x4eadbeef auth hmac-sha1 enc aes \
16 esp transport from 3ffe::10 to 3ffe::4 spi 0xbeef4ead auth hmac-sha1 enc aes \
19 esp transport from 3ffe::6 to 3ffe::10 spi 0x6eadbeef auth hmac-sha1 enc blowfish \
22 esp transport from 3ffe::10 to 3ffe::6 spi 0xbeef6ead auth hmac-sha1 enc blowfish \
25 esp transport from 3ffe::7 to 3ffe::10 spi 0x7eadbeef auth hmac-sha1 enc cast128 \
28 esp transport from 3ffe::10 to 3ffe::7 spi 0xbeef7ead auth hmac-sha1 enc cast128 \
[all …]
/openbsd/src/lib/libcrypto/cms/
Dcms_enc.c86 int enc, keep_key = 0; in cms_EncryptedContent_init_bio() local
88 enc = ec->cipher ? 1 : 0; in cms_EncryptedContent_init_bio()
98 if (enc) { in cms_EncryptedContent_init_bio()
114 if (EVP_CipherInit_ex(ctx, ciph, NULL, NULL, NULL, enc) <= 0) { in cms_EncryptedContent_init_bio()
119 if (enc) { in cms_EncryptedContent_init_bio()
134 if (!enc || !ec->key) { in cms_EncryptedContent_init_bio()
148 if (enc) in cms_EncryptedContent_init_bio()
162 if (enc || ec->debug) { in cms_EncryptedContent_init_bio()
176 if (EVP_CipherInit_ex(ctx, NULL, NULL, ec->key, piv, enc) <= 0) { in cms_EncryptedContent_init_bio()
180 if (enc) { in cms_EncryptedContent_init_bio()
[all …]
/openbsd/src/regress/usr.sbin/snmpd/
Dsnmpd.conf24 user authpriv_md5_des authkey testpass auth hmac-md5 enckey testpass enc des
25 user authpriv_md5_aes authkey testpass auth hmac-md5 enckey testpass enc aes
26 user authpriv_sha1_des authkey testpass auth hmac-sha1 enckey testpass enc des
27 user authpriv_sha1_aes authkey testpass auth hmac-sha1 enckey testpass enc aes
28 user authpriv_sha224_des authkey testpass auth hmac-sha224 enckey testpass enc des
29 user authpriv_sha224_aes authkey testpass auth hmac-sha224 enckey testpass enc aes
30 user authpriv_sha256_des authkey testpass auth hmac-sha256 enckey testpass enc des
31 user authpriv_sha256_aes authkey testpass auth hmac-sha256 enckey testpass enc aes
32 user authpriv_sha384_des authkey testpass auth hmac-sha384 enckey testpass enc des
33 user authpriv_sha384_aes authkey testpass auth hmac-sha384 enckey testpass enc aes
[all …]
/openbsd/src/regress/lib/libsndio/cap/
Dcap.c15 pr_enc(struct sio_enc *enc) in pr_enc() argument
17 fprintf(stderr, "%s%d", enc->sig ? "s" : "u", enc->bits); in pr_enc()
18 if (enc->bps > 1) in pr_enc()
19 fprintf(stderr, "%s", enc->le ? "le" : "be"); in pr_enc()
20 if (enc->bps != SIO_BPS(enc->bits)) in pr_enc()
21 fprintf(stderr, "%d%s", enc->bps, enc->msb ? "msb" : "lsb"); in pr_enc()
33 if (cap->confs[n].enc & (1 << i)) { in cap_pr()
35 pr_enc(&cap->enc[i]); in cap_pr()

12345678910>>...12