/external/webp/src/enc/ |
H A D | webpenc.c | 40 static void ResetSegmentHeader(VP8Encoder* const enc) { argument 41 VP8SegmentHeader* const hdr = &enc->segment_hdr_; 42 hdr->num_segments_ = enc->config_->segments; 47 static void ResetFilterHeader(VP8Encoder* const enc) { argument 48 VP8FilterHeader* const hdr = &enc->filter_hdr_; 55 static void ResetBoundaryPredictions(VP8Encoder* const enc) { argument 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 93 MapConfigToTools(VP8Encoder* const enc) argument 154 VP8Encoder* enc; local 241 DeleteVP8Encoder(VP8Encoder* enc) argument 257 FinalizePSNR(const VP8Encoder* const enc) argument 268 StoreStats(VP8Encoder* const enc) argument 328 VP8Encoder* enc = NULL; local [all...] |
H A D | syntax.c | 24 static int IsVP8XNeeded(const VP8Encoder* const enc) { argument 25 return !!enc->has_alpha_; // Currently the only case when VP8X is needed. 37 static WebPEncodingError PutRIFFHeader(const VP8Encoder* const enc, argument 39 const WebPPicture* const pic = enc->pic_; 51 static WebPEncodingError PutVP8XHeader(const VP8Encoder* const enc) { argument 52 const WebPPicture* const pic = enc->pic_; 58 assert(IsVP8XNeeded(enc)); 62 if (enc->has_alpha_) { 76 static WebPEncodingError PutAlphaChunk(const VP8Encoder* const enc) { argument 77 const WebPPicture* const pic = enc 149 PutWebPHeaders(const VP8Encoder* const enc, size_t size0, size_t vp8_size, size_t riff_size) argument 187 PutSegmentHeader(VP8BitWriter* const bw, const VP8Encoder* const enc) argument 237 PutQuant(VP8BitWriter* const bw, const VP8Encoder* const enc) argument 248 EmitPartitionsSize(const VP8Encoder* const enc, WebPPicture* const pic) argument 266 GeneratePartition0(VP8Encoder* const enc) argument 303 VP8EncFreeBitWriters(VP8Encoder* const enc) argument 311 VP8EncWrite(VP8Encoder* const enc) argument [all...] |
H A D | frame.c | 42 static int InitPassStats(const VP8Encoder* const enc, PassStats* const s) { argument 43 const uint64_t target_size = (uint64_t)enc->config_->target_size; 45 const float target_PSNR = enc->config_->target_PSNR; 49 s->q = s->last_q = enc->config_->quality; 98 static void ResetStats(VP8Encoder* const enc) { argument 99 VP8Proba* const proba = &enc->proba_; 114 static int FinalizeSkipProba(VP8Encoder* const enc) { argument 115 VP8Proba* const proba = &enc->proba_; 116 const int nb_mbs = enc->mb_w_ * enc 142 ResetTokenStats(VP8Encoder* const enc) argument 192 SetSegmentProbas(VP8Encoder* const enc) argument 306 VP8Encoder* const enc = it->enc_; local 357 VP8Encoder* const enc = it->enc_; local 405 VP8Encoder* const enc = it->enc_; local 466 ResetSSE(VP8Encoder* const enc) argument 475 VP8Encoder* const enc = it->enc_; local 486 VP8Encoder* const enc = it->enc_; local 529 SetLoopParams(VP8Encoder* const enc, float q) argument 540 OneStatPass(VP8Encoder* const enc, VP8RDLevel rd_opt, int nb_mbs, int percent_delta, PassStats* const s) argument 579 StatLoop(VP8Encoder* const enc) argument 645 PreLoopInitialize(VP8Encoder* const enc) argument 663 VP8Encoder* const enc = it->enc_; local 701 VP8EncLoop(VP8Encoder* const enc) argument 740 VP8EncTokenLoop(VP8Encoder* const enc) argument 846 VP8EncTokenLoop(VP8Encoder* const enc) argument [all...] |
H A D | vp8l.c | 138 static int AnalyzeAndInit(VP8LEncoder* const enc, WebPImageHint image_hint) { argument 139 const WebPPicture* const pic = enc->pic_; 148 enc->use_palette_ = 149 AnalyzeAndCreatePalette(pic, enc->palette_, &enc->palette_size_); 152 if (enc->use_palette_ && enc->palette_size_ < MAX_COLORS_FOR_GRAPH) { 153 enc->use_palette_ = 0; 157 if (!enc->use_palette_) { 159 enc 701 EvalAndApplySubtractGreen(VP8LEncoder* const enc, int width, int height, VP8LBitWriter* const bw) argument 739 ApplyPredictFilter(const VP8LEncoder* const enc, int width, int height, int quality, VP8LBitWriter* const bw) argument 759 ApplyCrossColorFilter(const VP8LEncoder* const enc, int width, int height, int quality, VP8LBitWriter* const bw) argument 849 AllocateTransformBuffer(VP8LEncoder* const enc, int width, int height) argument 932 EncodePalette(VP8LBitWriter* const bw, VP8LEncoder* const enc, int quality) argument 1005 FinishEncParams(VP8LEncoder* const enc) argument 1021 VP8LEncoder* const enc = (VP8LEncoder*)WebPSafeCalloc(1ULL, sizeof(*enc)); local 1034 VP8LEncoderDelete(VP8LEncoder* enc) argument 1054 VP8LEncoder* const enc = VP8LEncoderNew(config, picture); local [all...] |
H A D | alpha.c | 46 #include "../enc/vp8li.h" 286 static int EncodeAlpha(VP8Encoder* const enc, argument 290 const WebPPicture* const pic = enc->pic_; 302 assert(enc != NULL && pic != NULL && pic->a != NULL); 344 enc->sse_[3] = sse; 355 static int CompressAlphaJob(VP8Encoder* const enc, void* dummy) { argument 356 const WebPConfig* config = enc->config_; 364 if (!EncodeAlpha(enc, config->alpha_quality, config->alpha_compression, 372 enc->alpha_data_size_ = (uint32_t)alpha_size; 373 enc 378 VP8EncInitAlpha(VP8Encoder* const enc) argument 391 VP8EncStartAlpha(VP8Encoder* const enc) argument 408 VP8EncFinishAlpha(VP8Encoder* const enc) argument 418 VP8EncDeleteAlpha(VP8Encoder* const enc) argument [all...] |
/external/boringssl/src/crypto/asn1/ |
H A D | tasn_utl.c | 132 ASN1_ENCODING *enc; local 133 enc = asn1_get_enc_ptr(pval, it); 134 if (enc) { 135 enc->enc = NULL; 136 enc->len = 0; 137 enc->modified = 1; 142 ASN1_ENCODING *enc; local 143 enc = asn1_get_enc_ptr(pval, it); 144 if (enc) { 156 ASN1_ENCODING *enc; local 178 ASN1_ENCODING *enc; local [all...] |
/external/expat/lib/ |
H A D | 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_STAT [all...] |
H A D | 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, pt 93 scanComment(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 131 scanDecl(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 178 checkPiTarget(const ENCODING *enc, const char *ptr, const char *end, int *tokPtr) argument 223 scanPi(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 285 scanCdataSection(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 305 cdataSectionTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 383 scanEndTag(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 432 scanHexCharRef(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 464 scanCharRef(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 496 scanRef(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 526 scanAtts(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 685 scanLt(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 785 contentTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 884 scanPercent(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 913 scanPoundName(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 940 scanLit(int open, const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 972 prologTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 1203 attributeValueTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 1261 entityValueTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 1318 ignoreSectionTok(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 1371 isPublicId(const ENCODING *enc, const char *ptr, const char *end, const char **badPtr) argument 1431 getAtts(const ENCODING *enc, const char *ptr, int attsMax, ATTRIBUTE *atts) argument 1524 charRefNumber(const ENCODING *enc, const char *ptr) argument 1568 predefinedEntityName(const ENCODING *enc, const char *ptr, const char *end) argument 1622 sameName(const ENCODING *enc, const char *ptr1, const char *ptr2) argument 1686 nameMatchesAscii(const ENCODING *enc, const char *ptr1, const char *end1, const char *ptr2) argument 1699 nameLength(const ENCODING *enc, const char *ptr) argument 1726 skipS(const ENCODING *enc, const char *ptr) argument 1742 updatePosition(const ENCODING *enc, const char *ptr, const char *end, POSITION *pos) argument [all...] |
H A D | 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, 40 initScanProlog(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 48 initScanContent(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) argument 72 findEncoding(const ENCODING *enc, const char *ptr, const char *end) argument 91 XmlParseXmlDecl(int isGeneralTextEntity, const ENCODING *enc, const char *ptr, const char *end, const char **badPtr, const char **versionPtr, const char **versionEndPtr, const char **encodingName, const ENCODING **encoding, int *standalone) argument [all...] |
H A D | xmltok.c | 125 isNever(const ENCODING *enc, const char *p) argument 131 utf8_isName2(const ENCODING *enc, const char *p) argument 137 utf8_isName3(const ENCODING *enc, const char *p) argument 145 utf8_isNmstrt2(const ENCODING *enc, const char *p) argument 151 utf8_isNmstrt3(const ENCODING *enc, const char *p) argument 159 utf8_isInvalid2(const ENCODING *enc, const char *p) argument 165 utf8_isInvalid3(const ENCODING *enc, const char *p) argument 171 utf8_isInvalid4(const ENCODING *enc, const char *p) argument 177 ENCODING enc; member in struct:normal_encoding 197 #define AS_NORMAL_ENCODING(enc) ((cons 247 sb_byteType(const ENCODING *enc, const char *p) argument 261 sb_byteToAscii(const ENCODING *enc, const char *p) argument 290 sb_charMatches(const ENCODING *enc, const char *p, int c) argument 322 utf8_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, char **toP, const char *toLim) argument 341 utf8_toUtf16(const ENCODING *enc, const char **fromP, const char *fromLim, unsigned short **toP, const unsigned short *toLim) argument 429 latin1_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, char **toP, const char *toLim) argument 454 latin1_toUtf16(const ENCODING *enc, const char **fromP, const char *fromLim, unsigned short **toP, const unsigned short *toLim) argument 487 ascii_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, char **toP, const char *toLim) argument 653 little2_byteType(const ENCODING *enc, const char *p) argument 659 little2_byteToAscii(const ENCODING *enc, const char *p) argument 665 little2_charMatches(const ENCODING *enc, const char *p, int c) argument 671 little2_isNameMin(const ENCODING *enc, const char *p) argument 677 little2_isNmstrtMin(const ENCODING *enc, const char *p) argument 794 big2_byteType(const ENCODING *enc, const char *p) argument 800 big2_byteToAscii(const ENCODING *enc, const char *p) argument 806 big2_charMatches(const ENCODING *enc, const char *p, int c) argument 812 big2_isNameMin(const ENCODING *enc, const char *p) argument 818 big2_isNmstrtMin(const ENCODING *enc, const char *p) argument 941 initUpdatePosition(const ENCODING *enc, const char *ptr, const char *end, POSITION *pos) argument 948 toAscii(const ENCODING *enc, const char *ptr, const char *end) argument 976 parsePseudoAttribute(const ENCODING *enc, const char *ptr, const char *end, const char **namePtr, const char **nameEndPtr, const char **valPtr, const char **nextTokPtr) argument 1086 const ENCODING *enc, variable 1264 unknown_isName(const ENCODING *enc, const char *p) argument 1274 unknown_isNmstrt(const ENCODING *enc, const char *p) argument 1284 unknown_isInvalid(const ENCODING *enc, const char *p) argument 1292 unknown_toUtf8(const ENCODING *enc, const char **fromP, const char *fromLim, char **toP, const char *toLim) argument 1326 unknown_toUtf16(const ENCODING *enc, const char **fromP, const char *fromLim, unsigned short **toP, const unsigned short *toLim) argument 1497 initScan(const ENCODING * const *encodingTable, const INIT_ENCODING *enc, int state, const char *ptr, const char *end, const char **nextTokPtr) argument 1645 ENCODING *enc = XmlInitUnknownEncoding(mem, table, convert, userData); local [all...] |
H A D | xmlrole.c | 89 #define MIN_BYTES_PER_CHAR(enc) ((enc)->minBytesPerChar) 105 const ENCODING *enc); 132 const ENCODING *enc) 150 if (!XmlNameMatchesAscii(enc, 151 ptr + 2 * MIN_BYTES_PER_CHAR(enc), 169 const ENCODING *enc) 181 if (!XmlNameMatchesAscii(enc, 182 ptr + 2 * MIN_BYTES_PER_CHAR(enc), 200 const ENCODING *enc) 128 prolog0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 165 prolog1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 196 prolog2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 217 doctype0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 235 doctype1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 265 doctype2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 282 doctype3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 299 doctype4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 319 doctype5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 336 internalSubset(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 393 externalSubset0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 406 externalSubset1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 438 entity0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 458 entity1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 475 entity2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 503 entity3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 520 entity4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 537 entity5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 560 entity6(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 578 entity7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 606 entity8(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 623 entity9(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 640 entity10(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 657 notation0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 674 notation1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 698 notation2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 715 notation3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 733 notation4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 754 attlist0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 772 attlist1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 793 attlist2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 834 attlist3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 853 attlist4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 873 attlist5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 890 attlist6(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 907 attlist7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 928 attlist8(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 968 attlist9(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 985 element0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 1003 element1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 1033 element2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 1073 element3(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 1098 element4(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 1116 element5(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 1137 element6(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 1167 element7(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 1217 condSect0(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 1241 condSect1(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 1259 condSect2(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 1278 declClose(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument 1295 error(PROLOG_STATE *state, int tok, const char *ptr, const char *end, const ENCODING *enc) argument [all...] |
/external/libvncserver/x11vnc/misc/turbovnc/ |
H A D | convert_rfbserver | 29 if ( enc >= (uint32_t)rfbJpegSubsamp1X && 30 enc <= (uint32_t)rfbJpegSubsampGray ) { 32 cl->correMaxWidth = enc & 0xFF; 35 } else if ( enc >= (uint32_t)rfbEncodingQualityLevel0 && 36 enc <= (uint32_t)rfbEncodingQualityLevel9 ) { 40 cl->tightQualityLevel = JPEG_QUAL[enc & 0x0F]; 45 } else if ( enc >= (uint32_t)rfbJpegQualityLevel1 && 46 enc <= (uint32_t)rfbJpegQualityLevel100 ) { 47 cl->tightQualityLevel = enc & 0xFF;
|
/external/libopus/celt/tests/ |
H A D | 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,pt [all...] |
H A D | test_unit_laplace.c | 56 ec_enc enc; local 62 ec_enc_init(&enc,ptr,DATA_SIZE); 73 ec_laplace_encode(&enc, &val[i], 76 ec_enc_done(&enc); 78 ec_dec_init(&dec,ec_get_buffer(&enc),ec_range_bytes(&enc));
|
/external/skia/src/images/ |
H A D | 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; 60 SkAutoTDelete<SkImageEncoder> enc(SkImageEncode [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
H A D | 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/boringssl/src/crypto/aes/ |
H A D | mode_wrappers.c | 64 const int enc) { 66 assert((AES_ENCRYPT == enc) || (AES_DECRYPT == enc)); 68 if (AES_ENCRYPT == enc) { 78 const AES_KEY *key, uint8_t *ivec, const int enc) { 80 if (enc) { 89 const AES_KEY *key, uint8_t *ivec, const int enc); 91 const AES_KEY *key, uint8_t *ivec, const int enc) { 92 asm_AES_cbc_encrypt(in, out, len, key, ivec, enc); 105 int enc) { 63 AES_ecb_encrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key, const int enc) argument 77 AES_cbc_encrypt(const uint8_t *in, uint8_t *out, size_t len, const AES_KEY *key, uint8_t *ivec, const int enc) argument 90 AES_cbc_encrypt(const uint8_t *in, uint8_t *out, size_t len, const AES_KEY *key, uint8_t *ivec, const int enc) argument 103 AES_cfb128_encrypt(const uint8_t *in, uint8_t *out, size_t length, const AES_KEY *key, uint8_t *ivec, int *num, int enc) argument [all...] |
/external/webp/src/ |
H A D | Android.mk | 24 dsp/enc.c \ 34 enc/alpha.c \ 35 enc/analysis.c \ 36 enc/backward_references.c \ 37 enc/config.c \ 38 enc/cost.c \ 39 enc/filter.c \ 40 enc/frame.c \ 41 enc/histogram.c \ 42 enc/iterato [all...] |
/external/libopus/celt/ |
H A D | laplace.h | 34 @param enc Entropy encoder state 39 void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay);
|
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/ |
H A D | MyExemptionMechanismSpi.java | 102 private byte[] enc; field in class:MyExemptionMechanismSpi.tmpKey 104 public tmpKey(String alg, byte[] enc) { argument 106 this.enc = enc; 118 return enc; 124 private byte[] enc; field in class:MyExemptionMechanismSpi.tmp1Key 126 public tmp1Key(String alg, byte[] enc) { argument 127 this.enc = enc; 139 return enc; [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | ContentEncoding.java | 102 * @param enc String to set. 104 public ContentEncoding(String enc) { argument 106 contentEncoding = enc;
|
/external/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/ |
H A D | BaseEncodingTest.java | 125 BaseEncoding enc = base64().withPadChar('~'); 126 testEncodingWithSeparators(enc, "", ""); 127 testEncodingWithSeparators(enc, "f", "Zg~~"); 128 testEncodingWithSeparators(enc, "fo", "Zm8~"); 129 testEncodingWithSeparators(enc, "foo", "Zm9v"); 130 testEncodingWithSeparators(enc, "foob", "Zm9vYg~~"); 131 testEncodingWithSeparators(enc, "fooba", "Zm9vYmE~"); 132 testEncodingWithSeparators(enc, "foobar", "Zm9vYmFy"); 136 BaseEncoding enc = base64().omitPadding(); 137 testEncodingWithSeparators(enc, "", ""); [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | BaseEncodingTest.java | 143 BaseEncoding enc = base64().withPadChar('~'); 144 testEncodingWithSeparators(enc, "", ""); 145 testEncodingWithSeparators(enc, "f", "Zg~~"); 146 testEncodingWithSeparators(enc, "fo", "Zm8~"); 147 testEncodingWithSeparators(enc, "foo", "Zm9v"); 148 testEncodingWithSeparators(enc, "foob", "Zm9vYg~~"); 149 testEncodingWithSeparators(enc, "fooba", "Zm9vYmE~"); 150 testEncodingWithSeparators(enc, "foobar", "Zm9vYmFy"); 155 BaseEncoding enc = base64().withPadChar('~'); 156 testStreamingEncodingWithSeparators(enc, "", ""); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | ASN1Enumerated.java | 147 static ASN1Enumerated fromOctetString(byte[] enc) argument 149 if (enc.length > 1) 151 return new ASN1Enumerated(Arrays.clone(enc)); 154 if (enc.length == 0) 158 int value = enc[0] & 0xff; 162 return new ASN1Enumerated(Arrays.clone(enc)); 169 possibleMatch = cache[value] = new ASN1Enumerated(Arrays.clone(enc));
|
/external/boringssl/include/openssl/ |
H A D | cast.h | 81 const CAST_KEY *key, int enc); 86 uint8_t *iv, int enc); 90 uint8_t *ivec, int *num, int enc);
|