Searched defs:dec (Results 1 - 25 of 157) sorted by last modified time

1234567

/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_gnutls.c191 gcry_cipher_hd_t dec; member in struct:crypto_cipher
213 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_STREAM, 0);
223 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
228 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
233 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
241 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
254 gcry_cipher_setkey(ctx->dec, key, key_len) != GPG_ERR_NO_ERROR) {
256 gcry_cipher_close(ctx->dec);
263 gcry_cipher_setiv(ctx->dec, iv, ivlen) != GPG_ERR_NO_ERROR) {
265 gcry_cipher_close(ctx->dec);
[all...]
H A Dcrypto_openssl.c356 EVP_CIPHER_CTX dec; member in struct:crypto_cipher
425 EVP_CIPHER_CTX_init(&ctx->dec);
426 EVP_CIPHER_CTX_set_padding(&ctx->dec, 0);
427 if (!EVP_DecryptInit_ex(&ctx->dec, cipher, NULL, NULL, NULL) ||
428 !EVP_CIPHER_CTX_set_key_length(&ctx->dec, key_len) ||
429 !EVP_DecryptInit_ex(&ctx->dec, NULL, NULL, key, iv)) {
431 EVP_CIPHER_CTX_cleanup(&ctx->dec);
455 if (!EVP_DecryptUpdate(&ctx->dec, plain, &outl, crypt, len))
464 EVP_CIPHER_CTX_cleanup(&ctx->dec);
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_gnutls.c191 gcry_cipher_hd_t dec; member in struct:crypto_cipher
213 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_STREAM, 0);
223 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
228 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
233 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
241 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
254 gcry_cipher_setkey(ctx->dec, key, key_len) != GPG_ERR_NO_ERROR) {
256 gcry_cipher_close(ctx->dec);
263 gcry_cipher_setiv(ctx->dec, iv, ivlen) != GPG_ERR_NO_ERROR) {
265 gcry_cipher_close(ctx->dec);
[all...]
H A Dcrypto_openssl.c356 EVP_CIPHER_CTX dec; member in struct:crypto_cipher
425 EVP_CIPHER_CTX_init(&ctx->dec);
426 EVP_CIPHER_CTX_set_padding(&ctx->dec, 0);
427 if (!EVP_DecryptInit_ex(&ctx->dec, cipher, NULL, NULL, NULL) ||
428 !EVP_CIPHER_CTX_set_key_length(&ctx->dec, key_len) ||
429 !EVP_DecryptInit_ex(&ctx->dec, NULL, NULL, key, iv)) {
431 EVP_CIPHER_CTX_cleanup(&ctx->dec);
455 if (!EVP_DecryptUpdate(&ctx->dec, plain, &outl, crypt, len))
464 EVP_CIPHER_CTX_cleanup(&ctx->dec);
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_gnutls.c191 gcry_cipher_hd_t dec; member in struct:crypto_cipher
213 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_STREAM, 0);
223 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
228 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
233 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
241 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0);
254 gcry_cipher_setkey(ctx->dec, key, key_len) != GPG_ERR_NO_ERROR) {
256 gcry_cipher_close(ctx->dec);
263 gcry_cipher_setiv(ctx->dec, iv, ivlen) != GPG_ERR_NO_ERROR) {
265 gcry_cipher_close(ctx->dec);
[all...]
H A Dcrypto_openssl.c356 EVP_CIPHER_CTX dec; member in struct:crypto_cipher
425 EVP_CIPHER_CTX_init(&ctx->dec);
426 EVP_CIPHER_CTX_set_padding(&ctx->dec, 0);
427 if (!EVP_DecryptInit_ex(&ctx->dec, cipher, NULL, NULL, NULL) ||
428 !EVP_CIPHER_CTX_set_key_length(&ctx->dec, key_len) ||
429 !EVP_DecryptInit_ex(&ctx->dec, NULL, NULL, key, iv)) {
431 EVP_CIPHER_CTX_cleanup(&ctx->dec);
455 if (!EVP_DecryptUpdate(&ctx->dec, plain, &outl, crypt, len))
464 EVP_CIPHER_CTX_cleanup(&ctx->dec);
/external/webp/src/dec/
H A Dalpha.c26 ALPHDecoder* const dec = (ALPHDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); local
27 return dec;
30 void ALPHDelete(ALPHDecoder* const dec) { argument
31 if (dec != NULL) {
32 VP8LDelete(dec->vp8l_dec_);
33 dec->vp8l_dec_ = NULL;
34 WebPSafeFree(dec);
45 static int ALPHInit(ALPHDecoder* const dec, const uint8_t* data, argument
55 dec
88 ALPHDecode(VP8Decoder* const dec, int row, int num_rows) argument
120 VP8DecompressAlphaRows(VP8Decoder* const dec, int row, int num_rows) argument
[all...]
H A Dframe.c20 static void ReconstructRow(const VP8Decoder* const dec,
33 static void DoFilter(const VP8Decoder* const dec, int mb_x, int mb_y) { argument
34 const VP8ThreadContext* const ctx = &dec->thread_ctx_;
36 const int y_bps = dec->cache_y_stride_;
38 uint8_t* const y_dst = dec->cache_y_ + cache_id * 16 * y_bps + mb_x * 16;
45 if (dec->filter_type_ == 1) { // simple
59 const int uv_bps = dec->cache_uv_stride_;
60 uint8_t* const u_dst = dec->cache_u_ + cache_id * 8 * uv_bps + mb_x * 8;
61 uint8_t* const v_dst = dec->cache_v_ + cache_id * 8 * uv_bps + mb_x * 8;
83 static void FilterRow(const VP8Decoder* const dec) { argument
95 PrecomputeFilterStrengths(VP8Decoder* const dec) argument
156 VP8InitDithering(const WebPDecoderOptions* const options, VP8Decoder* const dec) argument
215 DitherRow(VP8Decoder* const dec) argument
246 FinishRow(VP8Decoder* const dec, VP8Io* const io) argument
344 VP8ProcessRow(VP8Decoder* const dec, VP8Io* const io) argument
392 VP8EnterCritical(VP8Decoder* const dec, VP8Io* const io) argument
447 VP8ExitCritical(VP8Decoder* const dec, VP8Io* const io) argument
487 InitThreadContext(VP8Decoder* const dec) argument
534 AllocateMemory(VP8Decoder* const dec) argument
636 InitIo(VP8Decoder* const dec, VP8Io* io) argument
647 VP8InitFrame(VP8Decoder* const dec, VP8Io* io) argument
708 ReconstructRow(const VP8Decoder* const dec, const VP8ThreadContext* ctx) argument
[all...]
H A Didec.c104 const VP8Decoder* const dec = (VP8Decoder*)idec->dec_; local
105 assert(dec != NULL); // Must be true as idec->state_ != STATE_WEBP_HEADER.
106 return (dec->alpha_data_ != NULL) && !dec->is_alpha_decoded_;
120 VP8Decoder* const dec = (VP8Decoder*)idec->dec_; local
121 const int last_part = dec->num_parts_ - 1;
125 VP8RemapBitReader(dec->parts_ + p, offset);
130 VP8RemapBitReader(&dec->br_, offset);
134 dec->parts_[last_part].buf_end_ = mem->buf_ + mem->end_;
136 ALPHDecoder* const alph_dec = dec
152 VP8LDecoder* const dec = (VP8LDecoder*)idec->dec_; local
162 VP8Decoder* const dec = (VP8Decoder*)idec->dec_; local
259 SaveContext(const VP8Decoder* dec, const VP8BitReader* token_br, MBContext* const context) argument
266 RestoreContext(const MBContext* context, VP8Decoder* const dec, VP8BitReader* const token_br) argument
317 VP8Decoder* const dec = VP8New(); local
326 VP8LDecoder* const dec = VP8LNew(); local
361 VP8Decoder* const dec = (VP8Decoder*)idec->dec_; local
387 VP8Decoder* const dec = (VP8Decoder*)idec->dec_; local
438 VP8Decoder* const dec = (VP8Decoder*)idec->dec_; local
496 VP8LDecoder* const dec = (VP8LDecoder*)idec->dec_; local
521 VP8LDecoder* const dec = (VP8LDecoder*)idec->dec_; local
[all...]
H A Dquant.c62 void VP8ParseQuant(VP8Decoder* const dec) { argument
63 VP8BitReader* const br = &dec->br_;
71 const VP8SegmentHeader* const hdr = &dec->segment_hdr_;
83 dec->dqm_[i] = dec->dqm_[0];
90 VP8QuantMatrix* const m = &dec->dqm_[i];
H A Dtree.c283 VP8Decoder* const dec, int mb_x) {
284 uint8_t* const top = dec->intra_t_ + 4 * mb_x;
285 uint8_t* const left = dec->intra_l_;
286 VP8MBData* const block = dec->mb_data_ + mb_x;
290 if (dec->segment_hdr_.update_map_) {
292 block->segment_ = !VP8GetBit(br, dec->proba_.segments_[0])
293 ? VP8GetBit(br, dec->proba_.segments_[1])
294 : 2 + VP8GetBit(br, dec->proba_.segments_[2]);
298 if (dec->use_skip_proba_) block->skip_ = VP8GetBit(br, dec
282 ParseIntraMode(VP8BitReader* const br, VP8Decoder* const dec, int mb_x) argument
349 VP8ParseIntraModeRow(VP8BitReader* const br, VP8Decoder* const dec) argument
497 VP8ParseProba(VP8BitReader* const br, VP8Decoder* const dec) argument
[all...]
H A Dvp8.c32 static void SetOk(VP8Decoder* const dec) { argument
33 dec->status_ = VP8_STATUS_OK;
34 dec->error_msg_ = "OK";
48 VP8Decoder* const dec = (VP8Decoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); local
49 if (dec != NULL) {
50 SetOk(dec);
51 WebPGetWorkerInterface()->Init(&dec->worker_);
52 dec->ready_ = 0;
53 dec
58 VP8Status(VP8Decoder* const dec) argument
63 VP8StatusMessage(VP8Decoder* const dec) argument
69 VP8Delete(VP8Decoder* const dec) argument
76 VP8SetError(VP8Decoder* const dec, VP8StatusCode error, const char* const msg) argument
190 ParsePartitions(VP8Decoder* const dec, const uint8_t* buf, size_t size) argument
220 ParseFilterHeader(VP8BitReader* br, VP8Decoder* const dec) argument
246 VP8GetHeaders(VP8Decoder* const dec, VP8Io* const io) argument
456 ParseResiduals(VP8Decoder* const dec, VP8MB* const mb, VP8BitReader* const token_br) argument
550 VP8DecodeMB(VP8Decoder* const dec, VP8BitReader* const token_br) argument
576 VP8InitScanline(VP8Decoder* const dec) argument
584 ParseFrame(VP8Decoder* const dec, VP8Io* io) argument
614 VP8Decode(VP8Decoder* const dec, VP8Io* const io) argument
653 VP8Clear(VP8Decoder* const dec) argument
[all...]
H A Dvp8l.c77 VP8LDecoder* const dec,
182 VP8LDecoder* const dec, const int* const code_length_code_lengths,
185 VP8LBitReader* const br = &dec->br_;
194 dec->status_ = VP8_STATUS_BITSTREAM_ERROR;
202 dec->status_ = VP8_STATUS_BITSTREAM_ERROR;
225 dec->status_ = VP8_STATUS_BITSTREAM_ERROR;
242 static int ReadHuffmanCode(int alphabet_size, VP8LDecoder* const dec, argument
246 VP8LBitReader* const br = &dec->br_;
271 dec->status_ = VP8_STATUS_BITSTREAM_ERROR;
280 ok = ReadHuffmanCodeLengths(dec, code_length_code_length
181 ReadHuffmanCodeLengths( VP8LDecoder* const dec, const int* const code_length_code_lengths, int num_symbols, int* const code_lengths) argument
293 ReadHuffmanCodes(VP8LDecoder* const dec, int xsize, int ysize, int color_cache_bits, int allow_recursion) argument
385 AllocateAndInitRescaler(VP8LDecoder* const dec, VP8Io* const io) argument
438 EmitRescaledRowsRGBA(const VP8LDecoder* const dec, uint8_t* in, int in_stride, int mb_h, uint8_t* const out, int out_stride) argument
541 ExportYUVA(const VP8LDecoder* const dec, int y_pos) argument
556 EmitRescaledRowsYUVA(const VP8LDecoder* const dec, uint8_t* in, int in_stride, int mb_h) argument
572 EmitRowsYUVA(const VP8LDecoder* const dec, const uint8_t* in, int in_stride, int mb_w, int num_rows) argument
635 ApplyInverseTransforms(VP8LDecoder* const dec, int num_rows, const uint32_t* const rows) argument
655 ApplyInverseTransformsAlpha(VP8LDecoder* const dec, int num_rows, const uint8_t* const rows) argument
670 ProcessRows(VP8LDecoder* const dec, int row) argument
726 ExtractPalettedAlphaRows(VP8LDecoder* const dec, int row) argument
736 DecodeAlphaData(VP8LDecoder* const dec, uint8_t* const data, int width, int height, int last_row) argument
822 DecodeImageData(VP8LDecoder* const dec, uint32_t* const data, int width, int height, int last_row, ProcessRowsFunc process_func) argument
973 ReadTransform(int* const xsize, int const* ysize, VP8LDecoder* const dec) argument
1047 VP8LDecoder* const dec = (VP8LDecoder*)WebPSafeCalloc(1ULL, sizeof(*dec)); local
1058 VP8LClear(VP8LDecoder* const dec) argument
1077 VP8LDelete(VP8LDecoder* const dec) argument
1084 UpdateDecoder(VP8LDecoder* const dec, int width, int height) argument
1094 DecodeImageStream(int xsize, int ysize, int is_level0, VP8LDecoder* const dec, uint32_t** const decoded_data) argument
1191 AllocateInternalBuffers32b(VP8LDecoder* const dec, int final_width) argument
1212 AllocateInternalBuffers8b(VP8LDecoder* const dec) argument
1226 ExtractAlphaRows(VP8LDecoder* const dec, int row) argument
1249 VP8LDecoder* dec; local
1301 VP8LDecoder* const dec = alph_dec->vp8l_dec_; local
1320 VP8LDecodeHeader(VP8LDecoder* const dec, VP8Io* const io) argument
1350 VP8LDecodeImage(VP8LDecoder* const dec) argument
[all...]
H A Dwebp.c475 VP8Decoder* const dec = VP8New(); local
476 if (dec == NULL) {
479 dec->alpha_data_ = headers.alpha_data;
480 dec->alpha_data_size_ = headers.alpha_data_size;
483 if (!VP8GetHeaders(dec, &io)) {
484 status = dec->status_; // An error occurred. Grab error status.
491 dec->mt_method_ = VP8GetThreadMethod(params->options, &headers,
493 VP8InitDithering(params->options, dec);
494 if (!VP8Decode(dec, &io)) {
495 status = dec
501 VP8LDecoder* const dec = VP8LNew(); local
[all...]
/external/valgrind/main/VEX/priv/
H A Dguest_s390_toIR.c10843 struct SS dec; member in union:__anon31607
10872 assign(start1, binop(Iop_Add64, mkU64(ss.dec.d1),
10873 ss.dec.b1 != 0 ? get_gpr_dw0(ss.dec.b1) : mkU64(0)));
10874 assign(start2, binop(Iop_Add64, mkU64(ss.dec.d2),
10875 ss.dec.b2 != 0 ? get_gpr_dw0(ss.dec.b2) : mkU64(0)));
10877 r != 0 ? get_gpr_b7(r): mkU8(0), mkU8(ss.dec.l))));
/external/tinyxml/
H A Dtinyxmlparser.cpp748 TiXmlDeclaration* dec = node->ToDeclaration(); local
749 const char* enc = dec->Encoding();
H A Dxmltest.cpp530 TiXmlDeclaration* dec = docH.Child( 0 ).Node()->ToDeclaration(); local
531 XmlTest( "UTF-8: Declaration column.", 1, dec->Column() );
617 TiXmlDeclaration dec; local
618 dec.Parse( "<?xml version='1.0' encoding='UTF-8'?>", 0, TIXML_ENCODING_UNKNOWN );
619 TiXmlDeclaration decCopy( dec );
621 decAssign = dec;
/external/tinyxml2/
H A Dtinyxml2.cpp930 XMLDeclaration* dec = doc->NewDeclaration( Value() ); // fixme: this will always allocate memory. Intern? local
931 return dec;
1492 XMLDeclaration* dec = new (commentPool.Alloc()) XMLDeclaration( this ); local
1493 dec->memPool = &commentPool;
1494 dec->SetValue( str ? str : "xml version=\"1.0\" encoding=\"UTF-8\"" );
1495 return dec;
/external/stlport/src/
H A Dios.cpp47 const ios_base::fmtflags ios_base::dec; member in class:ios_base
/external/stlport/stlport/stl/
H A D_ios_base.h70 _STLP_STATIC_CONSTANT(int, dec = 0x0008);
83 _STLP_STATIC_CONSTANT(int, basefield = dec | hex | oct);
321 inline ios_base& _STLP_CALL dec(ios_base& __s) function
322 { __s.setf(ios_base::dec, ios_base::basefield); return __s; }
/external/speex/include/speex/
H A Dspeex.h282 decode_func dec; member in struct:SpeexMode
/external/srtp/crypto/include/
H A Dcryptoalg.h105 cryptoalg_inv_t dec; member in struct:cryptoalg_ctx_t
H A Dxfm.h116 cryptoalg_inv_t dec; member in struct:cryptoalg_ctx_t
/external/skia/src/core/
H A DSkStream.cpp97 bool SkWStream::writeDecAsText(int32_t dec) argument
100 tmp.appendS32(dec);
104 bool SkWStream::writeBigDecAsText(int64_t dec, int minDigits) argument
107 tmp.appendS64(dec, minDigits);
H A DSkString.cpp71 char* SkStrAppendU32(char string[], uint32_t dec) { argument
78 *--p = SkToU8('0' + dec % 10);
79 dec /= 10;
80 } while (dec != 0);
91 char* SkStrAppendS32(char string[], int32_t dec) { argument
92 if (dec < 0) {
94 dec = -dec;
96 return SkStrAppendU32(string, static_cast<uint32_t>(dec));
99 char* SkStrAppendU64(char string[], uint64_t dec, in argument
125 SkStrAppendS64(char string[], int64_t dec, int minDigits) argument
506 insertS32(size_t offset, int32_t dec) argument
512 insertS64(size_t offset, int64_t dec, int minDigits) argument
518 insertU32(size_t offset, uint32_t dec) argument
524 insertU64(size_t offset, uint64_t dec, int minDigits) argument
[all...]

Completed in 431 milliseconds

1234567