Home
last modified time | relevance | path

Searched refs:attr1 (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/dsoftbus/adapter/common/bus_center/network/
H A Dlnn_netlink_monitor.c91 struct rtattr *attr1 = attr; in ParseRtAttr() local
92 for (; RTA_OK(attr1, len); attr1 = RTA_NEXT(attr1, len)) { in ParseRtAttr()
93 if (attr1->rta_type <= max) { in ParseRtAttr()
94 tb[attr1->rta_type] = attr1; in ParseRtAttr()
/foundation/multimedia/av_codec/test/unittest/hls_test/
H A Dm3u8_unit_test.cpp180 auto attr1 = std::make_shared<Attribute>("DURATION", "3.5"); in HWTEST_F() local
181 tag->AddAttribute(attr1); in HWTEST_F()
192 auto attr1 = std::make_shared<Attribute>("METHOD", "AES-128"); in HWTEST_F() local
193 tag->AddAttribute(attr1); in HWTEST_F()
202 auto attr1 = std::make_shared<Attribute>("URI", "http://example.com/key.bin"); in HWTEST_F() local
203 tag->AddAttribute(attr1); in HWTEST_F()
212 auto attr1 = std::make_shared<Attribute>("IV", "0x12345678"); in HWTEST_F() local
213 tag->AddAttribute(attr1); in HWTEST_F()
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/
H A Dnnrt_device_service.cpp487 float attr1 {0.0}; in ShowCustomAttributes()
490 auto ret = ParseCustomAttributes(extensions, attr1, attr2); in ShowCustomAttributes()
496 if (attr1 != 0.0f) { in ShowCustomAttributes()
497 HDF_LOGI("Set attr1: %f", attr1); in ShowCustomAttributes()
530 float& attr1, std::string& attr2) const in ParseCustomAttributes()
534 if (extension.first == "attr1") { in ParseCustomAttributes()
535 ret = ConvertVecToFloat(extension.second, attr1); in ParseCustomAttributes()
540 if (attr1 <= 0.0f || attr1 > 1. in ParseCustomAttributes()
529 ParseCustomAttributes(const std::map<std::string, std::vector<int8_t>>& extensions, float& attr1, std::string& attr2) const ParseCustomAttributes() argument
[all...]
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/include/
H A Dnnrt_device_service.h78 NNRT_ReturnCode ParseCustomAttributes(const std::map<std::string, std::vector<int8_t>>& extensions, float& attr1,

Completed in 3 milliseconds