/third_party/node/deps/uv/src/unix/ |
H A D | core.c | 415 * call will be ignored if the provider_entry_time was either never set (if in uv_run() 610 int uv__nonblock_ioctl(int fd, int set) { in uv__nonblock_ioctl() argument 614 r = ioctl(fd, FIONBIO, &set); in uv__nonblock_ioctl() 625 int uv__nonblock_fcntl(int fd, int set) { in uv__nonblock_fcntl() argument 636 /* Bail out now if already set/clear. */ in uv__nonblock_fcntl() 637 if (!!(r & O_NONBLOCK) == !!set) in uv__nonblock_fcntl() 640 if (set) in uv__nonblock_fcntl() 656 int uv__cloexec(int fd, int set) { in uv__cloexec() argument 661 if (set) in uv__cloexec() 1085 /* Check if the HOME environment variable is set firs in uv_os_homedir() 1632 cpu_set_t set; uv_available_parallelism() local [all...] |
/third_party/rust/crates/libc/src/unix/bsd/ |
H A D | mod.rs | 553 pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () { in FD_CLR() 554 let bits = ::mem::size_of_val(&(*set).fds_bits[0]) * 8; in FD_CLR() 556 (*set).fds_bits[fd / bits] &= !(1 << (fd % bits)); in FD_CLR() 560 pub fn FD_ISSET(fd: ::c_int, set: *const fd_set) -> bool { in FD_ISSET() 561 let bits = ::mem::size_of_val(&(*set).fds_bits[0]) * 8; in FD_ISSET() 563 return ((*set).fds_bits[fd / bits] & (1 << (fd % bits))) != 0 in FD_ISSET() 566 pub fn FD_SET(fd: ::c_int, set: *mut fd_set) -> () { in FD_SET() 567 let bits = ::mem::size_of_val(&(*set).fds_bits[0]) * 8; in FD_SET() 569 (*set).fds_bits[fd / bits] |= 1 << (fd % bits); in FD_SET() 573 pub fn FD_ZERO(set [all...] |
/third_party/python/Lib/test/ |
H A D | test_pprint.py | 38 class set2(set): 41 class set3(set): 43 return set.__repr__(self) 45 class set_custom_repr(set): 47 return '*'*len(set.__repr__(self)) 231 set(), set2(), set3(), 240 set({7}), set2({7}), set3({7}), 579 self.assertEqual(pprint.pformat(set()), 'set()') 580 self.assertEqual(pprint.pformat(set(rang [all...] |
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...] |
/third_party/python/Lib/ |
H A D | mailbox.py | 1150 all_keys = set(self.keys()) 1154 keys = set() 1181 for key in sorted(set(keys)): 1327 labels = set() 1550 """Return as a string the flags that are set.""" 1562 self.set_flags(''.join(set(self.get_flags()) | set(flag))) 1567 self.set_flags(''.join(set(self.get_flags()) - set(flag))) 1598 flags = set(sel [all...] |
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/icu/source/common/ |
H A D | normalizer2impl.cpp | 465 Normalizer2Impl::addLcccChars(UnicodeSet &set) const { 472 set.add(start, end); 475 if (fcd16 > 0xff) { set.add(start, end); } 488 sa->add(sa->set, start); 497 sa->add(sa->set, start); 507 sa->add(sa->set, c); 508 sa->add(sa->set, c+1); 510 sa->add(sa->set, Hangul::HANGUL_LIMIT); /* add Hangul+1 to continue with other properties */ 522 sa->add(sa->set, start); 1125 * Bit 0 set i [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context.cpp | 442 // Implementations now require the display to be set at context creation. in Context() 470 mZeroTextures[TextureType::_2D].set(this, zeroTexture2D); in initializeDefaultResources() 473 mZeroTextures[TextureType::CubeMap].set(this, zeroTextureCube); in initializeDefaultResources() 478 mZeroTextures[TextureType::_3D].set(this, zeroTexture3D); in initializeDefaultResources() 484 mZeroTextures[TextureType::_2DArray].set(this, zeroTexture2DArray); in initializeDefaultResources() 490 mZeroTextures[TextureType::_2DMultisample].set(this, zeroTexture2DMultisample); in initializeDefaultResources() 496 mZeroTextures[TextureType::_2DMultisampleArray].set(this, zeroTexture2DMultisampleArray); in initializeDefaultResources() 513 mZeroTextures[TextureType::CubeMapArray].set(this, zeroTextureCubeMapArray); in initializeDefaultResources() 519 mZeroTextures[TextureType::Buffer].set(this, zeroTextureBuffer); in initializeDefaultResources() 526 mZeroTextures[TextureType::Rectangle].set(thi in initializeDefaultResources() [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/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/ |
H A D | CollectionUtilities.java | 215 public ObjectMatcher set(ObjectMatcher toInverse) { in set() method in CollectionUtilities.InverseMatcher 386 * Returns an int with bits set, according to a "Venn Diagram" view of A vs B.<br> 476 * Modifies Unicode set to flatten the strings. Eg [abc{da}] => [abcd] 477 * Returns the set for chaining. 492 if (gotString) exemplar1.set(result); in flatten() 504 public FilteredIterator set(Iterator baseIterator) { in set() method in CollectionUtilities.FilteredIterator 533 public PrefixIterator set(Iterator baseIterator, String prefix) { in set() method in CollectionUtilities.PrefixIterator 534 super.set(baseIterator); in set() 545 public RegexIterator set(Iterator baseIterator, Matcher matcher) { in set() method in CollectionUtilities.RegexIterator 546 super.set(baseIterato in set() [all...] |
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
H A D | CollectionUtilities.java | 212 public ObjectMatcher set(ObjectMatcher toInverse) { in set() method in CollectionUtilities.InverseMatcher 383 * Returns an int with bits set, according to a "Venn Diagram" view of A vs B.<br> 473 * Modifies Unicode set to flatten the strings. Eg [abc{da}] => [abcd] 474 * Returns the set for chaining. 489 if (gotString) exemplar1.set(result); in flatten() 501 public FilteredIterator set(Iterator baseIterator) { in set() method in CollectionUtilities.FilteredIterator 530 public PrefixIterator set(Iterator baseIterator, String prefix) { in set() method in CollectionUtilities.PrefixIterator 531 super.set(baseIterator); in set() 542 public RegexIterator set(Iterator baseIterator, Matcher matcher) { in set() method in CollectionUtilities.RegexIterator 543 super.set(baseIterato in set() [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/package-json/lib/ |
H A D | normalize.js | 102 changes?.push('Missing "name" field was set to an empty string') 138 changes?.push(`"version" was cleaned and set to "${version}"`) 156 changes?.push(`"_id" was set to ${pkgId}`) 216 changes?.push(`"scripts.install" was set to "node-gyp rebuild"`) 217 changes?.push(`"gypfile" was set to "true"`) 228 changes?.push('"scripts.start" was set to "node server.js"') 296 changes?.push(`"readme" was set to the contents of ${readmeFile}`) 297 changes?.push(`"readmeFilename" was set to ${readmeFile}`) 437 changes?.push(`"repository" was set to the first entry in "repositories" (${data.repository})`)
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_util.h | 497 inline void set(unsigned int i) 546 BitSet& operator=(const BitSet& set) 548 assert(data && set.data); 549 assert(size == set.size); 550 memcpy(data, set.data, (set.size + 7) / 8); 698 template<typename T> void set(const T *obj, T *clone)
|
/third_party/skia/src/core/ |
H A D | SkDraw_vertices.cpp | 163 m.set(0, pts[index1].fX - pts[index0].fX); in update() 164 m.set(1, pts[index2].fX - pts[index0].fX); in update() 165 m.set(2, pts[index0].fX); in update() 166 m.set(3, pts[index1].fY - pts[index0].fY); in update() 167 m.set(4, pts[index2].fY - pts[index0].fY); in update() 168 m.set(5, pts[index0].fY); in update() 278 dst[i].set(outPoints[i].fX * scale, outPoints[i].fY * scale); in fill_triangle_3()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | UnknownFieldSetTest.java | 540 private void checkEqualsIsConsistent(UnknownFieldSet set) { in checkEqualsIsConsistent() argument 542 assertEquals(set, set); in checkEqualsIsConsistent() 545 UnknownFieldSet copy = UnknownFieldSet.newBuilder(set).build(); in checkEqualsIsConsistent() 546 assertEquals(set, copy); in checkEqualsIsConsistent() 547 assertEquals(copy, set); in checkEqualsIsConsistent() 548 assertEquals(set.hashCode(), copy.hashCode()); in checkEqualsIsConsistent()
|
/third_party/skia/modules/svg/include/ |
H A D | SkSVGTypes.h | 46 fValue.set(value); in SkSVGProperty() 50 fValue.set(std::move(value)); in SkSVGProperty() 67 void set(SkSVGPropertyState state) { in set() function in SkSVGProperty 74 void set(const T& value) { in set() function in SkSVGProperty 76 fValue.set(value); in set() 79 void set(T&& value) { in set() function in SkSVGProperty 81 fValue.set(std::move(value)); in set()
|
/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...] |
/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...] |
/build/rust/tests/test_cxx_rust/src/ |
H A D | client_blobstore.cpp | 18 #include <set> 34 std::set<std::string> tags;
|
/build/tools/component_tools/static_check/gn_check/ |
H A D | gn_common_tools.py | 41 black_dirs: tuple = tuple()) -> set: 49 result_set = set()
|
/third_party/curl/lib/ |
H A D | curl_gssapi.c | 67 if(data->set.gssapi_delegation & CURLGSSAPI_DELEGATION_POLICY_FLAG) { in Curl_gss_init_sec_context() 76 if(data->set.gssapi_delegation & CURLGSSAPI_DELEGATION_FLAG) in Curl_gss_init_sec_context()
|