Home
last modified time | relevance | path

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

1234567

/dragonfly/contrib/expat/lib/
H A Dxmltok_impl.c131 # define HAS_CHAR(enc, ptr, end) HAS_CHARS(enc, ptr, end, 1) argument
204 switch (BYTE_TYPE(enc, ptr + MINBPC(enc))) { in PREFIX()
234 UNUSED_P(enc); in PREFIX()
341 UNUSED_P(enc); in PREFIX()
446 for (ptr += MINBPC(enc); HAS_CHAR(enc, ptr, end); ptr += MINBPC(enc)) { in PREFIX()
493 for (ptr += MINBPC(enc); HAS_CHAR(enc, ptr, end); ptr += MINBPC(enc)) { in PREFIX()
525 for (ptr += MINBPC(enc); HAS_CHAR(enc, ptr, end); ptr += MINBPC(enc)) { in PREFIX()
1099 if (CHAR_MATCHES(enc, ptr + MINBPC(enc), ASCII_GT)) { in PREFIX()
1453 for (; HAS_CHAR(enc, ptr, end); ptr += MINBPC(enc)) { in PREFIX()
1516 for (ptr += MINBPC(enc);; ptr += MINBPC(enc)) { in PREFIX()
[all …]
H A Dxmltok.h224 (((enc)->scanners[state])(enc, ptr, end, nextTokPtr))
255 (((enc)->nameMatchesAscii)(enc, ptr1, end1, ptr2))
257 #define XmlNameLength(enc, ptr) (((enc)->nameLength)(enc, ptr)) argument
259 #define XmlSkipS(enc, ptr) (((enc)->skipS)(enc, ptr)) argument
262 (((enc)->getAtts)(enc, ptr, attsMax, atts))
264 #define XmlCharRefNumber(enc, ptr) (((enc)->charRefNumber)(enc, ptr)) argument
267 (((enc)->predefinedEntityName)(enc, ptr, end))
270 (((enc)->updatePosition)(enc, ptr, end, pos))
273 (((enc)->isPublicId)(enc, ptr, end, badPtr))
276 (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))
[all …]
H A Dxmltok.c239 # define MINBPC(enc) ((enc)->minBytesPerChar) argument
253 # define BYTE_TYPE(enc, p) (AS_NORMAL_ENCODING(enc)->byteType(enc, p)) argument
255 # define BYTE_TYPE(enc, p) SB_BYTE_TYPE(enc, p) argument
259 # define BYTE_TO_ASCII(enc, p) (AS_NORMAL_ENCODING(enc)->byteToAscii(enc, p)) argument
269 #define IS_NAME_CHAR(enc, p, n) (AS_NORMAL_ENCODING(enc)->isName##n(enc, p)) argument
270 #define IS_NMSTRT_CHAR(enc, p, n) (AS_NORMAL_ENCODING(enc)->isNmstrt##n(enc, p)) argument
277 (AS_NORMAL_ENCODING(enc)->isInvalid##n(enc, p))
282 (AS_NORMAL_ENCODING(enc)->isNameMin(enc, p))
284 (AS_NORMAL_ENCODING(enc)->isNmstrtMin(enc, p))
292 (AS_NORMAL_ENCODING(enc)->charMatches(enc, p, c))
[all …]
H A Dxmlrole.c111 # define MIN_BYTES_PER_CHAR(enc) ((enc)->minBytesPerChar) argument
208 UNUSED_P(enc); in prolog2()
228 UNUSED_P(enc); in doctype0()
271 UNUSED_P(enc); in doctype2()
287 UNUSED_P(enc); in doctype3()
303 UNUSED_P(enc); in doctype4()
322 UNUSED_P(enc); in doctype5()
420 UNUSED_P(enc); in entity0()
439 UNUSED_P(enc); in entity1()
479 UNUSED_P(enc); in entity3()
[all …]
H A 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()
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 */
99 XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1); in NS()
103 if (streqci(buf, KW_UTF_16) && enc->minBytesPerChar == 2) in NS()
[all …]
H A Dxmlparse.c154 # define MUST_CONVERT(enc, s) (! (enc)->isUtf16 || (((uintptr_t)(s)) & 1)) argument
162 # define MUST_CONVERT(enc, s) (! (enc)->isUtf8) argument
2832 enc, s + enc->minBytesPerChar, next - enc->minBytesPerChar); in doContent()
2848 name = poolStoreString(&dtd->pool, enc, s + enc->minBytesPerChar, in doContent()
4380 ENCODING *enc; in handleUnknownEncoding() local
4389 if (enc) { in handleUnknownEncoding()
4793 = poolStoreString(&dtd->pool, enc, s + enc->minBytesPerChar, in doProlog()
5033 = storeEntityValue(parser, enc, s + enc->minBytesPerChar, in doProlog()
5096 = poolStoreString(&dtd->pool, enc, s + enc->minBytesPerChar, in doProlog()
5958 enc, ptr + enc->minBytesPerChar, next - enc->minBytesPerChar); in appendAttributeValue()
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/virtual/
H A Dvirtual_stream_encoder.c30 struct stream_encoder *enc, in virtual_stream_encoder_dp_set_stream_attribute() argument
35 struct stream_encoder *enc, in virtual_stream_encoder_hdmi_set_stream_attribute() argument
41 struct stream_encoder *enc, in virtual_stream_encoder_dvi_set_stream_attribute() argument
46 struct stream_encoder *enc, in virtual_stream_encoder_set_mst_bandwidth() argument
108 if (!enc) in virtual_stream_encoder_construct()
114 enc->ctx = ctx; in virtual_stream_encoder_construct()
116 enc->bp = bp; in virtual_stream_encoder_construct()
124 struct stream_encoder *enc = kzalloc(sizeof(*enc), GFP_KERNEL); in virtual_stream_encoder_create() local
126 if (!enc) in virtual_stream_encoder_create()
130 return enc; in virtual_stream_encoder_create()
[all …]
H A Dvirtual_link_encoder.c32 struct link_encoder *enc, in virtual_link_encoder_validate_output_with_stream() 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
67 struct link_encoder *enc, in virtual_link_encoder_dp_set_phy_pattern() argument
71 struct link_encoder *enc, in virtual_link_encoder_update_mst_stream_allocation_table() argument
75 struct link_encoder *enc, in virtual_link_encoder_connect_dig_be_to_fe() argument
81 kfree(*enc); in virtual_link_encoder_destroy()
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/inc/hw/
H A Dstream_encoder.h89 struct stream_encoder *enc,
94 struct stream_encoder *enc,
100 struct stream_encoder *enc,
105 struct stream_encoder *enc,
109 struct stream_encoder *enc,
113 struct stream_encoder *enc);
116 struct stream_encoder *enc,
120 struct stream_encoder *enc);
126 struct stream_encoder *enc,
133 struct stream_encoder *enc,
[all …]
H A Dlink_encoder.h120 void (*hw_init)(struct link_encoder *enc);
121 void (*setup)(struct link_encoder *enc,
123 void (*enable_tmds_output)(struct link_encoder *enc,
128 void (*enable_dp_output)(struct link_encoder *enc,
131 void (*enable_dp_mst_output)(struct link_encoder *enc,
138 void (*dp_set_phy_pattern)(struct link_encoder *enc,
141 struct link_encoder *enc,
150 void (*enable_hpd)(struct link_encoder *enc);
151 void (*disable_hpd)(struct link_encoder *enc);
152 bool (*is_dig_enabled)(struct link_encoder *enc);
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/dcn10/
H A Ddcn10_stream_encoder.c246 struct stream_encoder *enc, in enc1_stream_encoder_dp_set_stream_attribute() argument
479 struct stream_encoder *enc, in enc1_stream_encoder_hdmi_set_stream_attribute() argument
585 struct stream_encoder *enc, in enc1_stream_encoder_dvi_set_stream_attribute() argument
610 struct stream_encoder *enc, in enc1_stream_encoder_set_mst_bandwidth() argument
636 struct stream_encoder *enc, in enc1_stream_encoder_update_hdmi_info_packets() argument
652 struct stream_encoder *enc) in enc1_stream_encoder_stop_hdmi_info_packets() argument
693 struct stream_encoder *enc, in enc1_stream_encoder_update_dp_info_packets() argument
738 struct stream_encoder *enc) in enc1_stream_encoder_stop_dp_info_packets() argument
766 struct stream_encoder *enc) in enc1_stream_encoder_dp_blank() argument
819 struct stream_encoder *enc, in enc1_stream_encoder_dp_unblank() argument
[all …]
H A Ddcn10_link_encoder.c205 struct link_encoder *enc, in dcn10_link_encoder_set_dp_phy_pattern_training_pattern() argument
740 struct link_encoder *enc, in dcn10_link_encoder_validate_output_with_stream() argument
781 struct link_encoder *enc) in dcn10_link_encoder_hw_init() argument
829 *enc = NULL; in dcn10_link_encoder_destroy()
833 struct link_encoder *enc, in dcn10_link_encoder_setup() argument
871 struct link_encoder *enc, in dcn10_link_encoder_enable_tmds_output() argument
909 struct link_encoder *enc, in dcn10_link_encoder_enable_dp_output() argument
948 struct link_encoder *enc, in dcn10_link_encoder_enable_dp_mst_output() argument
989 struct link_encoder *enc, in dcn10_link_encoder_disable_output() argument
1036 struct link_encoder *enc, in dcn10_link_encoder_dp_set_lane_settings() argument
[all …]
H A Ddcn10_link_encoder.h258 struct link_encoder *enc,
271 struct link_encoder *enc,
281 struct link_encoder *enc,
289 struct link_encoder *enc,
295 struct link_encoder *enc,
301 struct link_encoder *enc,
306 struct link_encoder *enc,
310 struct link_encoder *enc,
315 struct link_encoder *enc,
319 struct link_encoder *enc,
[all …]
/dragonfly/sys/dev/drm/amd/display/dc/dce/
H A Ddce_stream_encoder.c273 struct stream_encoder *enc, in dce110_stream_encoder_dp_set_stream_attribute() argument
539 struct stream_encoder *enc, in dce110_stream_encoder_hdmi_set_stream_attribute() argument
653 struct stream_encoder *enc, in dce110_stream_encoder_dvi_set_stream_attribute() argument
678 struct stream_encoder *enc, in dce110_stream_encoder_set_mst_bandwidth() argument
706 struct stream_encoder *enc, in dce110_stream_encoder_update_hdmi_info_packets() argument
770 struct stream_encoder *enc) in dce110_stream_encoder_stop_hdmi_info_packets() argument
815 struct stream_encoder *enc, in dce110_stream_encoder_update_dp_info_packets() argument
859 struct stream_encoder *enc) in dce110_stream_encoder_stop_dp_info_packets() argument
886 struct stream_encoder *enc) in dce110_stream_encoder_dp_blank() argument
937 struct stream_encoder *enc, in dce110_stream_encoder_dp_unblank() argument
[all …]
H A Ddce_link_encoder.h191 struct link_encoder *enc,
204 struct link_encoder *enc,
210 struct link_encoder *enc,
218 struct link_encoder *enc,
224 struct link_encoder *enc,
230 struct link_encoder *enc,
235 struct link_encoder *enc,
239 struct link_encoder *enc,
244 struct link_encoder *enc,
248 struct link_encoder *enc,
[all …]
H A Ddce_link_encoder.c234 struct link_encoder *enc, in dce110_link_encoder_set_dp_phy_pattern_training_pattern() argument
790 struct link_encoder *enc, in dce110_link_encoder_validate_output_with_stream() argument
833 struct link_encoder *enc) in dce110_link_encoder_hw_init() argument
880 *enc = NULL; in dce110_link_encoder_destroy()
884 struct link_encoder *enc, in dce110_link_encoder_setup() argument
922 struct link_encoder *enc, in dce110_link_encoder_enable_tmds_output() argument
960 struct link_encoder *enc, in dce110_link_encoder_enable_dp_output() argument
999 struct link_encoder *enc, in dce110_link_encoder_enable_dp_mst_output() argument
1040 struct link_encoder *enc, in dce110_link_encoder_disable_output() argument
1083 struct link_encoder *enc, in dce110_link_encoder_dp_set_lane_settings() argument
[all …]
/dragonfly/crypto/libressl/crypto/cms/
H A Dcms_enc.c83 int enc, keep_key = 0; in cms_EncryptedContent_init_bio() local
85 enc = ec->cipher ? 1 : 0; in cms_EncryptedContent_init_bio()
95 if (enc) { in cms_EncryptedContent_init_bio()
116 if (enc) { in cms_EncryptedContent_init_bio()
131 if (!enc || !ec->key) { in cms_EncryptedContent_init_bio()
145 if (enc) in cms_EncryptedContent_init_bio()
159 if (enc || ec->debug) { in cms_EncryptedContent_init_bio()
177 if (enc) { in cms_EncryptedContent_init_bio()
256 CMS_EncryptedData *enc = cms->d.encryptedData; in cms_EncryptedData_init_bio() local
258 if (enc->encryptedContentInfo->cipher && enc->unprotectedAttrs) in cms_EncryptedData_init_bio()
[all …]
/dragonfly/tools/tools/locale/tools/
H A Dcldr2def.pl398 next if ($enc eq $DEFENCODING);
493 next if ($enc eq $DEFENCODING);
636 my $enc = shift;
639 return $translations{$enc}{$v} if (defined $translations{$enc}{$v});
661 print "Writing to $file in $enc\n";
663 if ($enc ne $DEFENCODING &&
664 !defined $convertors{$enc}) {
697 $callback{data}{e} = $enc;
726 my $rv = decodecldr($enc, $cm);
752 decodecldr($enc,
[all …]
/dragonfly/crypto/libressl/include/openssl/
H A Ddes.h116 DES_key_schedule *ks3, int enc);
123 int enc);
126 int enc);
132 int enc);
134 DES_key_schedule *ks,int enc);
162 DES_key_schedule *ks3,DES_cblock *ivec,int enc);
168 int enc);
172 DES_cblock *ivec,int *num,int enc);
176 DES_cblock *ivec,int enc);
191 int enc);
[all …]
H A Daes.h95 const AES_KEY *key, const int enc);
97 size_t length, const AES_KEY *key, unsigned char *ivec, const int enc);
100 const int enc);
103 const int enc);
106 const int enc);
114 size_t length, const AES_KEY *key, unsigned char *ivec, const int enc);
/dragonfly/crypto/libressl/crypto/pem/
H A Dpem_pk8.c89 PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PKCS8PrivateKey() argument
92 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u); in PEM_write_bio_PKCS8PrivateKey()
96 i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_bio() argument
99 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u); in i2d_PKCS8PrivateKey_bio()
122 if (enc || (nid != -1)) { in do_pk8pkey()
136 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey()
194 i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_fp() argument
197 return do_pk8pkey_fp(fp, x, 1, -1, enc, kstr, klen, cb, u); in i2d_PKCS8PrivateKey_fp()
215 PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_PKCS8PrivateKey() argument
218 return do_pk8pkey_fp(fp, x, 0, -1, enc, kstr, klen, cb, u); in PEM_write_PKCS8PrivateKey()
[all …]
/dragonfly/sys/netgraph7/rfc1490/
H A Dng_rfc1490.c109 const struct ng_rfc1490_encap_t *enc; member
173 priv->enc = ng_rfc1490_encaps; in ng_rfc1490_constructor()
227 const struct ng_rfc1490_encap_t *enc; in ng_rfc1490_rcvmsg() local
238 for (enc = ng_rfc1490_encaps; enc->method != 0; enc++ ) in ng_rfc1490_rcvmsg()
239 if ((strlen(enc->name) == len) && in ng_rfc1490_rcvmsg()
240 !strncmp(enc->name, s, len)) in ng_rfc1490_rcvmsg()
243 if (enc->method != 0) in ng_rfc1490_rcvmsg()
244 priv->enc = enc; in ng_rfc1490_rcvmsg()
255 strlcpy((char *)resp->data, priv->enc->name, in ng_rfc1490_rcvmsg()
256 strlen(priv->enc->name) + 1); in ng_rfc1490_rcvmsg()
[all …]
/dragonfly/crypto/libressl/crypto/camellia/
H A Dcmll_cfb.c121 const int enc) in Camellia_cfb128_encrypt() argument
123 CRYPTO_cfb128_encrypt(in, out, length, key, ivec, num, enc, in Camellia_cfb128_encrypt()
131 const int enc) in Camellia_cfb1_encrypt() argument
133 CRYPTO_cfb128_1_encrypt(in, out, length, key, ivec, num, enc, in Camellia_cfb1_encrypt()
140 const int enc) in Camellia_cfb8_encrypt() argument
142 CRYPTO_cfb128_8_encrypt(in, out, length, key, ivec, num, enc, in Camellia_cfb8_encrypt()
/dragonfly/crypto/libressl/ssl/
H A Dssl_ciph.c441 *enc = NULL; in ssl_cipher_get_evp()
461 *enc = EVP_rc4(); in ssl_cipher_get_evp()
645 *enc = 0; in ssl_cipher_get_disabled()
660 *enc |= SSL_eNULL; in ssl_cipher_get_disabled()
1487 enc = "3DES(168)"; in SSL_CIPHER_description()
1493 enc = "None"; in SSL_CIPHER_description()
1496 enc = "AES(128)"; in SSL_CIPHER_description()
1499 enc = "AES(256)"; in SSL_CIPHER_description()
1502 enc = "AESGCM(128)"; in SSL_CIPHER_description()
1505 enc = "AESGCM(256)"; in SSL_CIPHER_description()
[all …]
/dragonfly/crypto/openssh/
H A Dkex.c672 explicit_bzero(newkeys->enc.key, newkeys->enc.key_len); in kex_free_newkeys()
676 if (newkeys->enc.iv) { in kex_free_newkeys()
677 explicit_bzero(newkeys->enc.iv, newkeys->enc.iv_len); in kex_free_newkeys()
682 explicit_bzero(&newkeys->enc, sizeof(newkeys->enc)); in kex_free_newkeys()
787 enc->name = name; in choose_enc()
788 enc->enabled = 0; in choose_enc()
789 enc->iv = NULL; in choose_enc()
790 enc->iv_len = cipher_ivlen(enc->cipher); in choose_enc()
791 enc->key = NULL; in choose_enc()
792 enc->key_len = cipher_keylen(enc->cipher); in choose_enc()
[all …]

1234567