| /third_party/skia/third_party/externals/icu/source/i18n/ |
| H A D | tznames_impl.cpp | 2074 const UChar *std = names->getName(UTZNM_SHORT_STANDARD); in prepareFind() local
|
| H A D | vtzone.cpp | 1898 AnnualTimeZoneRule *std = nullptr, *dst = nullptr; in writeSimple() local
|
| /third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/ |
| H A D | TestSuite.cpp | 923 ListTests(const std::map<TestIdentifier, TestResult> &resultsMap) ListTests() argument 939 GTestListTests(const std::map<TestIdentifier, TestResult> &resultsMap) GTestListTests() argument [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURegisterBankInfo.cpp | 239 addMappingFromTable( const MachineInstr &MI, const MachineRegisterInfo &MRI, const std::array<unsigned, NumOps> RegSrcOpIdx, ArrayRef<OpRegBankEntry<NumOps>> Table) const addMappingFromTable() argument [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
| H A D | PNaClTranslator.cpp | 51 namespace std { namespace [all...] |
| /third_party/protobuf/src/google/protobuf/compiler/js/ |
| H A D | js_generator.cc | 1444 AddFile(const std::pair<std::string, std::string> filenames, const void* desc, std::string* error) AddFile() argument 3466 ParseFromOptions( const std::vector<std::pair<std::string, std::string> >& options, std::string* error) ParseFromOptions() argument [all...] |
| /third_party/protobuf/src/google/protobuf/ |
| H A D | map_test.cc | 119 void ExpectElements(const std::map<int32, int32>& map) { in ExpectElements() argument [all...] |
| /third_party/skia/modules/skparagraph/src/ |
| H A D | ParagraphImpl.cpp | 1693 SkASSERT(blockIndex < SkToSizeT(fTextStyles.size())); return fTextStyles[blockIndex]; } void ParagraphImpl::setState(InternalState state) { if (fState <= state) { fState = state; return; } fState = state; switch (fState) { case kUnknown: SkASSERT(false); [[fallthrough]]; case kIndexed: fRuns.reset(); fClusters.reset(); [[fallthrough]]; case kShaped: fLines.reset(); [[fallthrough]]; case kLineBroken: fPicture = nullptr; [[fallthrough]]; default: break; } } void ParagraphImpl::computeEmptyMetrics() { bool emptyParagraph = fRuns.empty(); TextStyle textStyle = paragraphStyle().getTextStyle(); if (emptyParagraph && !fTextStyles.empty()) { textStyle = fTextStyles.back().fStyle; } auto typefaces = fontCollection()->findTypefaces( textStyle.getFontFamilies(), textStyle.getFontStyle(), textStyle.getFontArguments()); auto typeface = typefaces.empty() ? nullptr : typefaces.front(); SkFont font(typeface, textStyle.getFontSize()); fEmptyMetrics = InternalLineMetrics(font, paragraphStyle().getStrutStyle().getForceStrutHeight()); if (!paragraphStyle().getStrutStyle().getForceStrutHeight() && textStyle.getHeightOverride()) { const auto intrinsicHeight = fEmptyMetrics.fDescent - fEmptyMetrics.fAscent + fEmptyMetrics.fLeading; const auto strutHeight = textStyle.getHeight() * textStyle.getFontSize(); if (paragraphStyle().getStrutStyle().getHalfLeading()) { fEmptyMetrics.update( fEmptyMetrics.ascent(), fEmptyMetrics.descent(), fEmptyMetrics.leading() + strutHeight - intrinsicHeight); } else { const auto multiplier = strutHeight / intrinsicHeight; fEmptyMetrics.update( fEmptyMetrics.ascent() * multiplier, fEmptyMetrics.descent() * multiplier, fEmptyMetrics.leading() * multiplier); } } if (emptyParagraph) { auto disableFirstAscent = (paragraphStyle().getTextHeightBehavior() & TextHeightBehavior::kDisableFirstAscent) == TextHeightBehavior::kDisableFirstAscent; auto disableLastDescent = (paragraphStyle().getTextHeightBehavior() & TextHeightBehavior::kDisableLastDescent) == TextHeightBehavior::kDisableLastDescent; fEmptyMetrics.update( disableFirstAscent ? fEmptyMetrics.rawAscent() : fEmptyMetrics.ascent(), disableLastDescent ? fEmptyMetrics.rawDescent() : fEmptyMetrics.descent(), fEmptyMetrics.leading()); } if (fParagraphStyle.getStrutStyle().getStrutEnabled()) { fStrutMetrics.updateLineMetrics(fEmptyMetrics); } } SkString ParagraphImpl::getEllipsis() const { auto ellipsis8 = fParagraphStyle.getEllipsis(); auto ellipsis16 = fParagraphStyle.getEllipsisUtf16(); if (!ellipsis8.isEmpty()) { return ellipsis8; } else { return SkUnicode::convertUtf16ToUtf8(fParagraphStyle.getEllipsisUtf16()); } } WordBreakType ParagraphImpl::getWordBreakType() const { return fParagraphStyle.getStrutStyle().getWordBreakType(); } LineBreakStrategy ParagraphImpl::getLineBreakStrategy() const { return fParagraphStyle.getStrutStyle().getLineBreakStrategy(); } void ParagraphImpl::updateFontSize(size_t from, size_t to, SkScalar fontSize) { SkASSERT(from == 0 && to == fText.size()); auto defaultStyle = fParagraphStyle.getTextStyle(); defaultStyle.setFontSize(fontSize); fParagraphStyle.setTextStyle(defaultStyle); for (auto& textStyle : fTextStyles) { textStyle.fStyle.setFontSize(fontSize); } fState = std::min(fState, kIndexed); fOldWidth = 0; fOldHeight = 0; } void ParagraphImpl::updateTextAlign(TextAlign textAlign) { fParagraphStyle.setTextAlign(textAlign); if (fState >= kLineBroken) GetLineFontMetrics() argument [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
| H A D | vktPipelineVertexInputTests.cpp | 1798 createMultipleAttributeCases(PipelineConstructionType pipelineConstructionType, deUint32 depth, deUint32 firstNdx, CompatibleFormats* compatibleFormats, de::Random& randomFunc, tcu::TestCaseGroup& testGroup, VertexInputTest::BindingMapping bindingMapping, VertexInputTest::AttributeLayout attributeLayout, VertexInputTest::LayoutSkip layoutSkip, VertexInputTest::LayoutOrder layoutOrder, const std::vector<VertexInputTest::AttributeInfo>& attributeInfos = std::vector<VertexInputTest::AttributeInfo>(0)) createMultipleAttributeCases() argument [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
| H A D | vktSpvAsm16bitStorageTests.cpp | 1119 beginLoop(const std::map<std::string, std::string>& spec) beginLoop() argument 1137 endLoop(const std::map<std::string, std::string>& spec) endLoop() argument [all...] |
| H A D | vktSpvAsmGraphicsShaderTestUtil.cpp | 326 InstanceContext createInstanceContext (const std::vector<ShaderElement>& elements, in createInstanceContext() argument 352 createInstanceContext(const std::vector<ShaderElement>& elements, tcu::RGBA (&inputColors)[4], const tcu::RGBA (&outputColors)[4], const std::map<std::string, std::string>& testCodeFragments) createInstanceContext() argument 363 createInstanceContext(const std::vector<ShaderElement>& elements, const std::map<std::string, std::string>& testCodeFragments) createInstanceContext() argument [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/ |
| H A D | vktTransformFeedbackFuzzLayoutCase.cpp | 507 createMask(const InterfaceLayout& layout, const std::map<int, void*>& blockPointers, const void* basePtr0, const size_t baseSize) createMask() argument 944 generateValues(const InterfaceLayout& layout, const std::map<int, void*>& blockPointers, deUint32 seed) generateValues() argument 1465 generateAssignment(std::ostringstream& src, const InterfaceLayout& layout, const ShaderInterface& shaderInterface, const std::map<int, void*>& blockPointers, MatrixLoadFlags matrixLoadFlag) generateAssignment() argument 1520 generateTestShader(const ShaderInterface& shaderInterface, const InterfaceLayout& layout, const std::map<int, void*>& blockPointers, MatrixLoadFlags matrixLoadFlag, TestStageFlags testStageFlags, bool shuffleUniformMembers) generateTestShader() argument 1638 InterfaceBlockCaseInstance(Context& ctx, const InterfaceLayout& layout, const std::map<int, void*>& blockPointers, const std::vector<deUint8>& data, const std::vector<VkDeviceSize>& tfBufBindingOffsets, const std::vector<VkDeviceSize>& tfBufBindingSizes, const deUint32 locationsRequired, const TestStageFlags testStageFlags) InterfaceBlockCaseInstance() argument [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ubo/ |
| H A D | vktUniformBlockCase.cpp | 783 generateValues(const UniformLayout& layout, const std::map<int, void*>& blockPointers, deUint32 seed) generateValues() argument 1523 generateCompareSrc(std::ostringstream& src, const char* resultVar, const ShaderInterface& interface, const UniformLayout& layout, const std::map<int, void*>& blockPointers, bool isVertex, MatrixLoadFlags matrixLoadFlag) generateCompareSrc() argument 1579 generateVertexShader(const ShaderInterface& interface, const UniformLayout& layout, const std::map<int, void*>& blockPointers, MatrixLoadFlags matrixLoadFlag, bool shuffleUniformMembers) generateVertexShader() argument 1623 generateFragmentShader(const ShaderInterface& interface, const UniformLayout& layout, const std::map<int, void*>& blockPointers, MatrixLoadFlags matrixLoadFlag, bool shuffleUniformMembers) generateFragmentShader() argument 1817 UniformBlockCaseInstance(Context& ctx, UniformBlockCase::BufferMode bufferMode, const UniformLayout& layout, const std::map<int, void*>& blockPointers) UniformBlockCaseInstance() argument [all...] |
| /base/print/print_fwk/services/print_service/src/ |
| H A D | print_service_ability.cpp | 2946 DetermineUserJobStatus( const std::map<std::string, std::shared_ptr<PrintJob>> &jobList) DetermineUserJobStatus() argument [all...] |
| /base/notification/distributed_notification_service/frameworks/ans/src/ |
| H A D | notification_request.cpp | 1834 SetDeviceFlags( const std::shared_ptr<std::map<std::string, std::shared_ptr<NotificationFlags>>> &mapFlags) SetDeviceFlags() argument [all...] |
| /base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/ |
| H A D | ark_web_nweb_wrapper.cpp | 317 Load(const std::string& url, const std::map<std::string, std::string>& additional_http_headers) Load() argument 724 PrefetchPage( const std::string& url, const std::map<std::string, std::string>& additional_http_headers) PrefetchPage() argument 808 JavaScriptOnDocumentStart(const std::map<std::string, std::vector<std::string>>& script_items) JavaScriptOnDocumentStart() argument 925 JavaScriptOnDocumentEnd(const std::map<std::string, std::vector<std::string>>& script_items) JavaScriptOnDocumentEnd() argument 1076 InjectOfflineResource(const std::string& url, const std::string& origin, const std::vector<uint8_t>& resource, const std::map<std::string, std::string>& responseHeaders, const int type) InjectOfflineResource() argument 1326 PerformAction(int64_t accessibility_id, uint32_t action, const std::map<std::string, std::string>& actionArguments) PerformAction() argument [all...] |
| /device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
| H A D | drm_edid.c | 3014 struct std_timing *std = &data->data.timings[i]; in do_standard_modes() local
|
| /device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/ |
| H A D | capture.c | 3092 v4l2_std_id std;
in rkcif_determine_input_mode() local 3154 v4l2_std_id std;
in rkcif_determine_input_mode_rk3588() local [all...] |
| /device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/ |
| H A D | capture.c | 3172 v4l2_std_id std; in rkcif_determine_input_mode() local 3236 v4l2_std_id std; in rkcif_determine_input_mode_rk3588() local [all...] |
| /foundation/ability/form_fwk/services/src/ |
| H A D | form_mgr_adapter.cpp | 1018 FilterFormInstanceMapsByVisibleType( std::map<std::string, std::vector<FormInstance>> &formInstanceMaps, const int32_t formVisibleType, std::map<int64_t, FormRecord> &restoreFormRecords) FilterFormInstanceMapsByVisibleType() argument [all...] |
| /foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
| H A D | main_thread.cpp | 2598 StartChild(const std::map<std::string, int32_t> &fds) StartChild() argument [all...] |
| /foundation/ability/ability_runtime/services/abilitymgr/src/ |
| H A D | ability_manager_proxy.cpp | 5634 UpdateAssociateConfigList(const std::map<std::string, std::list<std::string>>& configs, const std::list<std::string>& exportConfigs, int32_t flag) UpdateAssociateConfigList() argument 5675 UpdateAssociateConfigInner(const std::map<std::string, std::list<std::string>>& configs, MessageParcel& data) UpdateAssociateConfigInner() argument [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components/web/ |
| H A D | web_event.h | 174 WebResponse(const std::map<std::string, std::string>& headers, const std::string& data, const std::string& encoding, const std::string& mimeType, const std::string& reason, int32_t statusCode) WebResponse() argument 349 WebRequest(const std::map<std::string, std::string>& headers, const std::string& method, const std::string& url, bool hasGesture, bool isMainFrame, bool isRedirect) WebRequest() argument 962 InterceptKeyboardEvent(const RefPtr<WebCustomKeyboardHandler>& customKeyboardHandler, const std::map<std::string, std::string> attributes) InterceptKeyboardEvent() argument [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
| H A D | navigation_pattern.cpp | 472 UpdateSystemBarStyleOnTopNavPathChange( const std::optional<std::pair<std::string, RefPtr<UINode>>>& newTopNavPath) UpdateSystemBarStyleOnTopNavPathChange() argument 488 UpdateSystemBarStyleWithTopNavPath(const RefPtr<WindowManager>& windowManager, const std::optional<std::pair<std::string, RefPtr<UINode>>>& topNavPath) UpdateSystemBarStyleWithTopNavPath() argument 547 ApplyTopNavPathSystemBarStyleOrRestore( const RefPtr<WindowManager>& windowManager, const std::optional<std::pair<std::string, RefPtr<UINode>>>& topNavPath) ApplyTopNavPathSystemBarStyleOrRestore() argument 818 CheckTopNavPathChange( const std::optional<std::pair<std::string, RefPtr<UINode>>>& preTopNavPath, const std::optional<std::pair<std::string, RefPtr<UINode>>>& newTopNavPath, int32_t preLastStandardIndex) CheckTopNavPathChange() argument 2392 FireInterceptionEvent(bool isBefore, const std::optional<std::pair<std::string, RefPtr<UINode>>>& newTopPath) FireInterceptionEvent() argument 2425 UpdateIsAnimation(const std::optional<std::pair<std::string, RefPtr<UINode>>>& preTopNavPath) UpdateIsAnimation() argument [all...] |
| /foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
| H A D | jsi_declarative_engine.cpp | 422 InitJsEnv(bool debuggerMode, const std::unordered_map<std::string, void*>& extraNativeObject, const shared_ptr<JsRuntime>& runtime) InitJsEnv() argument 1627 LoadJsWithModule( std::string& urlName, const std::function<void(const std::string&, int32_t)>& errorCallback) LoadJsWithModule() argument 1656 LoadPageSource( const std::string& url, const std::function<void(const std::string&, int32_t)>& errorCallback) LoadPageSource() argument 1700 LoadPageSource( const std::shared_ptr<std::vector<uint8_t>>& content, const std::function<void(const std::string&, int32_t)>& errorCallback) LoadPageSource() argument 2066 SetHspBufferTrackerCallback( std::function<bool(const std::string&, uint8_t**, size_t*, std::string&)>&& callback) SetHspBufferTrackerCallback() argument 2076 SetMockModuleList(const std::map<std::string, std::string>& mockJsonInfo) SetMockModuleList() argument 2641 SetErrorEventHandler( std::function<void(const std::string&, const std::string&)>&& errorCallback) SetErrorEventHandler() argument [all...] |