/third_party/skia/docs/examples/ |
H A D | Region_Iterator_Iterator.cpp | 8 SkRegion region; in REG_FIDDLE() local 9 region.setRect({1, 2, 3, 4}); in REG_FIDDLE() 10 iter.reset(region); in REG_FIDDLE()
|
H A D | Region_Iterator_done.cpp | 7 SkRegion region; in REG_FIDDLE() local 8 SkRegion::Iterator iter(region); in REG_FIDDLE() 10 region.setRect({1, 2, 3, 4}); in REG_FIDDLE()
|
H A D | Region_getBounds.cpp | 7 SkRegion region({1, 2, 3, 4}); in REG_FIDDLE() 8 region.op({2, 3, 4, 5}, SkRegion::kUnion_Op); in REG_FIDDLE() 9 auto r = region.getBounds(); in REG_FIDDLE()
|
H A D | Region_Spanerator_const_SkRegion_int_int_int.cpp | 7 SkRegion region; in REG_FIDDLE() local 8 region.setRect({1, 2, 3, 4}); in REG_FIDDLE() 9 SkRegion::Spanerator spanner(region, 3, 2, 4); in REG_FIDDLE()
|
H A D | Region_destructor.cpp | 7 SkRegion* region = new SkRegion({1, 2, 3, 4}); in REG_FIDDLE() local 8 SkRegion region2(*region); in REG_FIDDLE() 9 delete region; in REG_FIDDLE()
|
H A D | Region_Cliperator_next.cpp | 7 SkRegion region; in REG_FIDDLE() local 9 region.setRects(rects, SK_ARRAY_COUNT(rects)); in REG_FIDDLE() 10 SkRegion::Cliperator clipper(region, {0, 3, 8, 7}); in REG_FIDDLE()
|
H A D | Region_Iterator_next.cpp | 7 SkRegion region; in REG_FIDDLE() local 9 region.setRects(rects, SK_ARRAY_COUNT(rects)); in REG_FIDDLE() 10 SkRegion::Iterator iter(region); in REG_FIDDLE()
|
H A D | Region_readFromMemory.cpp | 7 SkRegion region({20, 20, 80, 80}); in REG_FIDDLE() 8 size_t size = region.writeToMemory(nullptr); in REG_FIDDLE() 10 region.writeToMemory(data->writable_data()); in REG_FIDDLE()
|
H A D | Region_Iterator_rect.cpp | 7 SkRegion region; in REG_FIDDLE() local 8 SkRegion::Iterator iter(region); in REG_FIDDLE() 11 region.setRect({1, 2, 3, 4}); in REG_FIDDLE()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | zonemeta.cpp | 450 const char16_t *region = TimeZone::getRegion(tzid); in getCanonicalCountry() local 451 if (region != nullptr && u_strcmp(gWorld, region) != 0) { in getCanonicalCountry() 452 country.setTo(region, -1); in getCanonicalCountry() 473 singleZone = cached = gSingleZoneCountries->contains((void*)region); in getCanonicalCountry() 475 cached = gMultiZonesCountries->contains((void*)region); in getCanonicalCountry() 481 // We need to go through all zones associated with the region. in getCanonicalCountry() 484 U_ASSERT(u_strlen(region) == 2); in getCanonicalCountry() 486 u_UCharsToChars(region, regionBuf, 2); in getCanonicalCountry() 491 // only the single zone is available for the region in getCanonicalCountry() 731 getZoneIdByMetazone(const UnicodeString &mzid, const UnicodeString ®ion, UnicodeString &result) getZoneIdByMetazone() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | zonemeta.cpp | 420 const UChar *region = TimeZone::getRegion(tzid); in getCanonicalCountry() local 421 if (region != NULL && u_strcmp(gWorld, region) != 0) { in getCanonicalCountry() 422 country.setTo(region, -1); in getCanonicalCountry() 443 singleZone = cached = gSingleZoneCountries->contains((void*)region); in getCanonicalCountry() 445 cached = gMultiZonesCountries->contains((void*)region); in getCanonicalCountry() 451 // We need to go through all zones associated with the region. in getCanonicalCountry() 454 U_ASSERT(u_strlen(region) == 2); in getCanonicalCountry() 456 u_UCharsToChars(region, regionBuf, 2); in getCanonicalCountry() 461 // only the single zone is available for the region in getCanonicalCountry() 701 getZoneIdByMetazone(const UnicodeString &mzid, const UnicodeString ®ion, UnicodeString &result) getZoneIdByMetazone() argument [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | zonemeta.cpp | 428 const UChar *region = TimeZone::getRegion(tzid); in getCanonicalCountry() local 429 if (region != NULL && u_strcmp(gWorld, region) != 0) { in getCanonicalCountry() 430 country.setTo(region, -1); in getCanonicalCountry() 451 singleZone = cached = gSingleZoneCountries->contains((void*)region); in getCanonicalCountry() 453 cached = gMultiZonesCountries->contains((void*)region); in getCanonicalCountry() 459 // We need to go through all zones associated with the region. in getCanonicalCountry() 462 U_ASSERT(u_strlen(region) == 2); in getCanonicalCountry() 464 u_UCharsToChars(region, regionBuf, 2); in getCanonicalCountry() 469 // only the single zone is available for the region in getCanonicalCountry() 718 getZoneIdByMetazone(const UnicodeString &mzid, const UnicodeString ®ion, UnicodeString &result) getZoneIdByMetazone() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | CommandBufferVk.cpp | 74 VkImageCopy region; in ComputeImageCopyRegion() local 75 region.srcSubresource.aspectMask = VulkanAspectMask(aspect); in ComputeImageCopyRegion() 76 region.srcSubresource.mipLevel = srcCopy.mipLevel; in ComputeImageCopyRegion() 77 region.dstSubresource.aspectMask = VulkanAspectMask(aspect); in ComputeImageCopyRegion() 78 region.dstSubresource.mipLevel = dstCopy.mipLevel; in ComputeImageCopyRegion() 82 region.srcOffset.x = srcCopy.origin.x; in ComputeImageCopyRegion() 83 region.srcOffset.y = srcCopy.origin.y; in ComputeImageCopyRegion() 86 region.srcSubresource.baseArrayLayer = srcCopy.origin.z; in ComputeImageCopyRegion() 87 region.srcSubresource.layerCount = copySize.depthOrArrayLayers; in ComputeImageCopyRegion() 88 region in ComputeImageCopyRegion() 540 VkBufferCopy region; RecordCommands() local 563 VkBufferImageCopy region = RecordCommands() local 607 VkBufferImageCopy region = RecordCommands() local 694 VkImageCopy region = RecordCommands() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | CalendarUtil.java | 57 // region to get the default calendar type in getCalendarType() 58 String region = ULocale.getRegionForSupplementalData(canonical, true); in getCalendarType() 59 return CalendarPreferences.INSTANCE.getCalendarTypeForRegion(region); in getCalendarType() 77 String getCalendarTypeForRegion(String region) { in getCalendarTypeForRegion() argument 78 String type = prefs.get(region); in getCalendarTypeForRegion() 87 // The first calendar type is the default for the region. in put()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | CalendarUtil.java | 59 // region to get the default calendar type in getCalendarType() 60 String region = ULocale.getRegionForSupplementalData(canonical, true); in getCalendarType() 61 return CalendarPreferences.INSTANCE.getCalendarTypeForRegion(region); in getCalendarType() 79 String getCalendarTypeForRegion(String region) { in getCalendarTypeForRegion() argument 80 String type = prefs.get(region); in getCalendarTypeForRegion() 89 // The first calendar type is the default for the region. in put()
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_job_transfer.c | 93 VkBufferCopy2 *region = &transfer_cmd->regions[i]; in pvr_transfer_job_submit() local 95 memcpy(dst_addr + region->dstOffset, in pvr_transfer_job_submit() 96 src_addr + region->srcOffset, in pvr_transfer_job_submit() 97 region->size); in pvr_transfer_job_submit()
|
/third_party/zlib/contrib/dotzlib/DotZLib/ |
H A D | CodecBase.cs | 19 #region Data members
65 #region Codec Members
118 #region Destructor & IDisposable stuff
160 #region Helper methods
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
H A D | LocaleValidityChecker.java | 73 final String region = locale.getCountry(); in isValid() 78 // if (!script.isEmpty() || !region.isEmpty() || variantString.isEmpty() in isValid() 93 if (!isValid(Datatype.region, region, where)) return false; in isValid() 236 if (!isValid(Datatype.region, subtag.substring(0,subtag.length()-4), where)) { in isValidU() 274 String region = subtag.substring(0, subtag.charAt(0) <= '9' ? 3 : 2); in isSubdivision() 275 String subdivision = subtag.substring(region.length()); in isSubdivision() 276 if (ValidIdentifiers.isValid(Datatype.subdivision, datasubtypes, region, subdivision) == null) { in isSubdivision() 279 // Then check for consistency with the locale's region in isSubdivision() 285 if (!region in isSubdivision() [all...] |
H A D | BaseLocale.java | 29 private BaseLocale(String language, String script, String region, String variant) { in BaseLocale() argument 36 if (region != null) { in BaseLocale() 37 _region = AsciiUtil.toUpperString(region).intern(); in BaseLocale() 49 public static BaseLocale getInstance(String language, String script, String region, String variant) { in getInstance() argument 60 Key key = new Key(language, script, region, variant); in getInstance() 115 buf.append("region="); in toString() 132 // Generating a hash value from language, script, region and variant in hashCode() 158 public Key(String language, String script, String region, String variant) { in Key() argument 165 if (region != null) { in Key() 166 _regn = region; in Key() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
H A D | LocaleValidityChecker.java | 78 final String region = locale.getCountry(); in isValid() 83 // if (!script.isEmpty() || !region.isEmpty() || variantString.isEmpty() in isValid() 98 if (!isValid(Datatype.region, region, where)) return false; in isValid() 241 if (!isValid(Datatype.region, subtag.substring(0,subtag.length()-4), where)) { in isValidU() 279 String region = subtag.substring(0, subtag.charAt(0) <= '9' ? 3 : 2); in isSubdivision() 280 String subdivision = subtag.substring(region.length()); in isSubdivision() 281 if (ValidIdentifiers.isValid(Datatype.subdivision, datasubtypes, region, subdivision) == null) { in isSubdivision() 284 // Then check for consistency with the locale's region in isSubdivision() 290 if (!region in isSubdivision() [all...] |
H A D | BaseLocale.java | 33 private BaseLocale(String language, String script, String region, String variant) { in BaseLocale() argument 40 if (region != null) { in BaseLocale() 41 _region = AsciiUtil.toUpperString(region).intern(); in BaseLocale() 53 public static BaseLocale getInstance(String language, String script, String region, String variant) { in getInstance() argument 64 Key key = new Key(language, script, region, variant); in getInstance() 119 buf.append("region="); in toString() 136 // Generating a hash value from language, script, region and variant in hashCode() 162 public Key(String language, String script, String region, String variant) { in Key() argument 169 if (region != null) { in Key() 170 _regn = region; in Key() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkImage.hpp | 62 void copyTo(Image *dstImage, const VkImageCopy2KHR ®ion) const; 63 void copyTo(Buffer *dstBuffer, const VkBufferImageCopy2KHR ®ion); 64 void copyFrom(Buffer *srcBuffer, const VkBufferImageCopy2KHR ®ion); 66 void blitTo(Image *dstImage, const VkImageBlit2KHR ®ion, VkFilter filter) const; 68 void resolveTo(Image *dstImage, const VkImageResolve2KHR ®ion) const; 122 void copy(Buffer *buffer, const VkBufferImageCopy2KHR ®ion, bool bufferIsSource); 123 void copySingleAspectTo(Image *dstImage, const VkImageCopy2KHR ®ion) const; 133 VkExtent2D bufferExtentInBlocks(const VkExtent2D &extent, const VkBufferImageCopy2KHR ®ion) const;
|
/third_party/tzdata/ |
H A D | tzselect.ksh | 392 region= 534 region=$select_result 539 region = substr(ARGV[2], 2) 544 if (f[nf] == region) 548 ' ="$distance_table" ="$region" 701 # If there's more than one region, ask the user which one. 706 region=$select_result 709 # Determine tz from country and region. 714 region = substr(ARGV[2], 2) 733 if ($1 ~ cc && ($4 == region || !regio [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/tool/locale/ |
H A D | LikelySubtagsBuilder.java | 162 // Prune the script and region levels from language with in build() 188 // Prune the region level from language+script with only * for regions. in build() 196 String region = r2lsr.getKey(); in build() 197 // Map the whole lang+script+region to a unique, dense index of the LSR. in build() 198 if (region.isEmpty()) { in build() 201 trieBuilder.addSubtag(region); in build() 237 final String region = ltp.region; in makeTable() 240 set(result, language, script, region, ltp); in makeTable() 244 Collection<String> regionAliases = regionAliasesBuilder.getAliases(region); in makeTable() 303 set(Map<String, Map<String, Map<String, LSR>>> langTable, final String language, final String script, final String region, LSR newValue) set() argument [all...] |
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/ |
H A D | LikelySubtagsBuilder.java | 162 // Prune the script and region levels from language with in build() 188 // Prune the region level from language+script with only * for regions. in build() 196 String region = r2lsr.getKey(); in build() 197 // Map the whole lang+script+region to a unique, dense index of the LSR. in build() 198 if (region.isEmpty()) { in build() 201 trieBuilder.addSubtag(region); in build() 237 final String region = ltp.region; in makeTable() 240 set(result, language, script, region, ltp); in makeTable() 244 Collection<String> regionAliases = regionAliasesBuilder.getAliases(region); in makeTable() 303 set(Map<String, Map<String, Map<String, LSR>>> langTable, final String language, final String script, final String region, LSR newValue) set() argument [all...] |