Home
last modified time | relevance | path

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

12345678910>>...12

/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dbundle_info_utils.cpp45 void BundleInfoUtils::CopyBundleInfo(int32_t flags, BundleInfo *des, BundleInfo src) in CopyBundleInfo() argument
47 if (des == nullptr) { in CopyBundleInfo()
51 SetBundleInfoBundleName(des, src.bundleName); in CopyBundleInfo()
52 SetBundleInfoLabel(des, src.label); in CopyBundleInfo()
53 SetBundleInfoVersionName(des, src.versionName); in CopyBundleInfo()
54 SetBundleInfoBigIconPath(des, src.bigIconPath); in CopyBundleInfo()
55 SetBundleInfoCodePath(des, src.codePath); in CopyBundleInfo()
56 SetBundleInfoDataPath(des, src.dataPath); in CopyBundleInfo()
57 SetBundleInfoVendor(des, src.vendor); in CopyBundleInfo()
58 SetBundleInfoModuleInfos(des, sr in CopyBundleInfo()
87 CopyBundleInfoNoReplication(int32_t flags, BundleInfo *des, BundleInfo src) CopyBundleInfoNoReplication() argument
[all...]
H A Dability_info_utils.cpp21 void AbilityInfoUtils::CopyAbilityInfo(AbilityInfo *des, AbilityInfo src) in CopyAbilityInfo() argument
23 if (des == nullptr) { in CopyAbilityInfo()
27 SetAbilityInfoBundleName(des, src.bundleName); in CopyAbilityInfo()
29 des->isVisible = src.isVisible; in CopyAbilityInfo()
30 des->abilityType = src.abilityType; in CopyAbilityInfo()
31 des->launchMode = src.launchMode; in CopyAbilityInfo()
32 SetAbilityInfoModuleName(des, src.moduleName); in CopyAbilityInfo()
33 SetAbilityInfoName(des, src.name); in CopyAbilityInfo()
34 SetAbilityInfoDescription(des, src.description); in CopyAbilityInfo()
35 SetAbilityInfoIconPath(des, sr in CopyAbilityInfo()
46 CopyBundleProfileToAbilityInfo(AbilityInfo *des, const BundleProfile &src) CopyBundleProfileToAbilityInfo() argument
[all...]
H A Dmodule_info_utils.cpp21 void ModuleInfoUtils::CopyModuleInfo(ModuleInfo *des, ModuleInfo src) in CopyModuleInfo() argument
23 if (des == nullptr) { in CopyModuleInfo()
26 SetModuleInfoModuleName(des, src.moduleName); in CopyModuleInfo()
28 SetModuleInfoName(des, src.name); in CopyModuleInfo()
29 SetModuleInfoDescription(des, src.description); in CopyModuleInfo()
30 SetModuleInfoModuleType(des, src.moduleType); in CopyModuleInfo()
31 SetModuleInfoDeviceType(des, src.deviceType, DEVICE_TYPE_SIZE); in CopyModuleInfo()
32 des->isDeliveryInstall = src.isDeliveryInstall; in CopyModuleInfo()
34 SetModuleInfoMetaData(des, src.metaData, METADATA_SIZE); in CopyModuleInfo()
/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
/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...]
/base/hiviewdfx/hiview/plugins/sysevent_source/test/fuzztest/common/eventserversocket_fuzzer/
H A Deventserversocket_fuzzer.cpp37 uint8_t* des = reinterpret_cast<uint8_t*>(malloc(desLen)); in ConverRawData() local
38 if (des == nullptr) { in ConverRawData()
42 if (memcpy_s(des, desLen, source, sourceHeaderLen) != EOK) { in ConverRawData()
43 free(des); in ConverRawData()
46 *(reinterpret_cast<uint8_t*>(des + sourceHeaderLen)) = 0; // init header.log flag in ConverRawData()
48 if (memcpy_s(des + desPos, desLen - desPos, source + sourceHeaderLen, sourceLen - sourceHeaderLen) != EOK) { in ConverRawData()
49 free(des); in ConverRawData()
52 *(reinterpret_cast<int32_t*>(des)) = desLen; in ConverRawData()
53 auto rawData = std::make_shared<EventRaw::RawData>(des, desLen); in ConverRawData()
54 free(des); in ConverRawData()
[all...]
/drivers/peripheral/usb/ddk/device/src/
H A Dusbfn_sdk_if.c34 static int32_t IsDescriptorOk(struct UsbFnDeviceDesc *des) in IsDescriptorOk() argument
39 if (des == NULL) { in IsDescriptorOk()
40 HDF_LOGE("%{public}s: des null", __func__); in IsDescriptorOk()
43 if (des->deviceDesc == NULL || des->deviceStrings == NULL || des->configs == NULL) { in IsDescriptorOk()
48 strings = des->deviceStrings; in IsDescriptorOk()
54 for (i = 0; des->configs[i] != NULL; i++) { in IsDescriptorOk()
55 for (j = 0; des->configs[i]->functions[j] != NULL; j++) { in IsDescriptorOk()
56 functions = des in IsDescriptorOk()
94 UsbFnChangeFunction(struct UsbFnDeviceDesc * const des, struct UsbFnDescriptorData * const descriptor) UsbFnChangeFunction() argument
113 struct UsbFnDeviceDesc *des = NULL; UsbFnCreateDevice() local
[all...]
H A Dusbfn_dev_mgr.c63 static void CreateInterface(struct UsbFnDeviceDesc *des, struct UsbFnDeviceMgr *devMgr) in CreateInterface() argument
71 for (uint32_t i = 0; des->configs[i] != NULL; i++) { in CreateInterface()
72 for (uint32_t j = 0; des->configs[i]->functions[j] != NULL; j++) { in CreateInterface()
73 if (strncmp(des->configs[i]->functions[j]->funcName, FUNCTION_GENERIC, strlen(FUNCTION_GENERIC))) { in CreateInterface()
76 if (des->configs[i]->functions[j]->enable == false) { in CreateInterface()
82 des->configs[i]->functions[j]->funcName); in CreateInterface()
88 for (uint32_t k = 0; des->configs[i]->functions[j]->fsDescriptors[k] != NULL; k++) { in CreateInterface()
89 intf = (struct UsbInterfaceDescriptor *)des->configs[i]->functions[j]->fsDescriptors[k]; in CreateInterface()
90 GetInterfaceInfo(intf, devMgr, fnCnt, des->configs[i]); in CreateInterface()
126 static int32_t CreatDev(const char *udcName, struct UsbFnDeviceDesc *des, struc argument
167 AllocInterfaceAndFuncMgr(struct UsbFnDeviceMgr *fnDevMgr, struct UsbFnDeviceDesc *des) AllocInterfaceAndFuncMgr() argument
203 UsbFnMgrDeviceCreate( const char *udcName, struct UsbFnDeviceDesc *des, const struct DeviceResourceNode *node) UsbFnMgrDeviceCreate() argument
[all...]
/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...]
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/unittest/
H A Dledger_lane_hub_test.cpp200 char des[LOCAL_MAX_SIZE] = {0}; in GetCommonLocalInfo() local
201 ret = LnnGetLocalStrInfo(STRING_KEY_DEV_UDID, des, LOCAL_MAX_SIZE); in GetCommonLocalInfo()
202 EXPECT_TRUE((ret == SOFTBUS_OK) && (strcmp(des, LOCAL_UDID) == 0)); in GetCommonLocalInfo()
203 ret = LnnGetLocalStrInfo(STRING_KEY_NETWORKID, des, LOCAL_MAX_SIZE); in GetCommonLocalInfo()
204 EXPECT_TRUE((ret == SOFTBUS_OK) && (strcmp(des, LOCAL_NETWORKID) == 0)); in GetCommonLocalInfo()
205 ret = LnnGetLocalStrInfo(STRING_KEY_UUID, des, LOCAL_MAX_SIZE); in GetCommonLocalInfo()
206 EXPECT_TRUE((ret == SOFTBUS_OK) && (strcmp(des, LOCAL_UUID) == 0)); in GetCommonLocalInfo()
207 ret = LnnGetLocalStrInfo(STRING_KEY_DEV_TYPE, des, LOCAL_MAX_SIZE); in GetCommonLocalInfo()
208 EXPECT_TRUE((ret == SOFTBUS_OK) && (strcmp(des, LOCAL_DEVTYPE) == 0)); in GetCommonLocalInfo()
209 ret = LnnGetLocalStrInfo(STRING_KEY_DEV_NAME, des, LOCAL_MAX_SIZ in GetCommonLocalInfo()
216 char des[LOCAL_MAX_SIZE] = {0}; GetBTLocalInfo() local
444 char des[LOCAL_MAX_SIZE] = {0}; HWTEST_F() 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...]
/drivers/hdf_core/framework/support/platform/src/hdmi/
H A Dhdmi_infoframe.c254 struct HdmiStaticMetadataDescriptor1st *des = &(drm->des.type1); in HdmiInfoFramePacketDrmEncoding() local
273 buff[UINT8_ARRAY_TELEMENT_2] = (uint8_t)(des->displayPrimaries0X & HDMI_DRM_METADATA_MARK); in HdmiInfoFramePacketDrmEncoding()
275 buff[UINT8_ARRAY_TELEMENT_3] = (uint8_t)((des->displayPrimaries0X >> HDMI_DRM_METADATA_SHIFT) & in HdmiInfoFramePacketDrmEncoding()
278 buff[UINT8_ARRAY_TELEMENT_4] = (uint8_t)(des->displayPrimaries0Y & HDMI_DRM_METADATA_MARK); in HdmiInfoFramePacketDrmEncoding()
280 buff[UINT8_ARRAY_TELEMENT_5] = (uint8_t)((des->displayPrimaries0Y & HDMI_DRM_METADATA_MARK) & in HdmiInfoFramePacketDrmEncoding()
283 buff[UINT8_ARRAY_TELEMENT_6] = (uint8_t)(des->displayPrimaries1X & HDMI_DRM_METADATA_MARK); in HdmiInfoFramePacketDrmEncoding()
285 buff[UINT8_ARRAY_TELEMENT_7] = (uint8_t)((des->displayPrimaries1X & HDMI_DRM_METADATA_MARK) & in HdmiInfoFramePacketDrmEncoding()
288 buff[UINT8_ARRAY_TELEMENT_8] = (uint8_t)(des->displayPrimaries1Y & HDMI_DRM_METADATA_MARK); in HdmiInfoFramePacketDrmEncoding()
290 buff[UINT8_ARRAY_TELEMENT_9] = (uint8_t)((des in HdmiInfoFramePacketDrmEncoding()
[all...]
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_policy_client_stub_impl_test/src/
H A Daudio_policy_client_stub_impl_test.cpp116 std::vector<sptr<AudioDeviceDescriptor>> des; in HWTEST() local
118 des.push_back(vec.get()); in HWTEST()
120 DeviceFilterByFlag(DeviceFlag::ALL_DEVICES_FLAG, des); in HWTEST()
132 std::vector<sptr<AudioDeviceDescriptor>> des; in HWTEST() local
134 des.push_back(vec.get()); in HWTEST()
136 DeviceFilterByFlag(DeviceFlag::ALL_DISTRIBUTED_DEVICES_FLAG, des); in HWTEST()
148 std::vector<sptr<AudioDeviceDescriptor>> des; in HWTEST() local
150 DeviceFilterByFlag(DeviceFlag::ALL_L_D_DEVICES_FLAG, des); in HWTEST()
162 std::vector<sptr<AudioDeviceDescriptor>> des; in HWTEST() local
164 DeviceFilterByFlag(DeviceFlag::OUTPUT_DEVICES_FLAG, des); in HWTEST()
176 std::vector<sptr<AudioDeviceDescriptor>> des; HWTEST() local
192 std::vector<sptr<AudioDeviceDescriptor>> des; HWTEST() local
206 std::vector<sptr<AudioDeviceDescriptor>> des; HWTEST() local
222 std::vector<sptr<AudioDeviceDescriptor>> des; HWTEST() 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/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()
/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...]
/base/telephony/cellular_data/test/
H A Dsim_account_callback_proxy_test.cpp34 std::u16string des = SimAccountCallbackProxy::GetDescriptor(); in HWTEST_F() local
35 std::cout << "SimAccountCallbackProxy_01 Descriptor " << des.c_str() << std::endl; in HWTEST_F()
38 ASSERT_FALSE(des.length() == 0); in HWTEST_F()
/foundation/multimedia/av_session/frameworks/native/session/test/unittest/
H A Davsession_dumper_test.cpp483 AudioStandard::AudioDeviceDescriptor des; in HWTEST_F() local
484 castAudioDescriptors.push_back(des); in HWTEST_F()
502 sptr<AudioStandard::AudioDeviceDescriptor> des = new AudioStandard::AudioDeviceDescriptor(); in HWTEST_F() local
504 des->deviceId_ = 12; in HWTEST_F()
505 castAudioDescriptors.push_back(des); in HWTEST_F()
519 sptr<AudioStandard::AudioDeviceDescriptor> des = new AudioStandard::AudioDeviceDescriptor(); in HWTEST_F() local
521 des->deviceId_ = 11; in HWTEST_F()
522 castAudioDescriptors.push_back(des); in HWTEST_F()
535 AudioStandard::AudioDeviceDescriptor des; in HWTEST_F() local
536 EXPECT_EQ(avSessionService_->SelectOutputDevice(1, des), AVSESSION_ERRO in HWTEST_F()
548 AudioStandard::AudioDeviceDescriptor des; HWTEST_F() local
[all...]

Completed in 13 milliseconds

12345678910>>...12