/foundation/ability/idl_tool/idl_tool_2/ast/ |
H A D | ast_attribute.cpp | 23 std::vector<std::string> attrs;
in ToString() local 25 attrs.push_back("mini");
in ToString() 29 attrs.push_back("lite");
in ToString() 33 attrs.push_back("full");
in ToString() 37 attrs.push_back("oneway");
in ToString() 41 attrs.push_back("callback");
in ToString() 46 for (size_t i = 0; i < attrs.size(); i++) {
in ToString() 47 sb.Append(attrs[i]);
in ToString() 48 if (i + 1 < attrs.size()) {
in ToString() 77 std::vector<std::string> attrs;
in ToString() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/ |
H A D | svg_base_declaration.cpp | 218 auto& attrs = declaration.MaybeResetAttribute<SvgBaseAttribute>(AttributeTag::SPECIALIZED_ATTR); 223 attrs.clipState.SetHref(src); 228 auto& attrs = declaration.MaybeResetAttribute<SvgBaseAttribute>(AttributeTag::SPECIALIZED_ATTR); 229 attrs.clipState.SetClipRule(val); 233 auto& attrs = declaration.MaybeResetAttribute<SvgBaseAttribute>(AttributeTag::SPECIALIZED_ATTR); 238 attrs.clipState.SetHref(src); 243 auto& attrs = declaration.MaybeResetAttribute<SvgBaseAttribute>(AttributeTag::SPECIALIZED_ATTR); 244 attrs.clipState.SetClipRule(val); 248 auto& attrs = declaration.MaybeResetAttribute<SvgBaseAttribute>(AttributeTag::SPECIALIZED_ATTR); 253 attrs 450 auto& attrs = MaybeResetAttribute<SvgBaseAttribute>(AttributeTag::SPECIALIZED_ATTR); global() local [all...] |
H A D | svg_animate_declaration.cpp | 74 auto& attrs = declaration.MaybeResetAttribute<SvgAnimateAttribute>(AttributeTag::SPECIALIZED_ATTR); in SetAnimateAttr() 75 StringUtils::SplitStr(val, ";", attrs.values); in SetAnimateAttr() 82 auto& attrs = declaration.MaybeResetAttribute<SvgAnimateAttribute>(AttributeTag::SPECIALIZED_ATTR); in SetAnimateAttr() 83 StringUtils::StringSplitter(val, ';', attrs.keyTimes); in SetAnimateAttr() 90 auto& attrs = declaration.MaybeResetAttribute<SvgAnimateAttribute>(AttributeTag::SPECIALIZED_ATTR); in SetAnimateAttr() 91 StringUtils::SplitStr(val, ";", attrs.keySplines); in SetAnimateAttr() 110 auto& attrs = declaration.MaybeResetAttribute<SvgAnimateAttribute>( in SetAnimateAttr() 112 StringUtils::StringSplitter(val, ';', attrs.keyPoints); in SetAnimateAttr()
|
H A D | svg_fe_colormatrix_declaration.cpp | 37 static const LinearMapNode<void (*)(const std::string&, SvgFeColorMatrixDeclaration&)> attrs[] = { in SetSpecializedValue() local 47 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), attr.first.c_str()); in SetSpecializedValue() 49 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_fe_gaussianblur_declaration.cpp | 37 static const LinearMapNode<void (*)(const std::string&, SvgFeGaussianBlurDeclaration&)> attrs[] = { in SetSpecializedValue() local 51 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), key.c_str()); in SetSpecializedValue() 53 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_fe_blend_declaration.cpp | 37 static const LinearMapNode<void (*)(const std::string&, SvgFeBlendDeclaration&)> attrs[] = { in SetSpecializedValue() local 49 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), key.c_str()); in SetSpecializedValue() 51 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_fe_offset_declaration.cpp | 37 static const LinearMapNode<void (*)(const std::string&, SvgFeOffsetDeclaration&)> attrs[] = { in SetSpecializedValue() local 47 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), attr.first.c_str()); in SetSpecializedValue() 49 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_fe_flood_declaration.cpp | 37 static const LinearMapNode<void (*)(const std::string&, SvgFeFloodDeclaration&)> attrs[] = { in SetSpecializedValue() local 47 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), attr.first.c_str()); in SetSpecializedValue() 49 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_text_path_declaration.cpp | 47 static const LinearMapNode<void (*)(const std::string&, SvgTextPathDeclaration&)> attrs[] = { in SetSpecializedValue() local 61 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), attr.first.c_str()); in SetSpecializedValue() 63 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_ellipse_declaration.cpp | 47 static const LinearMapNode<void (*)(const std::string&, SvgEllipseDeclaration&)> attrs[] = { in SetSpecializedValue() local 65 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), attr.first.c_str()); in SetSpecializedValue() 67 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_circle_declaration.cpp | 47 static const LinearMapNode<void (*)(const std::string&, SvgCircleDeclaration&)> attrs[] = { in SetSpecializedValue() local 61 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), attr.first.c_str()); in SetSpecializedValue() 63 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_line_declaration.cpp | 47 static const LinearMapNode<void (*)(const std::string&, SvgLineDeclaration&)> attrs[] = { in SetSpecializedValue() local 65 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), attr.first.c_str()); in SetSpecializedValue() 67 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_filter_declaration.cpp | 37 static const LinearMapNode<void (*)(const std::string&, SvgFilterDeclaration&)> attrs[] = { in SetSpecializedAttr() local 58 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), key.c_str()); in SetSpecializedAttr() 60 attrs[attrIter].value(attr.second, *this); in SetSpecializedAttr()
|
H A D | svg_fe_composite_declaration.cpp | 37 static const LinearMapNode<void (*)(const std::string&, SvgFeCompositeDeclaration&)> attrs[] = { in SetSpecializedValue() local 63 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), attr.first.c_str()); in SetSpecializedValue() 65 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_fe_func_declaration.cpp | 37 static const LinearMapNode<void (*)(const std::string&, SvgFeFuncDeclaration&)> attrs[] = { in SetSpecializedValue() local 69 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), key.c_str()); in SetSpecializedValue() 71 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_stop_declaration.cpp | 55 static const LinearMapNode<void (*)(const std::string&, SvgStopDeclaration&)> attrs[] = { in SetSpecializedValue() local 79 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), attr.first.c_str()); in SetSpecializedValue() 81 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_text_declaration.cpp | 47 static const LinearMapNode<void (*)(const std::string&, SvgTextDeclaration&)> attrs[] = { in SetSpecializedValue() local 76 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), attr.first.c_str()); in SetSpecializedValue() 78 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
H A D | svg_rect_declaration.cpp | 47 static const LinearMapNode<void (*)(const std::string&, SvgRectDeclaration&)> attrs[] = { in SetSpecializedValue() local 73 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), attr.first.c_str()); in SetSpecializedValue() 75 attrs[attrIter].value(attr.second, *this); in SetSpecializedValue()
|
/foundation/communication/dsoftbus/tests/core/common/dfx/log/unittest/include/ |
H A D | softbus_log_test_utils.h | 24 void ExpectMatchSoftBusLogAttrs(const SoftBusLogLabel &attrs, LABLE_TYPE label, uint32_t domain, in ExpectMatchSoftBusLogAttrs() argument 27 EXPECT_EQ(label, attrs.label); in ExpectMatchSoftBusLogAttrs() 28 EXPECT_EQ(domain, attrs.domain); in ExpectMatchSoftBusLogAttrs() 29 EXPECT_STREQ(tag.c_str(), attrs.tag); in ExpectMatchSoftBusLogAttrs()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/hdi_adapter/utils/ |
H A D | hdi_au_utils.cpp | 72 bool PluginAuFormat2HdiAttrs(OHOS::Media::Plugin::AudioSampleFormat pFormat, AudioSampleAttributes& attrs)
in PluginAuFormat2HdiAttrs() argument 76 attrs.format = item.hFormat;
in PluginAuFormat2HdiAttrs() 77 attrs.isSignedData = item.isSigned;
in PluginAuFormat2HdiAttrs() 78 attrs.isBigEndian = item.isBigEndian;
in PluginAuFormat2HdiAttrs() 79 attrs.interleaved = item.isInterleaved;
in PluginAuFormat2HdiAttrs() 122 bool HdiAttrs2PluginAuFormat(AudioSampleAttributes attrs, OHOS::Media::Plugin::AudioSampleFormat& pFormat)
in HdiAttrs2PluginAuFormat() argument 125 if (attrs.format == item.hFormat && attrs.isSignedData == item.isSigned &&
in HdiAttrs2PluginAuFormat() 126 attrs.interleaved == item.isInterleaved && attrs in HdiAttrs2PluginAuFormat() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_fe_offset.cpp | 43 static const LinearMapNode<void (*)(const std::string&, SvgFeOffsetAttribute&)> attrs[] = { in ParseAndSetSpecializedAttr() local 53 auto attrIter = BinarySearchFindIndex(attrs, ArraySize(attrs), name.c_str()); in ParseAndSetSpecializedAttr() 55 attrs[attrIter].value(value, feOffsetAttr_); in ParseAndSetSpecializedAttr()
|
H A D | svg_node.cpp | 105 void SetCompatibleFill(const std::string& value, SvgBaseAttribute& attrs) in GetNodeIdFromUrl() 108 attrs.fillState.SetHref(GetNodeIdFromUrl(value)); in GetNodeIdFromUrl() 111 attrs.fillState.SetColor((value == VALUE_NONE ? Color::TRANSPARENT : SvgAttributesParser::GetColor(value))); in GetNodeIdFromUrl() 114 void SetCompatibleStroke(const std::string& value, SvgBaseAttribute& attrs) in GetNodeIdFromUrl() argument 117 attrs.strokeState.SetHref(GetNodeIdFromUrl(value)); in GetNodeIdFromUrl() 120 attrs.strokeState.SetColor((value == VALUE_NONE ? Color::TRANSPARENT : SvgAttributesParser::GetColor(value))); in GetNodeIdFromUrl() 136 [](const std::string& val, SvgBaseAttribute& attrs) { in GetNodeIdFromUrl() 141 attrs.clipState.SetHref(src); in GetNodeIdFromUrl() 145 [](const std::string& val, SvgBaseAttribute& attrs) { in GetNodeIdFromUrl() 146 attrs in GetNodeIdFromUrl() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/theme/ |
H A D | shadow_theme.cpp | 69 const char* attrs[] = { "_shadow", "_offset_x", "_offset_y", "_color", "_radius" }; in ParseShadowParam() local 74 auto elevationName = prefix + std::string(attrs[0]) + suffix; in ParseShadowParam() 77 auto offsetXName = prefix + std::string(attrs[1]) + suffix; in ParseShadowParam() 79 auto offsetYName = prefix + std::string(attrs[2]) + suffix; in ParseShadowParam() 83 auto colorName = prefix + std::string(attrs[3]) + suffix; in ParseShadowParam() 85 auto radiusName = prefix + std::string(attrs[4]) + suffix; in ParseShadowParam()
|
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sourceservice/dscreenmgr/1.0/src/ |
H A D | dscreen_test.cpp | 121 std::string attrs = "attrs"; in HWTEST_F() local 122 std::shared_ptr<Task> task = std::make_shared<Task>(TaskType::TASK_ENABLE, reqId, attrs); in HWTEST_F() 125 task = std::make_shared<Task>(TaskType::TASK_DISABLE, reqId, attrs); in HWTEST_F() 127 task = std::make_shared<Task>(TaskType::TASK_CONNECT, reqId, attrs); in HWTEST_F() 129 task = std::make_shared<Task>(TaskType::TASK_DISCONNECT, reqId, attrs); in HWTEST_F() 142 std::string attrs = "attrs"; in HWTEST_F() local 143 std::shared_ptr<Task> task = std::make_shared<Task>(TaskType::TASK_ENABLE, reqId, attrs); in HWTEST_F() 161 std::string attrs in HWTEST_F() local 182 std::string attrs = "attrs"; HWTEST_F() local 202 std::string attrs = "attrs"; HWTEST_F() local 222 std::string attrs = "attrs"; HWTEST_F() local 246 std::string attrs = "attrs"; HWTEST_F() local [all...] |
/foundation/multimedia/audio_lite/services/impl/audio_source/ |
H A D | audio_source.cpp | 191 struct AudioSampleAttributes attrs; in Initialize() local 193 attrs.type = AUDIO_IN_MEDIA; in Initialize() 195 attrs.type = AUDIO_IN_COMMUNICATION; in Initialize() 201 if (!ConvertCodecFormatToAudioFormat(config.audioFormat, &(attrs.format))) { in Initialize() 205 attrs.sampleRate = config.sampleRate; in Initialize() 206 attrs.channelCount = config.channelCount; in Initialize() 207 attrs.interleaved = config.interleaved; in Initialize() 208 int32_t ret = audioAdapter_->CreateCapture(audioAdapter_, &desc, &attrs, &audioCapture_); in Initialize()
|