/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/navigation/ |
H A D | sem_ver.cpp | 56 std::vector<std::string> segments; in SemVer() local 58 segments.push_back(segment); in SemVer() 60 if (!segments.empty()) { in SemVer() 61 major = segments[0]; in SemVer() 63 if (segments.size() > NUM_ONE) { in SemVer() 64 minor = segments[NUM_ONE]; in SemVer() 66 if (segments.size() > NUM_TWO) { in SemVer() 67 patch = segments[NUM_TWO]; in SemVer()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/ |
H A D | audio_tone_parser.cpp | 152 ltoneDesc->segments[SegInx].waveFreq[i]=0; in ParseSegment() 159 ltoneDesc->segments[SegInx].duration = TONEINFO_INF; in ParseSegment() 161 ltoneDesc->segments[SegInx].duration = static_cast<uint32_t>(atoi(pValue)); in ParseSegment() 163 AUDIO_DEBUG_LOG("duration: %{public}d", ltoneDesc->segments[SegInx].duration); in ParseSegment() 167 ltoneDesc->segments[SegInx].loopCnt = atoi(pValue); in ParseSegment() 168 AUDIO_DEBUG_LOG("loopCnt: %{public}d", ltoneDesc->segments[SegInx].loopCnt); in ParseSegment() 172 ltoneDesc->segments[SegInx].loopIndx = atoi(pValue); in ParseSegment() 173 AUDIO_DEBUG_LOG("loopIndx: %{public}d", ltoneDesc->segments[SegInx].loopIndx); in ParseSegment() 177 ParseFrequency(pValue, ltoneDesc->segments[SegInx]); in ParseSegment()
|
/foundation/multimedia/audio_framework/frameworks/native/toneplayer/src/ |
H A D | toneplayer_impl.cpp | 229 if (toneInfo_->segments[currSegment_].loopCnt) { in GetCurrentSegmentUpdated() 230 if (loopCounter_ < toneInfo_->segments[currSegment_].loopCnt) { in GetCurrentSegmentUpdated() 231 currSegment_ = toneInfo_->segments[currSegment_].loopIndx; in GetCurrentSegmentUpdated() 254 if (toneInfo_->segments[currSegment_].duration == 0) { in CheckToneContinuity() 277 if (toneInfo_->segments[currSegment_].duration != 0) { in ContinueToneplay() 278 GetSamples(toneInfo_->segments[currSegment_].waveFreq, audioBuffer, reqSample); in ContinueToneplay() 284 if (toneInfo_->segments[currSegment_].duration != 0) { in ContinueToneplay() 286 GetSamples(toneInfo_->segments[currSegment_].waveFreq, audioBuffer, reqSample); in ContinueToneplay() 289 nextSegSample_ += (toneInfo_->segments[currSegment_].duration * samplingRate_) / C1000MS; in ContinueToneplay() 338 if (toneInfo_->segments[currSegment in CheckToneStarted() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | shape_model_ng.cpp | 97 void ShapeModelNG::SetStrokeDashArray(const std::vector<Ace::Dimension>& segments) in SetStrokeDashArray() argument 99 ShapeAbstractModelNG().SetStrokeDashArray(segments); in SetStrokeDashArray() 107 void ShapeModelNG::SetStrokeDashArray(FrameNode* frameNode, const std::vector<Ace::Dimension>& segments) in SetStrokeDashArray() argument 109 ACE_UPDATE_NODE_PAINT_PROPERTY(ShapePaintProperty, StrokeDashArray, segments, frameNode); in SetStrokeDashArray()
|
H A D | shape_model_ng.h | 42 void SetStrokeDashArray(const std::vector<Ace::Dimension>& segments) override; 46 static void SetStrokeDashArray(FrameNode* frameNode, const std::vector<Ace::Dimension>& segments);
|
H A D | shape_abstract_model_ng.cpp | 87 void ShapeAbstractModelNG::SetStrokeDashArray(const std::vector<Dimension>& segments) in SetStrokeDashArray() argument 89 ACE_UPDATE_PAINT_PROPERTY(ShapePaintProperty, StrokeDashArray, segments); in SetStrokeDashArray()
|
H A D | shape_abstract_model_ng.h | 38 void SetStrokeDashArray(const std::vector<Ace::Dimension>& segments) override;
|
/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/client/src/ |
H A D | app_domain_verify_mgr_client.cpp | 238 std::vector<std::string> segments; in IsValidUrl() local 239 uri.GetPathSegments(segments); in IsValidUrl() 240 if (segments.size() != 1) { in IsValidUrl() 244 if (!IsValidPath(segments[0])) { in IsValidUrl() 246 "short path:%{public}s must only contains number,alphabet or dash line!", segments[0].c_str()); in IsValidUrl()
|
/foundation/multimedia/ringtone_library/services/ringtone_data_extension/src/ |
H A D | ringtone_data_manager.cpp | 373 vector<string> segments; in GetIdFromUri() local 374 uri.GetPathSegments(segments); in GetIdFromUri() 377 if (segments.size() != uriSegmentsCount || segments[1] != uriPath || in GetIdFromUri() 378 !IsNumber(segments[toneIdSegmentNumber])) { in GetIdFromUri() 381 return segments[toneIdSegmentNumber]; in GetIdFromUri()
|
/foundation/arkui/ace_engine/frameworks/core/components/data_panel/ |
H A D | rosen_render_data_panel.cpp | 546 void PaintRainbowFilterMask(SkCanvas* canvas, double factor, const std::vector<Segment>& segments, ArcData arcData) in PaintRainbowFilterMask() argument 548 if (segments.empty()) { in PaintRainbowFilterMask() 570 startCirclePaint.setColor(segments[0].GetStartColor().ChangeAlpha(101).GetValue()); in PaintRainbowFilterMask() 581 for (const auto& segment : segments) { in PaintRainbowFilterMask() 601 endCirclePaint.setColor(segments[segments.size() - 1].GetEndColor().ChangeAlpha(101).GetValue()); in PaintRainbowFilterMask() 613 void PaintRainbowFilterMask(RSCanvas* canvas, double factor, const std::vector<Segment>& segments, ArcData arcData) 615 if (segments.empty()) { 641 startCirclePen.SetColor(segments[0].GetStartColor().ChangeAlpha(101).GetValue()); 645 startCircleBrush.SetColor(segments[ 1022 auto segments = GetSegments(); Paint() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | shape_component.h | 207 void SetStrokeDashArray(const std::vector<Dimension>& segments) in SetStrokeDashArray() argument 209 strokeState_.SetStrokeDashArray(segments); in SetStrokeDashArray()
|
H A D | shape_container_component.h | 219 void SetStrokeDashArray(const std::vector<Dimension>& segments) in SetStrokeDashArray() argument 221 strokeState_.SetStrokeDashArray(segments); in SetStrokeDashArray()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | data_ability_helper_impl.cpp | 569 std::vector<std::string> segments; in CheckUriParam() local 582 uri_->GetPathSegments(segments); in CheckUriParam() 587 if (checkSegments.empty() || segments.empty() || checkSegments[0] != segments[0]) { in CheckUriParam() 604 std::vector<std::string> segments; in CheckOhosUri() local 605 uri.GetPathSegments(segments); in CheckOhosUri() 606 if (segments.empty()) { in CheckOhosUri() 607 TAG_LOGE(AAFwkTag::DATA_ABILITY, "no segments in uri: %{public}s", uri.ToString().c_str()); in CheckOhosUri()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | custom_paint_paint_method.h | 197 void SetLineDashParam(const std::vector<double>& segments) in SetLineDashParam() argument 199 lineDash_.lineDash = segments; in SetLineDashParam() 202 void SetLineDash(const std::vector<double>& segments) in SetLineDash() argument 204 state_.strokeState.SetLineDash(segments); in SetLineDash()
|
H A D | offscreen_canvas_pattern.h | 98 void SetLineDash(const std::vector<double>& segments);
|
H A D | canvas_paint_op.h | 371 explicit SetLineDashOp(const std::vector<double>& segments): segments(std::move(segments)) {} in SetLineDashOp() 372 std::vector<double> segments; member
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | svg_paint_state.h | 260 void SetLineDash(const std::vector<double>& segments, bool isSelf = true) in SetLineDash() argument 262 lineDash_.lineDash = segments; in SetLineDash() 273 void SetStrokeDashArray(const std::vector<Dimension>& segments, bool isSelf = true) in SetStrokeDashArray() argument 275 strokeDashArray_ = segments; in SetStrokeDashArray()
|
H A D | paint_state.h | 386 void SetLineDash(const std::vector<double>& segments) in SetLineDash() argument 388 lineDash_.lineDash = segments; in SetLineDash()
|
/foundation/ability/ability_base/interfaces/kits/native/uri/include/ |
H A D | uri.h | 86 * Get the path segments. 88 * @param the path segments of Uri. 90 void GetPathSegments(std::vector<std::string>& segments);
|
/foundation/ability/ability_base/interfaces/kits/native/uri/src/ |
H A D | uri.cpp | 318 void Uri::GetPathSegments(std::vector<std::string>& segments) in GetPathSegments() argument 331 segments.emplace_back(path_.substr(previous, current - previous)); in GetPathSegments() 337 segments.emplace_back(path_.substr(previous)); in GetPathSegments()
|
/foundation/bundlemanager/app_domain_verify/test/unittest/client/app_domain_verify_mgr_client_test/ |
H A D | app_domain_verify_mgr_client_test.cpp | 406 std::vector<std::string> segments; in HWTEST_F() local 407 uri.GetPathSegments(segments); in HWTEST_F() 408 EXPECT_TRUE(AppDomainVerifyMgrClient::GetInstance()->IsValidPath(segments[0])); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | render_custom_paint.h | 205 void SetLineDash(const std::vector<double>& segments) in SetLineDash() argument 207 strokeState_.SetLineDash(segments); in SetLineDash()
|
H A D | offscreen_canvas.h | 120 void SetLineDash(const std::vector<double>& segments) in SetLineDash() argument 122 strokeState_.SetLineDash(segments); in SetLineDash()
|
H A D | custom_paint_component.cpp | 529 void CanvasTaskPool::UpdateLineDash(const std::vector<double>& segments) in UpdateLineDash() argument 531 auto task = [segments](RenderCustomPaint& interface, const Offset& offset) { interface.SetLineDash(segments); }; in UpdateLineDash()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_chart.h | 175 void SetChartAttrSegments(const std::vector<Segment>& segments);
|