Home
last modified time | relevance | path

Searched refs:tmp (Results 1 - 25 of 230) sorted by relevance

12345678910

/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/
H A Dlog_ioctl.cpp83 char* tmp = new (std::nothrow) char[msgSize]; in ReceiveProcTagStats() local
84 if (tmp == nullptr) { in ReceiveProcTagStats()
88 if (memset_s(tmp, msgSize, 0, msgSize) != 0) { in ReceiveProcTagStats()
89 delete []tmp; in ReceiveProcTagStats()
90 tmp = nullptr; in ReceiveProcTagStats()
93 if (GetRsp(tmp, msgSize) != RET_SUCCESS) { in ReceiveProcTagStats()
95 delete []tmp; in ReceiveProcTagStats()
96 tmp = nullptr; in ReceiveProcTagStats()
99 pStats.tStats = reinterpret_cast<TagStatsRsp*>(tmp); in ReceiveProcTagStats()
113 char* tmp in ReceiveProcLogTypeStats() local
143 char* tmp = new (std::nothrow) char[msgSize]; ReceiveProcStats() local
176 char* tmp = new (std::nothrow) char[msgSize]; ReceiveDomainTagStats() local
207 char* tmp = new (std::nothrow) char[msgSize]; ReceiveDomainStats() local
237 char* tmp = new (std::nothrow) char[msgSize]; ReceiveLogTypeDomainStats() local
[all...]
/base/security/certificate_framework/frameworks/core/param/src/
H A Dcf_param_parse.c27 CfParamSet *tmp = NULL; in CfConstructParamSetOut() local
28 int32_t ret = CfInitParamSet(&tmp); in CfConstructParamSetOut()
34 ret = CfAddParams(tmp, params, cnt); in CfConstructParamSetOut()
37 CfFreeParamSet(&tmp); in CfConstructParamSetOut()
41 ret = CfBuildParamSet(&tmp); in CfConstructParamSetOut()
44 CfFreeParamSet(&tmp); in CfConstructParamSetOut()
48 *out = tmp; in CfConstructParamSetOut()
54 CfParamSet *tmp = NULL; in CfConstructArrayParamSetOut() local
57 ret = CfInitParamSet(&tmp); in CfConstructArrayParamSetOut()
64 ret = CfAddParams(tmp, in CfConstructArrayParamSetOut()
[all...]
/base/security/certificate_framework/frameworks/core/life/
H A Dcf_api.c41 CfLifeCtx *tmp = (CfLifeCtx *)object; in CfLifeGet() local
42 int32_t ret = tmp->func.get(tmp->base, in, out); in CfLifeGet()
53 CfLifeCtx *tmp = (CfLifeCtx *)object; in CfLifeCheck() local
54 int32_t ret = tmp->func.check(tmp->base, in, out); in CfLifeCheck()
65 CfLifeCtx *tmp = (CfLifeCtx *)*object; in CfLifeDestroy() local
66 tmp->func.destroy(&tmp->base); in CfLifeDestroy()
67 CfFree(tmp); in CfLifeDestroy()
85 CfLifeCtx *tmp = CfMalloc(sizeof(CfLifeCtx), 0); CfCreate() local
[all...]
/base/security/certificate_framework/frameworks/core/cert/src/
H A Dcf_object_cert.c50 CfCertObjStruct *tmp = CfMalloc(sizeof(CfCertObjStruct), 0); in CfCertCreate() local
51 if (tmp == NULL) { in CfCertCreate()
55 tmp->base.type = CF_MAGIC(CF_MAGIC_TYPE_OBJ_RESOURCE, CF_OBJ_TYPE_CERT); in CfCertCreate()
57 int32_t ret = func->adapterCreate(in, &tmp->adapterRes); in CfCertCreate()
60 CfFree(tmp); in CfCertCreate()
63 (void)memcpy_s(&tmp->func, sizeof(CfCertAdapterAbilityFunc), func, sizeof(CfCertAdapterAbilityFunc)); in CfCertCreate()
65 *obj = &(tmp->base); in CfCertCreate()
102 CfCertObjStruct *tmp = (CfCertObjStruct *)obj; in CfCertGet() local
103 if (tmp->base.type != CF_MAGIC(CF_MAGIC_TYPE_OBJ_RESOURCE, CF_OBJ_TYPE_CERT)) { in CfCertGet()
117 return CfCertGetItem(tmp, i in CfCertGet()
131 CfCertObjStruct *tmp = (CfCertObjStruct *)obj; CfCertCheck() local
146 CfCertObjStruct *tmp = (CfCertObjStruct *)*obj; CfCertDestroy() local
[all...]
/base/security/crypto_framework/common/src/
H A Dobject_base.c22 HcfObjectBase *tmp = (HcfObjectBase *)obj; in HcfObjDestroy() local
23 if (tmp != NULL && tmp->destroy != NULL) { in HcfObjDestroy()
24 tmp->destroy(tmp); in HcfObjDestroy()
/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_common_cov_test.cpp80 EVP_MD *tmp = nullptr; in HWTEST_F() local
81 HcfResult ret = GetOpensslDigestAlg(HCF_OPENSSL_DIGEST_NONE, &tmp); in HWTEST_F()
83 EXPECT_EQ(tmp, nullptr); in HWTEST_F()
178 HcfBigInteger tmp = { .data = nullptr, .len = 0 }; in HWTEST_F() local
179 HcfResult ret = BigIntegerToBigNum(&tmp, nullptr); in HWTEST_F()
232 HcParcel tmp = CreateParcel(0, 0); in HWTEST_F() local
233 EXPECT_EQ(tmp.data, nullptr); in HWTEST_F()
235 DeleteParcel(&tmp); in HWTEST_F()
240 HcParcel *tmp = nullptr; in HWTEST_F() local
241 DeleteParcel(tmp); in HWTEST_F()
253 HcParcel tmp = CreateParcel(0, 0); HWTEST_F() local
275 HcParcel tmp = CreateParcel(0, 0); HWTEST_F() local
284 HcParcel tmp = CreateParcel(0, 0); HWTEST_F() local
294 HcParcel tmp = CreateParcel(0, 0); HWTEST_F() local
305 HcParcel tmp = CreateParcel(PARCEL_DEFAULT_SIZE, PARCEL_DEFAULT_SIZE); HWTEST_F() local
316 HcParcel tmp = CreateParcel(PARCEL_DEFAULT_SIZE, PARCEL_DEFAULT_SIZE); HWTEST_F() local
335 const char *tmp = g_paramStr; HWTEST_F() local
348 const char *tmp = g_paramStr; HWTEST_F() local
355 const char *tmp = g_paramStr; HWTEST_F() local
364 HcString tmp = CreateString(); HWTEST_F() local
390 HcString tmp = CreateString(); HWTEST_F() local
398 HcString tmp = CreateString(); HWTEST_F() local
425 HcString tmp = CreateString(); HWTEST_F() local
433 HcString tmp = CreateString(); HWTEST_F() local
443 HcString tmp = CreateString(); HWTEST_F() local
457 HcString tmp = CreateString(); HWTEST_F() local
[all...]
/base/security/security_guard/frameworks/common/utils/src/
H A Dsecurity_guard_utils.cpp34 unsigned long long tmp = 0; in StrToU32() local
35 bool isOK = StrToULL(str, tmp); in StrToU32()
36 value = static_cast<uint32_t>(tmp); in StrToU32()
37 return isOK && (tmp <= UINT32_MAX); in StrToU32()
42 long long tmp = 0; in StrToI64() local
43 bool isOK = StrToLL(str, tmp, DEC_RADIX); in StrToI64()
44 value = tmp; in StrToI64()
45 return isOK && (tmp >= INT64_MIN && tmp <= INT64_MAX); in StrToI64()
50 long long tmp in StrToI64Hex() local
[all...]
/base/security/certificate_framework/frameworks/core/extension/src/
H A Dcf_object_extension.c50 CfExtensionObjStruct *tmp = CfMalloc(sizeof(CfExtensionObjStruct), 0); in CfExtensionCreate() local
51 if (tmp == NULL) { in CfExtensionCreate()
56 tmp->base.type = CF_MAGIC(CF_MAGIC_TYPE_OBJ_RESOURCE, CF_OBJ_TYPE_EXTENSION); in CfExtensionCreate()
57 int32_t ret = func->adapterCreate(in, &tmp->adapterRes); in CfExtensionCreate()
60 CfFree(tmp); in CfExtensionCreate()
63 (void)memcpy_s(&tmp->func, sizeof(CfExtensionAdapterAbilityFunc), func, sizeof(CfExtensionAdapterAbilityFunc)); in CfExtensionCreate()
65 *obj = &(tmp->base); in CfExtensionCreate()
155 CfExtensionObjStruct *tmp = (CfExtensionObjStruct *)obj; in CfExtensionGet() local
156 if (tmp->base.type != CF_MAGIC(CF_MAGIC_TYPE_OBJ_RESOURCE, CF_OBJ_TYPE_EXTENSION)) { in CfExtensionGet()
170 return CfExtGetItem(tmp, i in CfExtensionGet()
188 CfExtensionObjStruct *tmp = (CfExtensionObjStruct *)obj; CfExtensionCheck() local
238 CfExtensionObjStruct *tmp = (CfExtensionObjStruct *)*obj; CfExtensionDestroy() local
[all...]
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dresource_manager_test_media.cpp75 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); in HWTEST_F() local
76 rmc->TestGetMediaById(tmp); in HWTEST_F()
77 delete tmp; in HWTEST_F()
104 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); in HWTEST_F() local
105 rmc->TestGetMediaWithDensityById(tmp); in HWTEST_F()
106 delete tmp; in HWTEST_F()
118 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); in HWTEST_F() local
119 tmp->Init(rmc->defaultResConfig); in HWTEST_F()
120 std::string res = tmp->GetResourcePath(); in HWTEST_F()
142 delete tmp; in HWTEST_F()
154 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
190 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
226 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
262 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
346 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
382 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
418 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
454 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
490 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
526 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
562 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
601 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
640 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
679 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
718 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
757 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
842 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
871 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
885 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
919 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
953 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
987 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1021 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1100 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1134 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1168 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1202 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1236 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1270 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1304 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1341 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1378 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1415 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1452 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
1489 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); HWTEST_F() local
[all...]
H A Dresource_manager_test_common.h119 void TestGetProfileById(HapResource *tmp);
121 void TestGetProfileByName(HapResource *tmp);
123 void TestGetMediaWithDensityById(HapResource *tmp);
125 void TestGetMediaById(HapResource *tmp);
127 void TestGetMediaWithDensityByName(HapResource *tmp);
129 void TestGetMediaByName(HapResource *tmp);
131 void TestGetDrawableInfoWithDensityById(HapResource *tmp);
133 void TestGetDrawableInfoById(HapResource *tmp);
135 void TestGetDrawableInfoWithDensityByName(HapResource *tmp);
137 void TestGetDrawableInfoByName(HapResource *tmp);
[all...]
/base/powermgr/power_manager/test/unittest/src/
H A Dpower_parsesources_mock_test.cpp75 std::vector<std::string> tmp; in HWTEST_F() local
78 tmp = sources3->getSourceKeys(); in HWTEST_F()
79 EXPECT_TRUE(tmp.size() != 0); in HWTEST_F()
81 tmp = sources4->getSourceKeys(); in HWTEST_F()
82 EXPECT_TRUE(tmp.size() != 0); in HWTEST_F()
89 tmp = sources5->getSourceKeys(); in HWTEST_F()
90 EXPECT_TRUE(tmp.size() != 0); in HWTEST_F()
96 tmp = sources6->getSourceKeys(); in HWTEST_F()
97 EXPECT_TRUE(tmp.size() != 0); in HWTEST_F()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_memory.cpp279 uint8_t tmp = 0; in ReadEncodedValue() local
280 ReadU8(addr, &tmp, true); in ReadEncodedValue()
281 val = static_cast<uintptr_t>(tmp); in ReadEncodedValue()
285 int8_t tmp = 0; in ReadEncodedValue() local
286 ReadS8(addr, &tmp, true); in ReadEncodedValue()
287 val = static_cast<uintptr_t>(tmp); in ReadEncodedValue()
291 uint16_t tmp = 0; in ReadEncodedValue() local
292 ReadU16(addr, &tmp, true); in ReadEncodedValue()
293 val = static_cast<uintptr_t>(tmp); in ReadEncodedValue()
297 int16_t tmp in ReadEncodedValue() local
303 uint32_t tmp = 0; ReadEncodedValue() local
309 int32_t tmp = 0; ReadEncodedValue() local
315 uint64_t tmp = 0; ReadEncodedValue() local
321 int64_t tmp = 0; ReadEncodedValue() local
[all...]
/base/print/print_fwk/services/print_service/src/
H A Dprint_ipp_over_usb_manager.cpp73 std::string tmp = printerId.substr(posColon + INDEX_1); in ConnectPrinter() local
74 PRINT_HILOGD("ConnectPrinter tmp = %{public}s", tmp.c_str()); in ConnectPrinter()
75 if (tmp.length() > INDEX_4 && (tmp.substr(0, INDEX_4) == PRINTER_ID_PREFIX)) { in ConnectPrinter()
76 std::string printerName = tmp.substr(INDEX_4); in ConnectPrinter()
105 std::string tmp = printerId.substr(posColon + INDEX_1); in DisConnectPrinter() local
106 PRINT_HILOGD("DisConnectPrinter tmp = %{public}s", tmp.c_str()); in DisConnectPrinter()
107 if (tmp in DisConnectPrinter()
[all...]
/base/security/crypto_framework/plugin/openssl_plugin/common/src/
H A Drsa_openssl_common.c22 RSA *tmp = OpensslRsaNew(); in DuplicateRsaPriKeyForSpec() local
23 if (tmp == NULL) { in DuplicateRsaPriKeyForSpec()
33 OpensslRsaFree(tmp); in DuplicateRsaPriKeyForSpec()
44 OpensslRsaFree(tmp); in DuplicateRsaPriKeyForSpec()
47 if (OpensslRsaSet0Key(tmp, dupN, dupE, dupD) != HCF_OPENSSL_SUCCESS) { in DuplicateRsaPriKeyForSpec()
52 OpensslRsaFree(tmp); in DuplicateRsaPriKeyForSpec()
55 return tmp; in DuplicateRsaPriKeyForSpec()
/base/startup/init/services/param/liteos/
H A Dparam_service.c34 char *tmp = (char *)name; in StringTrim() local
35 while (*tmp != '\0' && *tmp != '"') { in StringTrim()
36 tmp++; in StringTrim()
38 if (*tmp == '\0') { in StringTrim()
42 tmp++; in StringTrim()
44 while (*tmp != '\0' && i < size) { in StringTrim()
45 buffer[i++] = *tmp; in StringTrim()
46 tmp++; in StringTrim()
/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Dmemory_test.cpp87 uint64_t tmp; in HWTEST_F() local
88 memory->Read(addr, &tmp, sizeof(uint8_t), false); in HWTEST_F()
89 ASSERT_EQ(tmp, 0x01); in HWTEST_F()
91 memory->Read(addr, &tmp, sizeof(uint16_t), false); in HWTEST_F()
92 ASSERT_EQ(tmp, 0x0201); in HWTEST_F()
94 memory->Read(addr, &tmp, sizeof(uint32_t), false); in HWTEST_F()
95 ASSERT_EQ(tmp, 0x04030201); in HWTEST_F()
97 memory->Read(addr, &tmp, sizeof(uint64_t), false); in HWTEST_F()
98 ASSERT_EQ(tmp, 0x0807060504030201); in HWTEST_F()
126 uint64_t tmp; in HWTEST_F() local
264 uint64_t tmp; HWTEST_F() local
313 uint64_t tmp; HWTEST_F() local
[all...]
/base/startup/init/interfaces/innerkits/syspara/
H A Dsysversion.c54 const char *tmp = strstr(fullName, "-"); in GetVersions() local
55 if (tmp == NULL) { in GetVersions()
58 tmp++; // skip "-" in GetVersions()
59 int ret = sscanf_s(tmp, "%d.%d.%d.%d", &g_majorVersion, &g_seniorVersion, &g_featureVersion, &g_buildVersion); in GetVersions()
/base/startup/init/services/utils/
H A Dinit_utils.c208 const char *tmp = src; in IterateNameValuePairs() local
216 nv.name = tmp; in IterateNameValuePairs()
217 seperator = strchr(tmp, ' '); in IterateNameValuePairs()
220 nv.valueEnd = tmp + strlen(tmp); in IterateNameValuePairs()
221 tmp = NULL; in IterateNameValuePairs()
224 tmp = seperator + 1; in IterateNameValuePairs()
242 } while (tmp != NULL); in IterateNameValuePairs()
251 char *tmp = strstr(buffer, name); in GetProcCmdlineValue() local
253 if (tmp in GetProcCmdlineValue()
544 char *tmp = strstr(dp->d_name, includeExt); ReadFileInDir() local
[all...]
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/
H A Ddcm_attest_utils.c79 struct HksBlob tmp = { out->size - offset, buf }; in DcmInsertClaim() local
80 int32_t ret = DcmAsn1WriteFinal(&tmp, value); in DcmInsertClaim()
83 uint32_t seqSize = ENCODED_SEC_LEVEL_SIZE + oid->size + tmp.size; in DcmInsertClaim()
169 struct HksBlob tmp = *key; in GetRsaPublicKey() local
170 tmp.data += ASN_1_MAX_HEADER_LEN; in GetRsaPublicKey()
171 tmp.size -= ASN_1_MAX_HEADER_LEN; in GetRsaPublicKey()
172 if (tmp.size < ASN_1_MAX_HEADER_LEN) { in GetRsaPublicKey()
181 int32_t ret = DcmAsn1InsertValue(&tmp, NULL, &signOidBlob); in GetRsaPublicKey()
184 struct HksBlob spki = tmp; in GetRsaPublicKey()
189 ret = DcmAsn1InsertValue(&tmp, NUL in GetRsaPublicKey()
200 struct HksBlob tmp = *key; GetX25519PublicKey() local
[all...]
/base/startup/appspawn/modules/sandbox/
H A Dappspawn_mount_template.c140 unsigned long tmp = flags; in DumpSandboxFlags() local
142 if ((flagsInfos[i].flags & tmp) == 0) { in DumpSandboxFlags()
145 tmp &= ~(flagsInfos[i].flags); in DumpSandboxFlags()
176 const MountArgTemplate *tmp = GetMountArgTemplate(pathNode->category); in DumpMountPathMountNode() local
177 if (tmp == NULL) { in DumpMountPathMountNode()
180 APPSPAPWN_DUMP(" sandbox node category: %{public}u(%{public}s)", tmp->category, tmp->name); in DumpMountPathMountNode()
181 DumpMountFlags(" sandbox node mountFlags: ", tmp->mountFlags); in DumpMountPathMountNode()
183 tmp->mountSharedFlag == MS_SLAVE ? "MS_SLAVE" : "MS_SHARED"); in DumpMountPathMountNode()
184 APPSPAPWN_DUMP(" sandbox node options: %{public}s", tmp in DumpMountPathMountNode()
[all...]
/base/hiviewdfx/hilog_lite/frameworks/js/builtin/src/
H A Dhilog_string.cpp62 char *tmp = static_cast<char*>( in Puts() local
64 if (tmp != nullptr) { in Puts()
65 str->str = tmp; in Puts()
85 char *tmp = static_cast<char*>( in Putc() local
87 if (tmp != nullptr) { in Putc()
88 str->str = tmp; in Putc()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
H A Dcert_manager_double_list.h53 struct DoubleList tmp = { NULL, NULL }; \
54 for (p = (head)->next, (st) = (__typeof__(st))p, tmp = *p; p != (head); \
55 p = tmp.next, tmp = *p, (st) = (__typeof__(st))p)
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_module_interface_test.cpp297 char *tmp = GetLastStr(testStr, "2222"); in HWTEST_F() local
298 EXPECT_EQ(tmp != nullptr, 1); in HWTEST_F()
300 tmp = GetLastStr(testStr, nullptr); in HWTEST_F()
301 EXPECT_EQ(tmp != nullptr, 0); in HWTEST_F()
303 tmp = GetLastStr(nullptr, nullptr); in HWTEST_F()
304 EXPECT_EQ(tmp != nullptr, 0); in HWTEST_F()
305 tmp = GetLastStr(nullptr, "2222"); in HWTEST_F()
306 EXPECT_EQ(tmp != nullptr, 0); in HWTEST_F()
373 char *tmp = GetStringFromJsonObj(cJSON_GetObjectItemCaseSensitive(json, "global"), "sandbox-root"); in HWTEST_F() local
374 EXPECT_EQ(tmp ! in HWTEST_F()
420 int tmp = GetIntValueFromJsonObj(cJSON_GetObjectItemCaseSensitive(json, "global"), "sandbox-flags", 0); HWTEST_F() local
[all...]
/base/useriam/user_auth_framework/test/fuzztest/services/useridmservice_fuzzer/
H A Duser_idm_service_fuzzer.cpp54 sptr<IRemoteObject> tmp(nullptr);
55 return tmp;
69 sptr<IRemoteObject> tmp(nullptr);
70 return tmp;
90 sptr<IRemoteObject> tmp(nullptr);
91 return tmp;
105 sptr<IdmGetCredInfoCallbackInterface> tmp(nullptr); in GetFuzzIdmGetCredentialInfoCallback()
107 tmp = sptr<IdmGetCredInfoCallbackInterface>(new (std::nothrow) DummyIdmGetCredentialInfoCallback()); in GetFuzzIdmGetCredentialInfoCallback()
109 return tmp; in GetFuzzIdmGetCredentialInfoCallback()
114 sptr<IdmGetSecureUserInfoCallbackInterface> tmp(nullpt in GetFuzzIdmGetSecureUserInfoCallback()
[all...]
/base/startup/appspawn/test/mock/
H A Dapp_spawn_stub.cpp129 const char *tmp = def; in GetParameter() local
133 tmp = "a"; in GetParameter()
135 tmp = "5"; in GetParameter()
137 return strcpy_s(value, len, tmp) == 0 ? strlen(tmp) : -1; in GetParameter()

Completed in 12 milliseconds

12345678910