/foundation/graphic/graphic_surface/surface/test/systemtest/ |
H A D | native_window_buffer_test.cpp | 141 struct Region *region = new Region(); in InitNativeWindowAndBuffer() local 145 region->rects = rect; in InitNativeWindowAndBuffer() 146 region->rectNumber = 1; in InitNativeWindowAndBuffer() 147 ret = OH_NativeWindow_NativeWindowFlushBuffer(nativeWindow, nativeWindowBuffer, -1, *region); in InitNativeWindowAndBuffer() 150 delete region; in InitNativeWindowAndBuffer() 154 delete region; in InitNativeWindowAndBuffer()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/region_napi/ |
H A D | js_region.cpp | 18 #include "utils/region.h" 71 auto region = std::make_shared<Region>(); in Constructor() local 72 JsRegion* jsRegion = new JsRegion(region); in Constructor() 102 ROSEN_LOGE("JsRegion::OnIsPointContained region is nullptr"); in OnIsPointContained() 126 ROSEN_LOGE("JsRegion::OnIsRegionContained region is nullptr"); in OnIsRegionContained() 152 ROSEN_LOGE("JsRegion::OnOp region is nullptr"); in OnOp() 159 JsRegion* region = nullptr; in OnOp() local 160 GET_UNWRAP_PARAM(ARGC_ZERO, region); in OnOp() 161 if (region->GetRegion() == nullptr) { in OnOp() 162 ROSEN_LOGE("JsRegion::OnOp region i in OnOp() [all...] |
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
H A D | ShortcodesTableSchema.java | 57 * geographic subregion (rather than the whole region). 64 * <li>{@code Region}: The region code for which this range applies. 69 * <p>Note that the region must be part of the key, since some shortcodes have different types 74 * The row key of the shortcode table, specifying region and range key. This permits all 104 public static ShortcodeKey create(PhoneRegion region, RangeKey rangeKey) { in create() argument 105 checkArgument(!region.equals(PhoneRegion.getUnknown()), "region must be valid"); in create() 106 return new AutoValue_ShortcodesTableSchema_ShortcodeKey(region, rangeKey); in create() 203 * Maps a single shortcode CSV table into a map of region specific range tables. Note that the 209 // Retain order of regions in the CSV table (not natural region orde in toShortcodeTables() [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | CodedInputStream.cs | 0 #region Copyright notice and license
87 #region Construction
283 #region Validation
296 #region Reading of tags etc
550 #region Underlying reading primitives
606 #region Internal reading and buffer management
|
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | postproc.c | 40 vlVaRegionDefault(const VARectangle *region, vlVaSurface *surf, in vlVaRegionDefault() argument 43 if (region) in vlVaRegionDefault() 44 return region; in vlVaRegionDefault() 91 struct pipe_box *box, const VARectangle *region) in vlVaGetBox() 96 x = abs(region->x); in vlVaGetBox() 97 y = abs(region->y); in vlVaGetBox() 98 width = region->width; in vlVaGetBox() 99 height = region->height; in vlVaGetBox() 108 box->x = region->x < 0 ? -x : x; in vlVaGetBox() 109 box->y = region in vlVaGetBox() 90 vlVaGetBox(struct pipe_video_buffer *buf, unsigned idx, struct pipe_box *box, const VARectangle *region) vlVaGetBox() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationCL_autogen.h | 193 const size_t *region, 204 const size_t *region, 216 const size_t *region, 224 const size_t *region, 234 const size_t *region, 252 const size_t *region, 345 const size_t *region, 359 const size_t *region, 373 const size_t *region, 436 const size_t *region, [all...] |
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
H A D | cl_stubs_autogen.h | 302 const size_t *region, 325 const size_t *region, 357 const size_t *region, 369 const size_t *region, 380 const size_t *region, 391 const size_t *region, 400 const size_t *region, 408 const size_t *region, 418 const size_t *region, 437 const size_t *region, [all...] |
/third_party/elfutils/src/ |
H A D | elfcmp.c | 99 struct region struct 103 struct region *next; 257 struct region *regions = NULL; in main() 292 struct region *newp = (struct region *) alloca (sizeof (*newp)); in main() 568 struct region ehdr_region; in main() 569 struct region phdr_region; in main() 589 struct region *regionsarr = alloca (nregions * sizeof (struct region)); in main() 647 /* Compare the [LAST,FROM) region in main() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
H A D | UnitsTest.java | 617 String region; in testUnitPreferencesWithCLDRTests() 630 String region = fields[2]; in testUnitPreferencesWithCLDRTests() 643 this.insertData(category, usage, region, inputUnit, inputValue, outputs); in testUnitPreferencesWithCLDRTests() 648 String region, in testUnitPreferencesWithCLDRTests() 654 this.region = region; in testUnitPreferencesWithCLDRTests() 655 this.locale = new ULocale("und-" + this.region); in testUnitPreferencesWithCLDRTests() 671 return "TestCase: " + category + ", " + usage + ", " + region + "; Input: " + input + in testUnitPreferencesWithCLDRTests() 753 final String region; in testGetPreferencesFor() 757 public TestCase(String name, String category, String usage, String region, Strin in testGetPreferencesFor() [all...] |
/foundation/graphic/graphic_2d/frameworks/surfaceimage/test/systemtest/ |
H A D | native_image_opengl_system_test.cpp | 208 struct Region *region = new Region(); in ProducerThreadOpenGL() local 214 region->rects = rect; in ProducerThreadOpenGL() 219 ret = OH_NativeWindow_NativeWindowFlushBuffer(nativeWindow, nativeWindowBuffer, fenceFd, *region); in ProducerThreadOpenGL() 221 delete region; in ProducerThreadOpenGL() 416 struct Region *region = new Region(); in ProducerThreadWithMatrix() local 422 region->rects = rect; in ProducerThreadWithMatrix() 427 ret = OH_NativeWindow_NativeWindowFlushBuffer(nativeWindow, nativeWindowBuffer, fenceFd, *region); in ProducerThreadWithMatrix() 429 delete region; in ProducerThreadWithMatrix()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_texture.c | 247 * \param x, y, w, h the region of interest of the 2D image. 328 struct pipe_box region; in print_center_pixel() local 331 region.x = src->width0 / 2; in print_center_pixel() 332 region.y = src->height0 / 2; in print_center_pixel() 333 region.z = 0; in print_center_pixel() 334 region.width = 1; in print_center_pixel() 335 region.height = 1; in print_center_pixel() 336 region.depth = 1; in print_center_pixel() 338 map = pipe->texture_map(pipe, src, 0, PIPE_MAP_READ, ®ion, &xfer); in print_center_pixel()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/cj/ |
H A D | image_impl_test.cpp | 40 CRegion region; in HWTEST_F() local 41 imageImplNull.GetClipRect(®ion); in HWTEST_F()
|
/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/ |
H A D | mapping_file_provider.h | 60 // region is a two-letter uppercase ISO country code as defined by ISO 3166-1. 62 const string& script, const string& region, string* 69 const string& region,
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
H A D | OldExtensions2.cs | 6 #region Designer generated code 17 #region Descriptor
|
H A D | OldExtensions1.cs | 6 #region Designer generated code 17 #region Descriptor 39 #region Messages
|
H A D | UnittestIssue6936A.cs | 6 #region Designer generated code 17 #region Descriptor
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiCopiesAndBlittingTests.cpp | 579 virtual void copyRegionToTextureLevel (tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel = 0u) = 0; 1262 virtual void copyRegionToTextureLevel (tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel = 0u); 1550 void CopyImageToImage::copyRegionToTextureLevel (tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) in copyRegionToTextureLevel() argument 1554 VkOffset3D srcOffset = region.imageCopy.srcOffset; in copyRegionToTextureLevel() 1555 VkOffset3D dstOffset = region.imageCopy.dstOffset; in copyRegionToTextureLevel() 1556 VkExtent3D extent = region.imageCopy.extent; in copyRegionToTextureLevel() 1558 if (region.imageCopy.dstSubresource.baseArrayLayer > region.imageCopy.srcSubresource.baseArrayLayer) in copyRegionToTextureLevel() 1561 extent.depth = std::max(region.imageCopy.extent.depth, region in copyRegionToTextureLevel() 2020 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument 2322 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument 2571 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument 3062 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument 3111 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | units_data_test.cpp | 110 const char *region; in testGetPreferencesFor() member 146 localeID.append(t.region, status); in testGetPreferencesFor() 150 t.usage, t.region)) { in testGetPreferencesFor()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | units_data.h | 116 UnitPreferenceMetadata(StringPiece category, StringPiece usage, StringPiece region, 126 // for the "001" region ("world"). TODO(hugovdm): add a test for this. 127 CharString region; member in units::UnitPreferenceMetadata 172 * matches the specified usage and region. 174 * If region can't be found, falls back to global (001). If usage can't be 177 * @param category The category within which to look up usage and region. 184 * @param region The region whose preferences are desired. If there are no 185 * specific preferences for the requested region, the method automatically 186 * falls back to region "00 [all...] |
/third_party/skia/fuzz/ |
H A D | Fuzz.cpp | 30 void Fuzz::next(SkRegion* region) { in next() argument 32 FuzzNiceRegion(this, region, 10); in next()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiCopiesAndBlittingTests.cpp | 497 virtual void copyRegionToTextureLevel (tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel = 0u) = 0; 1043 virtual void copyRegionToTextureLevel (tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel = 0u); 1330 void CopyImageToImage::copyRegionToTextureLevel (tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) in copyRegionToTextureLevel() argument 1334 VkOffset3D srcOffset = region.imageCopy.srcOffset; in copyRegionToTextureLevel() 1335 VkOffset3D dstOffset = region.imageCopy.dstOffset; in copyRegionToTextureLevel() 1336 VkExtent3D extent = region.imageCopy.extent; in copyRegionToTextureLevel() 1341 extent.depth = std::max(region.imageCopy.extent.depth, region.imageCopy.dstSubresource.layerCount); in copyRegionToTextureLevel() 1346 extent.depth = std::max(region.imageCopy.extent.depth, region in copyRegionToTextureLevel() 1809 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument 2129 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument 2385 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument 2619 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument 2668 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument 4293 flipCoordinates(CopyRegion& region, const MirrorMode mirrorMode) flipCoordinates() argument 4359 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument 4458 CopyRegion region = m_params.regions[i]; generateExpectedResult() local 5233 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument 5338 CopyRegion region = m_params.regions[i]; generateExpectedResult() local 6387 copyRegionToTextureLevel(tcu::ConstPixelBufferAccess src, tcu::PixelBufferAccess dst, CopyRegion region, deUint32 mipLevel) copyRegionToTextureLevel() argument 11027 CopyRegion region; add2dImageToBufferTests() local 11600 CopyRegion region; add2dBufferToImageTests() local 12068 CopyRegion region; addBlittingImageSimpleWholeTests() local 12101 CopyRegion region; addBlittingImageSimpleMirrorXYTests() local 12134 CopyRegion region; addBlittingImageSimpleMirrorXTests() local 12167 CopyRegion region; addBlittingImageSimpleMirrorYTests() local 12200 CopyRegion region; addBlittingImageSimpleMirrorZTests() local 12234 CopyRegion region; addBlittingImageSimpleMirrorSubregionsTests() local 12255 CopyRegion region; addBlittingImageSimpleMirrorSubregionsTests() local 12277 CopyRegion region; addBlittingImageSimpleMirrorSubregionsTests() local 12299 CopyRegion region; addBlittingImageSimpleMirrorSubregionsTests() local 12333 CopyRegion region; addBlittingImageSimpleScalingWhole1Tests() local 12367 CopyRegion region; addBlittingImageSimpleScalingWhole2Tests() local 12402 CopyRegion region; addBlittingImageSimpleScalingAndOffsetTests() local 12424 CopyRegion region; addBlittingImageSimpleWithoutScalingPartialTests() local 13017 CopyRegion region; create2DCopyRegions() local 13177 CopyRegion region; addBlittingImageAllFormatsColorTests() local 13259 CopyRegion region; addBlittingImageAllFormatsColorTests() local 13399 CopyRegion region; addBlittingImageAllFormatsDepthStencilTests() local 13519 CopyRegion region; addBlittingImageAllFormatsDepthStencilTests() local 13639 CopyRegion region; addBlittingImageAllFormatsDepthStencilTests() local 13817 CopyRegion region; addBlittingImageAllFormatsBaseLevelMipmapTests() local 13928 CopyRegion region; addBlittingImageAllFormatsPreviousLevelMipmapTests() local [all...] |
/third_party/curl/lib/ |
H A D | http_aws_sigv4.c | 535 char region[MAX_SIGV4_LEN + 1]=""; in Curl_output_aws_sigv4() local 587 /* provider1[:provider2[:region[:service]]] in Curl_output_aws_sigv4() 595 provider0, provider1, region, service); in Curl_output_aws_sigv4() 622 if(!region[0]) { in Curl_output_aws_sigv4() 626 failf(data, "aws-sigv4: region missing in parameters and hostname"); in Curl_output_aws_sigv4() 632 failf(data, "aws-sigv4: region too long in hostname"); in Curl_output_aws_sigv4() 636 memcpy(region, reg, len); in Curl_output_aws_sigv4() 637 region[len] = '\0'; in Curl_output_aws_sigv4() 638 infof(data, "aws_sigv4: picked region %s from host", region); in Curl_output_aws_sigv4() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | TimeZone.java | 813 * @param region The ISO 3166 two-letter country code or UN M.49 three-digit area code. 814 * When null, no filtering done by region. 823 String region, Integer rawOffset) { in getAvailableIDs() 824 return ZoneMeta.getAvailableIDs(zoneType, region, rawOffset); in getAvailableIDs() 1170 * {@icu} Returns the region code associated with the given 1171 * system time zone ID. The region code is either ISO 3166 1177 * @return the region code associated with the given 1185 String region = null; in getRegion() 1189 region = ZoneMeta.getRegion(id); in getRegion() 1191 if (region in getRegion() 822 getAvailableIDs(SystemTimeZoneType zoneType, String region, Integer rawOffset) getAvailableIDs() argument 1279 getIDForWindowsID(String winid, String region) getIDForWindowsID() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | TimeZone.java | 771 * @param region The ISO 3166 two-letter country code or UN M.49 three-digit area code. 772 * When null, no filtering done by region. 779 String region, Integer rawOffset) { in getAvailableIDs() 780 return ZoneMeta.getAvailableIDs(zoneType, region, rawOffset); in getAvailableIDs() 1078 * <strong>[icu]</strong> Returns the region code associated with the given 1079 * system time zone ID. The region code is either ISO 3166 1085 * @return the region code associated with the given 1091 String region = null; in getRegion() 1095 region = ZoneMeta.getRegion(id); in getRegion() 1097 if (region in getRegion() 778 getAvailableIDs(SystemTimeZoneType zoneType, String region, Integer rawOffset) getAvailableIDs() argument 1181 getIDForWindowsID(String winid, String region) getIDForWindowsID() argument [all...] |
/foundation/multimedia/image_framework/frameworks/kits/cj/src/ |
H A D | pixel_map_impl.cpp | 105 uint32_t PixelMapImpl::ReadPixels(uint64_t &bufferSize, uint32_t &offset, uint32_t &stride, Rect ®ion, uint8_t *dst) in ReadPixels() argument 110 return real_->ReadPixels(bufferSize, offset, stride, region, dst); in ReadPixels() 122 Rect ®ion) in WritePixels() 127 return real_->WritePixels(source, bufferSize, offset, stride, region); in WritePixels() 121 WritePixels(uint8_t *source, uint64_t &bufferSize, uint32_t &offset, uint32_t &stride, Rect ®ion) WritePixels() argument
|