/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | ui_ability_test.cpp | 62 * @tc.name: GetUIAbilityName 69 abilityInfo->name = "UIability"; in HWTEST_F() 71 std::shared_ptr<EventRunner> eventRunner = EventRunner::Create(abilityInfo->name); in HWTEST_F() 77 EXPECT_STREQ(abilityInfo->name.c_str(), ability_->GetAbilityName().c_str()); in HWTEST_F() 95 * @tc.name: GetAbilityName 103 std::shared_ptr<EventRunner> eventRunner = EventRunner::Create(abilityInfo->name); in HWTEST_F() 106 std::string name = "LOL"; in HWTEST_F() local 107 abilityInfo->name = name; in HWTEST_F() 111 EXPECT_STREQ(ability_->GetAbilityName().c_str(), name in HWTEST_F() 127 std::string name = "LOL"; HWTEST_F() local [all...] |
/third_party/backends/backend/ |
H A D | snapscan-options.c | 73 /* predefined preview mode name */ 76 /* predefined focus mode name */ 340 po[OPT_COUNT].name = SANE_NAME_NUM_OPTIONS; in init_options() 361 po[OPT_SCANRES].name = SANE_NAME_SCAN_RESOLUTION; in init_options() 409 po[OPT_PREVIEW].name = SANE_NAME_PREVIEW; in init_options() 420 po[OPT_HIGHQUALITY].name = "high-quality"; in init_options() 437 po[OPT_BRIGHTNESS].name = SANE_NAME_BRIGHTNESS; in init_options() 448 po[OPT_CONTRAST].name = SANE_NAME_CONTRAST; in init_options() 459 po[OPT_MODE].name = SANE_NAME_SCAN_MODE; in init_options() 481 po[OPT_PREVIEW_MODE].name in init_options() [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsinfo.c | 388 * return multi-byte string containing the attribute name if exist. the user 390 * null if no name exists (attr->name_length==0). no memory allocated. 400 /* Get name in unicode. */ in ntfs_attr_get_name_mbs() 413 const char *name; in reparse_type_name() local 419 name = " (mount point)"; in reparse_type_name() 422 name = " (symlink)"; in reparse_type_name() 425 name = " (Wof compressed)"; in reparse_type_name() 428 name = " (deduplicated)"; in reparse_type_name() 431 name = " (Windows container)"; in reparse_type_name() 434 name in reparse_type_name() 806 char *name = NULL; ntfs_dump_attr_list() local 1251 ntfschar *name; ntfs_dump_sds() local 1934 ntfschar *name; ntfs_dump_attr_index_allocation() local 2017 const char *name; ntfs_dump_attr_reparse_point() local [all...] |
/third_party/node/deps/v8/src/execution/ |
H A D | isolate.h | 429 #define FIELD_ACCESSOR(type, name) \ 430 inline void set_##name(type v) { name##_ = v; } \ 431 inline type name() const { return name##_; } 520 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \ 521 inline void set_##name(type v) { thread_local_top()->name##_ = v; } \ 522 inline type name() const { return thread_local_top()->name## [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryRequirementsTests.cpp | 261 const std::string& name, 292 const std::string& name, 330 const char* const name; in populateTestGroup() member 345 addFunctionTestCase(bufferGroup.get(), bufferCases[ndx].name, "", bufferCases[ndx].flags); in populateTestGroup() 363 const std::string& name, in addFunctionTestCase() 367 addFunctionCase(group, name, desc, checkSupportBufferMemoryRequirementsOriginal, testEntryPoint, arg0); in addFunctionTestCase() 530 const std::string& name, 557 const std::string& name, in addFunctionTestCase() 561 addFunctionCase(group, name, desc, checkSupportBufferMemoryRequirementsExtended, testEntryPoint, arg0); in addFunctionTestCase() 589 const std::string& name, 362 addFunctionTestCase(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, VkBufferCreateFlags arg0) addFunctionTestCase() argument 556 addFunctionTestCase(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, VkBufferCreateFlags arg0) addFunctionTestCase() argument 629 addFunctionTestCase(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, VkBufferCreateFlags arg0) addFunctionTestCase() argument 732 addFunctionTestCase(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, VkBufferCreateFlags arg0) addFunctionTestCase() argument 880 const char* const name; populateTestGroup() member 940 addFunctionTestCase(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, const ImageTestParams arg0) addFunctionTestCase() argument 1620 addFunctionTestCase(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, const ImageTestParams arg0) addFunctionTestCase() argument 1673 addFunctionTestCase(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, const ImageTestParams arg0) addFunctionTestCase() argument 1750 addFunctionTestCase(tcu::TestCaseGroup* group, const std::string& name, const std::string& desc, const ImageTestParams arg0) addFunctionTestCase() argument 2075 const char* const name; populateMultiplaneTestGroup() member 2088 const char* name; populateMultiplaneTestGroup() member 2102 const std::string name = std::string(imageFlagsCases[flagsNdx].name) + "_" + tilings[tilingNdx].name; populateMultiplaneTestGroup() local [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | uresbund.cpp | 80 * Internal function, gets parts of locale name according 83 static UBool chopLocale(char *name) { in chopLocale() argument 84 char *i = uprv_strrchr(name, '_'); in chopLocale() 184 * Open a resource bundle for the exact bundle name as requested; 198 * @param name In-out parameter: On input, the locale ID to get a parent locale ID for (this is a locale's base name, without keywords); on output, the 200 * @param origName The original locale ID the caller of findFirstExisting() requested. This is the same as `name` on the first call to this function, 203 static bool getParentLocaleID(char *name, const char *origName, UResOpenType openType) { in getParentLocaleID() argument 205 if (name[uprv_strlen(name) in getParentLocaleID() 295 mayHaveParent(char *name) mayHaveParent() argument 487 setEntryName(UResourceDataEntry *res, const char *name, UErrorCode *status) setEntryName() argument 516 const char *name; init_entry() local 662 findFirstExisting(const char* path, char* name, const char* defaultLocale, UResOpenType openType, UBool *isRoot, UBool *foundParent, UBool *isDefault, UErrorCode* status) findFirstExisting() argument 742 loadParentsExceptRoot(UResourceDataEntry *&t1, char name[], int32_t nameCapacity, UBool usingUSRData, char usrDataPath[], UErrorCode *status) loadParentsExceptRoot() argument 821 char name[ULOC_FULLNAME_CAPACITY]; entryOpen() local 998 char name[ULOC_FULLNAME_CAPACITY]; entryOpenDirect() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | uresbund.cpp | 81 * Internal function, gets parts of locale name according 84 static UBool chopLocale(char *name) { in chopLocale() argument 85 char *i = uprv_strrchr(name, '_'); in chopLocale() 185 * Open a resource bundle for the exact bundle name as requested; 199 * @param name In-out parameter: On input, the locale ID to get a parent locale ID for (this is a locale's base name, without keywords); on output, the 201 * @param origName The original locale ID the caller of findFirstExisting() requested. This is the same as `name` on the first call to this function, 204 static bool getParentLocaleID(char *name, const char *origName, UResOpenType openType) { in getParentLocaleID() argument 206 size_t nameLen = uprv_strlen(name); in getParentLocaleID() 207 if (!nameLen || name[nameLe in getParentLocaleID() 297 mayHaveParent(char *name) mayHaveParent() argument 489 setEntryName(UResourceDataEntry *res, const char *name, UErrorCode *status) setEntryName() argument 518 const char *name; init_entry() local 664 findFirstExisting(const char* path, char* name, const char* defaultLocale, UResOpenType openType, UBool *isRoot, UBool *foundParent, UBool *isDefault, UErrorCode* status) findFirstExisting() argument 744 loadParentsExceptRoot(UResourceDataEntry *&t1, char name[], int32_t nameCapacity, UBool usingUSRData, char usrDataPath[], UErrorCode *status) loadParentsExceptRoot() argument 823 char name[ULOC_FULLNAME_CAPACITY]; entryOpen() local 1000 char name[ULOC_FULLNAME_CAPACITY]; entryOpenDirect() local [all...] |
/third_party/elfutils/src/ |
H A D | elflint.c | 218 fputs (_("Missing file name.\n"), stderr); in parse_opt() 254 /* Create the full name of the file. */ in process_file() 708 const char *name = "<invalid>"; in check_symtab() local 710 name = ""; in check_symtab() 713 section [%2d] '%s': symbol %zu: invalid name value\n"), in check_symtab() 717 name = elf_strptr (ebl->elf, shdr->sh_link, sym->st_name); in check_symtab() 718 if (name == NULL) in check_symtab() 719 name = ""; in check_symtab() 729 idx, section_name (ebl, idx), cnt, name); in check_symtab() 735 xndxscnidx, section_name (ebl, xndxscnidx), cnt, name, in check_symtab() 1406 const char *name; check_one_reloc() local 2777 const char *name; section_flags_string() member 2895 const char *name; global() member 2903 add_version(const char *objname, const char *name, GElf_Versym ndx, int type) add_version() argument 3264 const char *name; check_verdef() member 3318 const char *name = elf_strptr (ebl->elf, shdr->sh_link, aux->vda_name); check_verdef() local 3489 const unsigned char *name = p + sizeof len; check_attributes() local 3628 const char *name; global() member [all...] |
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/cpp/ |
H A D | sa_cpp_code_emitter.cpp | 109 std::string name = param->GetName();
in EmitCppParameter() local 113 return StringHelper::Format("%s %s", typeEmitter->EmitCppType(TypeMode::PARAM_INOUT).c_str(), name.c_str());
in EmitCppParameter() 115 return StringHelper::Format("%s %s", typeEmitter->EmitCppType(TypeMode::PARAM_IN).c_str(), name.c_str());
in EmitCppParameter() 117 return StringHelper::Format("%s %s", typeEmitter->EmitCppType(TypeMode::PARAM_OUT).c_str(), name.c_str());
in EmitCppParameter() 119 return StringHelper::Format("unknow param attr %s", name.c_str());
in EmitCppParameter()
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_bundle_manager_form.cpp | 30 const std::string PARAM_FORM_NAME = "com.form.name.test"; 75 bundleInfo.name = bundleName; in GetBundleInfo() 83 abilityInfo.name = FORM_PROVIDER_ABILITY_NAME; in GetBundleInfo() 97 form.name = PARAM_FORM_NAME; in GetAllFormsInfo() 114 form.name = PARAM_FORM_NAME; in GetFormsInfoByApp() 134 form.name = PARAM_FORM_NAME; in GetFormsInfoByModule()
|
/foundation/arkui/ace_engine/adapter/ohos/services/uiservice/src/ |
H A D | ui_service_mgr_client.cpp | 68 ErrCode UIServiceMgrClient::Push(const AAFwk::Want& want, const std::string& name, const std::string& jsonPath, in Push() argument 79 return doms->Push(want, name, jsonPath, data, extraData); in Push() 82 ErrCode UIServiceMgrClient::Request(const AAFwk::Want& want, const std::string& name, const std::string& data) in Request() argument 92 return doms->Request(want, name, data); in Request() 109 ErrCode UIServiceMgrClient::ShowDialog(const std::string& name, in ShowDialog() argument
|
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/systems/ |
H A D | intf_node_system.h | 44 /** Retrieve name of this node. 48 /** Set name of this node. 49 * @param name String to be set as a name for this node. 51 virtual void SetName(BASE_NS::string_view name) = 0; 92 /** Get child node of given parent node by name. 93 * @param name Name which is used to find children. 95 virtual const ISceneNode* GetChild(BASE_NS::string_view const& name) const = 0; 97 /** Get child node of given parent node by name. 98 * @param name Nam [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/ |
H A D | audio_affinity_parser.cpp | 80 (!xmlStrcmp(currNode->name, reinterpret_cast<const xmlChar*>("OutputDevices")))) { in ParseInternal() 83 (!xmlStrcmp(currNode->name, reinterpret_cast<const xmlChar*>("InputDevices")))) { in ParseInternal() 103 (!xmlStrcmp(currNode->name, reinterpret_cast<const xmlChar*>("affinityGroups")))) { in ParserAffinityGroups() 124 (!xmlStrcmp(currNode->name, reinterpret_cast<const xmlChar*>("affinityGroup")))) { in ParserAffinityGroupAttribute() 130 xmlChar *attrGroupName = xmlGetProp(currNode, reinterpret_cast<const xmlChar*>("name")); in ParserAffinityGroupAttribute() 153 (!xmlStrcmp(currNode->name, reinterpret_cast<const xmlChar*>("affinity")))) { in ParserAffinityGroupDeviceInfos()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/PropertyTools/ |
H A D | property_value.h | 108 PropertyValue operator[](BASE_NS::string_view name) const in operator []() 111 const auto nameHash = BASE_NS::FNV1aHash(name.data(), name.size()); in operator []() 113 if ((nameHash == p.hash) && (p.name == name)) { in operator []()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/timer/ |
H A D | time_broker.cpp | 23 std::shared_ptr<TimeBroker> TimeBroker::Create(std::string name) in Create() argument 25 DP_DEBUG_LOG("(%s) created.", name.c_str()); in Create() 26 auto timeBroker = std::make_shared<TimeBroker>(std::move(name)); in Create() 31 TimeBroker::TimeBroker(std::string name) in TimeBroker() argument 32 : name_(std::move(name)), timer_(nullptr), timerInfos_(), expiringTimers_() in TimeBroker()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_common_utils_test/src/ |
H A D | medialibrary_permission_utils_test.cpp | 172 string name = ""; in HWTEST_F() local 174 name = "demo" + to_string(i); in HWTEST_F() 175 PermissionUtils::UpdateLatestBundleInfo(i, {"com.test." + name, name, name + ".appid"}); in HWTEST_F()
|
/foundation/window/window_manager/dm/src/ |
H A D | display.cpp | 34 Impl(const std::string& name, sptr<DisplayInfo> info)
in Impl() argument 36 name_= name;
in Impl() 40 DEFINE_VAR_FUNC_GET_SET(std::string, Name, name);
44 Display::Display(const std::string& name, sptr<DisplayInfo> info)
in Display() argument 45 : pImpl_(new Impl(name, info))
in Display()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_device_info.c | 62 int32_t LnnSetDeviceName(DeviceBasicInfo *info, const char *name) in LnnSetDeviceName() argument 64 if (info == NULL || name == NULL || strlen(name) > DEVICE_NAME_BUF_LEN - 1) { in LnnSetDeviceName() 68 if (strncpy_s(info->deviceName, DEVICE_NAME_BUF_LEN, name, strlen(name)) != EOK) { in LnnSetDeviceName()
|
/foundation/communication/ipc/ipc/test/rpc/samgr/ |
H A D | rpc_samgr.c | 84 const char *name = "16"; in AddRemoteSystemAbility() local 85 if (RegisterRemoteProxy(name, strlen(name), saId) != ERR_NONE) { in AddRemoteSystemAbility() 100 const char *name = "16"; in GetRemoteSystemAbility() local 105 int32_t ret = MakeRemoteBinder(name, nameLen, deviceId, idLen, (uintptr_t)saId, 0, (void *)sid); in GetRemoteSystemAbility()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/include/ |
H A D | lnn_distributed_net_ledger.h | 59 bool LnnSetDLDeviceInfoName(const char *udid, const char *name); 60 bool LnnSetDLDeviceNickName(const char *networkId, const char *name); 99 int32_t LnnSetDLUnifiedDeviceName(const char *udid, const char *name); 100 int32_t LnnSetDLUnifiedDefaultDeviceName(const char *udid, const char *name); 101 int32_t LnnSetDLDeviceNickNameByUdid(const char *udid, const char *name);
|
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/socket_fuzzer/ |
H A D | socket_fuzzer.cpp | 46 .name = socketName.get(), in SocketTestWithName() 73 .name = const_cast<char *>(DEFAULT_SOCKET_NAME.c_str()), in SocketTestWithPeerName() 100 .name = const_cast<char *>(DEFAULT_SOCKET_NAME.c_str()), in SocketTestWithNetworkId() 127 .name = const_cast<char *>(DEFAULT_SOCKET_NAME.c_str()), in SocketTestWithPkgName() 149 .name = const_cast<char *>(DEFAULT_SOCKET_NAME.c_str()), in SocketTestWithDataType()
|
/foundation/communication/netmanager_ext/services/mdnsmanager/src/ |
H A D | mdns_manager.cpp | 54 MDnsProtocolImpl::Result result{.serviceName = serviceInfo.name, in RegisterService() 67 registerMap_.emplace(cb, serviceInfo.name + MDNS_DOMAIN_SPLITER_STR + serviceInfo.type); in RegisterService() 105 std::string name = impl.Decorated(serviceType); in StartDiscoverService() local 106 if (!IsDomainValid(name)) { in StartDiscoverService() 164 std::string instance = serviceInfo.name + MDNS_DOMAIN_SPLITER_STR + serviceInfo.type; in ResolveService()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_cursor.cpp | 40 int32_t RdbCursor::GetColumnName(int32_t col, std::string &name) const in GetColumnName() 42 return resultSet_->GetColumnName(col, name) == DBStatus::OK ? GeneralError::E_OK : GeneralError::E_ERROR; in GetColumnName() 90 std::string name; in Get() local 91 auto status = resultSet_->GetColumnName(col, name); in Get() 99 value = bucket[name]; in Get()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/include/ |
H A D | napi_rdb_error.h | 128 ParamTypeError(const std::string &name, const std::string &wantType) : name(name), wantType(wantType){};
in ParamTypeError() argument 131 return "Parameter error. The type of '" + name + "' must be " + wantType;
139 std::string name;
member in OHOS::AppDataMgrJsKit::ParamTypeError 164 return "Failed open database, invalid database name.";
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_output/dscreen_output/ |
H A D | dscreen_output_plugin.cpp | 28 definition.name = "AVTransDscreenOutputPlugin"; in CreateDscreenOutputPluginDef() 32 definition.creator = [] (const std::string& name) -> std::shared_ptr<AvTransOutputPlugin> { in CreateDscreenOutputPluginDef() 33 return std::make_shared<DscreenOutputPlugin>(name); in CreateDscreenOutputPluginDef() 48 DscreenOutputPlugin::DscreenOutputPlugin(std::string name) in DscreenOutputPlugin() argument 49 : AvTransOutputPlugin(std::move(name)) in DscreenOutputPlugin()
|