Home
last modified time | relevance | path

Searched refs:fullName (Results 1 - 25 of 54) sorted by relevance

123

/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_text_font_descriptor.cpp38 condition->fullName = (desc->fullName == nullptr) ? "" : desc->fullName; in OH_Drawing_MatchFontDescriptors()
64 descriptors[i].fullName = strdup(item->fullName.c_str()); in OH_Drawing_MatchFontDescriptors()
85 free(descriptors[i].fullName); in OH_Drawing_DestroyFontDescriptors()
92 bool ConvertToDrawingString(const std::string& fullName, OH_Drawing_String& fullNameString) in ConvertToDrawingString() argument
94 if (fullName.empty()) { in ConvertToDrawingString()
101 utf16String = converter.from_bytes(fullName); in ConvertToDrawingString()
131 OH_Drawing_FontDescriptor* OH_Drawing_GetFontDescriptorByFullName(const OH_Drawing_String* fullName, in OH_Drawing_GetFontDescriptorByFullName() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
H A Dfont_descriptor_cache.cpp70 stylishFullNameMap_[descriptorPtr->fullName].emplace(descriptorPtr); in ParserStylishFonts()
117 for (const auto& fullName : fullNameVec) { in ProcessInstalledFontPath()
119 if (Drawing::ConvertToString(fullName.strData.get(), fullName.strLen, fullNameString)) { in ProcessInstalledFontPath()
142 handleMapScatter(fullNameMap_, desc->fullName); in FontDescriptorScatter()
168 for (const auto& fullName : pathAndFonts.second) { in GetInstallFontList()
169 fullNameList.emplace(fullName); in GetInstallFontList()
188 fullNameList.emplace(temp->fullName); in GetGenericFontList()
236 bool FontDescriptorCache::ParseInstallFontDescSharedPtrByName(const std::string& fullName, FontDescSharedPtr& result) in ParseInstallFontDescSharedPtrByName() argument
242 if (font == fullName) { in ParseInstallFontDescSharedPtrByName()
266 GetFontDescSharedPtrByFullName(const std::string& fullName, const int32_t& systemFontType, FontDescSharedPtr& result) GetFontDescSharedPtrByFullName() argument
[all...]
H A Dfont_descriptor_cache.h38 void GetFontDescSharedPtrByFullName(const std::string& fullName,
48 bool ParseInstallFontDescSharedPtrByName(const std::string& fullName, FontDescSharedPtr& result);
68 return lhs->fullName < rhs->fullName; in operator ()()
H A Dfont_descriptor_mgr.cpp52 void FontDescriptorMgr::GetFontDescSharedPtrByFullName(const std::string& fullName, in GetFontDescSharedPtrByFullName() argument
56 descCache_.GetFontDescSharedPtrByFullName(fullName, systemFontType, result); in GetFontDescSharedPtrByFullName()
H A Dfont_descriptor_mgr.h42 void GetFontDescSharedPtrByFullName(const std::string& fullName,
/foundation/ability/idl_tool/idl_tool_2/codegen/
H A Dcode_emitter.cpp88 std::string fullName = interfaceName; in InterfaceToFilePath() local
90 if (StringHelper::EndWith(fullName, "]")) { in InterfaceToFilePath()
91 index = fullName.find("["); in InterfaceToFilePath()
92 fullName = fullName.substr(0, index); in InterfaceToFilePath()
95 index = fullName.rfind("."); in InterfaceToFilePath()
96 std::string prefix = fullName.substr(0, index + 1); in InterfaceToFilePath()
97 std::string suffix = fullName.substr(index + 1); in InterfaceToFilePath()
216 void CodeEmitter::EmitHeadMacro(StringBuilder &sb, const std::string &fullName) const in EmitHeadMacro()
218 std::string macroName = MacroName(fullName); in EmitHeadMacro()
[all...]
H A Dcode_emitter.h126 void EmitHeadMacro(StringBuilder &sb, const std::string &fullName) const;
128 void EmitTailMacro(StringBuilder &sb, const std::string &fullName) const;
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager/color_space_object_convertor/
H A Djs_color_space_utils.cpp31 std::string fullName; in BindNativeFunction() local
33 fullName = moduleName; in BindNativeFunction()
34 fullName += '.'; in BindNativeFunction()
36 fullName += name; in BindNativeFunction()
39 status = napi_create_function(env, fullName.c_str(), fullName.size(), func, nullptr, &funcValue); in BindNativeFunction()
43 status = napi_set_named_property(env, object, fullName.c_str(), funcValue); in BindNativeFunction()
/foundation/arkui/napi/native_engine/
H A Dnative_sendable.cpp88 std::string fullName; in InitSendablePropertiesInfo() local
90 fullName += propertyDescriptor.utf8name; in InitSendablePropertiesInfo()
92 fullName += key->IsString(vm) ? Local<StringRef>(key)->ToString(vm) in InitSendablePropertiesInfo()
97 NapiNativeCreateSendableFunction(env, fullName.c_str(), propertyDescriptor.method, propertyDescriptor.data); in InitSendablePropertiesInfo()
163 std::string fullName; in NapiDefineSendabledProperty() local
165 fullName += propertyDescriptor.utf8name; in NapiDefineSendabledProperty()
167 fullName += propertyName->IsString(vm) ? Local<StringRef>(propertyName)->ToString(vm) in NapiDefineSendabledProperty()
172 NapiNativeCreateSendableFunction(env, fullName.c_str(), propertyDescriptor.method, propertyDescriptor.data); in NapiDefineSendabledProperty()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/process_group/src/
H A Dcgroup_action.cpp68 const std::string& fullName, const std::string& abbrName) in AddSchedPolicyDeclaration()
73 __func__, policy, fullName.c_str(), abbrName.c_str()); in AddSchedPolicyDeclaration()
78 __func__, policy, fullName.c_str(), abbrName.c_str()); in AddSchedPolicyDeclaration()
81 if (fullName.empty() || abbrName.empty()) { in AddSchedPolicyDeclaration()
88 [ &fullName ] (const auto& kv) { return kv.second == fullName; })) { in AddSchedPolicyDeclaration()
92 __func__, policy, fullName.c_str(), abbrName.c_str()); in AddSchedPolicyDeclaration()
93 fullNames_[policy] = fullName; in AddSchedPolicyDeclaration()
67 AddSchedPolicyDeclaration(const SchedPolicy policy, const std::string& fullName, const std::string& abbrName) AddSchedPolicyDeclaration() argument
H A Dsched_policy.cpp88 void AddSchedPolicyDeclaration(SchedPolicy policy, const std::string& fullName, const std::string& abbrName) in AddSchedPolicyDeclaration() argument
90 return CgroupAction::GetInstance().AddSchedPolicyDeclaration(policy, fullName, abbrName); in AddSchedPolicyDeclaration()
/foundation/ability/idl_tool/ast/
H A Dast_sequenceable_type.cpp32 String fullName = namespace_ != nullptr ? in GetSignature() local
34 return "L" + fullName.Replace('.', '/') + ";"; in GetSignature()
H A Dast_interface_type.cpp49 String fullName = namespace_ != nullptr ? in GetSignature() local
51 return "L" + fullName.Replace('.', '/') + ";"; in GetSignature()
/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast_sequenceable_type.cpp31 std::string fullName = namespace_ != nullptr ? in GetSignature() local
33 return "L" + StringHelper::Replace(fullName, '.', '/') + ";"; in GetSignature()
H A Dast_interface_type.cpp79 std::string fullName = namespace_ != nullptr ? in GetSignature() local
81 return "L" + StringHelper::Replace(fullName, '.', '/') + ";"; in GetSignature()
H A Dast.cpp63 void AST::SetFullName(const std::string &fullName) in SetFullName() argument
65 std::string name = fullName; in SetFullName()
66 size_t start = fullName.rfind(".."); in SetFullName()
68 name = StringHelper::SubStr(fullName, start + strlen("..")); in SetFullName()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/
H A Djs_drawing_utils.cpp37 std::string fullName; in BindNativeFunction() local
39 fullName = moduleName; in BindNativeFunction()
40 fullName += '.'; in BindNativeFunction()
42 fullName += name; in BindNativeFunction()
44 napi_create_function(env, fullName.c_str(), fullName.size(), func, nullptr, &funcValue); in BindNativeFunction()
45 napi_set_named_property(env, object, fullName.c_str(), funcValue); in BindNativeFunction()
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/cpp/
H A Dsa_cpp_interface_code_emitter.cpp130 std::string fullName; in EmitInterfaceUsings() local
140 fullName = CppFullName(np + seqType->GetName()); in EmitInterfaceUsings()
141 sb.Append("using ").AppendFormat("%s;\n", fullName.c_str()); in EmitInterfaceUsings()
153 fullName = CppFullName(np + interface->GetName()); in EmitInterfaceUsings()
154 sb.Append("using ").AppendFormat("%s;\n", fullName.c_str()); in EmitInterfaceUsings()
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/c/
H A Dhdi_c_code_emitter.h40 void EmitHeadMacro(StringBuilder &sb, const std::string &fullName) const;
42 void EmitTailMacro(StringBuilder &sb, const std::string &fullName) const;
H A Dhdi_c_code_emitter.cpp143 void HDICCodeEmitter::EmitHeadMacro(StringBuilder &sb, const std::string &fullName) const in EmitHeadMacro()
145 std::string macroName = MacroName(fullName); in EmitHeadMacro()
150 void HDICCodeEmitter::EmitTailMacro(StringBuilder &sb, const std::string &fullName) const in EmitTailMacro()
152 std::string macroName = MacroName(fullName); in EmitTailMacro()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/fontdescriptor_napi/src/
H A Djs_fontdescriptor.cpp114 {"fullName", cb->matchDesc->fullName}, in MatchFontDescriptorsAsync()
168 {"fullName", item->fullName}, in CreateAndSetProperties()
226 "Failed to get systemFont fullName list by type, no memory"); in GetSystemFontFullNamesByType()
259 napi_value fullName = nullptr; in CreateFontList() local
260 TEXT_ERROR_CHECK(napi_create_string_utf8(env, item.c_str(), NAPI_AUTO_LENGTH, &fullName) == napi_ok, in CreateFontList()
262 TEXT_ERROR_CHECK(napi_set_element(env, fullNameArray, index++, fullName) == napi_ok, return nullptr, in CreateFontList()
271 std::string fullName; in GetFontDescriptorByFullName() member
287 NAPI_CHECK_ARGS(context, ConvertFromJsValue(env, argv[0], context->fullName), napi_invalid_ar in GetFontDescriptorByFullName()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dbackup_manager.cpp189 auto fullName = baseDir + BACKUP_TOP_PATH + "/" + storeId + "/" + backupFile.name; in Restore() local
191 auto dbStatus = dbStore->Import(fullName, password); in Restore()
275 auto fullName = name + postFix; in SetResidueInfo() local
276 auto fullTmpName = fullName + BACKUP_TMP_POSTFIX; in SetResidueInfo()
281 if ((file.name == fullName) && (postFix == BACKUP_POSTFIX)) { in SetResidueInfo()
288 if ((file.name == fullName) && (postFix == BACKUP_KEY_POSTFIX)) { in SetResidueInfo()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/process_group/include/
H A Dsched_policy.h112 * @param fullName full name for policy.
115 void AddSchedPolicyDeclaration(SchedPolicy policy, const std::string& fullName, const std::string& abbrName);
/foundation/communication/netmanager_ext/services/mdnsmanager/src/
H A Dmdns_protocol_impl.cpp208 std::string fullName = Decorated(it->serviceName + MDNS_DOMAIN_SPLITER_STR + it->serviceType); in handleOfflineService() local
209 if ((cacheMap_.find(fullName) != cacheMap_.end()) && in handleOfflineService()
210 IsConnectivity(cacheMap_[fullName].addr, cacheMap_[fullName].port)) { in handleOfflineService()
221 cacheMap_.erase(fullName); in handleOfflineService()
322 std::string fullName = Decorated(res.serviceName + MDNS_DOMAIN_SPLITER_STR + res.serviceType); in DiscoveryFromNet()
323 NETMGR_EXT_LOG_W("mdns_log DiscoveryFromNet name:[%{public}s] fullName:[%{public}s]", name.c_str(), in DiscoveryFromNet()
324 fullName.c_str()); in DiscoveryFromNet()
325 if (cacheMap_.find(fullName) == cacheMap_.end() || in DiscoveryFromNet()
335 if (cacheMap_.find(fullName) ! in DiscoveryFromNet()
920 std::string fullName = Decorated(it->serviceName + MDNS_DOMAIN_SPLITER_STR + it->serviceType); KillBrowseCache() local
[all...]
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Djs_runtime_utils.cpp55 std::string fullName(moduleName); in BindNativeFunction()
56 fullName += "."; in BindNativeFunction()
57 fullName += name; in BindNativeFunction()
59 napi_create_function(env, fullName.c_str(), fullName.length(), func, nullptr, &result); in BindNativeFunction()

Completed in 13 milliseconds

123