/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/osal/include/ |
H A D | drv_osal_hi3516cv500.h | 146 .name = "nonsec_cipher", \ 165 .name = "nonsec_hash", \ 184 .name = "nonsec_rsa", \ 207 .name = "cipher", \ 226 .name = "hash", \ 245 .name = "rsa0", \ 263 .name = "trng", \
|
/foundation/ai/neural_network_runtime/test/system_test/ |
H A D | device_test.cpp | 41 * @tc.name: device_001 59 * @tc.name: device_002 72 * @tc.name: device_003 85 * @tc.name: device_004 100 * @tc.name: device_005 101 * @tc.desc: Get device name successfully. 106 const char* name = nullptr; in HWTEST_F() local 107 OH_NN_ReturnCode ret = OH_NNDevice_GetName(m_deviceId, &name); in HWTEST_F() 109 std::string sName(name); in HWTEST_F() 114 * @tc.name 121 const char* name = nullptr; HWTEST_F() local 134 const char* name = "name"; HWTEST_F() local [all...] |
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
H A D | tensor_desc.cpp | 178 OH_NN_ReturnCode TensorDesc::SetName(const char* name) in SetName() argument 180 if (name == nullptr) { in SetName() 181 LOGE("SetName failed, name is nullptr."); in SetName() 184 m_name = name; in SetName() 188 // *name will be invalid after TensorDesc is destroyed 189 OH_NN_ReturnCode TensorDesc::GetName(const char** name) const in GetName() 191 if (name == nullptr) { in GetName() 192 LOGE("GetName failed, name is nullptr."); in GetName() 195 if (*name != nullptr) { in GetName() 196 LOGE("GetName failed, *name i in GetName() [all...] |
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/type/ |
H A D | hdi_map_type_emitter.h | 43 void EmitCppWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, 46 void EmitCppReadVar(const std::string &name, StringBuilder &sb, const std::string &prefix, 49 void EmitCppMarshalling(const std::string &parcelName, const std::string &name, StringBuilder &sb, 52 void EmitCppUnMarshalling(const std::string &parcelName, const std::string &name, StringBuilder &sb, 55 void EmitJavaWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, 58 void EmitJavaReadVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, 61 void EmitJavaReadInnerVar(const std::string &parcelName, const std::string &name, bool isInner, StringBuilder &sb,
|
/foundation/ability/ability_runtime/test/moduletest/common/ams/specified_ability_service_test/ |
H A D | specified_ability_service_test.cpp | 45 AbilityInfo CreateAbilityInfo(const std::string& name, const std::string& appName, const std::string& bundleName); 46 ApplicationInfo CreateAppInfo(const std::string& appName, const std::string& name); 59 const std::string& name, const std::string& appName, const std::string& bundleName) in CreateAbilityInfo() 63 abilityInfo.name = name; in CreateAbilityInfo() 68 abilityInfo.applicationInfo.name = "hiMusic"; in CreateAbilityInfo() 78 appInfo.name = appName; in CreateAppInfo() 93 * @tc.name: OnAcceptWantResponse_001 58 CreateAbilityInfo( const std::string& name, const std::string& appName, const std::string& bundleName) CreateAbilityInfo() argument
|
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_recent_list_test/ |
H A D | ams_app_recent_list_module_test.cpp | 84 appInfo->name = TEST_APP_NAME + std::to_string(index); in GetApplicationByIndex() 93 appInfo->name = TEST_APP_NAME + std::to_string(index); in CreateAppRunningRecordByIndex() 94 abilityInfo->name = TEST_ABILITY_NAME + std::to_string(index); in CreateAppRunningRecordByIndex() 95 abilityInfo->applicationName = appInfo->name; in CreateAppRunningRecordByIndex() 96 abilityInfo->applicationInfo.bundleName = appInfo->name; in CreateAppRunningRecordByIndex() 97 abilityInfo->process = appInfo->name; in CreateAppRunningRecordByIndex() 102 appInfo->name, abilityInfo->process, abilityInfo->applicationInfo.uid, bundleInfo); in CreateAppRunningRecordByIndex()
|
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | avcodec_video_decoder.h | 250 static std::shared_ptr<AVCodecVideoDecoder> CreateByName(const std::string &name) in CreateByName() argument 252 (void)name; in CreateByName() 258 (void)name; in CreateByMime() 264 static int32_t CreateByName(const std::string &name, Format &format, std::shared_ptr<AVCodecVideoDecoder> &decoder) in CreateByName() argument 266 (void)name; in CreateByName() 285 * @param name The decoder's name. 290 static std::shared_ptr<AVCodecVideoDecoder> CreateByName(const std::string &name); 314 static int32_t CreateByName(const std::string &name, Format &format, std::shared_ptr<AVCodecVideoDecoder> &decoder);
|
H A D | avcodec_video_encoder.h | 274 static std::shared_ptr<AVCodecVideoEncoder> CreateByName(const std::string &name) in CreateByName() argument 276 (void)name; in CreateByName() 282 (void)name; in CreateByMime() 288 static int32_t CreateByName(const std::string &name, Format &format, std::shared_ptr<AVCodecVideoEncoder> &encodec) in CreateByName() argument 290 (void)name; in CreateByName() 309 * @param name The encoder's name. 314 static std::shared_ptr<AVCodecVideoEncoder> CreateByName(const std::string &name); 338 static int32_t CreateByName(const std::string &name, Format &format, std::shared_ptr<AVCodecVideoEncoder> &encodec);
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | typeface_font_asset_provider.cpp | 59 SkString name; in RegisterTypeface() local 60 typeface->getFamilyName(&name); in RegisterTypeface() 62 std::string familyName(name.c_str(), name.size()); in RegisterTypeface() 119 void TypefaceFontStyleSet::getStyle(int index, SkFontStyle* style, SkString* name) in getStyle() argument 128 if (name) { in getStyle() 129 name->reset(); in getStyle()
|
/foundation/multimedia/media_foundation/src/osal/task/pthread/ |
H A D | thread.cpp | 62 void Thread::SetName(const std::string& name) in SetName() argument 64 name_ = name; in SetName() 73 state_->name = name_; in CreateThread() 99 MEDIA_LOG_E("thread create failed, name: " PUBLIC_LOG_S ", rtv: " PUBLIC_LOG_D32, name_.c_str(), rtv); in CreateThread() 117 MEDIA_LOG_W("task name " PUBLIC_LOG_S " exceed max size: " PUBLIC_LOG_D32, in SetNameInternal() 128 std::string name; in Run() local 137 name = state->name; in Run() 145 MEDIA_LOG_W("Thread " PUBLIC_LOG_S " exited...", name.c_str()); in Run()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/timer/ |
H A D | timer.cpp | 25 std::shared_ptr<Timer> Timer::Create(const std::string& name, TimerType timerType, in Create() argument 28 DP_DEBUG_LOG("name: %s, timer type: %{public}d(0: once, 1: periodic), intervalMs: %u", in Create() 29 name.c_str(), timerType, intervalMs); in Create() 31 MakeSharedHelper(const std::string& name, TimerType timerType, uint32_t intervalMs, TimerCallback callback) in Create() 32 : Timer(name, timerType, intervalMs, std::move(callback)) in Create() 36 auto timer = std::make_shared<MakeSharedHelper>(name, timerType, intervalMs, std::move(callback)); in Create() 43 Timer::Timer(const std::string& name, TimerType timerType, uint32_t intervalMs, TimerCallback callback) in Timer() argument 44 : name_(name), timerType_(timerType), intervalMs_(intervalMs), callback_(std::move(callback)), expiredTimeMs_(0) in Timer() 46 DP_DEBUG_LOG("name: %s, timer type: %{public}d(0: once, 1: periodic), intervalMs: %u", in Timer() 52 DP_DEBUG_LOG("name in ~Timer() [all...] |
/foundation/multimedia/media_foundation/interface/inner_api/filter/ |
H A D | filter_factory.h | 51 void RegisterFilter(const std::string& name, const FilterType type, const InstanceGenerator& generator = nullptr) in RegisterFilter() argument 53 RegisterFilterPriv<T>(name, type, generator); in RegisterFilter() 62 void RegisterFilterPriv(const std::string& name, const FilterType type, const InstanceGenerator& generator) in RegisterFilterPriv() argument 86 explicit AutoRegisterFilter(const std::string& name, const FilterType type) in AutoRegisterFilter() argument 88 FilterFactory::Instance().RegisterFilter<T>(name, type); in AutoRegisterFilter() 91 AutoRegisterFilter(const std::string& name, const FilterType type, const InstanceGenerator& generator) in AutoRegisterFilter() argument 93 FilterFactory::Instance().RegisterFilter<T>(name, type, generator); in AutoRegisterFilter()
|
/foundation/multimedia/media_foundation/engine/include/plugin/interface/ |
H A D | plugin_definition.h | 74 std::string name; ///< Package name. The plugin framework registers the plugin using this name. member 75 ///< If the plugins are packaged as a dynamic library, the name of library 76 ///< must be in the format of "libplugin_<name>.so". 86 using PluginCreatorFunc = std::function<std::shared_ptr<T>(const std::string& name)>; 99 std::string name; ///< Indicates the name of a plugin. The name of the same type plugins must be unique. member 100 ///< Plugins with the same name ma [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_sql_utils.cpp | 72 std::pair<std::string, int> RdbSqlUtils::GetDefaultDatabasePath(const std::string &baseDir, const std::string &name, in GetDefaultDatabasePath() argument 77 return std::make_pair(GetDefaultDatabasePath(baseDir, name, errorCode), errorCode); in GetDefaultDatabasePath() 85 LOG_ERROR("failed errno[%{public}d] baseDir : %{public}s name : %{public}s customDir : %{public}s", errno, in GetDefaultDatabasePath() 86 SqliteUtils::Anonymous(baseDir).c_str(), SqliteUtils::Anonymous(name).c_str(), in GetDefaultDatabasePath() 89 return std::make_pair(databaseDir.append("/").append(name), errorCode); in GetDefaultDatabasePath() 95 std::string RdbSqlUtils::GetDefaultDatabasePath(const std::string &baseDir, const std::string &name, int &errorCode) in GetDefaultDatabasePath() argument 100 LOG_ERROR("failed errno[%{public}d] baseDir : %{public}s name : %{public}s", errno, in GetDefaultDatabasePath() 101 SqliteUtils::Anonymous(baseDir).c_str(), SqliteUtils::Anonymous(name).c_str()); in GetDefaultDatabasePath() 103 return databaseDir.append("/").append(name); in GetDefaultDatabasePath()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/test/unittest/ |
H A D | av_sync_utils_test.cpp | 53 std::string name = ""; in HWTEST_F() local 55 auto ret = CreateAVTransSharedMemory(name, size); in HWTEST_F() 64 .name = "", in HWTEST_F() 75 .name = "name_test", in HWTEST_F() 83 .name = "name_test", in HWTEST_F() 94 .name = "name_test", in HWTEST_F() 146 EXPECT_EQ("mem_name_test", ret.name); in HWTEST_F()
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/transport/softbus/ |
H A D | softbus_session.cpp | 127 std::string SoftbusSession::ToBeAnonymous(const std::string &name) in ToBeAnonymous() argument 129 if (name.length() <= HEAD_SIZE) { in ToBeAnonymous() 133 if (name.length() < MIN_SIZE) { in ToBeAnonymous() 134 return (name.substr(0, HEAD_SIZE) + REPLACE_CHAIN); in ToBeAnonymous() 137 return (name.substr(0, HEAD_SIZE) + REPLACE_CHAIN + name.substr(name.length() - END_SIZE, END_SIZE)); in ToBeAnonymous()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/ |
H A D | n_val.h | 79 static napi_property_descriptor DeclareNapiProperty(const char *name, napi_value val); 80 static napi_property_descriptor DeclareNapiStaticProperty(const char *name, napi_value val); 81 static napi_property_descriptor DeclareNapiFunction(const char *name, napi_callback func); 82 static napi_property_descriptor DeclareNapiStaticFunction(const char *name, napi_callback func); 83 static napi_property_descriptor DeclareNapiGetter(const char *name, napi_callback getter); 84 static napi_property_descriptor DeclareNapiSetter(const char *name, napi_callback setter); 85 static inline napi_property_descriptor DeclareNapiGetterSetter(const char *name,
|
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/ |
H A D | mtpfs_type_dir.cpp | 20 MtpFsTypeDir::MtpFsTypeDir(uint32_t id, uint32_t parentId, uint32_t storageId, const std::string &name) in MtpFsTypeDir() argument 21 : MtpFsTypeBasic(id, parentId, storageId, name), in MtpFsTypeDir() 56 f->name = strdup(name_.c_str()); in ToLIBMTPFolder() 125 const MtpFsTypeDir *MtpFsTypeDir::Dir(const std::string &name) const in Dir() 128 auto it = std::find(dirs_.begin(), dirs_.end(), name); in Dir() 136 const MtpFsTypeFile *MtpFsTypeDir::File(const std::string &name) const in File() 139 auto it = std::find(files_.begin(), files_.end(), name); in File()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/ |
H A D | n_val.h | 119 static napi_property_descriptor DeclareNapiProperty(const char *name, napi_value val); 121 static napi_property_descriptor DeclareNapiStaticProperty(const char *name, napi_value val); 123 static napi_property_descriptor DeclareNapiFunction(const char *name, napi_callback func); 125 static napi_property_descriptor DeclareNapiStaticFunction(const char *name, napi_callback func); 127 static napi_property_descriptor DeclareNapiGetter(const char *name, napi_callback getter); 129 static napi_property_descriptor DeclareNapiSetter(const char *name, napi_callback setter); 131 static inline napi_property_descriptor DeclareNapiGetterSetter(const char *name,
|
/third_party/elfutils/libdwfl/ |
H A D | dwfl_error.c | 58 #define DWFL_ERROR(name, text) char msg_##name[sizeof text]; in INTDEF() 67 #define DWFL_ERROR(name, text) + sizeof text 75 #define DWFL_ERROR(name, text) text, 84 #define DWFL_ERROR(name, text) \ 85 [DWFL_E_##name] = offsetof (struct msgtable, msg_##name),
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_asetrate.c | 34 #define OPT_GENERIC(name, field, def, min, max, descr, type, deffield, ...) \ 35 { name, descr, offsetof(CONTEXT, field), AV_OPT_TYPE_ ## type, \ 38 #define OPT_INT(name, field, def, min, max, descr, ...) \ 39 OPT_GENERIC(name, field, def, min, max, descr, INT, i64, __VA_ARGS__) 93 .name = "default", 101 .name = "default", 108 .name = "asetrate",
|
H A D | vf_format.c | 96 if (!strcmp(ctx->filter->name, "noformat")) { in init() 151 .name = "default", 159 .name = "default", 165 .name = "format", 187 .name = "default", 195 .name = "default", 201 .name = "noformat",
|
/third_party/ffmpeg/libavutil/ |
H A D | pixdesc.h | 70 const char *name; member 218 * @return the name for provided color range or NULL if unknown. 223 * @return the AVColorRange value for name or an AVError if not found. 225 int av_color_range_from_name(const char *name); 228 * @return the name for provided color primaries or NULL if unknown. 233 * @return the AVColorPrimaries value for name or an AVError if not found. 235 int av_color_primaries_from_name(const char *name); 238 * @return the name for provided color transfer or NULL if unknown. 243 * @return the AVColorTransferCharacteristic value for name or an AVError if not found. 245 int av_color_transfer_from_name(const char *name); [all...] |
/third_party/gn/src/gn/ |
H A D | label.h | 19 // A label represents the name of a target or some other named thing in 20 // the source path. The label is always absolute and always includes a name 26 // Makes a label given an already-separated out path and name. 29 std::string_view name, 34 Label(const SourceDir& dir, std::string_view name); 48 const std::string& name() const { return name_.str(); } in name() function in Label 94 // Returns true if the toolchain dir/name of this object matches some 104 Label(SourceDir dir, StringAtom name) in Label() argument 105 : dir_(dir), name_(name), hash_(ComputeHash()) {} in Label() 108 StringAtom name, in Label() 107 Label(SourceDir dir, StringAtom name, SourceDir toolchain_dir, StringAtom toolchain_name) Label() argument [all...] |
/third_party/ffmpeg/tools/ |
H A D | gen-rc | 54 name=$1 55 shortname=${name#lib} 57 capname=`echo $name | awk '{print toupper($0)}'` 60 mkdir -p "$name" 61 output="$name/${shortname}res.rc" 66 * Windows resource file for $name 89 #include "$name/version.h" 107 VALUE "InternalName", "$name"
|