Home
last modified time | relevance | path

Searched refs:dctx (Results 1 – 25 of 101) sorted by relevance

12345

/freebsd/crypto/openssl/crypto/dh/
H A Ddh_pmeth.c56 DH_PKEY_CTX *dctx; in pkey_dh_init() local
58 if ((dctx = OPENSSL_zalloc(sizeof(*dctx))) == NULL) { in pkey_dh_init()
62 dctx->prime_len = 2048; in pkey_dh_init()
63 dctx->subprime_len = -1; in pkey_dh_init()
64 dctx->generator = 2; in pkey_dh_init()
65 dctx->kdf_type = EVP_PKEY_DH_KDF_NONE; in pkey_dh_init()
67 ctx->data = dctx; in pkey_dh_init()
68 ctx->keygen_info = dctx->gentmp; in pkey_dh_init()
76 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_cleanup() local
78 if (dctx != NULL) { in pkey_dh_cleanup()
[all …]
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c219 size_t ZSTD_sizeof_DCtx (const ZSTD_DCtx* dctx) in ZSTD_sizeof_DCtx() argument
221 if (dctx==NULL) return 0; /* support sizeof NULL */ in ZSTD_sizeof_DCtx()
222 return sizeof(*dctx) in ZSTD_sizeof_DCtx()
223 + ZSTD_sizeof_DDict(dctx->ddictLocal) in ZSTD_sizeof_DCtx()
224 + dctx->inBuffSize + dctx->outBuffSize; in ZSTD_sizeof_DCtx()
238 static void ZSTD_DCtx_resetParameters(ZSTD_DCtx* dctx) in ZSTD_DCtx_resetParameters() argument
240 assert(dctx->streamStage == zdss_init); in ZSTD_DCtx_resetParameters()
241 dctx->format = ZSTD_f_zstd1; in ZSTD_DCtx_resetParameters()
242 dctx->maxWindowSize = ZSTD_MAXWINDOWSIZE_DEFAULT; in ZSTD_DCtx_resetParameters()
243 dctx->outBufferMode = ZSTD_bm_buffered; in ZSTD_DCtx_resetParameters()
[all …]
H A Dzstd_decompress_block.c73 static void ZSTD_allocateLiteralsBuffer(ZSTD_DCtx* dctx, void* const dst, const size_t dstCapacity,… in ZSTD_allocateLiteralsBuffer() argument
79 dctx->litBuffer = (BYTE*)dst + ZSTD_BLOCKSIZE_MAX + WILDCOPY_OVERLENGTH; in ZSTD_allocateLiteralsBuffer()
80 dctx->litBufferEnd = dctx->litBuffer + litSize; in ZSTD_allocateLiteralsBuffer()
81 dctx->litBufferLocation = ZSTD_in_dst; in ZSTD_allocateLiteralsBuffer()
88dctx->litBuffer = (BYTE*)dst + expectedWriteSize - litSize + ZSTD_LITBUFFEREXTRASIZE - WILDCOPY_OV… in ZSTD_allocateLiteralsBuffer()
89 dctx->litBufferEnd = dctx->litBuffer + litSize - ZSTD_LITBUFFEREXTRASIZE; in ZSTD_allocateLiteralsBuffer()
93 dctx->litBuffer = (BYTE*)dst + expectedWriteSize - litSize; in ZSTD_allocateLiteralsBuffer()
94 dctx->litBufferEnd = (BYTE*)dst + expectedWriteSize; in ZSTD_allocateLiteralsBuffer()
96 dctx->litBufferLocation = ZSTD_split; in ZSTD_allocateLiteralsBuffer()
101 dctx->litBuffer = dctx->litExtraBuffer; in ZSTD_allocateLiteralsBuffer()
[all …]
H A Dzstd_ddict.c58 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict) in ZSTD_copyDDictParameters() argument
61 assert(dctx != NULL); in ZSTD_copyDDictParameters()
63 dctx->dictID = ddict->dictID; in ZSTD_copyDDictParameters()
64 dctx->prefixStart = ddict->dictContent; in ZSTD_copyDDictParameters()
65 dctx->virtualStart = ddict->dictContent; in ZSTD_copyDDictParameters()
66 dctx->dictEnd = (const BYTE*)ddict->dictContent + ddict->dictSize; in ZSTD_copyDDictParameters()
67 dctx->previousDstEnd = dctx->dictEnd; in ZSTD_copyDDictParameters()
69 dctx->dictContentBeginForFuzzing = dctx->prefixStart; in ZSTD_copyDDictParameters()
70 dctx->dictContentEndForFuzzing = dctx->previousDstEnd; in ZSTD_copyDDictParameters()
73 dctx->litEntropy = 1; in ZSTD_copyDDictParameters()
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress.c78 size_t ZSTD_sizeof_DCtx (const ZSTD_DCtx* dctx) in ZSTD_sizeof_DCtx() argument
80 if (dctx==NULL) return 0; /* support sizeof NULL */ in ZSTD_sizeof_DCtx()
81 return sizeof(*dctx) in ZSTD_sizeof_DCtx()
82 + ZSTD_sizeof_DDict(dctx->ddictLocal) in ZSTD_sizeof_DCtx()
83 + dctx->inBuffSize + dctx->outBuffSize; in ZSTD_sizeof_DCtx()
97 static void ZSTD_initDCtx_internal(ZSTD_DCtx* dctx) in ZSTD_initDCtx_internal() argument
99dctx->format = ZSTD_f_zstd1; /* ZSTD_decompressBegin() invokes ZSTD_startingInputLength() with ar… in ZSTD_initDCtx_internal()
100 dctx->staticSize = 0; in ZSTD_initDCtx_internal()
101 dctx->maxWindowSize = ZSTD_MAXWINDOWSIZE_DEFAULT; in ZSTD_initDCtx_internal()
102 dctx->ddict = NULL; in ZSTD_initDCtx_internal()
[all …]
H A Dzstd_decompress_block.c74 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx,
79 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx, in ZSTD_decodeLiteralsBlock() argument
92 RETURN_ERROR_IF(dctx->litEntropy==0, dictionary_corrupted, ""); in ZSTD_decodeLiteralsBlock()
128 if (dctx->ddictIsCold && (litSize > 768 /* heuristic */)) { in ZSTD_decodeLiteralsBlock()
129 PREFETCH_AREA(dctx->HUFptr, sizeof(dctx->entropy.hufTable)); in ZSTD_decodeLiteralsBlock()
135 dctx->litBuffer, litSize, istart+lhSize, litCSize, in ZSTD_decodeLiteralsBlock()
136 dctx->HUFptr, dctx->bmi2); in ZSTD_decodeLiteralsBlock()
139 dctx->litBuffer, litSize, istart+lhSize, litCSize, in ZSTD_decodeLiteralsBlock()
140 dctx->HUFptr, dctx->bmi2); in ZSTD_decodeLiteralsBlock()
146 dctx->entropy.hufTable, dctx->litBuffer, litSize, in ZSTD_decodeLiteralsBlock()
[all …]
H A Dzstd_ddict.c58 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict) in ZSTD_copyDDictParameters() argument
61 assert(dctx != NULL); in ZSTD_copyDDictParameters()
63 dctx->dictID = ddict->dictID; in ZSTD_copyDDictParameters()
64 dctx->prefixStart = ddict->dictContent; in ZSTD_copyDDictParameters()
65 dctx->virtualStart = ddict->dictContent; in ZSTD_copyDDictParameters()
66 dctx->dictEnd = (const BYTE*)ddict->dictContent + ddict->dictSize; in ZSTD_copyDDictParameters()
67 dctx->previousDstEnd = dctx->dictEnd; in ZSTD_copyDDictParameters()
69 dctx->dictContentBeginForFuzzing = dctx->prefixStart; in ZSTD_copyDDictParameters()
70 dctx->dictContentEndForFuzzing = dctx->previousDstEnd; in ZSTD_copyDDictParameters()
73 dctx->litEntropy = 1; in ZSTD_copyDDictParameters()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Dec_pmeth.c49 EC_PKEY_CTX *dctx; in pkey_ec_init() local
51 if ((dctx = OPENSSL_zalloc(sizeof(*dctx))) == NULL) { in pkey_ec_init()
56 dctx->cofactor_mode = -1; in pkey_ec_init()
57 dctx->kdf_type = EVP_PKEY_ECDH_KDF_NONE; in pkey_ec_init()
58 ctx->data = dctx; in pkey_ec_init()
64 EC_PKEY_CTX *dctx, *sctx; in pkey_ec_copy() local
68 dctx = dst->data; in pkey_ec_copy()
70 dctx->gen_group = EC_GROUP_dup(sctx->gen_group); in pkey_ec_copy()
71 if (!dctx->gen_group) in pkey_ec_copy()
74 dctx->md = sctx->md; in pkey_ec_copy()
[all …]
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_pmeth.c40 DSA_PKEY_CTX *dctx = OPENSSL_malloc(sizeof(*dctx)); in pkey_dsa_init() local
42 if (dctx == NULL) in pkey_dsa_init()
44 dctx->nbits = 2048; in pkey_dsa_init()
45 dctx->qbits = 224; in pkey_dsa_init()
46 dctx->pmd = NULL; in pkey_dsa_init()
47 dctx->md = NULL; in pkey_dsa_init()
49 ctx->data = dctx; in pkey_dsa_init()
50 ctx->keygen_info = dctx->gentmp; in pkey_dsa_init()
58 DSA_PKEY_CTX *dctx, *sctx; in pkey_dsa_copy() local
63 dctx = dst->data; in pkey_dsa_copy()
[all …]
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v07.c82 ZSTDLIBv07_API size_t ZSTDv07_sizeofDCtx(const ZSTDv07_DCtx* dctx);
89 ZSTDLIBv07_API size_t ZSTDv07_decompressBegin(ZSTDv07_DCtx* dctx);
90 ZSTDLIBv07_API size_t ZSTDv07_decompressBegin_usingDict(ZSTDv07_DCtx* dctx, const void* dict, size_…
91 ZSTDLIBv07_API void ZSTDv07_copyDCtx(ZSTDv07_DCtx* dctx, const ZSTDv07_DCtx* preparedDCtx);
93 ZSTDLIBv07_API size_t ZSTDv07_nextSrcSizeToDecompress(ZSTDv07_DCtx* dctx);
94 ZSTDLIBv07_API size_t ZSTDv07_decompressContinue(ZSTDv07_DCtx* dctx, void* dst, size_t dstCapacity,…
175 ZSTDLIBv07_API size_t ZSTDv07_decompressBlock(ZSTDv07_DCtx* dctx, void* dst, size_t dstCapacity, co…
176 ZSTDLIBv07_API size_t ZSTDv07_insertBlock(ZSTDv07_DCtx* dctx, const void* blockStart, size_t blockS…
1081 size_t HUFv07_decompress4X_DCtx (HUFv07_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, …
1082 size_t HUFv07_decompress4X_hufOnly(HUFv07_DTable* dctx, void* dst, size_t dstSize, const void* cSrc…
[all …]
H A Dzstd_legacy.h296 …ZBUFFv04_DCtx* dctx = (prevVersion != newVersion) ? ZBUFFv04_createDCtx() : (ZBUFFv04_DCtx*)*legac… in ZSTD_initLegacyStream() local
297 if (dctx==NULL) return ERROR(memory_allocation); in ZSTD_initLegacyStream()
298 ZBUFFv04_decompressInit(dctx); in ZSTD_initLegacyStream()
299 ZBUFFv04_decompressWithDictionary(dctx, dict, dictSize); in ZSTD_initLegacyStream()
300 *legacyContext = dctx; in ZSTD_initLegacyStream()
307 …ZBUFFv05_DCtx* dctx = (prevVersion != newVersion) ? ZBUFFv05_createDCtx() : (ZBUFFv05_DCtx*)*legac… in ZSTD_initLegacyStream() local
308 if (dctx==NULL) return ERROR(memory_allocation); in ZSTD_initLegacyStream()
309 ZBUFFv05_decompressInitDictionary(dctx, dict, dictSize); in ZSTD_initLegacyStream()
310 *legacyContext = dctx; in ZSTD_initLegacyStream()
317 …ZBUFFv06_DCtx* dctx = (prevVersion != newVersion) ? ZBUFFv06_createDCtx() : (ZBUFFv06_DCtx*)*legac… in ZSTD_initLegacyStream() local
[all …]
H A Dzstd_v04.h62 size_t ZSTDv04_freeDCtx(ZSTDv04_Dctx* dctx);
64 size_t ZSTDv04_decompressDCtx(ZSTDv04_Dctx* dctx,
72 size_t ZSTDv04_resetDCtx(ZSTDv04_Dctx* dctx);
74 size_t ZSTDv04_nextSrcSizeToDecompress(ZSTDv04_Dctx* dctx);
75 size_t ZSTDv04_decompressContinue(ZSTDv04_Dctx* dctx, void* dst, size_t maxDstSize, const void* src…
90 size_t ZBUFFv04_freeDCtx(ZBUFFv04_DCtx* dctx);
92 size_t ZBUFFv04_decompressInit(ZBUFFv04_DCtx* dctx);
93 size_t ZBUFFv04_decompressWithDictionary(ZBUFFv04_DCtx* dctx, const void* dict, size_t dictSize);
95 size_t ZBUFFv04_decompressContinue(ZBUFFv04_DCtx* dctx, void* dst, size_t* maxDstSizePtr, const voi…
H A Dzstd_v06.h74 ZSTDLIBv06_API size_t ZSTDv06_freeDCtx(ZSTDv06_DCtx* dctx); /*!< @return : errorCode */
88 ZSTDLIBv06_API size_t ZSTDv06_decompress_usingDict(ZSTDv06_DCtx* dctx,
101 ZSTDLIBv06_API size_t ZSTDv06_decompressBegin_usingDict(ZSTDv06_DCtx* dctx, const void* dict, size_…
102 ZSTDLIBv06_API void ZSTDv06_copyDCtx(ZSTDv06_DCtx* dctx, const ZSTDv06_DCtx* preparedDCtx);
104 ZSTDLIBv06_API size_t ZSTDv06_nextSrcSizeToDecompress(ZSTDv06_DCtx* dctx);
105 ZSTDLIBv06_API size_t ZSTDv06_decompressContinue(ZSTDv06_DCtx* dctx, void* dst, size_t dstCapacity,…
115 ZSTDLIBv06_API size_t ZBUFFv06_freeDCtx(ZBUFFv06_DCtx* dctx);
117 ZSTDLIBv06_API size_t ZBUFFv06_decompressInit(ZBUFFv06_DCtx* dctx);
118 ZSTDLIBv06_API size_t ZBUFFv06_decompressInitDictionary(ZBUFFv06_DCtx* dctx, const void* dict, size…
120 ZSTDLIBv06_API size_t ZBUFFv06_decompressContinue(ZBUFFv06_DCtx* dctx,
H A Dzstd_v06.c332 ZSTDv06_DCtx* dctx, const ZSTDv06_DCtx* preparedDCtx,
342 ZSTDLIBv06_API size_t ZSTDv06_decompressBegin(ZSTDv06_DCtx* dctx);
401 ZSTDLIBv06_API size_t ZSTDv06_decompressBlock(ZSTDv06_DCtx* dctx, void* dst, size_t dstCapacity, co…
2829 size_t ZSTDv06_decompressBegin(ZSTDv06_DCtx* dctx) in ZSTDv06_decompressBegin() argument
2831 dctx->expected = ZSTDv06_frameHeaderSize_min; in ZSTDv06_decompressBegin()
2832 dctx->stage = ZSTDds_getFrameHeaderSize; in ZSTDv06_decompressBegin()
2833 dctx->previousDstEnd = NULL; in ZSTDv06_decompressBegin()
2834 dctx->base = NULL; in ZSTDv06_decompressBegin()
2835 dctx->vBase = NULL; in ZSTDv06_decompressBegin()
2836 dctx->dictEnd = NULL; in ZSTDv06_decompressBegin()
[all …]
H A Dzstd_v05.c322 ZSTDv05_DCtx* dctx, const ZSTDv05_DCtx* preparedDCtx,
330 size_t ZSTDv05_decompressBegin(ZSTDv05_DCtx* dctx);
384 size_t ZSTDv05_decompressBlock(ZSTDv05_DCtx* dctx, void* dst, size_t dstCapacity, const void* src, …
2668 size_t ZSTDv05_decompressBegin(ZSTDv05_DCtx* dctx) in ZSTDv05_decompressBegin() argument
2670 dctx->expected = ZSTDv05_frameHeaderSize_min; in ZSTDv05_decompressBegin()
2671 dctx->stage = ZSTDv05ds_getFrameHeaderSize; in ZSTDv05_decompressBegin()
2672 dctx->previousDstEnd = NULL; in ZSTDv05_decompressBegin()
2673 dctx->base = NULL; in ZSTDv05_decompressBegin()
2674 dctx->vBase = NULL; in ZSTDv05_decompressBegin()
2675 dctx->dictEnd = NULL; in ZSTDv05_decompressBegin()
[all …]
H A Dzstd_v05.h63 size_t ZSTDv05_freeDCtx(ZSTDv05_DCtx* dctx); /*!< @return : errorCode */
77 size_t ZSTDv05_decompress_usingDict(ZSTDv05_DCtx* dctx,
93 size_t ZSTDv05_decompressBegin_usingDict(ZSTDv05_DCtx* dctx, const void* dict, size_t dictSize);
95 size_t ZSTDv05_nextSrcSizeToDecompress(ZSTDv05_DCtx* dctx);
96 size_t ZSTDv05_decompressContinue(ZSTDv05_DCtx* dctx, void* dst, size_t dstCapacity, const void* sr…
104 size_t ZBUFFv05_freeDCtx(ZBUFFv05_DCtx* dctx);
106 size_t ZBUFFv05_decompressInit(ZBUFFv05_DCtx* dctx);
107 size_t ZBUFFv05_decompressInitDictionary(ZBUFFv05_DCtx* dctx, const void* dict, size_t dictSize);
109 size_t ZBUFFv05_decompressContinue(ZBUFFv05_DCtx* dctx,
H A Dzstd_v07.h76 ZSTDLIBv07_API size_t ZSTDv07_freeDCtx(ZSTDv07_DCtx* dctx); /*!< @return : errorCode */
90 ZSTDLIBv07_API size_t ZSTDv07_decompress_usingDict(ZSTDv07_DCtx* dctx,
109 ZSTDLIBv07_API size_t ZSTDv07_decompress_usingDDict(ZSTDv07_DCtx* dctx,
131 ZSTDLIBv07_API size_t ZBUFFv07_freeDCtx(ZBUFFv07_DCtx* dctx);
133 ZSTDLIBv07_API size_t ZBUFFv07_decompressInit(ZBUFFv07_DCtx* dctx);
134 ZSTDLIBv07_API size_t ZBUFFv07_decompressInitDictionary(ZBUFFv07_DCtx* dctx, const void* dict, size…
136 ZSTDLIBv07_API size_t ZBUFFv07_decompressContinue(ZBUFFv07_DCtx* dctx,
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_gcm.c40 PROV_AES_GCM_CTX *dctx = NULL; in aes_gcm_dupctx() local
45 dctx = OPENSSL_memdup(ctx, sizeof(*ctx)); in aes_gcm_dupctx()
46 if (dctx != NULL && dctx->base.gcm.key != NULL) in aes_gcm_dupctx()
47 dctx->base.gcm.key = &dctx->ks.ks; in aes_gcm_dupctx()
49 return dctx; in aes_gcm_dupctx()
H A Dcipher_aria_ccm.c34 PROV_ARIA_CCM_CTX *dctx = NULL; in aria_ccm_dupctx() local
39 dctx = OPENSSL_memdup(ctx, sizeof(*ctx)); in aria_ccm_dupctx()
40 if (dctx != NULL && dctx->base.ccm_ctx.key != NULL) in aria_ccm_dupctx()
41 dctx->base.ccm_ctx.key = &dctx->ks.ks; in aria_ccm_dupctx()
43 return dctx; in aria_ccm_dupctx()
H A Dcipher_aria_gcm.c33 PROV_ARIA_GCM_CTX *dctx = NULL; in aria_gcm_dupctx() local
38 dctx = OPENSSL_memdup(ctx, sizeof(*ctx)); in aria_gcm_dupctx()
39 if (dctx != NULL && dctx->base.gcm.key != NULL) in aria_gcm_dupctx()
40 dctx->base.gcm.key = &dctx->ks.ks; in aria_gcm_dupctx()
42 return dctx; in aria_gcm_dupctx()
H A Dcipher_des_hw.c22 PROV_DES_CTX *dctx = (PROV_DES_CTX *)ctx; in cipher_hw_des_initkey() local
24 DES_key_schedule *ks = &dctx->dks.ks; in cipher_hw_des_initkey()
26 dctx->dstream.cbc = NULL; in cipher_hw_des_initkey()
31 dctx->dstream.cbc = ctx->enc ? des_t4_cbc_encrypt : in cipher_hw_des_initkey()
45 PROV_DES_CTX *dctx = (PROV_DES_CTX *)dst; in cipher_hw_des_copyctx() local
47 *dctx = *sctx; in cipher_hw_des_copyctx()
48 dst->ks = &dctx->dks.ks; in cipher_hw_des_copyctx()
68 PROV_DES_CTX *dctx = (PROV_DES_CTX *)ctx; in cipher_hw_des_cbc_cipher() local
69 DES_key_schedule *key = &(dctx->dks.ks); in cipher_hw_des_cbc_cipher()
71 if (dctx->dstream.cbc != NULL) { in cipher_hw_des_cbc_cipher()
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dhuf.h160 size_t HUF_decompress4X_DCtx (HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t…
161 size_t HUF_decompress4X_hufOnly(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size…
162 size_t HUF_decompress4X_hufOnly_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc,…
163 size_t HUF_decompress4X1_DCtx(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t…
164 size_t HUF_decompress4X1_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, s…
166 size_t HUF_decompress4X2_DCtx(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t…
167 size_t HUF_decompress4X2_DCtx_wksp(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, s…
307 size_t HUF_decompress1X_DCtx (HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t…
308 size_t HUF_decompress1X_DCtx_wksp (HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, s…
310 size_t HUF_decompress1X1_DCtx(HUF_DTable* dctx, void* dst, size_t dstSize, const void* cSrc, size_t…
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_DECODER_from_bio.pod52 OSSL_DECODER_CTX *dctx;
59 dctx = OSSL_DECODER_CTX_new_for_pkey(&pkey, format, structure,
63 if (dctx == NULL) {
67 OSSL_DECODER_CTX_set_passphrase(dctx, pass, strlen(pass));
68 if (OSSL_DECODER_from_bio(dctx, bio)) {
73 OSSL_DECODER_CTX_free(dctx);
77 OSSL_DECODER_CTX *dctx;
86 dctx = OSSL_DECODER_CTX_new_for_pkey(&pkey, format, structure,
91 if (dctx == NULL) {
95 OSSL_DECODER_CTX_set_passphrase(dctx, pass, strlen(pass));
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.h220 ZSTDLIB_API size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx);
227 ZSTDLIB_API size_t ZSTD_decompressDCtx(ZSTD_DCtx* dctx,
551 ZSTDLIB_API size_t ZSTD_DCtx_setParameter(ZSTD_DCtx* dctx, ZSTD_dParameter param, int value);
559 ZSTDLIB_API size_t ZSTD_DCtx_reset(ZSTD_DCtx* dctx, ZSTD_ResetDirective reset);
804 ZSTDLIB_API size_t ZSTD_decompress_usingDict(ZSTD_DCtx* dctx,
859 ZSTDLIB_API size_t ZSTD_decompress_usingDDict(ZSTD_DCtx* dctx,
973 ZSTDLIB_API size_t ZSTD_DCtx_loadDictionary(ZSTD_DCtx* dctx, const void* dict, size_t dictSize);
984 ZSTDLIB_API size_t ZSTD_DCtx_refDDict(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
1002 ZSTDLIB_API size_t ZSTD_DCtx_refPrefix(ZSTD_DCtx* dctx,
1011 ZSTDLIB_API size_t ZSTD_sizeof_DCtx(const ZSTD_DCtx* dctx);
[all …]
/freebsd/contrib/ntp/sntp/
H A Dmain.c63 struct dns_ctx * dctx; member
112 void queue_xmt(SOCKET sock, struct dns_ctx *dctx, sent_pkt *spkt,
452 struct dns_ctx * dctx; in sntp_name_resolved() local
463 dctx = context; in sntp_name_resolved()
469 dctx->name); in sntp_name_resolved()
473 dctx->name, gai_strerror(rescode)); in sntp_name_resolved()
475 TRACE(3, ("%s [%s]\n", dctx->name, in sntp_name_resolved()
516 if (dctx->flags & CTX_UCST) { in sntp_name_resolved()
518 spkt->dctx = dctx; in sntp_name_resolved()
537 queue_xmt(SOCKET sock,struct dns_ctx * dctx,sent_pkt * spkt,u_int xmt_delay) queue_xmt() argument
664 struct dns_ctx *dctx = xctx->spkt->dctx; xmt() local
[all...]

12345