/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | gen_gl_enum_utils.py | 115 for index, pair in enumerate(string_value_pairs): 116 if index == 0 or pair[1] != string_value_pairs[index - 1][1]: 117 exporting_string_value_pairs.append(pair)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalityPredicates.cpp | 44 std::initializer_list<std::pair<LLT, LLT>> TypesInit) { 45 SmallVector<std::pair<LLT, LLT>, 4> Types = TypesInit; 47 std::pair<LLT, LLT> Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1]};
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_add_opphi_synonym.cpp | 135 for (auto& pair : message_.pred_to_id()) { in Apply() 137 opt::Operand{SPV_OPERAND_TYPE_ID, {pair.second()}}); in Apply() 139 opt::Operand{SPV_OPERAND_TYPE_ID, {pair.first()}}); in Apply()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | loop_peeling.h | 144 [](std::pair<uint32_t, Instruction*> it) { in CanPeelLoop() 278 using Direction = std::pair<PeelDirection, uint32_t>; 327 std::pair<bool, Loop*> ProcessLoop(Loop* loop, CodeMetrics* loop_size);
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_add_opphi_synonym.cpp | 135 for (auto& pair : message_.pred_to_id()) { in Apply() 137 opt::Operand{SPV_OPERAND_TYPE_ID, {pair.second()}}); in Apply() 139 opt::Operand{SPV_OPERAND_TYPE_ID, {pair.first()}}); in Apply()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | loop_peeling.h | 144 [](std::pair<uint32_t, Instruction*> it) { in CanPeelLoop() 278 using Direction = std::pair<PeelDirection, uint32_t>; 327 std::pair<bool, Loop*> ProcessLoop(Loop* loop, CodeMetrics* loop_size);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/ |
H A D | ResourceManager.h | 295 /// This is used to identify a specific processor resource unit using a pair 298 typedef std::pair<uint64_t, uint64_t> ResourceRef; 302 typedef std::pair<unsigned, unsigned> BufferUsageEntry; 434 SmallVectorImpl<std::pair<ResourceRef, ResourceCycles>> &Pipes);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | RDFLiveness.h | 49 using NodeRef = std::pair<NodeId, LaneBitmask>; 77 std::pair<NodeSet,bool> getAllReachingDefsRec(RegisterRef RefRR, 140 std::pair<NodeSet,bool> getAllReachingDefsRecImpl(RegisterRef RefRR,
|
/third_party/skia/third_party/externals/tint/src/sem/ |
H A D | function.h | 59 std::vector<std::pair<const Variable*, ast::VariableBindingPoint>>; 177 /// @returns the <variable, decoration> pair. 178 std::vector<std::pair<const Variable*, const ast::LocationDecoration*>> 182 /// @returns the <variable, decoration> pair. 183 std::vector<std::pair<const Variable*, const ast::BuiltinDecoration*>>
|
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_add_opphi_synonym.cpp | 135 for (auto& pair : message_.pred_to_id()) { in Apply() 137 opt::Operand{SPV_OPERAND_TYPE_ID, {pair.second()}}); in Apply() 139 opt::Operand{SPV_OPERAND_TYPE_ID, {pair.first()}}); in Apply()
|
/third_party/spirv-tools/source/opt/ |
H A D | loop_peeling.h | 144 [](std::pair<uint32_t, Instruction*> it) { in CanPeelLoop() 278 using Direction = std::pair<PeelDirection, uint32_t>; 327 std::pair<bool, Loop*> ProcessLoop(Loop* loop, CodeMetrics* loop_size);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktShaderLibrary.cpp | 60 using std::pair; 358 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeVertexShader() 359 params.insert(pair<string, string>("SETUP", setup.str())); in specializeVertexShader() 360 params.insert(pair<string, string>("OUTPUT", output.str())); in specializeVertexShader() 361 params.insert(pair<string, string>("POSITION_FRAG_COLOR", "gl_Position")); in specializeVertexShader() 422 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeFragmentShader() 423 params.insert(pair<string, string>("SETUP", setup.str())); in specializeFragmentShader() 424 params.insert(pair<string, string>("OUTPUT", output.str())); in specializeFragmentShader() 425 params.insert(pair<string, string>("POSITION_FRAG_COLOR", "dEQP_FragColor")); in specializeFragmentShader() 468 params.insert(pair<strin in generateVertexSpecialization() [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderLibraryCase.cpp | 66 using std::pair; 343 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeVertexShader() 344 params.insert(pair<string, string>("SETUP", setup.str())); in specializeVertexShader() 345 params.insert(pair<string, string>("OUTPUT", output.str())); in specializeVertexShader() 346 params.insert(pair<string, string>("POSITION_FRAG_COLOR", "gl_Position")); in specializeVertexShader() 410 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeFragmentShader() 411 params.insert(pair<string, string>("SETUP", setup.str())); in specializeFragmentShader() 412 params.insert(pair<string, string>("OUTPUT", output.str())); in specializeFragmentShader() 413 params.insert(pair<string, string>("POSITION_FRAG_COLOR", fragColor)); in specializeFragmentShader() 466 params.insert(pair<strin in generateVertexSpecialization() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
H A D | vktShaderLibrary.cpp | 60 using std::pair; 358 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeVertexShader() 359 params.insert(pair<string, string>("SETUP", setup.str())); in specializeVertexShader() 360 params.insert(pair<string, string>("OUTPUT", output.str())); in specializeVertexShader() 361 params.insert(pair<string, string>("POSITION_FRAG_COLOR", "gl_Position")); in specializeVertexShader() 422 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeFragmentShader() 423 params.insert(pair<string, string>("SETUP", setup.str())); in specializeFragmentShader() 424 params.insert(pair<string, string>("OUTPUT", output.str())); in specializeFragmentShader() 425 params.insert(pair<string, string>("POSITION_FRAG_COLOR", "dEQP_FragColor")); in specializeFragmentShader() 468 params.insert(pair<strin in generateVertexSpecialization() [all...] |
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiomanager/include/ |
H A D | audio_system_manager.h | 352 virtual void OnAudioFocusInfoChange(const std::list<std::pair<AudioInterrupt, AudioFocuState>> &focusInfoList) = 0; 371 void OnAudioFocusInfoChange(const std::list<std::pair<AudioInterrupt, AudioFocuState>> &focusInfoList) override; 775 const std::vector<std::string> &subKeys, std::vector<std::pair<std::string, std::string>> &result); 786 const std::vector<std::pair<std::string, std::string>> &kvpairs); 1177 int32_t GetAudioFocusInfoList(std::list<std::pair<AudioInterrupt, AudioFocuState>> &focusInfoList); 1360 static const std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> streamTypeMap_; 1365 static std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> CreateStreamMap(); 1366 static void CreateStreamMap(std::map<std::pair<ContentType, StreamUsage>, AudioStreamType> &streamMap);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_rect.h | 248 bool operator()(const std::pair<NodeId, RectI>& p1, const std::pair<NodeId, RectI>& p2) const in operator ()() 255 size_t operator()(const std::pair<NodeId, RectI>& p) const in operator ()() 263 typedef std::unordered_set<std::pair<NodeId, RectI>, RectI_Hash_Func, RectIComparator> OcclusionRectISet; 266 bool operator()(const std::pair<NodeId, RectI>& p1, const std::pair<NodeId, RectI>& p2) const in operator ()() 273 size_t operator()(const std::pair<NodeId, RectI>& p) const in operator ()() 278 typedef std::unordered_set<std::pair<NodeId, RectI>, Filter_RectI_Hash_Func, FilterRectIComparator> FilterRectISet;
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/muxer/ |
H A D | ffmpeg_muxer_plugin.cpp | 273 for (const auto& pair: tags) { in SetTagsOfGeneral() 275 if (!FindAvMetaNameByTag(pair.first, metaName)) { in SetTagsOfGeneral() 276 MEDIA_LOG_I("tag " PUBLIC_LOG_U32 " will not written as general meta", pair.first); in SetTagsOfGeneral() 279 if (!Any::IsSameTypeWith<std::string>(pair.second)) { in SetTagsOfGeneral() 282 auto value = AnyCast<std::string>(pair.second); in SetTagsOfGeneral() 370 for (const auto& pair: trackParameters_) { in Prepare() 371 SetTagsOfTrack(outputFormat_.get(), formatContext_->streams[pair.first], pair.second); in Prepare()
|
/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | touch_gesture_detector.cpp | 436 std::vector<std::pair<int32_t, Point>> TouchGestureDetector::SortPoints(std::map<int32_t, Point> &points) in SortPoints() 442 std::vector<std::pair<int32_t, Point>> sequence(points.begin(), points.end()); in SortPoints() 444 [](std::pair<int32_t, Point> right, std::pair<int32_t, Point> left) { in SortPoints() 448 [](std::pair<int32_t, Point> right, std::pair<int32_t, Point> left) { in SortPoints() 451 std::pair<int32_t, Point> temp = *iter; in SortPoints() 484 std::vector<std::pair<int32_t, Point>> sequence = SortPoints(points); in CalcGravityCenter()
|
/foundation/multimedia/player_framework/services/utils/ |
H A D | media_dfx.cpp | 39 std::map<int32_t, std::list<std::pair<uint64_t, std::shared_ptr<OHOS::Media::Meta>>>>> mediaInfoMap_; 41 std::map<int32_t, std::list<std::pair<uint64_t, std::shared_ptr<OHOS::Media::Meta>>>>> reportMediaInfoMap_; 42 std::map<uint64_t, std::pair<OHOS::Media::CallType, int32_t>> idMap_; 50 std::pair<uint64_t, std::shared_ptr<OHOS::Media::Meta>> metaAppIdPair; in CollectReportMediaInfo() 201 const std::map<int32_t, std::list<std::pair<uint64_t, std::shared_ptr<Meta>>>>& infoMap) in CommonStatisicsEventWrite() 230 void MediaEvent::ParseOneEvent(const std::pair<uint64_t, std::shared_ptr<OHOS::Media::Meta>> &listPair, in ParseOneEvent() 357 std::pair<CallType, int32_t> insertToMapPair(callType, uid); in CreateMediaInfo() 361 std::pair<uint64_t, std::shared_ptr<Meta>> metaAppIdPair(instanceId, meta); in CreateMediaInfo()
|
/third_party/skia/tests/ |
H A D | StrokerTest.cpp | 74 for (int pair = 0; pair < 2; ++pair) { in cubicPairSetTest() 75 const CubicPts& dPts = dCubic[index][pair]; in cubicPairSetTest() 106 for (int pair = 0; pair < 2; ++pair) { in quadPairSetTest() 107 const QuadPts& dPts = dQuad[index][pair]; in quadPairSetTest()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_base.cpp | 347 EraseIf(map.renderNodeMap_, [pid, canBeRemoved](const auto& pair) -> bool { in FilterForPlayback() 348 if (canBeRemoved(pair.first, pid) == false) { in FilterForPlayback() 352 pair.second->RemoveFromTree(false); in FilterForPlayback() 357 map.surfaceNodeMap_, [pid, canBeRemoved](const auto& pair) -> bool { return canBeRemoved(pair.first, pid); }); in FilterForPlayback() 360 [pid, canBeRemoved](const auto& pair) -> bool { return canBeRemoved(pair.first, pid); }); in FilterForPlayback() 363 map.displayNodeMap_, [pid, canBeRemoved](const auto& pair) -> bool { return canBeRemoved(pair.first, pid); }); in FilterForPlayback() 866 EraseIf(manager.animations_, [](const auto& pair) in FilterAnimationForPlayback() [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | relational_store.cpp | 574 std::pair<int, int64_t> res = rdbStore->GetStore()->BeginTrans(); in OH_Rdb_BeginTransWithTrxId() 633 static std::pair<int32_t, Rdb_DistributedConfig> Convert(const Rdb_DistributedConfig *config) in Convert() 635 std::pair<int32_t, Rdb_DistributedConfig> result = { OH_Rdb_ErrCode::RDB_E_INVALID_ARGS, {} }; in Convert() 816 for (const auto &pair : tableDetails_) { in GetTableDetails() 817 detailsV0[index].table = pair.first.c_str(); in GetTableDetails() 819 .total = (int)pair.second.upload.total, in GetTableDetails() 820 .successful = (int)pair.second.upload.success, in GetTableDetails() 821 .failed = (int)pair.second.upload.failed, in GetTableDetails() 822 .remained = (int)pair.second.upload.untreated, in GetTableDetails() 825 .total = (int)pair in GetTableDetails() [all...] |
/third_party/lzma/C/ |
H A D | LzFind.c | 976 CLzRef *pair = son + ((size_t)(_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)) << 1);
in GetMatchesSpec1() local 979 const UInt32 pair0 = pair[0];
in GetMatchesSpec1() 994 *ptr0 = pair[1];
in GetMatchesSpec1() 1002 // const UInt32 curMatch2 = pair[1];
in GetMatchesSpec1() 1005 curMatch = pair[1];
in GetMatchesSpec1() 1006 ptr1 = pair + 1;
in GetMatchesSpec1() 1012 curMatch = pair[0];
in GetMatchesSpec1() 1013 ptr0 = pair;
in GetMatchesSpec1() 1044 CLzRef *pair = son + ((size_t)(_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)) << 1);
in SkipMatchesSpec() local 1055 *ptr1 = pair[ in SkipMatchesSpec() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderLibraryCase.cpp | 830 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeVertexShader() 831 params.insert(pair<string, string>("SETUP", setup.str())); in specializeVertexShader() 832 params.insert(pair<string, string>("OUTPUT", output.str())); in specializeVertexShader() 833 params.insert(pair<string, string>("POSITION_FRAG_COLOR", "gl_Position")); in specializeVertexShader() 891 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeFragmentShader() 892 params.insert(pair<string, string>("SETUP", setup.str())); in specializeFragmentShader() 893 params.insert(pair<string, string>("OUTPUT", output.str())); in specializeFragmentShader() 894 params.insert(pair<string, string>("POSITION_FRAG_COLOR", fragColor)); in specializeFragmentShader() 941 params.insert(pair<string, string>("VERTEX_DECLARATIONS", decl.str())); in specializeShaders() 942 params.insert(pair<strin in specializeShaders() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizerInfo.h | 167 std::function<std::pair<unsigned, LLT>(const LegalityQuery &)>; 208 /// True iff the given types for the given pair of type indexes is one of the 212 std::initializer_list<std::pair<LLT, LLT>> TypesInit); 213 /// True iff the given types for the given pair of type indexes is one of the 311 std::pair<unsigned, LLT> determineMutation(const LegalityQuery &Query) const { in determineMutation() 403 /// Use the given action when type indexes 0 and 1 is any type pair in the 407 std::initializer_list<std::pair<LLT, LLT>> Types) { in actionFor() 411 /// Use the given action when type indexes 0 and 1 is any type pair in the 415 std::initializer_list<std::pair<LLT, LLT>> Types, in actionFor() 431 /// That is, the type pair i [all...] |