Home
last modified time | relevance | path

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

1234

/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...]
/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);
/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/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/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/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()
/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...]
/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/NuttX/drivers/usbdev/gadget/
H A Df_dfu.c166 void set_manufacturer_string(struct string_des *des) in set_manufacturer_string() argument
172 if (des == NULL) in set_manufacturer_string()
178 if (des->str == NULL || des->len <= 0) in set_manufacturer_string()
180 usb_err("%s failed, des->str is NULL or des->len is 0\n", __FUNCTION__); in set_manufacturer_string()
184 str_des = des; in set_manufacturer_string()
202 void set_serial_number_string(struct string_des *des) in set_serial_number_string() argument
208 if (des == NULL) in set_serial_number_string()
214 if (des in set_serial_number_string()
238 set_product_string(struct string_des *des) set_product_string() argument
[all...]
H A Df_hid.c777 uint8_t *des; in linkg_fhid_descriptors() local
797 des = memalign(64, SKB_DATA_ALIGN(ds)); in linkg_fhid_descriptors()
798 if (des == NULL) in linkg_fhid_descriptors()
803 (void)memset_s((void *)des, SKB_DATA_ALIGN(ds), 0, SKB_DATA_ALIGN(ds)); in linkg_fhid_descriptors()
805 pdes = des; in linkg_fhid_descriptors()
819 free(des); in linkg_fhid_descriptors()
825 return des; in linkg_fhid_descriptors()
841 uint8_t *des; in hid_mkcfgdesc() local
848 des = linkg_fhid_descriptors(NULL, 0, &total_len); in hid_mkcfgdesc()
849 if (des ! in hid_mkcfgdesc()
[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()
H A Dquotactl05.c32 char *des; member
102 tc->func_check(tc->check_subcmd, tc->des, *(int *)(tc->addr)); in verify_quota()
104 tc->func_check(tc->check_subcmd, tc->des); in verify_quota()
/third_party/protobuf/python/google/protobuf/internal/
H A Dkeywords_test.py52 des = self.pool.FindMessageTypeByName('google.protobuf.internal.class')
53 self.assertEqual(des.name, 'class')
59 des = self.pool.FindMessageTypeByName('google.protobuf.internal.class.try')
60 self.assertEqual(des.name, 'try')
/third_party/cups-filters/backend/
H A Dieee1284.c396 *des; /* Description string */ in backendGetMakeModel() local
454 else if ((des = cupsGetOption("DESCRIPTION", num_values, values)) != NULL || in backendGetMakeModel()
455 (des = cupsGetOption("DES", num_values, values)) != NULL) in backendGetMakeModel()
466 if (strlen(des) >= 8) in backendGetMakeModel()
473 for (ptr = des, letters = 0, spaces = 0; *ptr; ptr ++) in backendGetMakeModel()
485 normalize_make_and_model(des, make_model, make_model_size); in backendGetMakeModel()
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/entry/src/main/js/ServiceAbility1/
H A Dservice.js22 constructor(des) {
23 console.info('ACTS_SerivceAbilityServer ====< des = ' + des);
24 if (typeof des === 'string') {
26 super(des);
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/entry/src/main/js/ServiceAbility2/
H A Dservice.js22 constructor(des) {
23 console.info('ACTS_SerivceAbilityServerSecond ====< des = ' + des);
24 if (typeof des === 'string') {
26 super(des);

Completed in 12 milliseconds

1234