Home
last modified time | relevance | path

Searched refs:des (Results 1 - 25 of 222) sorted by relevance

123456789

/third_party/node/test/parallel/
H A Dtest-v8-serdes.js44 const des = new v8.DefaultDeserializer(ser.releaseBuffer());
45 des.readHeader();
48 assert.deepStrictEqual(des.readValue(), obj);
88 const des = new v8.DefaultDeserializer(ser.releaseBuffer());
89 des._readHostObject = common.mustCall(() => {
90 const length = des.readUint32();
91 const buf = des.readRawBytes(length);
95 assert.deepStrictEqual(des.readUint64(), [1, 2]);
96 assert.strictEqual(des.readDouble(), -0.25);
100 des
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/string/
H A Dwmemset.c31 wchar_t des[index]; in wmemset_0100() local
32 wmemset(des, ch, count); in wmemset_0100()
34 if (des[i] != ch) { in wmemset_0100()
35 t_error("%s des[%d] is not C\n", __func__, i); in wmemset_0100()
50 wchar_t des[index]; in wmemset_0200() local
51 wmemset(des, ch, count); in wmemset_0200()
53 if (des[i] == ch) { in wmemset_0200()
54 t_error("%s des[%d] is not want C\n", __func__, i); in wmemset_0200()
69 wchar_t des[index]; in wmemset_0300() local
70 wmemset(des, c in wmemset_0300()
[all...]
H A Dwcscpy.c31 * @tc.desc : Copies the C wide string pointed by wcs into the array pointed by des
37 wchar_t des[BUFF_SIZE]; in wcscpy_0100() local
38 wcscpy(des, wcs); in wcscpy_0100()
39 if (wcscmp(wcs, des)) { in wcscpy_0100()
52 wchar_t des[] = L"wcscpy test"; in wcscpy_0200() local
53 wcscpy(des, wcs); in wcscpy_0200()
54 if (wcscmp(wcs, des)) { in wcscpy_0200()
55 t_error("%s des is not equal to wcs", __func__); in wcscpy_0200()
61 * @tc.desc : des is empty, the program is abnormal
/test/xts/acts/kernel_lite/futex_posix/src/
H A DFutexTest.cpp20 void ChildAssertEQ(int src, int des) in ChildAssertEQ() argument
22 if (src != des) { in ChildAssertEQ()
23 LOG("> src = %d, but des = %d", src, des); in ChildAssertEQ()
28 int ChildExpectEQ(int src, int des) in ChildExpectEQ() argument
30 if (src != des) { in ChildExpectEQ()
31 LOG("> src = %d, but des = %d", src, des); in ChildExpectEQ()
/third_party/curl/lib/
H A Dcurl_ntlm_core.c65 # include <openssl/des.h>
71 # include <wolfssl/openssl/des.h>
97 # include <nettle/des.h>
101 # include <mbedtls/des.h>
174 struct des_ctx *des) in setup_des_key()
185 des_set_key(des, (const uint8_t *) key); in setup_des_key()
331 struct des_ctx des; in Curl_ntlm_core_lm_resp()
332 setup_des_key(keys, &des); in Curl_ntlm_core_lm_resp()
333 des_encrypt(&des, 8, results, plaintext); in Curl_ntlm_core_lm_resp()
334 setup_des_key(keys + 7, &des); in Curl_ntlm_core_lm_resp()
173 setup_des_key(const unsigned char *key_56, struct des_ctx *des) setup_des_key() argument
381 struct des_ctx des; Curl_ntlm_core_mk_lm_hash() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm.c283 char *src, *des; in load_and_flush_by_kmap() local
291 des = (char *)data; in load_and_flush_by_kmap()
308 if (des) { in load_and_flush_by_kmap()
309 memcpy(des, src, len); in load_and_flush_by_kmap()
310 des += len; in load_and_flush_by_kmap()
383 char *src, *des; in hmm_store() local
428 des = (char *)kmap_local_page(bo->pages[idx]); in hmm_store()
430 if (!des) { in hmm_store()
437 des += offset; in hmm_store()
449 memcpy(des, sr in hmm_store()
466 char *des; hmm_set() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dcrypto_internal-cipher.c38 } des; member
91 des_key_setup(key, ctx->u.des.ek, ctx->u.des.dk); in crypto_cipher_init()
92 os_memcpy(ctx->u.des.cbc, iv, 8); in crypto_cipher_init()
151 des_block_encrypt(ctx->u.des.cbc, ctx->u.des.ek, in crypto_cipher_encrypt()
152 ctx->u.des.cbc); in crypto_cipher_encrypt()
153 os_memcpy(crypt, ctx->u.des.cbc, 8); in crypto_cipher_encrypt()
214 des_block_decrypt(crypt, ctx->u.des.dk, plain); in crypto_cipher_decrypt()
216 plain[j] ^= ctx->u.des in crypto_cipher_decrypt()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dcrypto_internal-cipher.c38 } des; member
91 des_key_setup(key, ctx->u.des.ek, ctx->u.des.dk); in crypto_cipher_init()
92 os_memcpy(ctx->u.des.cbc, iv, 8); in crypto_cipher_init()
151 des_block_encrypt(ctx->u.des.cbc, ctx->u.des.ek, in crypto_cipher_encrypt()
152 ctx->u.des.cbc); in crypto_cipher_encrypt()
153 os_memcpy(crypt, ctx->u.des.cbc, 8); in crypto_cipher_encrypt()
214 des_block_decrypt(crypt, ctx->u.des.dk, plain); in crypto_cipher_decrypt()
216 plain[j] ^= ctx->u.des in crypto_cipher_decrypt()
[all...]
/third_party/ffmpeg/libavformat/
H A Dasfcrypt.c25 #include "libavutil/des.h"
150 struct AVDES *des; in ff_asfcrypt_dec() local
164 des = av_des_alloc(); in ff_asfcrypt_dec()
166 if (!des || !rc4) { in ff_asfcrypt_dec()
167 av_freep(&des); in ff_asfcrypt_dec()
178 av_des_init(des, key + 12, 64, 1); in ff_asfcrypt_dec()
179 av_des_crypt(des, (uint8_t *)&packetkey, (uint8_t *)&packetkey, 1, NULL, 1); in ff_asfcrypt_dec()
195 av_free(des); in ff_asfcrypt_dec()
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_des.c132 CIPHER_DEFAULT_GETTABLE_CTX_PARAMS_START(des)
134 CIPHER_DEFAULT_GETTABLE_CTX_PARAMS_END(des)
193 IMPLEMENT_des_cipher(des, ecb, ECB, DES_FLAGS, 64, 64, 0, block);
195 IMPLEMENT_des_cipher(des, cbc, CBC, DES_FLAGS, 64, 64, 64, block);
197 IMPLEMENT_des_cipher(des, ofb64, OFB, DES_FLAGS, 64, 8, 64, stream);
199 IMPLEMENT_des_cipher(des, cfb64, CFB, DES_FLAGS, 64, 8, 64, stream);
201 IMPLEMENT_des_cipher(des, cfb1, CFB, DES_FLAGS, 64, 8, 64, stream);
203 IMPLEMENT_des_cipher(des, cfb8, CFB, DES_FLAGS, 64, 8, 64, stream);
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_des.c131 CIPHER_DEFAULT_GETTABLE_CTX_PARAMS_START(des)
133 CIPHER_DEFAULT_GETTABLE_CTX_PARAMS_END(des)
192 IMPLEMENT_des_cipher(des, ecb, ECB, DES_FLAGS, 64, 64, 0, block);
194 IMPLEMENT_des_cipher(des, cbc, CBC, DES_FLAGS, 64, 64, 64, block);
196 IMPLEMENT_des_cipher(des, ofb64, OFB, DES_FLAGS, 64, 8, 64, stream);
198 IMPLEMENT_des_cipher(des, cfb64, CFB, DES_FLAGS, 64, 8, 64, stream);
200 IMPLEMENT_des_cipher(des, cfb1, CFB, DES_FLAGS, 64, 8, 64, stream);
202 IMPLEMENT_des_cipher(des, cfb8, CFB, DES_FLAGS, 64, 8, 64, stream);
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm.c340 char *src, *des; in load_and_flush_by_kmap() local
348 des = (char *)data; in load_and_flush_by_kmap()
365 if (des) { in load_and_flush_by_kmap()
366 memcpy(des, src, len); in load_and_flush_by_kmap()
367 des += len; in load_and_flush_by_kmap()
440 char *src, *des; in hmm_store() local
486 des = (char *)kmap_atomic(bo->page_obj[idx].page); in hmm_store()
488 des = (char *)kmap(bo->page_obj[idx].page); in hmm_store()
490 if (!des) { in hmm_store()
497 des in hmm_store()
533 char *des; hmm_set() local
[all...]
/third_party/lwip/src/netif/ppp/
H A Dchap_ms.c500 lwip_des_context des; in ChallengeResponse() local
512 lwip_des_init(&des); in ChallengeResponse()
513 lwip_des_setkey_enc(&des, des_key); in ChallengeResponse()
514 lwip_des_crypt_ecb(&des, challenge, response +0); in ChallengeResponse()
515 lwip_des_free(&des); in ChallengeResponse()
518 lwip_des_init(&des); in ChallengeResponse()
519 lwip_des_setkey_enc(&des, des_key); in ChallengeResponse()
520 lwip_des_crypt_ecb(&des, challenge, response +8); in ChallengeResponse()
521 lwip_des_free(&des); in ChallengeResponse()
524 lwip_des_init(&des); in ChallengeResponse()
617 lwip_des_context des; ChapMS_LANMan() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/socketpair/
H A Dsocketpair02.c31 char *des; member
54 tc->des, i); in verify_socketpair()
60 tc->des, i); in verify_socketpair()
65 tst_res(TPASS, "socketpair() passed to set %s flag", tc->des); in verify_socketpair()
/third_party/ltp/testcases/kernel/syscalls/socket/
H A Dsocket02.c28 char *des; member
48 tst_res(TFAIL, "socket() failed to set %s flag", tc->des); in verify_socket()
53 tst_res(TFAIL, "socket() failed to set %s flag", tc->des); in verify_socket()
57 tst_res(TPASS, "socket() passed to set %s flag", tc->des); in verify_socket()
/third_party/ffmpeg/tools/
H A Dcrypto_bench.c82 #include "libavutil/des.h"
156 static struct AVDES *des; in run_lavu_des() local
157 if (!des && !(des = av_des_alloc())) in run_lavu_des()
159 av_des_init(des, hardcoded_key, 64, 0); in run_lavu_des()
160 av_des_crypt(des, output, input, size >> 3, NULL, 0); in run_lavu_des()
207 #include <openssl/des.h>
272 DES_key_schedule des; in run_crypto_des() local
275 DES_set_key(hardcoded_key, &des); in run_crypto_des()
277 DES_ecb_encrypt(input + i, output + i, &des, in run_crypto_des()
411 mbedtls_des_context des; run_mbedcrypto_des() local
523 symmetric_key des; run_tomcrypt_des() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl31.c56 static void check_io_signal(char *des);
57 static void test_set_and_get_sig(int sig, char *des);
250 static void test_set_and_get_sig(int sig, char *des) in test_set_and_get_sig() argument
280 check_io_signal(des); in test_set_and_get_sig()
322 static void check_io_signal(char *des) in check_io_signal() argument
344 tst_resm(TPASS, "fcntl test %s success", des); in check_io_signal()
348 "%s failed", des); in check_io_signal()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
H A Dhal_com_h2c.h100 #define cpMacAddr(des, src) ((des)[0] = (src)[0], (des)[1] = (src)[1], (des)[2] = (src)[2], (des)[3] = (src)[3], (des)[4] = (src)[4], (des)[5] = (src)[5])
101 #define cpIpAddr(des, src) ((des)[0] = (src)[0], (des)[
[all...]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dacpiphp_ibm.c123 union apci_descriptor *ret = NULL, *des; in ibm_slot_from_id() local
129 des = (union apci_descriptor *)table; in ibm_slot_from_id()
130 if (memcmp(des->header.sig, "aPCI", 4) != 0) in ibm_slot_from_id()
133 des = (union apci_descriptor *)&table[ind += des->header.len]; in ibm_slot_from_id()
134 while (ind < size && (des->generic.type != 0x82 || in ibm_slot_from_id()
135 des->slot.slot_num != id)) { in ibm_slot_from_id()
136 des = (union apci_descriptor *)&table[ind += des->generic.len]; in ibm_slot_from_id()
139 if (ind < size && des in ibm_slot_from_id()
[all...]
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A Dacpiphp_ibm.c123 union apci_descriptor *ret = NULL, *des; in ibm_slot_from_id() local
129 des = (union apci_descriptor *)table; in ibm_slot_from_id()
130 if (memcmp(des->header.sig, "aPCI", 4) != 0) in ibm_slot_from_id()
133 des = (union apci_descriptor *)&table[ind += des->header.len]; in ibm_slot_from_id()
134 while (ind < size && (des->generic.type != 0x82 || in ibm_slot_from_id()
135 des->slot.slot_num != id)) { in ibm_slot_from_id()
136 des = (union apci_descriptor *)&table[ind += des->generic.len]; in ibm_slot_from_id()
139 if (ind < size && des in ibm_slot_from_id()
[all...]
/third_party/node/src/
H A Dnode_serdes.cc488 Local<FunctionTemplate> des = in Initialize() local
491 des->InstanceTemplate()->SetInternalFieldCount( in Initialize()
493 des->Inherit(BaseObject::GetConstructorTemplate(env)); in Initialize()
495 SetProtoMethod(isolate, des, "readHeader", DeserializerContext::ReadHeader); in Initialize()
496 SetProtoMethod(isolate, des, "readValue", DeserializerContext::ReadValue); in Initialize()
498 des, in Initialize()
502 des, in Initialize()
505 SetProtoMethod(isolate, des, "readUint32", DeserializerContext::ReadUint32); in Initialize()
506 SetProtoMethod(isolate, des, "readUint64", DeserializerContext::ReadUint64); in Initialize()
507 SetProtoMethod(isolate, des, "readDoubl in Initialize()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
H A Drx.c207 u32 pkt_offset, des; in wlcore_rx() local
223 des = le32_to_cpu(status->rx_pkt_descs[rx_counter]); in wlcore_rx()
224 pkt_len = wlcore_rx_get_buf_size(wl, des); in wlcore_rx()
240 des = le32_to_cpu(status->rx_pkt_descs[drv_rx_counter]); in wlcore_rx()
241 ret = wlcore_hw_prepare_read(wl, des, buf_size); in wlcore_rx()
253 des = le32_to_cpu(status->rx_pkt_descs[drv_rx_counter]); in wlcore_rx()
254 pkt_len = wlcore_rx_get_buf_size(wl, des); in wlcore_rx()
255 rx_align = wlcore_hw_get_rx_buf_align(wl, des); in wlcore_rx()
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/
H A Drx.c207 u32 pkt_offset, des; in wlcore_rx() local
223 des = le32_to_cpu(status->rx_pkt_descs[rx_counter]); in wlcore_rx()
224 pkt_len = wlcore_rx_get_buf_size(wl, des); in wlcore_rx()
240 des = le32_to_cpu(status->rx_pkt_descs[drv_rx_counter]); in wlcore_rx()
241 ret = wlcore_hw_prepare_read(wl, des, buf_size); in wlcore_rx()
253 des = le32_to_cpu(status->rx_pkt_descs[drv_rx_counter]); in wlcore_rx()
254 pkt_len = wlcore_rx_get_buf_size(wl, des); in wlcore_rx()
255 rx_align = wlcore_hw_get_rx_buf_align(wl, des); in wlcore_rx()
/test/testfwk/xdevice/plugins/devicetest/utils/
H A Dfile_util.py270 def copy_to_folder(src, des):
274 des = os.path.normpath(des)
278 if not os.path.exists(des):
279 create_dir(des)
280 if not os.path.isdir(des):
281 log.error("[%s] is not a folder." % des)
285 shutil.copy(src, des)
289 for src_file in os.listdir(des)]
292 shutil.copy(source, des)
[all...]
/third_party/ltp/testcases/kernel/syscalls/quotactl/
H A Dquotactl04.c59 char *des; member
139 "do_quotactl to %s", tc->des); in verify_quota()
144 tst_res(TFAIL, "quotactl failed to %s", tc->des); in verify_quota()
150 tst_res(TPASS, "quotactl succeeded to %s", tc->des); in verify_quota()

Completed in 12 milliseconds

123456789