/external/chromium_org/third_party/cld/encodings/internal/ |
encodings.cc | 10 const char * EncodingName(const Encoding enc) {
|
/external/chromium_org/third_party/libwebp/enc/ |
webpenc.c | 40 static void ResetSegmentHeader(VP8Encoder* const enc) { 41 VP8SegmentHeader* const hdr = &enc->segment_hdr_; 42 hdr->num_segments_ = enc->config_->segments; 47 static void ResetFilterHeader(VP8Encoder* const enc) { 48 VP8FilterHeader* const hdr = &enc->filter_hdr_; 55 static void ResetBoundaryPredictions(VP8Encoder* const enc) { 59 uint8_t* const top = enc->preds_ - enc->preds_w_; 60 uint8_t* const left = enc->preds_ - 1; 61 for (i = -1; i < 4 * enc->mb_w_; ++i) 154 VP8Encoder* enc; local 328 VP8Encoder* enc = NULL; local [all...] |
syntax.c | 24 static int IsVP8XNeeded(const VP8Encoder* const enc) { 25 return !!enc->has_alpha_; // Currently the only case when VP8X is needed. 37 static WebPEncodingError PutRIFFHeader(const VP8Encoder* const enc, 39 const WebPPicture* const pic = enc->pic_; 51 static WebPEncodingError PutVP8XHeader(const VP8Encoder* const enc) { 52 const WebPPicture* const pic = enc->pic_; 58 assert(IsVP8XNeeded(enc)); 62 if (enc->has_alpha_) { 76 static WebPEncodingError PutAlphaChunk(const VP8Encoder* const enc) { 77 const WebPPicture* const pic = enc->pic_ [all...] |
/external/webp/src/enc/ |
webpenc.c | 40 static void ResetSegmentHeader(VP8Encoder* const enc) { 41 VP8SegmentHeader* const hdr = &enc->segment_hdr_; 42 hdr->num_segments_ = enc->config_->segments; 47 static void ResetFilterHeader(VP8Encoder* const enc) { 48 VP8FilterHeader* const hdr = &enc->filter_hdr_; 55 static void ResetBoundaryPredictions(VP8Encoder* const enc) { 59 uint8_t* const top = enc->preds_ - enc->preds_w_; 60 uint8_t* const left = enc->preds_ - 1; 61 for (i = -1; i < 4 * enc->mb_w_; ++i) 154 VP8Encoder* enc; local 328 VP8Encoder* enc = NULL; local [all...] |
syntax.c | 24 static int IsVP8XNeeded(const VP8Encoder* const enc) { 25 return !!enc->has_alpha_; // Currently the only case when VP8X is needed. 37 static WebPEncodingError PutRIFFHeader(const VP8Encoder* const enc, 39 const WebPPicture* const pic = enc->pic_; 51 static WebPEncodingError PutVP8XHeader(const VP8Encoder* const enc) { 52 const WebPPicture* const pic = enc->pic_; 58 assert(IsVP8XNeeded(enc)); 62 if (enc->has_alpha_) { 76 static WebPEncodingError PutAlphaChunk(const VP8Encoder* const enc) { 77 const WebPPicture* const pic = enc->pic_ [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/asn1/ |
tasn_utl.c | 123 ASN1_ENCODING *enc; local 124 enc = asn1_get_enc_ptr(pval, it); 125 if (enc) { 126 enc->enc = NULL; 127 enc->len = 0; 128 enc->modified = 1; 133 ASN1_ENCODING *enc; local 134 enc = asn1_get_enc_ptr(pval, it); 135 if (enc) { 147 ASN1_ENCODING *enc; local 169 ASN1_ENCODING *enc; local [all...] |
/external/openssl/crypto/asn1/ |
tasn_utl.c | 141 ASN1_ENCODING *enc; local 142 enc = asn1_get_enc_ptr(pval, it); 143 if (enc) 145 enc->enc = NULL; 146 enc->len = 0; 147 enc->modified = 1; 153 ASN1_ENCODING *enc; local 154 enc = asn1_get_enc_ptr(pval, it); 155 if (enc) 168 ASN1_ENCODING *enc; local 188 ASN1_ENCODING *enc; local [all...] |
/external/chromium_org/third_party/cld/encodings/ |
lang_enc.h | 75 const Language* LanguagesForEncoding(Encoding enc); 83 // The function returns true if the input enc is valid. Otherwise, 91 bool DefaultLanguageForEncoding(Encoding enc, Language* language); 101 // If either lang or enc is invalid return false. 108 // If enc is unicode or utf8, return true. 109 // Otherwise check if lang is supported by enc and enc supported by 112 bool IsLangEncCompatible(Language lang, Encoding enc); 128 Language DominantLanguageFromEncoding(Encoding enc); 140 const char* LanguageCode(Language lang, Encoding enc); [all...] |
/external/chromium_org/third_party/expat/files/lib/ |
xmltok.h | 145 int (PTRCALL *getAtts)(const ENCODING *enc, 149 int (PTRFASTCALL *charRefNumber)(const ENCODING *enc, const char *ptr); 157 int (PTRCALL *isPublicId)(const ENCODING *enc, 161 void (PTRCALL *utf8Convert)(const ENCODING *enc, 166 void (PTRCALL *utf16Convert)(const ENCODING *enc, 198 #define XmlTok(enc, state, ptr, end, nextTokPtr) \ 199 (((enc)->scanners[state])(enc, ptr, end, nextTokPtr)) 201 #define XmlPrologTok(enc, ptr, end, nextTokPtr) \ 202 XmlTok(enc, XML_PROLOG_STATE, ptr, end, nextTokPtr [all...] |
xmltok_impl.c | 9 #define IS_INVALID_CHAR(enc, ptr, n) (0) 16 if (IS_INVALID_CHAR(enc, ptr, n)) { \ 33 #define CHECK_NAME_CASE(n, enc, ptr, end, nextTokPtr) \ 37 if (!IS_NAME_CHAR(enc, ptr, n)) { \ 44 #define CHECK_NAME_CASES(enc, ptr, end, nextTokPtr) \ 46 if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \ 55 ptr += MINBPC(enc); \ 57 CHECK_NAME_CASE(2, enc, ptr, end, nextTokPtr) \ 58 CHECK_NAME_CASE(3, enc, ptr, end, nextTokPtr) \ 59 CHECK_NAME_CASE(4, enc, ptr, end, nextTokPtr [all...] |
xmltok_ns.c | 11 return &ns(internal_utf8_encoding).enc; 18 return &ns(internal_little2_encoding).enc; 20 return &ns(internal_big2_encoding).enc; 24 ? &ns(internal_little2_encoding).enc 25 : &ns(internal_big2_encoding).enc); 30 &ns(latin1_encoding).enc, 31 &ns(ascii_encoding).enc, 32 &ns(utf8_encoding).enc, 33 &ns(big2_encoding).enc, 34 &ns(big2_encoding).enc, [all...] |
xmltok_impl.c.original | 9 #define IS_INVALID_CHAR(enc, ptr, n) (0) 16 if (IS_INVALID_CHAR(enc, ptr, n)) { \ 33 #define CHECK_NAME_CASE(n, enc, ptr, end, nextTokPtr) \ 37 if (!IS_NAME_CHAR(enc, ptr, n)) { \ 44 #define CHECK_NAME_CASES(enc, ptr, end, nextTokPtr) \ 46 if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \ 55 ptr += MINBPC(enc); \ 57 CHECK_NAME_CASE(2, enc, ptr, end, nextTokPtr) \ 58 CHECK_NAME_CASE(3, enc, ptr, end, nextTokPtr) \ 59 CHECK_NAME_CASE(4, enc, ptr, end, nextTokPtr [all...] |
xmltok.c | 125 isNever(const ENCODING *enc, const char *p) 131 utf8_isName2(const ENCODING *enc, const char *p) 137 utf8_isName3(const ENCODING *enc, const char *p) 145 utf8_isNmstrt2(const ENCODING *enc, const char *p) 151 utf8_isNmstrt3(const ENCODING *enc, const char *p) 159 utf8_isInvalid2(const ENCODING *enc, const char *p) 165 utf8_isInvalid3(const ENCODING *enc, const char *p) 171 utf8_isInvalid4(const ENCODING *enc, const char *p) 177 ENCODING enc; member in struct:normal_encoding 197 #define AS_NORMAL_ENCODING(enc) ((const struct normal_encoding *) (enc) 1086 const ENCODING *enc, variable 1645 ENCODING *enc = XmlInitUnknownEncoding(mem, table, convert, userData); local [all...] |
/external/expat/lib/ |
xmltok.h | 145 int (PTRCALL *getAtts)(const ENCODING *enc, 149 int (PTRFASTCALL *charRefNumber)(const ENCODING *enc, const char *ptr); 157 int (PTRCALL *isPublicId)(const ENCODING *enc, 161 void (PTRCALL *utf8Convert)(const ENCODING *enc, 166 void (PTRCALL *utf16Convert)(const ENCODING *enc, 198 #define XmlTok(enc, state, ptr, end, nextTokPtr) \ 199 (((enc)->scanners[state])(enc, ptr, end, nextTokPtr)) 201 #define XmlPrologTok(enc, ptr, end, nextTokPtr) \ 202 XmlTok(enc, XML_PROLOG_STATE, ptr, end, nextTokPtr [all...] |
xmltok_impl.c | 9 #define IS_INVALID_CHAR(enc, ptr, n) (0) 16 if (IS_INVALID_CHAR(enc, ptr, n)) { \ 33 #define CHECK_NAME_CASE(n, enc, ptr, end, nextTokPtr) \ 37 if (!IS_NAME_CHAR(enc, ptr, n)) { \ 44 #define CHECK_NAME_CASES(enc, ptr, end, nextTokPtr) \ 46 if (!IS_NAME_CHAR_MINBPC(enc, ptr)) { \ 55 ptr += MINBPC(enc); \ 57 CHECK_NAME_CASE(2, enc, ptr, end, nextTokPtr) \ 58 CHECK_NAME_CASE(3, enc, ptr, end, nextTokPtr) \ 59 CHECK_NAME_CASE(4, enc, ptr, end, nextTokPtr [all...] |
xmltok_ns.c | 11 return &ns(internal_utf8_encoding).enc; 18 return &ns(internal_little2_encoding).enc; 20 return &ns(internal_big2_encoding).enc; 24 ? &ns(internal_little2_encoding).enc 25 : &ns(internal_big2_encoding).enc); 30 &ns(latin1_encoding).enc, 31 &ns(ascii_encoding).enc, 32 &ns(utf8_encoding).enc, 33 &ns(big2_encoding).enc, 34 &ns(big2_encoding).enc, [all...] |
xmltok.c | 125 isNever(const ENCODING *enc, const char *p) 131 utf8_isName2(const ENCODING *enc, const char *p) 137 utf8_isName3(const ENCODING *enc, const char *p) 145 utf8_isNmstrt2(const ENCODING *enc, const char *p) 151 utf8_isNmstrt3(const ENCODING *enc, const char *p) 159 utf8_isInvalid2(const ENCODING *enc, const char *p) 165 utf8_isInvalid3(const ENCODING *enc, const char *p) 171 utf8_isInvalid4(const ENCODING *enc, const char *p) 177 ENCODING enc; member in struct:normal_encoding 197 #define AS_NORMAL_ENCODING(enc) ((const struct normal_encoding *) (enc) 1086 const ENCODING *enc, variable 1645 ENCODING *enc = XmlInitUnknownEncoding(mem, table, convert, userData); local [all...] |
/external/openssl/crypto/aes/ |
aes_ecb.c | 63 const AES_KEY *key, const int enc) { 66 assert((AES_ENCRYPT == enc)||(AES_DECRYPT == enc)); 68 if (AES_ENCRYPT == enc)
|
aes_cfb.c | 62 unsigned char *ivec, int *num, const int enc) { 64 CRYPTO_cfb128_encrypt(in,out,length,key,ivec,num,enc,(block128_f)AES_encrypt); 70 unsigned char *ivec, int *num, const int enc) 72 CRYPTO_cfb128_1_encrypt(in,out,length,key,ivec,num,enc,(block128_f)AES_encrypt); 77 unsigned char *ivec, int *num, const int enc) 79 CRYPTO_cfb128_8_encrypt(in,out,length,key,ivec,num,enc,(block128_f)AES_encrypt);
|
/external/chromium_org/third_party/cld/encodings/public/ |
encodings.h | 83 bool IsValidEncoding(Encoding enc); 141 bool IsRightToLeftEncoding(Encoding enc); 154 bool IsLogicalRightToLeftEncoding(Encoding enc); 168 bool IsVisualRightToLeftEncoding(Encoding enc); 175 bool IsIso2022Encoding(Encoding enc); 182 bool IsIso2022JpOrVariant(Encoding enc); 189 bool IsShiftJisOrVariant(Encoding enc); 196 bool IsJapaneseCellPhoneCarrierSpecificEncoding(Encoding enc); 221 const char* EncodingName(Encoding enc); 231 const char* MimeEncodingName(Encoding enc); [all...] |
/external/chromium_org/third_party/opus/src/celt/tests/ |
test_unit_entropy.c | 53 ec_enc enc; local 82 ec_enc_init(&enc,ptr, DATA_SIZE); 86 ec_enc_uint(&enc,i,ft); 93 nbits=ec_tell(&enc); 94 ec_enc_bits(&enc,i,ftb); 95 nbits2=ec_tell(&enc); 103 nbits=ec_tell_frac(&enc); 104 ec_enc_done(&enc); 108 fprintf(stderr,"Packed to %li bytes.\n",(long)ec_range_bytes(&enc)); 141 ec_enc_init(&enc,ptr,2) [all...] |
/external/libopus/celt/tests/ |
test_unit_entropy.c | 53 ec_enc enc; local 82 ec_enc_init(&enc,ptr, DATA_SIZE); 86 ec_enc_uint(&enc,i,ft); 93 nbits=ec_tell(&enc); 94 ec_enc_bits(&enc,i,ftb); 95 nbits2=ec_tell(&enc); 103 nbits=ec_tell_frac(&enc); 104 ec_enc_done(&enc); 108 fprintf(stderr,"Packed to %li bytes.\n",(long)ec_range_bytes(&enc)); 141 ec_enc_init(&enc,ptr,2) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
TimeTest.java | 41 byte[] enc = Time.ASN1.encode(new Date(march2006)); 42 assertEquals("UTCTime", ASN1Constants.TAG_UTCTIME, enc[0]); 45 enc = Time.ASN1.encode(new Date(march2332)); 47 enc[0]);
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageEncoder.cpp | 39 SkAutoTDelete<SkImageEncoder> enc(SkImageEncoder::Create(t)); 40 return enc.get() && enc.get()->encodeFile(file, bm, quality); 45 SkAutoTDelete<SkImageEncoder> enc(SkImageEncoder::Create(t)); 46 return enc.get() && enc.get()->encodeStream(stream, bm, quality); 50 SkAutoTDelete<SkImageEncoder> enc(SkImageEncoder::Create(t)); 51 return enc.get() ? enc.get()->encodeData(bm, quality) : NULL;
|
/external/skia/src/images/ |
SkImageEncoder.cpp | 39 SkAutoTDelete<SkImageEncoder> enc(SkImageEncoder::Create(t)); 40 return enc.get() && enc.get()->encodeFile(file, bm, quality); 45 SkAutoTDelete<SkImageEncoder> enc(SkImageEncoder::Create(t)); 46 return enc.get() && enc.get()->encodeStream(stream, bm, quality); 50 SkAutoTDelete<SkImageEncoder> enc(SkImageEncoder::Create(t)); 51 return enc.get() ? enc.get()->encodeData(bm, quality) : NULL;
|