/ohos5.0/drivers/hdf_core/framework/test/unittest/model/network/wifi/unittest/message/ |
H A D | hdf_queue_test.c | 25 int a = 1; in MessageQueueTest001() local 30 void *p = NULL; in MessageQueueTest001() local 74 int a = 1; in MessageQueueTest002() local 79 void *p = NULL; in MessageQueueTest002() local 136 void *p = NULL; in MessageQueueTest003() local
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | pubdef.h | 43 #define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a[0]))) argument 46 #define FREE_AND_NIL(p) do {if (p) { delete (p); (p) = nullptr;}} while (0) argument 48 #define FREE_AND_NIL_ARRAY(p) do {if (p) {delete[] (p); (p) = nullptr;}} while (0) argument
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | graphic_neon_utils.h | 37 static inline uint8x8_t Multipling(uint8x8_t a, uint8x8_t b) in Multipling() 44 static inline uint8x8_t NeonPreLerp(uint8x8_t p, uint8x8_t q, uint8x8_t a) in NeonPreLerp() 50 static inline uint8x8_t NeonLerp(uint8x8_t p, uint8x8_t q, uint8x8_t alpha) in NeonLerp() 65 static inline uint8x8_t NeonMulDiv255(uint8x8_t a, uint8x8_t b) in NeonMulDiv255() 72 static inline float32x4_t NeonDiv(float32x4_t a, float32x4_t b) in NeonDiv() 82 static inline uint8x8_t NeonDivInt(uint16x8_t a, uint8x8_t b) in NeonDivInt() 196 uint8x8_t& a, in LoadBufA_ARGB8888() 210 uint8x8_t& a, in LoadBufA_XRGB8888() 224 uint8x8_t& a, in LoadBufA_RGB888() 238 uint8x8_t& a, in LoadBufA_RGB565() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | conic_paths.cpp | 87 …rawSence(OH_Drawing_Canvas* canvas, OH_Drawing_Pen* pen, OH_Drawing_Brush* brush, uint8_t a, int p) in DrawSence() 126 for (int p = 0; p < fPaths.size(); ++p) { in OnTestFunction() local
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/include/ |
H A D | hks_openssl_ed25519tox25519.h | 25 BIGNUM *p; // Curve25519 prime member 33 BIGNUM *a; member
|
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/ |
H A D | crypto_hash_to_point.c | 28 BIGNUM *p; member 86 static void HcBnFree(BIGNUM *p) in HcBnFree() 205 const struct CurveConstPara *curvePara, BIGNUM *a, BN_CTX *ctx) in CurveHashToPointCalcA() 258 static int32_t CurveHashToPointCalcC(const BIGNUM *a, BIGNUM *b, in CurveHashToPointCalcC() 337 BIGNUM *a = BN_new(); in CurveHashToPoint() local
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/ |
H A D | openssl_adapter_mock.c | 79 void OpensslBnClear(BIGNUM *a) in OpensslBnClear() 84 void OpensslBnClearFree(BIGNUM *a) in OpensslBnClearFree() 91 void OpensslBnFree(BIGNUM *a) in OpensslBnFree() 329 int OpensslEcGroupGetCurveGfp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) in OpensslEcGroupGetCurveGfp() 361 EC_GROUP *OpensslEcGroupNewCurveGfp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) in OpensslEcGroupNewCurveGfp() 938 int OpensslDsaSet0Pqg(DSA *dsa, BIGNUM *p, BIGNUM *q, BIGNUM *g) in OpensslDsaSet0Pqg() 1135 void OpensslRsaGet0Factors(const RSA *r, const BIGNUM **p, const BIGNUM **q) in OpensslRsaGet0Factors() 1230 void OpensslBioFreeAll(BIO *a) in OpensslBioFreeAll() 1849 int OpensslDhSet0Pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) in OpensslDhSet0Pqg() 1951 int OpensslEcPointSetAffineCoordinates(const EC_GROUP *group, EC_POINT *p, in OpensslEcPointSetAffineCoordinates() [all …]
|
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/src/ |
H A D | openssl_adapter.c | 35 void OpensslBnClear(BIGNUM *a) in OpensslBnClear() 40 void OpensslBnClearFree(BIGNUM *a) in OpensslBnClearFree() 50 void OpensslBnFree(BIGNUM *a) in OpensslBnFree() 200 EC_GROUP *OpensslEcGroupNewCurveGfp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) in OpensslEcGroupNewCurveGfp() 247 int OpensslEcGroupGetCurveGfp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) in OpensslEcGroupGetCurveGfp() 591 int OpensslDsaSet0Pqg(DSA *dsa, BIGNUM *p, BIGNUM *q, BIGNUM *g) in OpensslDsaSet0Pqg() 732 void OpensslRsaGet0Factors(const RSA *r, const BIGNUM **p, const BIGNUM **q) in OpensslRsaGet0Factors() 1301 int OpensslDhSet0Pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) in OpensslDhSet0Pqg() 1346 int OpensslAsn1StringLength(ASN1_OCTET_STRING *p) in OpensslAsn1StringLength() 1351 const unsigned char *OpensslAsn1StringGet0Data(ASN1_OCTET_STRING *p) in OpensslAsn1StringGet0Data() [all …]
|
H A D | ecc_openssl_common.c | 57 BIGNUM *p = NULL; in NewGroupFromCurveGFp() local 58 BIGNUM *a = NULL; in NewGroupFromCurveGFp() local 292 BIGNUM *p = OpensslBnNew(); in GetCurveGFp() local 293 BIGNUM *a = OpensslBnNew(); in GetCurveGFp() local
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/ |
H A D | lru_cache.cpp | 32 for (const auto &p : m) { in GetMapValueSize() local 152 for (const auto &p : node.value) { in WriteCacheToJsonValue() local 187 std::sort(nodeVec.begin(), nodeVec.end(), [](Node &a, Node &b) { in ReadCacheFromJsonValue()
|
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/src/ |
H A D | color_space.cpp | 176 Matrix3x3 operator*(const Matrix3x3& a, const Matrix3x3& b) in operator *() 189 Vector3 operator*(const Vector3& x, const Matrix3x3& a) in operator *() 200 Vector3 operator*(const Matrix3x3& a, const Vector3& x) in operator *() 211 Matrix3x3 operator/(const Vector3& a, const Vector3& b) in operator /() 334 auto &p = transferFunc; in ToLinear() local 352 auto &p = transferFunc; in ToNonLinear() local
|
/ohos5.0/base/customization/config_policy/frameworks/config_policy/src/ |
H A D | config_policy_utils.c | 47 char *p; // just init to NULL, by malloc member 82 static inline size_t Min(size_t a, size_t b) in Min() 87 static inline size_t Max(size_t a, size_t b) in Max() 92 static void FreeIf(void *p) in FreeIf() 152 for (char *p = str; *p != '\0'; p++) { in SplitStr() local 172 static void FreeSplitedStr(SplitedStr *p) in FreeSplitedStr()
|
/ohos5.0/base/security/access_token/services/common/config_policy/src/ |
H A D | config_policy_loader.cpp | 68 void from_json(const nlohmann::json& j, AccessTokenServiceConfig& a) in from_json() 95 void from_json(const nlohmann::json& j, PrivacyServiceConfig& p) in from_json()
|
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/ |
H A D | sample_stack_printer.cpp | 106 SampleStackItem* p = dummy; in AdjustSiblings() local 146 std::sort(stackIdCount.begin(), stackIdCount.end(), [](const auto& a, const auto& b) { in GetTreeStack()
|
/ohos5.0/base/security/crypto_framework/interfaces/innerkits/algorithm_parameter/ |
H A D | detailed_ecc_key_params.h | 31 HcfBigInteger p; member 43 HcfBigInteger a; member
|
/ohos5.0/base/update/updater/services/fs_manager/ |
H A D | do_partition.cpp | 186 for (auto& p : disk.partList) { in DestroyDiskPartitions() local 244 std::sort(nlist.begin(), nlist.end(), [](const struct Partition *a, const struct Partition *b) { in WriteDiskPartitionToMisc() 249 for (auto& p : nlist) { in WriteDiskPartitionToMisc() local
|
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
H A D | mbedtls_pkcs7.c | 117 static int32_t GetContentInfoType(unsigned char **p, const unsigned char *end, in GetContentInfoType() 143 static int32_t GetContentLenOfContentInfo(unsigned char **p, const unsigned char *end, size_t *len) in GetContentLenOfContentInfo() 148 static int32_t ParseSignerVersion(unsigned char **p, const unsigned char *end, SignerInfo *signer) in ParseSignerVersion() 180 static int32_t ParseSignerDigestAlg(unsigned char **p, const unsigned char *end, SignerInfo *signer) in ParseSignerDigestAlg() 192 static int32_t ParseSignerAuthAttr(unsigned char **p, const unsigned char *end, SignerInfo *signer) in ParseSignerAuthAttr() 227 static int32_t ParseSignerEncAlg(unsigned char **p, const unsigned char *end, SignerInfo *signer) in ParseSignerEncAlg() 291 static int32_t SerialCmp(const mbedtls_x509_buf *a, const mbedtls_x509_buf *b) in SerialCmp() 430 static int32_t ParseSignedDataVersion(unsigned char **p, const unsigned char *end, int32_t *ver) in ParseSignedDataVersion() 583 unsigned char *p = buf; in ParseSignedData() local 1220 unsigned char *p = signer->authAttr.p; in PKCS7_GetDigestInSignerAuthAttr() local [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | lru_cache_disk_handler.cpp | 28 for (const auto &p : m) { in GetMapValueSize() local 148 for (const auto &p : node.value) { in WriteCacheToJsonValue() local 183 std::sort(nodeVec.begin(), nodeVec.end(), [](Node &a, Node &b) { in ReadCacheFromJsonValue()
|
/ohos5.0/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/ |
H A D | wifi_wpa_common.c | 48 char *p = strstr(src, split); in GetStrKeyVal() local 205 int a = Hex2num(*hex++); in Hex2byte() local
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/ |
H A D | main.cpp | 103 std::string p, op; local 192 auto addString = [&dst, &stringtable](std::string_view a) -> Elf32_Word { 248 size_t p = ftell(d); local 276 auto addString = [&dst, &stringtable](std::string_view a) -> Elf32_Word {
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/ |
H A D | image_loader_common.cpp | 37 for (uint32_t a = 0; a < 256u; a++) { in InitializeSRGBTable() local 84 uint8_t *p = &SRGBPremultiplyLookup[img[channelCount - 1] * 256u]; in PremultiplyAlpha() local
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | material_impl.cpp | 609 … auto p = META_NS::ConstructProperty<float>(SCENE_NS::IMaterial::MAPPED_INPUTS_INTENSITY); in UpdateInputProperties() local 621 … auto p = META_NS::ConstructProperty<float>(SCENE_NS::IMaterial::MAPPED_INPUTS_STRENGTH); in UpdateInputProperties() local 634 … auto p = META_NS::ConstructProperty<float>(SCENE_NS::IMaterial::MAPPED_INPUTS_INTENSITY); in UpdateInputProperties() local 647 … auto p = META_NS::ConstructProperty<float>(SCENE_NS::IMaterial::MAPPED_INPUTS_ROUGHNESS); in UpdateInputProperties() local 660 … auto p = META_NS::ConstructProperty<float>(SCENE_NS::IMaterial::MAPPED_INPUTS_NORMAL_SCALE); in UpdateInputProperties() local 673 … auto p = META_NS::ConstructProperty<SCENE_NS::Color>(SCENE_NS::IMaterial::MAPPED_INPUTS_COLOR); in UpdateInputProperties() local 681 … auto p = META_NS::ConstructProperty<float>(SCENE_NS::IMaterial::MAPPED_INPUTS_ROUGHNESS); in UpdateInputProperties() local 694 … auto p = META_NS::ConstructProperty<float>(SCENE_NS::IMaterial::MAPPED_INPUTS_TRANSMISSION); in UpdateInputProperties() local 715 … auto p = META_NS::ConstructProperty<float>(SCENE_NS::IMaterial::MAPPED_INPUTS_STRENGTH); in UpdateInputProperties() local 1083 std::sort(textures.begin(), textures.end(), [](const auto& a, const auto& b) { in SynchronizeInputsFromMetadata()
|
/ohos5.0/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_csync.cpp | 205 int a = 0; variable 228 int a = 0; variable 263 std::atomic_int a = 0; variable 727 auto ThreadFunc1 = [](int a, const int& b) { in __anonc91b23f77402() 732 auto ThreadFunc2 = [](const char* a, const char* b) { in __anonc91b23f77502() 873 int a = 0; variable 883 int a = 0; variable 906 int a = 0; variable 933 ffrt::promise<int> p; variable
|
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
H A D | ecc_common_param_spec_generator_openssl.c | 97 BIGNUM *p = OpensslBnNew(); in BuildCommonParamGFp() local 98 BIGNUM *a = OpensslBnNew(); in BuildCommonParamGFp() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsgpuoverdrawcanvaslistener_fuzzer/ |
H A D | rsgpuoverdrawcanvaslistener_fuzzer.cpp | 80 float a = GetData<float>(); in DoDrawLine() local 268 uint32_t a = GetData<uint32_t>(); in DoDrawShadow() local 381 uint32_t a = GetData<uint32_t>(); in DoAttachPen() local 386 int p = GetData<int>(); in DoAttachPen() local
|