/third_party/python/Lib/test/ |
H A D | test_itertools.py | 266 if len(set(indices)) == r: 274 self.assertEqual(len(result), len(set(result))) # no repeats 278 self.assertEqual(len(set(c)), r) # no duplicate elements 298 self.assertEqual(len(set(map(id, combinations('abcde', 3)))), 1) 299 self.assertNotEqual(len(set(map(id, list(combinations('abcde', 3))))), 1) 354 self.assertEqual(len(result), len(set(result))) # no repeats 361 self.assertTrue(set(result) >= set(regular_combs)) # rest should be supersets of regular combs 366 self.assertEqual(len(noruns), len(set(noruns))) # no repeats other than consecutive 386 self.assertEqual(len(set(ma [all...] |
H A D | test_site.py | 106 "%s from sys.path not found in set returned " 126 site.addpackage(pth_file.base_dir, pth_file.filename, set()) 145 site.addpackage(pth_dir, pth_fn, set()) 160 site.addpackage(pth_dir, pth_fn, set()) 171 known_paths = site.addpackage(pth_dir, pth_fn, set()) 172 self.assertEqual(known_paths, set()) 178 self.assertFalse(site.addpackage(pth_dir, pth_fn, set())) 193 site.addsitedir(pth_file.base_dir, set()) 252 "User base not set by PYTHONUSERBASE") 262 # let's set PYTHONUSERBAS [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_event_util.cpp | 159 std::set<int64_t> removedForms; in HandleProviderRemoved() 191 std::set<int64_t> reCreateForms; in HandleBundleDataCleared() 283 std::map<FormIdKey, std::set<int64_t>> noHostFormDbMap; in ClearFormDBRecordData() 304 std::map<FormIdKey, std::set<int64_t>> noHostTempFormsMap; in ClearTempFormRecordData() 316 std::set<int64_t>> &noHostTempFormsMap, std::map<int64_t, bool> &foundFormsMap) in BatchDeleteNoHostTempForms() 319 std::set<int64_t> formIds = element.second; in BatchDeleteNoHostTempForms() 499 void FormEventUtil::BatchDeleteNoHostDBForms(const int uid, std::map<FormIdKey, std::set<int64_t>> &noHostFormDbMap, in BatchDeleteNoHostDBForms() 502 std::set<FormIdKey> removableModuleSet; in BatchDeleteNoHostDBForms() 504 std::set<int64_t> formIds = element.second; in BatchDeleteNoHostDBForms()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | IslamicTest.java | 144 cal.set(1000, 0, 30); in TestBasic() 150 cal.set(1, 0, 30); in TestBasic() 163 cal.set(2007, Calendar.JANUARY, 1); in TestLimits() 184 cal.set(IslamicCalendar.YEAR,1431); in Test7427() 185 cal.set(IslamicCalendar.MONTH, IslamicCalendar.DHU_AL_HIJJAH); in Test7427() 279 errln("get/set time failed with non-civil islamic calendar"); in TestCoverage() 353 cal.set(initYear, initMonth, initDay); in setAndTestCalendar() 360 errln("values post set():\tmonth "+month+"\tday "+day+"\tyear "+year); in setAndTestCalendar() 371 errln("unexpected exception that wasn't for trying to set a date to '30'. errmsg - " + iae.getLocalizedMessage()); in setAndTestWholeYear() 898 gregCal.set(guMa in TestIslamicUmAlQura() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
H A D | IslamicTest.java | 141 cal.set(1000, 0, 30); in TestBasic() 147 cal.set(1, 0, 30); in TestBasic() 160 cal.set(2007, Calendar.JANUARY, 1); in TestLimits() 181 cal.set(IslamicCalendar.YEAR,1431); in Test7427() 182 cal.set(IslamicCalendar.MONTH, IslamicCalendar.DHU_AL_HIJJAH); in Test7427() 276 errln("get/set time failed with non-civil islamic calendar"); in TestCoverage() 350 cal.set(initYear, initMonth, initDay); in setAndTestCalendar() 357 errln("values post set():\tmonth "+month+"\tday "+day+"\tyear "+year); in setAndTestCalendar() 368 errln("unexpected exception that wasn't for trying to set a date to '30'. errmsg - " + iae.getLocalizedMessage()); in setAndTestWholeYear() 895 gregCal.set(guMa in TestIslamicUmAlQura() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | ucdtest.cpp | 305 UnicodeSet set(pattern, errorCode); in TestBinaryValues() 310 set.complement(); in TestBinaryValues() 311 if(set!=alpha) { in TestBinaryValues() 319 UnicodeSet set(pattern, errorCode); in TestBinaryValues() 324 if(set!=alpha) { in TestBinaryValues() 336 * For example, the set for "I" (0049) should contain both in TestConsistency() 338 * In general, the set for the middle such character should be a subset in TestConsistency() 339 * of the set for the first. in TestConsistency() 362 errln("[canon start set of 0049] != [all c with canon decomp with 0049]"); in TestConsistency() 367 // "[canon start set o in TestConsistency() 807 const UnicodeSet &set = *UnicodeSet::fromUSet(uset); TestBinaryCharacterProperties() local [all...] |
/third_party/python/Lib/test/libregrtest/ |
H A D | main.py | 65 directly to set the values that would normally be set by flags 112 return (set(self.good) | set(self.bad) | set(self.skipped) 113 | set(self.resource_denieds) | set(self.environment_changed) 114 | set(self.run_no_tests)) 257 # if testdir is set, then we are not running the python tests suite, so 260 alltests = findtests(self.ns.testdir, list(), set()) [all...] |
/third_party/python/Lib/ |
H A D | threading.py | 69 """Get the profiler function as set by threading.setprofile().""" 83 """Get the trace function as set by threading.settrace().""" 144 the lock is unlocked (not owned by any thread), then grab ownership, set 150 When invoked with the blocking argument set to true, do the same thing 153 When invoked with the blocking argument set to false, do not block. If a 158 When invoked with the floating-point timeout argument set to a positive 445 When invoked with blocking set to true, do the same thing as when called 448 When invoked with blocking set to false, do not block. If a call without 547 Events manage a flag that can be set to true with the set() metho 583 def set(self): global() member in Event [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | ContextVk.cpp | 503 mGraphicsDirtyBits.set(DIRTY_BIT_RENDER_PASS); in onRenderPassFinished() 585 mNonIndexedDirtyBitsMask.set(); in GetImpl() 588 mIndexedDirtyBitsMask.set(); in GetImpl() 594 // Note that currently these dirty bits are set every time a new render pass command buffer is in GetImpl() 605 mNewGraphicsCommandBufferDirtyBits.set(DIRTY_BIT_TRANSFORM_FEEDBACK_BUFFERS); in GetImpl() 682 mPipelineDirtyBitsMask.set(); in GetImpl() 811 // Init driver uniforms and get the descriptor set layouts. in initialize() 984 mGraphicsDirtyBits.set(DIRTY_BIT_VERTEX_BUFFERS); in setupDraw() 990 mGraphicsDirtyBits.set(DIRTY_BIT_DESCRIPTOR_SETS); in setupDraw() 995 mGraphicsDirtyBits.set(DIRTY_BIT_DESCRIPTOR_SET in setupDraw() [all...] |
/third_party/glslang/SPIRV/ |
H A D | doc.cpp | 65 // Whole set of functions that translate enumerants to their text strings for 73 // - the number of bits consumed by the set of masks 765 // Note: No bits set (None) means "Relaxed" in MemorySemanticsString() 1568 // The set of objects that hold all the instruction/operand 1718 OperandClassParams[OperandSource].set(0, SourceString, nullptr); in Parameterize() 1719 OperandClassParams[OperandExecutionModel].set(0, ExecutionModelString, nullptr); in Parameterize() 1720 OperandClassParams[OperandAddressing].set(0, AddressingString, nullptr); in Parameterize() 1721 OperandClassParams[OperandMemory].set(0, MemoryString, nullptr); in Parameterize() 1722 OperandClassParams[OperandExecutionMode].set(ExecutionModeCeiling, ExecutionModeString, ExecutionModeParams); in Parameterize() 1724 OperandClassParams[OperandStorage].set( in Parameterize() [all...] |
/drivers/hdf_core/framework/tools/hdi-gen/parser/ |
H A D | parser.h | 13 #include <set>
29 using AttrSet = std::set<Token, TokenTypeCompare>;
36 using AstMergeMap = std::map<std::string, std::set<AutoPtr<AST>, AstCompare>>;
|
/drivers/peripheral/distributed_camera/hdi_service/include/dcamera_device/ |
H A D | dmetadata_processor.h | 19 #include <set> 106 std::set<MetaType> allResultSet_; 107 std::set<MetaType> enabledResultSet_;
|
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_state_observer_manager.h | 21 #include <set> 41 using AppForegroundStateObserverSet = std::set<sptr<IAppForegroundStateObserver>>; 42 using AbilityforegroundObserverSet = std::set<sptr<IAbilityForegroundStateObserver>>;
|
/foundation/ability/idl_tool/test/hdi_unittest/base/ |
H A D | util.py | 110 first_files = set([file[len(first_file_path):] for file in first_files_list]) 114 second_files = set([file[len(second_file_path):-4] for file in second_files_list]) 116 second_files = set([file[len(second_file_path):] for file in second_files_list])
|
/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | options.h | 22 #include <set> 100 inline std::set<std::string> GetSourceFiles() const in GetSourceFiles() 297 std::set<std::string> sourceFiles; // '-c <*.idl>'
|
/foundation/arkui/ace_engine/frameworks/base/resource/ |
H A D | shared_image_manager.cpp | 69 std::set<WeakPtr<ImageProviderLoader>> providerWpSet = std::set<WeakPtr<ImageProviderLoader>>(); in AddSharedImage() 139 providerMapToReload_.try_emplace(name, std::set<WeakPtr<ImageProviderLoader>>()); in AddPictureNamesToReloadMap()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | repeat_virtual_scroll_caches.h | 23 #include <set> 33 // custom sorting for std::set only works with struct 207 * returned set entries are pairs: 211 void FindUnusedKeys(std::set<std::pair<bool, std::string>>& result) const; 252 std::set<std::string, KeySorterClass> GetSortedL2KeysForTType( 292 // all keys not in this set are in "L2"
|
/foundation/multimedia/audio_framework/services/audio_service/server/include/ |
H A D | audio_service.h | 21 #include <set> 114 std::set<std::string> releasingEndpointSet_; 132 std::set<uint32_t> mutedSessions_ = {};
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | pipeline_layout_loader.cpp | 68 SafeGetJsonValue(jsonData, "set", context.error, context.data.set); in FromJson() 73 // NOTE: does not fetch descriptor set arrays in FromJson() 115 PLUGIN_LOG_W("RENDER_VALIDATION: Unknown descriptor type (name:%s) (set:%u, binding:%u).", in Load() 116 uri.data(), descRef.set, bindingRef.binding); in Load() 123 const uint32_t setIndex = descriptorSetLayouts[idx].set; in Load() 132 result.error += "invalid descriptor set layout count"; in Load()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/container/ |
H A D | container.cpp | 218 const auto set = interface_cast<IMutableContainable>(object); in SetObjectParent() local 219 if (!set) { in SetObjectParent() 233 set->SetParent(parent); in SetObjectParent()
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/ |
H A D | intf_render_command_list.h | 129 * SubpassContents::CORE_SUBPASS_CONTENTS_INLINE set. 139 * SubpassContents::CORE_SUBPASS_CONTENTS_INLINE set. 253 /** Update a single descriptor set with given bindings. 267 /** Bind a single descriptor set to pipeline. 268 * There can be maximum of 4 sets. I.e. the maximum set index is 3. 269 * @param set Set to bind 272 virtual void BindDescriptorSet(const uint32_t set, const RenderHandle handle) = 0; 274 /** Bind a single descriptor set to pipeline. 275 * There can be maximum of 4 sets. I.e. the maximum set index is 3. 276 * @param set Se [all...] |
/foundation/graphic/graphic_3d/lume/LumeDotfield/src/render/ |
H A D | render_node_dotfield_render.cpp | 96 const uint32_t set = 0; in InitNode() local 97 const RenderHandle descriptorSetHandle = descriptorSetMgr.CreateDescriptorSet(set, pipelineLayout); in InitNode() 99 descriptorSetHandle, pipelineLayout.descriptorSetLayouts[set].bindings); in InitNode()
|
/foundation/systemabilitymgr/samgr/interfaces/innerkits/common/include/ |
H A D | parse_util.h | 21 #include <set> 37 bool ParseTrustConfig(const std::string& profilePath, std::map<std::u16string, std::set<int32_t>>& values); 106 std::set<int32_t>& out) in GetIntArrayFromJson()
|
/foundation/resourceschedule/background_task_mgr/services/transient_task/include/ |
H A D | bg_transient_task_mgr.h | 22 #include <set> 81 std::set<int32_t>& GetTransientPauseUid(); 115 std::set<int32_t> transientPauseUid_ {};
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/ |
H A D | single_ver_relational_syncer.cpp | 50 std::set<uint32_t> subSyncIdSet; in PrepareSync() 70 const std::vector<QuerySyncObject> &tablesQuery, uint64_t connectionId, std::set<uint32_t> &subSyncIdSet) in GenerateEachSyncTask() 118 void SingleVerRelationalSyncer::DoRollBack(std::set<uint32_t> &subSyncIdSet) in DoRollBack()
|