/third_party/ffmpeg/libavcodec/ |
H A D | mediacodec_wrapper.c | 389 char *name = NULL; in ff_AMediaCodecList_getCodecNameByType() local 461 name = ff_jni_jstring_to_utf_chars(env, codec_name, log_ctx); in ff_AMediaCodecList_getCodecNameByType() 462 if (!name) { in ff_AMediaCodecList_getCodecNameByType() 473 strstr(name, "OMX.google") || in ff_AMediaCodecList_getCodecNameByType() 474 strstr(name, "OMX.ffmpeg") || in ff_AMediaCodecList_getCodecNameByType() 475 (strstr(name, "OMX.SEC") && strstr(name, ".sw.")) || in ff_AMediaCodecList_getCodecNameByType() 476 !strcmp(name, "OMX.qcom.video.decoder.hevcswvdec")) { in ff_AMediaCodecList_getCodecNameByType() 581 av_freep(&name); in ff_AMediaCodecList_getCodecNameByType() 619 av_freep(&name); in ff_AMediaCodecList_getCodecNameByType() 752 ff_AMediaFormat_getInt32(FFAMediaFormat* format, const char *name, int32_t *out) ff_AMediaFormat_getInt32() argument 791 ff_AMediaFormat_getInt64(FFAMediaFormat* format, const char *name, int64_t *out) ff_AMediaFormat_getInt64() argument 830 ff_AMediaFormat_getFloat(FFAMediaFormat* format, const char *name, float *out) ff_AMediaFormat_getFloat() argument 869 ff_AMediaFormat_getBuffer(FFAMediaFormat* format, const char *name, void** data, size_t *size) ff_AMediaFormat_getBuffer() argument 927 ff_AMediaFormat_getString(FFAMediaFormat* format, const char *name, const char **out) ff_AMediaFormat_getString() argument 977 ff_AMediaFormat_setInt32(FFAMediaFormat* format, const char* name, int32_t value) ff_AMediaFormat_setInt32() argument 1002 ff_AMediaFormat_setInt64(FFAMediaFormat* format, const char* name, int64_t value) ff_AMediaFormat_setInt64() argument 1027 ff_AMediaFormat_setFloat(FFAMediaFormat* format, const char* name, float value) ff_AMediaFormat_setFloat() argument 1052 ff_AMediaFormat_setString(FFAMediaFormat* format, const char* name, const char* value) ff_AMediaFormat_setString() argument 1087 ff_AMediaFormat_setBuffer(FFAMediaFormat* format, const char* name, void* data, size_t size) ff_AMediaFormat_setBuffer() argument 1342 jobject *name = NULL; ff_AMediaCodec_getName() local [all...] |
/third_party/backends/backend/ |
H A D | p5.c | 199 * sane_open() call is performed. A device name may be specified 279 sane_device->name = device->name; in sane_get_devices() 308 * device. The name of the device to be opened is passed in argument 309 * name. If the call completes successfully, a handle for the device 313 * the name of the backend as the device name, in this case the first 315 * @param name name of the device to open 321 sane_open (SANE_String_Const name, SANE_Handl argument [all...] |
/third_party/json/include/nlohmann/detail/output/ |
H A D | binary_writer.hpp | 958 and the entry name size (and its null-terminator). 960 static std::size_t calc_bson_entry_header_size(const string_t& name, const BasicJsonType& j) in calc_bson_entry_header_size() argument 962 const auto it = name.find(static_cast<typename string_t::value_type>(0)); in calc_bson_entry_header_size() 969 return /*id*/ 1ul + name.size() + /*zero-terminator*/1u; in calc_bson_entry_header_size() 973 @brief Writes the given @a element_type and @a name to the output adapter 975 void write_bson_entry_header(const string_t& name, in write_bson_entry_header() argument 980 reinterpret_cast<const CharType*>(name.c_str()), in write_bson_entry_header() 981 name.size() + 1u); in write_bson_entry_header() 985 @brief Writes a BSON element with key @a name and boolean value @a value 987 void write_bson_boolean(const string_t& name, in write_bson_boolean() argument 997 write_bson_double(const string_t& name, const double value) write_bson_double() argument 1015 write_bson_string(const string_t& name, const string_t& value) write_bson_string() argument 1029 write_bson_null(const string_t& name) write_bson_null() argument 1047 write_bson_integer(const string_t& name, const std::int64_t value) write_bson_integer() argument 1075 write_bson_unsigned(const string_t& name, const BasicJsonType& j) write_bson_unsigned() argument 1097 write_bson_object_entry(const string_t& name, const typename BasicJsonType::object_t& value) write_bson_object_entry() argument 1130 write_bson_array(const string_t& name, const typename BasicJsonType::array_t& value) write_bson_array() argument 1149 write_bson_binary(const string_t& name, const binary_t& value) write_bson_binary() argument 1164 calc_bson_element_size(const string_t& name, const BasicJsonType& j) calc_bson_element_size() argument 1212 write_bson_element(const string_t& name, const BasicJsonType& j) write_bson_element() argument [all...] |
/third_party/python/Lib/test/test_import/ |
H A D | __init__.py | 39 def remove_files(name): 40 for f in (name + ".py", 41 name + ".pyc", 42 name + ".pyw", 43 name + "$py.class"): 49 def _ready_to_import(name=None, source=""): 54 name = name or "spam" 56 path = script_helper.make_script(tempdir, name, source) 57 old_module = sys.modules.pop(name, Non 97 self.assertRegex(str(cm.exception), r"cannot import name 'i_dont_exist' from 'os' \\(.*os.py\\)") global() namespace 109 r"cannot import name 'i_dont_exist' from '_testcapi' \\(.*\\.(so|pyd)\\)" global() namespace 421 with self.assertRaisesRegex(ImportError, "^cannot import name 'bogus'"): global() namespace 1349 self.fail('circular import with binding a submodule to a name failed') global() namespace [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/continuation/distributed/ |
H A D | continuation_handler.cpp | 67 abilityInfo_->name.c_str(), in HandleStartContinuationWithStack() 73 want.SetElementName(deviceId, abilityInfo_->bundleName, abilityInfo_->name, abilityInfo_->moduleName); in HandleStartContinuationWithStack() 109 abilityInfo_->name.c_str()); in HandleStartContinuation() 118 abilityInfo_->name.c_str()); in HandleStartContinuation() 123 want.SetElementName(deviceId, abilityInfo_->bundleName, abilityInfo_->name, abilityInfo_->moduleName); in HandleStartContinuation() 260 ElementName element("", abilityInfo_->bundleName, abilityInfo_->name, abilityInfo_->moduleName); in SetWantParams() 299 abilityInfo_->name.c_str()); in ReverseContinuation() 307 abilityInfo_->name.c_str()); in ReverseContinuation()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | service_ability_impl_test.cpp | 63 * @tc.name: HandleAbilityTransaction 73 abilityInfo->name = "MockServiceAbility"; in HWTEST_F() 77 std::shared_ptr<EventRunner> eventRunner = EventRunner::Create(abilityInfo->name); in HWTEST_F() 103 * @tc.name: HandleAbilityTransaction 113 abilityInfo->name = "MockServiceAbility"; in HWTEST_F() 118 std::shared_ptr<EventRunner> eventRunner = EventRunner::Create(abilityInfo->name); in HWTEST_F() 141 * @tc.name: HandleAbilityTransaction 151 abilityInfo->name = "MockServiceAbility"; in HWTEST_F() 155 std::shared_ptr<EventRunner> eventRunner = EventRunner::Create(abilityInfo->name); in HWTEST_F() 176 * @tc.name [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | js_fwk_common.h | 177 void JerrySetNamedProperty(jerry_value_t object, const char * const name, jerry_value_t propValue); 178 void JerrySetNumberProperty(jerry_value_t object, const char * const name, double value); 179 void JerrySetStringProperty(jerry_value_t object, const char * const name, const char * const value); 180 void JerrySetStringProperty(jerry_value_t object, const char * const name, const char * const value, uint32_t length); 182 char *JerryMallocStringProperty(const jerry_value_t object, const char * const name, uint16_t &length); 183 int16_t JerryGetIntegerProperty(jerry_value_t object, const char * const name); 187 * @param name the target property name 191 bool JerryGetBoolProperty(jerry_value_t object, const char * const name, bool &outValue); 192 void JerrySetFuncProperty(jerry_value_t object, const char * const name, jerry_external_handler_ [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_clone_app_test/ |
H A D | bms_bundle_clone_app_ipc_test.cpp | 290 ElementName name; in HWTEST_F() local 291 name.SetAbilityName(abilityName); in HWTEST_F() 292 name.SetBundleName(bundleName); in HWTEST_F() 296 name, 0, appIndex, extensionAbilityInfo, userId); in HWTEST_F() 303 ElementName name; in HWTEST_F() local 304 name.SetAbilityName(abilityName); in HWTEST_F() 305 name.SetBundleName(bundleName); in HWTEST_F() 309 name, 0, appIndex, extensionAbilityInfo, userId); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_camera_post_process_controller.cpp | 59 if (ref.name == DefaultMaterialRenderNodeConstants::CORE_DM_CAMERA_OUTPUT) { in FillPostProcessImages() 66 } else if (ref.name == DefaultMaterialRenderNodeConstants::CORE_DM_CAMERA_COLOR) { in FillPostProcessImages() 70 } else if (ref.name == DefaultMaterialRenderNodeConstants::CORE_DM_CAMERA_DEPTH) { in FillPostProcessImages() 74 } else if (ref.name == DefaultMaterialRenderNodeConstants::CORE_DM_CAMERA_VELOCITY_NORMAL) { in FillPostProcessImages() 78 } else if ((ref.name == DefaultMaterialRenderNodeConstants::CORE_DM_CAMERA_HISTORY) && (!mvLayerCam)) { in FillPostProcessImages() 80 } else if ((ref.name == DefaultMaterialRenderNodeConstants::CORE_DM_CAMERA_HISTORY_NEXT) && (!mvLayerCam)) { in FillPostProcessImages() 194 shrMgr.RegisterRenderNodeOutput(ref.name, ref.handle); in RegisterOutputs() 234 // full name for fetching data in UpdateCurrentScene() 238 currentScene_.cameraControllerRenderNodeName = string(scene.name) + to_hex(fetchCamId) + "CORE3D_RN_CAM_CTRL"; in UpdateCurrentScene()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | meta_types.h | 54 * @brief Generate UID from name and type string. 56 inline constexpr BASE_NS::Uid MakeUid(const char* const name, const char (&type)[9]) in MakeUid() argument 58 return MakeUidImpl(BASE_NS::CompileTime::FNV1aHash(name), type); in MakeUid() 77 return MakeUidImpl(BASE_NS::CompileTime::FNV1aHash(MetaType<Type>::name), type); in MakeUid() 85 (BASE_NS::CompileTime::FNV1aHash(MetaType<Type>::name) + 0x9e3779b97f4a7c15LLU + in CombineHash() 167 static constexpr char name[] = "void"; member 180 static constexpr char name[] = n; \ 186 static constexpr char name[] = n "[]"; \ 192 static constexpr char name[] = "BASE_NS::vector<" n ">"; \
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | intf_container.h | 88 /** Name of the object to find. If name is empty, only the uids are taken into account. */ 89 BASE_NS::string name; member 128 * @brief Get child by name from the immediate children of the container. 129 * @param name Name of the child object to find. 131 * @return The first child object with given name or null if non found. 133 virtual IObject::Ptr FindByName(BASE_NS::string_view name) const = 0; 232 * @brief A helper template for finding a child item in this container that matches the name and implements 238 typename T::Ptr FindAny(BASE_NS::string_view name, TraversalType order) const in FindAny() argument 240 return interface_pointer_cast<T>(FindAny({ BASE_NS::string(name), order, { T::UID }, false })); in FindAny() 243 * @brief A helper template for finding a child item in this container that matches the name [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | rofs_filesystem.cpp | 188 entry.name = tmp.substr(pathLength, t - pathLength); in RoFileSystem() 189 path.reserve(pathLength + entry.name.length() + 1); in RoFileSystem() 190 path += entry.name; in RoFileSystem() 200 return child.type == entry.type && child.name == entry.name; in RoFileSystem() 212 entry.name = tmp.substr(t); in RoFileSystem() 215 path.reserve(pathLength + entry.name.length()); in RoFileSystem() 216 path += entry.name; in RoFileSystem()
|
/foundation/graphic/graphic_3d/kits/js/include/ |
H A D | BaseObjectJS.h | 144 const char* const name, napi_property_attributes flags = napi_default_jsproperty) in TROSetProperty() 147 return napi_property_descriptor { name, nullptr, nullptr, nullptr, TROSetter<Type, Object, F2>, nullptr, flags, in TROSetProperty() 153 const char* const name, napi_property_attributes flags = napi_default_jsproperty) in TROGetProperty() 156 return napi_property_descriptor { name, nullptr, nullptr, TROGetter<Object, F>, nullptr, nullptr, flags, nullptr }; in TROGetProperty() 162 const char* const name, napi_property_attributes flags = napi_default_jsproperty) in TROGetSetProperty() 166 return napi_property_descriptor { name, nullptr, nullptr, TROGetter<Object, F>, TROSetter<Type, Object, F2>, in TROGetSetProperty() 188 const char* const name, napi_property_attributes flags = napi_default_method) in MakeTROMethod() 190 return napi_property_descriptor { name, nullptr, TROMethod<FC, Object, F>, nullptr, nullptr, nullptr, flags, in MakeTROMethod() 143 TROSetProperty( const char* const name, napi_property_attributes flags = napi_default_jsproperty) TROSetProperty() argument 152 TROGetProperty( const char* const name, napi_property_attributes flags = napi_default_jsproperty) TROGetProperty() argument 161 TROGetSetProperty( const char* const name, napi_property_attributes flags = napi_default_jsproperty) TROGetSetProperty() argument 187 MakeTROMethod( const char* const name, napi_property_attributes flags = napi_default_method) MakeTROMethod() argument
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/hls/ |
H A D | m3u8.cpp | 50 M3U8::M3U8(std::string uri, std::string name) : uri_(std::move(uri)), name_(std::move(name)) in M3U8() argument 174 M3U8VariantStream::M3U8VariantStream(std::string name, std::string uri, std::shared_ptr<M3U8> m3u8) in M3U8VariantStream() argument 175 : name_(std::move(name)), uri_(std::move(uri)), m3u8_(std::move(m3u8)) in M3U8VariantStream() 217 auto name = uriAttribute->QuotedString(); in UpdateMasterPlaylist() 218 auto uri = UriJoin(uri_, name); in UpdateMasterPlaylist() 219 auto stream = std::make_shared<M3U8VariantStream>(name, uri, std::make_shared<M3U8>(uri, name)); in UpdateMasterPlaylist()
|
/foundation/multimedia/drm_framework/services/utils/ |
H A D | drm_api_operation.cpp | 145 {"name", [&](const std::string &value) { event.name = value; }}, in ParseEvent() 225 config.name = reportConfig.config_name; in AddProcessor() 233 event1.name = eventConfig.event1.name; in AddProcessor() 238 event2.name = eventConfig.event2.name; in AddProcessor() 243 event3.name = eventConfig.event3.name; in AddProcessor()
|
/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | key_auto_repeat.cpp | 244 std::string name = "keyboardRepeatDelay"; in SetKeyboardRepeatDelay() local 245 if (PutConfigDataToDatabase(name, repeatDelayTime) != RET_OK) { in SetKeyboardRepeatDelay() 263 std::string name = "keyboardRepeatRate"; in SetKeyboardRepeatRate() local 264 if (PutConfigDataToDatabase(name, repeatRateTime) != RET_OK) { in SetKeyboardRepeatRate() 275 std::string name = "keyboardRepeatDelay"; in GetKeyboardRepeatDelay() local 276 if (GetConfigDataFromDatabase(name, delay) != RET_OK) { in GetKeyboardRepeatDelay() 293 std::string name = "keyboardRepeatRate"; in GetKeyboardRepeatRate() local 294 if (GetConfigDataFromDatabase(name, rate) != RET_OK) { in GetKeyboardRepeatRate()
|
/foundation/window/window_manager/test/fuzztest/wms/windowscene_fuzzer/ |
H A D | windowscene_fuzzer.cpp | 99 char name[LEN + 1]; in InitWindowOption1() local 100 name[LEN] = END_CHAR; in InitWindowOption1() 102 startPos += GetObject<char>(name[i], data + startPos, size - startPos); in InitWindowOption1() 104 std::string windowName(name); in InitWindowOption1() 173 char name[LEN + 1]; in DoSomethingInterestingWithMyAPI() local 174 name[LEN] = END_CHAR; in DoSomethingInterestingWithMyAPI() 176 startPos += GetObject<char>(name[i], data + startPos, size - startPos); in DoSomethingInterestingWithMyAPI() 178 std::string windowName(name); in DoSomethingInterestingWithMyAPI()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/session/ |
H A D | client_trans_socket_service_test.cpp | 50 * @tc.name: SocketName001 51 * @tc.desc: call Socket function with different socket name. 65 // socket name is null pointer in HWTEST_F() 66 info.name = nullptr; in HWTEST_F() 70 // the length of socket name is zero in HWTEST_F() 73 info.name = socketName; in HWTEST_F() 77 // the length of socket name greater than 255 in HWTEST_F() 79 info.name = socketName; in HWTEST_F() 85 * @tc.name: SocketPeerName001 93 info.name in HWTEST_F() [all...] |
/foundation/communication/netstack/frameworks/js/napi/fetch/async_context/src/ |
H A D | fetch_context.cpp | 94 std::for_each(names.begin(), names.end(), [header, this](const std::string &name) { in ParseHeader() 95 auto value = NapiUtils::GetStringPropertyUtf8(GetEnv(), header, name); in ParseHeader() 97 request.SetHeader(CommonUtils::ToLower(name), value); in ParseHeader() 177 std::for_each(names.begin(), names.end(), [this, data, &extraParam](std::string name) { in GetUrlParam() 178 auto value = NapiUtils::GetStringPropertyUtf8(GetEnv(), data, name); in GetUrlParam() 179 if (!name.empty() && !value.empty()) { in GetUrlParam() 180 bool encodeName = FetchExec::EncodeUrlParam(name); in GetUrlParam() 187 name + FetchConstant::HTTP_URL_NAME_VALUE_SEPARATOR + value + FetchConstant::HTTP_URL_PARAM_SEPARATOR; in GetUrlParam()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | cache_cursor_test.cpp | 63 record["name"] = NAME;
in SetUpTestCase() 72 * @tc.name: CacheCursorTest001
82 std::vector<std::string> expectedNames = { "age", "identifier", "name", "phoneNumber" };
in HWTEST_F() 122 * @tc.name: UnCacheCursorTest001
132 std::vector<std::string> expectedNames = { "age", "identifier", "name", "phoneNumber" };
in HWTEST_F() 155 * @tc.name: CacheCursorTest002
173 std::string name = *std::get_if<std::string>(&data["name"]);
in HWTEST_F() local 174 EXPECT_EQ(name, "tony");
in HWTEST_F() 193 err = cursor->Get("name", valu in HWTEST_F() 223 std::string name = *std::get_if<std::string>(&data["name"]); HWTEST_F() local [all...] |
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/ |
H A D | file_operations_local_test.cpp | 70 * @tc.name: LookUpTest001 83 const char *name = "mock"; in HWTEST_F() local 87 fileoperationslocal_->Lookup(req, parent, name); in HWTEST_F() 97 * @tc.name: LookUpTest002 110 const char *name = "mock"; in HWTEST_F() local 114 fileoperationslocal_->Lookup(req, parent, name); in HWTEST_F() 124 * @tc.name: LookUpTest003 137 const char *name = "mock"; in HWTEST_F() local 141 fileoperationslocal_->Lookup(req, parent, name); in HWTEST_F() 151 * @tc.name 164 const char *name = "mock"; HWTEST_F() local [all...] |
/test/testfwk/xdevice/plugins/devicetest/runner/ |
H A D | prepare.py | 51 name = get_base_name(case.attrib["name"].strip()) 52 if name and case_name == name: 101 # This should be considered a test class name 109 def validate_test_name(self, name): 110 """Checks if a test name is valid. """ 111 if name == "" or name is None or len(name) < [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | options.c | 45 if(fc->iformat) return fc->iformat->name; in format_to_name() 46 else if(fc->oformat) return fc->oformat->name; in format_to_name() 142 s->iformat && !strcmp(s->iformat->name, "image2") || in io_open_default() 143 s->oformat && !strcmp(s->oformat->name, "image2") in io_open_default() 337 for (const AVOption *opt = stream_options; opt->name; opt++) in av_disposition_from_string() 338 if (option_is_disposition(opt) && !strcmp(disp, opt->name)) in av_disposition_from_string() 351 for (const AVOption *opt = stream_options; opt->name; opt++) in av_disposition_to_string() 353 return opt->name; in av_disposition_to_string()
|
/third_party/ffmpeg/libavutil/tests/ |
H A D | opt.c | 164 ret = av_opt_is_set_to_default_by_name(&test_ctx, o->name, 0); in main() 165 printf("name:%10s default:%d error:%s\n", o->name, !!ret, ret < 0 ? av_err2str(ret) : ""); in main() 169 ret = av_opt_is_set_to_default_by_name(&test_ctx, o->name, 0); in main() 170 printf("name:%10s default:%d error:%s\n", o->name, !!ret, ret < 0 ? av_err2str(ret) : ""); in main() 197 ret1 = av_opt_get(&test_ctx, o->name, 0, (uint8_t **)&value1); in main() 199 ret2 = av_opt_set(&test2_ctx, o->name, value1, 0); in main() 201 ret3 = av_opt_get(&test2_ctx, o->name, 0, (uint8_t **)&value2); in main() 204 printf("name in main() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | URLHandler.java | 234 String name = entry.getName(); in guide() 236 if (name.startsWith(prefix)) { in guide() 237 name = name.substring(prefix.length()); in guide() 238 int ix = name.lastIndexOf('/'); in guide() 243 name = name.substring(ix+1); in guide() 245 v.visit(name); in guide()
|