| /foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
| D | rb_tree.c | 22 static void FillpRbRotateLeft(struct RbNode *x, struct RbRoot *root) in FillpRbRotateLeft() 53 static void FillpRbRotateRight(struct RbNode *x, struct RbRoot *root) in FillpRbRotateRight() 83 static struct RbNode *EqualRight(struct RbNode *x, struct RbRoot *root) in EqualRight() 93 static struct RbNode *EqualLeft(struct RbNode *x, struct RbRoot *root) in EqualLeft() 103 void FillpRbInsertColor(struct RbNode *x, struct RbRoot *root) in FillpRbInsertColor() 149 static int FillpRbEraseColorAtLeft(struct RbNode **x, struct RbNode **parent, struct RbRoot *root) in FillpRbEraseColorAtLeft() 184 static int FillpRbEraseColorAtRight(struct RbNode **x, struct RbNode **parent, struct RbRoot *root) in FillpRbEraseColorAtRight() 219 static void FillpRbEraseColor(struct RbNode *x, struct RbNode *parent, struct RbRoot *root) in FillpRbEraseColor() 249 static void FillpRbEraseLowlvlNode(struct RbNode *node, struct RbRoot *root) in FillpRbEraseLowlvlNode() 301 void FillpRbErase(struct RbNode *node, struct RbRoot *root) in FillpRbErase()
|
| /foundation/communication/wifi/wifi/utils/src/ |
| D | wifi_hisysevent.cpp | 49 Json::Value root; in WriteWifiStateHiSysEvent() local 93 Json::Value root; in WriteWifiOperateStateHiSysEvent() local 102 Json::Value root; in WriteWifiAbnormalDisconnectHiSysEvent() local 110 Json::Value root; in WriteWifiConnectionInfoHiSysEvent() local 118 Json::Value root; in WriteWifiOpenAndCloseFailedHiSysEvent() local 129 Json::Value root; in WriteSoftApOpenAndCloseFailedEvent() local 138 Json::Value root; in WriteWifiAccessIntFailedHiSysEvent() local 147 Json::Value root; in WriteWifiPnoScanHiSysEvent() local 156 Json::Value root; in WriteBrowserFailedForPortalHiSysEvent() local 165 Json::Value root; in WriteWifiConnectFailedEventHiSysEvent() local [all …]
|
| /foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/ |
| D | netfirewall_default_rule_parser_test.cpp | 57 cJSON *root = cJSON_CreateObject(); variable 74 cJSON *root = cJSON_CreateObject(); variable 88 cJSON *root = cJSON_CreateObject(); variable 100 cJSON *root = cJSON_CreateObject(); variable 112 cJSON *root = cJSON_CreateObject(); variable 124 cJSON *root = cJSON_CreateObject(); variable 137 cJSON *root = cJSON_CreateObject(); variable
|
| /foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/ |
| D | network_parser_test.cpp | 217 xmlNodePtr root = nullptr; variable 235 xmlNodePtr root = nullptr; variable 253 xmlNodePtr root = nullptr; variable 272 xmlNodePtr root = nullptr; variable 290 xmlNodePtr root = nullptr; variable 311 xmlNodePtr root = nullptr; variable
|
| /foundation/arkui/ace_engine/test/mock/core/accessibility/ |
| D | accessibility_manager_ng.cpp | 19 void AccessibilityManagerNG::HandleAccessibilityHoverEvent(const RefPtr<FrameNode>& root, const Mou… in HandleAccessibilityHoverEvent() 24 void AccessibilityManagerNG::HandleAccessibilityHoverEvent(const RefPtr<FrameNode>& root, const Tou… in HandleAccessibilityHoverEvent() 30 const RefPtr<FrameNode>& root, in HandleAccessibilityHoverEventInner() 44 void AccessibilityManagerNG::HoverTestDebug(const RefPtr<FrameNode>& root, const PointF& point, in HoverTestDebug()
|
| /foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
| D | hierarchy_controller.cpp | 77 if (const auto root = target_.lock()) { in AttachAll() local 85 if (auto root = target_.lock()) { in DetachAll() local 115 void IterateHierarchy(const IObject::Ptr& root, bool reverse, Callback&& callback) in IterateHierarchy() 131 if (const auto root = target_.lock()) { in GetAllNodes() local 138 void NodeHierarchyController::AttachHierarchy(const IObject::Ptr& root) in AttachHierarchy() 158 void NodeHierarchyController::DetachHierarchy(const IObject::Ptr& root) in DetachHierarchy() 188 if (auto root = operation.root_.lock()) { in RunOperation() local
|
| /foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_tarball/ |
| D | b_tarball_cmdline_test.cpp | 57 string root = tm.GetRootDirCurTest(); variable 83 string root = tm.GetRootDirCurTest(); variable 110 string root = tm.GetRootDirCurTest(); variable 157 string root = tm.GetRootDirCurTest(); variable 204 string root = tm.GetRootDirCurTest(); variable 251 string root = tm.GetRootDirCurTest(); variable 285 string root = tm.GetRootDirCurTest(); variable
|
| D | b_tarball_factory_test.cpp | 51 string root = tm.GetRootDirCurTest(); variable 84 string root = tm.GetRootDirCurTest(); variable 117 string root = tm.GetRootDirCurTest(); variable 150 string root = tm.GetRootDirCurTest(); variable
|
| /foundation/multimedia/image_framework/frameworks/kits/js/common/ |
| D | image_napi_utils.cpp | 34 bool ImageNapiUtils::GetBufferByName(napi_env env, napi_value root, const char* name, void **res, s… in GetBufferByName() 45 bool ImageNapiUtils::GetUint32ByName(napi_env env, napi_value root, const char* name, uint32_t *res) in GetUint32ByName() 56 bool ImageNapiUtils::GetInt32ByName(napi_env env, napi_value root, const char* name, int32_t *res) in GetInt32ByName() 67 bool ImageNapiUtils::GetDoubleByName(napi_env env, napi_value root, const char* name, double *res) in GetDoubleByName() 78 bool ImageNapiUtils::GetBoolByName(napi_env env, napi_value root, const char* name, bool *res) in GetBoolByName() 89 bool ImageNapiUtils::GetNodeByName(napi_env env, napi_value root, const char* name, napi_value *res) in GetNodeByName() 96 bool ImageNapiUtils::GetUtf8String(napi_env env, napi_value root, std::string &res, bool eof) in GetUtf8String() 130 bool ImageNapiUtils::CreateNapiInt32(napi_env env, int32_t value, napi_value &root) in CreateNapiInt32() 138 bool ImageNapiUtils::CreateNapiDouble(napi_env env, double value, napi_value &root) in CreateNapiDouble() 146 napi_valuetype ImageNapiUtils::getType(napi_env env, napi_value root) in getType() [all …]
|
| /foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/ |
| D | hisysevent_observer.cpp | 100 nlohmann::json root = nlohmann::json::parse(eventDetail, nullptr, false); in OnEvent() local 116 void HiSysEventObserver::ProcessHiSysEvent(const std::string& eventName, const nlohmann::json& root) in ProcessHiSysEvent() 132 void HiSysEventObserver::ProcessAvCodecEvent(const nlohmann::json& root, const std::string& eventNa… in ProcessAvCodecEvent() 165 void HiSysEventObserver::ProcessRunningLockEvent(const nlohmann::json& root, const std::string& eve… in ProcessRunningLockEvent() 218 void HiSysEventObserver::ProcessAudioEvent(const nlohmann::json& root, const std::string& eventName) in ProcessAudioEvent() 265 void HiSysEventObserver::ProcessCameraEvent(const nlohmann::json& root, const std::string& eventNam… in ProcessCameraEvent() 290 void HiSysEventObserver::ProcessBluetoothEvent(const nlohmann::json& root, const std::string& event… in ProcessBluetoothEvent() 325 void HiSysEventObserver::ProcessWifiEvent(const nlohmann::json& root, const std::string& eventName) in ProcessWifiEvent()
|
| /foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/ |
| D | lru_cache_disk_handler.cpp | 44 cJSON *root = cJSON_Parse(jsonStr.c_str()); in ReadJsonValueFromFile() local 52 void LRUCacheDiskHandler::WriteJsonValueToFile(const cJSON *root) in WriteJsonValueToFile() 79 cJSON *root = ReadJsonValueFromFile(); in ReadCacheFromJsonFile() local 92 cJSON *root = ReadJsonValueFromFile(); in Get() local
|
| /foundation/window/window_manager/wmserver/test/unittest/ |
| D | window_snapshot_test.cpp | 59 sptr<WindowRoot> root = nullptr; variable 73 sptr<WindowRoot> root = nullptr; variable 92 sptr<WindowRoot> root = nullptr; variable 111 …sptr<WindowRoot> root = new WindowRoot([](Event event, const sptr<IRemoteObject>& remoteObject) {}… in __anon3abe2eb80202() variable 140 …sptr<WindowRoot> root = new WindowRoot([](Event event, const sptr<IRemoteObject>& remoteObject) {}… in __anon3abe2eb80302() variable
|
| /foundation/filemanagement/app_file_service/tests/unittests/backup_ext/ |
| D | untar_file_test.cpp | 136 string root = tm.GetRootDirCurTest(); variable 179 string root = tm.GetRootDirCurTest(); variable 214 string root = tm.GetRootDirCurTest(); variable 253 string root = tm.GetRootDirCurTest(); variable 307 string root = tm.GetRootDirCurTest(); variable 363 string root = tm.GetRootDirCurTest(); variable 394 string root = tm.GetRootDirCurTest(); variable 444 string root = tm.GetRootDirCurTest(); variable
|
| D | tar_file_test.cpp | 112 string root = tm.GetRootDirCurTest(); variable 138 string root = tm.GetRootDirCurTest(); variable 177 string root = tm.GetRootDirCurTest(); variable 247 string root = tm.GetRootDirCurTest(); variable 292 string root = tm.GetRootDirCurTest(); variable 338 string root = tm.GetRootDirCurTest(); variable
|
| /foundation/graphic/graphic_2d/rosen/modules/texgine/src/ |
| D | font_config.cpp | 105 int FontConfig::ParseFont(const cJSON* root) in ParseFont() 137 cJSON* root = CheckConfigFile(fname); in ParseConfig() local 190 void FontConfigJson::AnalyseFontDir(const cJSON* root) in AnalyseFontDir() 205 int FontConfigJson::ParseDir(const cJSON* root) in ParseDir() 225 cJSON* root = CheckConfigFile(fname); in ParseConfigList() local 256 cJSON* root = CheckConfigFile(fname); in ParseConfigListPath() local 300 int FontConfigJson::ParseGeneric(const cJSON* root, const char* key) in ParseGeneric() 339 int FontConfigJson::ParseAlias(const cJSON* root, FontGenericInfo &genericInfo) in ParseAlias() 364 int FontConfigJson::ParseAdjust(const cJSON* root, FontGenericInfo &genericInfo) in ParseAdjust() 389 int FontConfigJson::ParseFallback(const cJSON* root, const char* key) in ParseFallback() [all …]
|
| /foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
| D | softbus_proxychannel_message.c | 378 static int32_t PackHandshakeMsgForFastData(AppInfo *appInfo, cJSON *root) in PackHandshakeMsgForFastData() 423 …c int32_t PackHandshakeMsgForNormal(SessionKeyBase64 *sessionBase64, AppInfo *appInfo, cJSON *root) in PackHandshakeMsgForNormal() 459 cJSON *root = NULL; in TransProxyPackHandshakeErrMsg() local 480 cJSON *root = cJSON_CreateObject(); in TransProxyPackHandshakeMsg() local 534 cJSON *root = NULL; in TransProxyPackHandshakeAckMsg() local 593 cJSON *root = cJSON_ParseWithLength(msg, len); in TransProxyUnPackHandshakeErrMsg() local 616 cJSON *root = cJSON_ParseWithLength(msg, len); in TransProxyUnPackRestErrMsg() local 640 cJSON *root = cJSON_ParseWithLength(msg, len); in TransProxyUnpackHandshakeAckMsg() local 689 static int32_t UnpackPackHandshakeMsgForFastData(AppInfo *appInfo, cJSON *root) in UnpackPackHandshakeMsgForFastData() 732 static int32_t TransProxyUnpackNormalHandshakeMsg(cJSON *root, AppInfo *appInfo, char *sessionKey, … in TransProxyUnpackNormalHandshakeMsg() [all …]
|
| /foundation/filemanagement/app_file_service/tests/mock/b_tarball/ |
| D | b_tarball_cmdline_mock.cpp | 29 void BTarballCmdline::Tar(string_view root, vector<string_view> includes, vector<string_view> exclu… in Tar() 34 void BTarballCmdline::Untar(string_view root) in Untar()
|
| /foundation/resourceschedule/frame_aware_sched/frameworks/core/frame_aware_policy/src/ |
| D | para_config.cpp | 86 void ParaConfig::ReadConfigInfo(const xmlNodePtr& root) in ReadConfigInfo() 98 void ParaConfig::ReadFpsConfig(const xmlNodePtr& root) in ReadFpsConfig() 110 void ParaConfig::ReadRenderType(const xmlNodePtr& root) in ReadRenderType() 148 void ParaConfig::ReadFrameConfig(const xmlNodePtr& root) in ReadFrameConfig() 183 void ParaConfig::ReadAttr(xmlNodePtr& root, const std::string& attrName, std::string& res) in ReadAttr()
|
| /foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/ |
| D | convert_utils.cpp | 75 cJSON *root = GetJsonAbilityInfo(abilityInfo); in ConvertAbilityInfoToString() local 89 cJSON *root = GetJsonBundleInfo(bundleInfo); in ConvertBundleInfoToString() local 125 cJSON *root = cJSON_ParseWithLength(str, buffSize); in ConvertStringToAbilityInfo() local 153 cJSON *root = cJSON_ParseWithLength(str, buffSize); in ConvertStringToBundleInfo() local 216 cJSON *root = cJSON_CreateObject(); in GetJsonBundleInfo() local 237 bool ConvertUtils::ConvertBundleInfoPartToJson(const BundleInfo *bundleInfo, cJSON *root) in ConvertBundleInfoPartToJson() 272 bool ConvertUtils::ConvertModuleInfosToJson(const BundleInfo *bundleInfo, cJSON *root) in ConvertModuleInfosToJson() 298 bool ConvertUtils::ConvertAbilityInfosToJson(const BundleInfo *bundleInfo, cJSON *root) in ConvertAbilityInfosToJson() 540 cJSON *root = cJSON_CreateObject(); in GetJsonAbilityInfo() local 571 bool ConvertUtils::ConvertJsonToBundleInfo(const cJSON *root, BundleInfo *bundleInfo) in ConvertJsonToBundleInfo() [all …]
|
| /foundation/filemanagement/app_file_service/utils/src/b_tarball/ |
| D | b_tarball_factory.cpp | 46 static void UntarFort(string_view root) in UntarFort() 70 string_view root, in TarFilter() 170 … string_view root, vector<string_view> includes, vector<string_view> excludes) { in Create() 176 tarballImpl->untar = [untar {tarballImpl->untar}](string_view root) { in Create()
|
| /foundation/communication/netmanager_base/services/netpolicymanager/src/core/ |
| D | net_policy_file.cpp | 105 void NetPolicyFile::ParseUidPolicy(const cJSON* const root, NetPolicy &netPolicy) in ParseUidPolicy() 129 void NetPolicyFile::ParseBackgroundPolicy(const cJSON* const root, NetPolicy &netPolicy) in ParseBackgroundPolicy() 139 void NetPolicyFile::ParseQuotaPolicy(const cJSON* const root, NetPolicy &netPolicy) in ParseQuotaPolicy() 181 void NetPolicyFile::ParseFirewallRule(const cJSON* const root, NetPolicy &netPolicy) in ParseFirewallRule() 219 cJSON *root = cJSON_Parse(content.c_str()); in Json2Obj() local 250 cJSON *root = cJSON_CreateObject(); in Obj2Json() local 276 void NetPolicyFile::AddQuotaPolicy(cJSON *root) in AddQuotaPolicy() 307 void NetPolicyFile::AddUidPolicy(cJSON *root) in AddUidPolicy() 323 void NetPolicyFile::AddBackgroundPolicy(cJSON *root) in AddBackgroundPolicy() 335 void NetPolicyFile::AddFirewallRule(cJSON *root) in AddFirewallRule()
|
| /foundation/resourceschedule/background_task_mgr/services/common/src/ |
| D | data_storage_helper.cpp | 48 nlohmann::json root; in RefreshTaskRecord() local 63 nlohmann::json root; in RestoreTaskRecord() local 88 nlohmann::json root; in RestoreResourceRecord() local 227 nlohmann::json root; in ConvertMapToString() local 237 void DataStorageHelper::ConvertMapToJson(const ResourceRecordMap &appRecord, nlohmann::json &root) in ConvertMapToJson() 246 void DataStorageHelper::DivideJsonToMap(nlohmann::json &root, in DivideJsonToMap()
|
| /foundation/multimedia/image_effect/test/unittest/ |
| D | TestJsonHelper.cpp | 73 EffectJsonPtr root = JsonHelper::ParseJsonData(info); variable 115 EffectJsonPtr root = JsonHelper::ParseJsonData(info); variable 175 EffectJsonPtr root = JsonHelper::CreateObject(); variable 186 EffectJsonPtr root = JsonHelper::CreateObject(); variable 281 EffectJsonPtr root = JsonHelper::ParseJsonData(info); variable 318 EffectJsonPtr root = JsonHelper::CreateObject(false); variable
|
| /foundation/multimedia/image_framework/frameworks/kits/js/common/include/ |
| D | image_napi_utils.h | 102 #define GET_BUFFER_BY_NAME(root, name, res, len) ImageNapiUtils::GetBufferByName(env, (root), (name… argument 103 #define GET_UINT32_BY_NAME(root, name, res) ImageNapiUtils::GetUint32ByName(env, (root), (name), &(… argument 104 #define GET_INT32_BY_NAME(root, name, res) ImageNapiUtils::GetInt32ByName(env, (root), (name), &(re… argument 105 #define GET_BOOL_BY_NAME(root, name, res) ImageNapiUtils::GetBoolByName(env, (root), (name), &(res)) argument 106 #define GET_NODE_BY_NAME(root, name, res) ImageNapiUtils::GetNodeByName(env, (root), (name), &(res)) argument 107 #define GET_DOUBLE_BY_NAME(root, name, res) ImageNapiUtils::GetDoubleByName(env, (root), (name), &(… argument 109 #define CREATE_NAPI_INT32(value, root) ImageNapiUtils::CreateNapiInt32(env, (value), (root)) argument 110 #define CREATE_NAPI_DOUBLE(value, root) ImageNapiUtils::CreateNapiDouble(env, (value), (root)) argument
|
| /foundation/distributedhardware/distributed_audio/common/include/ |
| D | daudio_log.h | 48 #define CHECK_NULL_AND_FREE_VOID(ptr, root, ...) \ argument 65 #define CHECK_NULL_FREE_RETURN(ptr, ret, root, ...) \ argument 82 #define CHECK_AND_FREE_RETURN_RET_LOG(cond, ret, root, fmt, ...) \ argument 108 #define CHECK_AND_FREE_RETURN_LOG(cond, root, fmt, ...) \ argument
|