/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_regions.c | 113 struct intel_region *region; in intel_region_alloc_internal() local 115 region = calloc(sizeof(*region), 1); in intel_region_alloc_internal() 116 if (region == NULL) in intel_region_alloc_internal() 117 return region; in intel_region_alloc_internal() 119 region->cpp = cpp; in intel_region_alloc_internal() 120 region->width = width; in intel_region_alloc_internal() 121 region->height = height; in intel_region_alloc_internal() 122 region->pitch = pitch; in intel_region_alloc_internal() 123 region->refcount = 1; in intel_region_alloc_internal() 124 region->bo = buffer; in intel_region_alloc_internal() [all …]
|
D | intel_mipmap_tree.c | 195 mt->region = intel_region_alloc(intel->intelScreen, in intel_miptree_create() 206 if (y_or_x && mt->region->bo->size >= intel->max_gtt_map_object_size) { in intel_miptree_create() 209 intel_region_release(&mt->region); in intel_miptree_create() 211 mt->region = intel_region_alloc(intel->intelScreen, in intel_miptree_create() 221 if (!mt->region) { in intel_miptree_create() 241 struct intel_region *region = calloc(1, sizeof(*region)); in intel_miptree_create_for_bo() local 242 if (!region) in intel_miptree_create_for_bo() 260 free(region); in intel_miptree_create_for_bo() 264 region->cpp = mt->cpp; in intel_miptree_create_for_bo() 265 region->width = width; in intel_miptree_create_for_bo() [all …]
|
D | intel_screen.c | 131 assert(irb->mt->region->pitch % irb->mt->region->cpp == 0); in aub_dump_bmp() 132 drm_intel_gem_bo_aub_dump_bmp(irb->mt->region->bo, in aub_dump_bmp() 138 irb->mt->region->pitch, in aub_dump_bmp() 273 intel_region_get_tile_masks(mt->region, &mask_x, &mask_y, false); in intel_setup_image_from_mipmap_tree() 281 image->offset = intel_region_get_aligned_offset(mt->region, in intel_setup_image_from_mipmap_tree() 286 intel_region_reference(&image->region, mt->region); in intel_setup_image_from_mipmap_tree() 292 image->width = image->region->width; in intel_setup_image_from_dimensions() 293 image->height = image->region->height; in intel_setup_image_from_dimensions() 315 image->region = intel_region_alloc_for_handle(intelScreen, in intel_create_image_from_name() 318 if (image->region == NULL) { in intel_create_image_from_name() [all …]
|
D | intel_blit.c | 161 if (src_mt->region->pitch > 32768 || in intel_miptree_blit() 162 dst_mt->region->pitch > 32768) { in intel_miptree_blit() 173 int src_pitch = src_mt->region->pitch; in intel_miptree_blit() 192 src_mt->region->bo, src_mt->offset, in intel_miptree_blit() 193 src_mt->region->tiling, in intel_miptree_blit() 194 dst_mt->region->pitch, in intel_miptree_blit() 195 dst_mt->region->bo, dst_mt->offset, in intel_miptree_blit() 196 dst_mt->region->tiling, in intel_miptree_blit() 398 struct intel_region *region; in intelClearWithBlit() local 406 region = irb->mt->region; in intelClearWithBlit() [all …]
|
/external/ImageMagick/MagickCore/ |
D | distribute-cache.c | 548 region; in ReadDistributeCacheMetacontent() local 565 length=sizeof(region.width)+sizeof(region.height)+sizeof(region.x)+ in ReadDistributeCacheMetacontent() 566 sizeof(region.y)+sizeof(length); in ReadDistributeCacheMetacontent() 571 (void) memcpy(®ion.width,q,sizeof(region.width)); in ReadDistributeCacheMetacontent() 572 q+=sizeof(region.width); in ReadDistributeCacheMetacontent() 573 (void) memcpy(®ion.height,q,sizeof(region.height)); in ReadDistributeCacheMetacontent() 574 q+=sizeof(region.height); in ReadDistributeCacheMetacontent() 575 (void) memcpy(®ion.x,q,sizeof(region.x)); in ReadDistributeCacheMetacontent() 576 q+=sizeof(region.x); in ReadDistributeCacheMetacontent() 577 (void) memcpy(®ion.y,q,sizeof(region.y)); in ReadDistributeCacheMetacontent() [all …]
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | screen_capturer_helper_unittest.cc | 24 DesktopRegion region(DesktopRect::MakeXYWH(1, 2, 3, 4)); in TEST_F() local 25 capturer_helper_.InvalidateRegion(region); in TEST_F() 27 capturer_helper_.TakeInvalidRegion(®ion); in TEST_F() 28 EXPECT_TRUE(region.is_empty()); in TEST_F() 32 DesktopRegion region; in TEST_F() local 33 capturer_helper_.TakeInvalidRegion(®ion); in TEST_F() 34 EXPECT_TRUE(region.is_empty()); in TEST_F() 36 region.SetRect(DesktopRect::MakeXYWH(1, 2, 3, 4)); in TEST_F() 37 capturer_helper_.InvalidateRegion(region); in TEST_F() 38 capturer_helper_.TakeInvalidRegion(®ion); in TEST_F() [all …]
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
D | transfer.cpp | 40 pitch(const vector_t ®ion, vector_t pitch) { in pitch() argument 42 map(multiplies(), region, pitch))) { in pitch() 56 size(const vector_t &pitch, const vector_t ®ion) { in size() argument 57 if (any_of(is_zero(), region)) in size() 60 return dot(pitch, region - vector_t{ 0, 1, 1 }); in size() 80 const vector_t &pitch, const vector_t ®ion) { in validate_object() argument 85 if (any_of(greater(), map(multiplies(), pitch, region), tail(pitch))) in validate_object() 89 if (dot(pitch, origin) + size(pitch, region) > mem.size()) in validate_object() 92 if (any_of(is_zero(), region)) in validate_object() 101 const vector_t &orig, const vector_t ®ion) { in validate_object() argument [all …]
|
/external/e2fsprogs/e2fsck/ |
D | region.c | 37 region_t region; in region_create() local 39 region = malloc(sizeof(struct region_struct)); in region_create() 40 if (!region) in region_create() 42 memset(region, 0, sizeof(struct region_struct)); in region_create() 43 region->min = min; in region_create() 44 region->max = max; in region_create() 45 return region; in region_create() 48 void region_free(region_t region) in region_free() argument 52 for (r = region->allocated; r; r = next) { in region_free() 56 memset(region, 0, sizeof(struct region_struct)); in region_free() [all …]
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_screen_ioctl.c | 68 vmw_region_size(struct vmw_region *region) in vmw_region_size() argument 70 return region->size; in vmw_region_size() 204 struct vmw_region *region = NULL; in vmw_ioctl_gb_surface_create() local 210 region = CALLOC_STRUCT(vmw_region); in vmw_ioctl_gb_surface_create() 211 if (!region) in vmw_ioctl_gb_surface_create() 251 region->handle = rep->buffer_handle; in vmw_ioctl_gb_surface_create() 252 region->map_handle = rep->buffer_map_handle; in vmw_ioctl_gb_surface_create() 253 region->drm_fd = vws->ioctl.drm_fd; in vmw_ioctl_gb_surface_create() 254 region->size = rep->backup_size; in vmw_ioctl_gb_surface_create() 255 *p_region = region; in vmw_ioctl_gb_surface_create() [all …]
|
D | vmw_context.c | 77 } region; member 127 } region; member 191 for(i = 0; i < vswc->region.used; ++i) { in vmw_swc_flush() 192 struct vmw_buffer_relocation *reloc = &vswc->region.relocs[i]; in vmw_swc_flush() 209 *reloc->region.where = ptr; in vmw_swc_flush() 247 vswc->region.used = 0; in vmw_swc_flush() 248 vswc->region.reserved = 0; in vmw_swc_flush() 293 vswc->region.used + nr_relocs > vswc->region.size) { in vmw_swc_reserve() 305 assert(vswc->region.used + nr_relocs <= vswc->region.size); in vmw_swc_reserve() 312 vswc->region.reserved = nr_relocs; in vmw_swc_reserve() [all …]
|
/external/autotest/client/site_tests/login_OobeLocalization/ |
D | login_OobeLocalization.py | 43 for region in self._get_regions(): 47 if region.get('confirmed', True) is False: 49 region['region_code']) 55 self._set_vpd({'region': region['region_code'], 56 'initial_locale': ','.join(region['locales']), 57 'initial_timezone': ','.join(region['time_zones']), 58 'keyboard_layout': ','.join(region['keyboards'])}) 59 self._run_with_chrome(self._run_localization_test, region) 77 def _run_localization_test(self, region): argument 81 initial_locale = ','.join(region['locales']) [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CurrencyMetaInfo.java | 83 public final String region; field in CurrencyMetaInfo.CurrencyFilter 108 … private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { in CurrencyFilter() argument 109 this.region = region; in CurrencyFilter() 143 public static CurrencyFilter onRegion(String region) { in onRegion() argument 144 return ALL.withRegion(region); in onRegion() 216 public CurrencyFilter withRegion(String region) { in withRegion() argument 217 return new CurrencyFilter(region, this.currency, this.from, this.to, this.tenderOnly); in withRegion() 228 return new CurrencyFilter(this.region, currency, this.from, this.to, this.tenderOnly); in withCurrency() 238 …return new CurrencyFilter(this.region, this.currency, date.getTime(), date.getTime(), this.tenderO… in withDate() 251 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyMetaInfo.java | 86 public final String region; field in CurrencyMetaInfo.CurrencyFilter 114 … private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { in CurrencyFilter() argument 115 this.region = region; in CurrencyFilter() 152 public static CurrencyFilter onRegion(String region) { in onRegion() argument 153 return ALL.withRegion(region); in onRegion() 232 public CurrencyFilter withRegion(String region) { in withRegion() argument 233 return new CurrencyFilter(region, this.currency, this.from, this.to, this.tenderOnly); in withRegion() 245 return new CurrencyFilter(this.region, currency, this.from, this.to, this.tenderOnly); in withCurrency() 256 …return new CurrencyFilter(this.region, this.currency, date.getTime(), date.getTime(), this.tenderO… in withDate() 270 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange() [all …]
|
/external/ImageMagick/MagickWand/ |
D | pixel-iterator.c | 79 region; member 126 iterator->region.width); in ClearPixelIterator() 128 iterator->pixel_wands=NewPixelWands(iterator->region.width); in ClearPixelIterator() 176 clone_iterator->region=iterator->region; in ClonePixelIterator() 180 iterator->pixel_wands,iterator->region.width); in ClonePixelIterator() 219 iterator->region.width); in DestroyPixelIterator() 329 SetGeometry(image,&iterator->region); in NewPixelIterator() 330 iterator->region.width=image->columns; in NewPixelIterator() 331 iterator->region.height=image->rows; in NewPixelIterator() 332 iterator->region.x=0; in NewPixelIterator() [all …]
|
/external/libchrome/base/trace_event/ |
D | process_memory_maps.cc | 45 for (const auto& region : vm_regions_) { in AsValueInto() local 48 value->SetString("sa", StringPrintf(kHexFmt, region.start_address)); in AsValueInto() 49 value->SetString("sz", StringPrintf(kHexFmt, region.size_in_bytes)); in AsValueInto() 50 value->SetInteger("pf", region.protection_flags); in AsValueInto() 51 value->SetString("mf", region.mapped_file); in AsValueInto() 55 "pss", StringPrintf(kHexFmt, region.byte_stats_proportional_resident)); in AsValueInto() 57 "pd", StringPrintf(kHexFmt, region.byte_stats_private_dirty_resident)); in AsValueInto() 59 "pc", StringPrintf(kHexFmt, region.byte_stats_private_clean_resident)); in AsValueInto() 61 "sd", StringPrintf(kHexFmt, region.byte_stats_shared_dirty_resident)); in AsValueInto() 63 "sc", StringPrintf(kHexFmt, region.byte_stats_shared_clean_resident)); in AsValueInto() [all …]
|
/external/libmojo/base/android/library_loader/ |
D | library_prefetcher.cc | 35 bool IsReadableAndPrivate(const base::debug::MappedMemoryRegion& region) { in IsReadableAndPrivate() argument 36 return region.permissions & base::debug::MappedMemoryRegion::READ && in IsReadableAndPrivate() 37 region.permissions & base::debug::MappedMemoryRegion::PRIVATE; in IsReadableAndPrivate() 77 const base::debug::MappedMemoryRegion& region) { in IsGoodToPrefetch() argument 78 return PathMatchesSuffix(region.path) && in IsGoodToPrefetch() 79 IsReadableAndPrivate(region); // .text and .data mappings are private. in IsGoodToPrefetch() 87 for (const base::debug::MappedMemoryRegion& region : regions) { in FilterLibchromeRangesOnlyIfPossible() local 88 if (EndsWith(region.path, kLibchromeSuffix, CompareCase::SENSITIVE)) { in FilterLibchromeRangesOnlyIfPossible() 93 for (const base::debug::MappedMemoryRegion& region : regions) { in FilterLibchromeRangesOnlyIfPossible() local 95 !EndsWith(region.path, kLibchromeSuffix, CompareCase::SENSITIVE)) { in FilterLibchromeRangesOnlyIfPossible() [all …]
|
/external/skia/tests/ |
D | RegionTest.cpp | 269 static void test_write(const SkRegion& region, skiatest::Reporter* r) { in test_write() argument 270 const size_t bytesNeeded = region.writeToMemory(nullptr); in test_write() 272 const size_t bytesWritten = region.writeToMemory(storage.get()); in test_write() 278 REPORTER_ASSERT(r, region == copy); in test_write() 283 SkRegion region; in DEF_TEST() local 284 REPORTER_ASSERT(r, region.isEmpty()); in DEF_TEST() 285 test_write(region, r); in DEF_TEST() 288 bool nonEmpty = region.setRect(0, 0, 50, 50); in DEF_TEST() 290 REPORTER_ASSERT(r, region.isRect()); in DEF_TEST() 291 test_write(region, r); in DEF_TEST() [all …]
|
/external/libchrome/base/posix/ |
D | global_descriptors.cc | 15 : key(key), fd(fd), region(base::MemoryMappedFile::Region::kWholeFile) { in Descriptor() 20 base::MemoryMappedFile::Region region) in Descriptor() argument 21 : key(key), fd(fd), region(region) { in Descriptor() 56 base::MemoryMappedFile::Region region) { in Set() argument 60 i.region = region; in Set() 65 descriptors_.push_back(Descriptor(key, fd, region)); in Set() 71 return i.region; in GetRegion()
|
/external/libmojo/base/debug/ |
D | proc_maps_linux.cc | 114 MappedMemoryRegion region; in ParseProcMaps() local 131 ®ion.start, ®ion.end, permissions, ®ion.offset, in ParseProcMaps() 137 region.permissions = 0; in ParseProcMaps() 140 region.permissions |= MappedMemoryRegion::READ; in ParseProcMaps() 145 region.permissions |= MappedMemoryRegion::WRITE; in ParseProcMaps() 150 region.permissions |= MappedMemoryRegion::EXECUTE; in ParseProcMaps() 155 region.permissions |= MappedMemoryRegion::PRIVATE; in ParseProcMaps() 160 regions.push_back(region); in ParseProcMaps()
|
/external/icu/icu4c/source/tools/tzcode/ |
D | tzselect.ksh | 78 region= 204 select region in $regions 206 case $region in 211 case $region in 215 region=$regions 221 -v region="$region" \ 271 case $country+$region in 272 ?*+?*) echo >&2 " $country$newline $region";;
|
/external/clang/tools/clang-format/ |
D | clang-format-sublime.py | 36 for region in self.view.sel(): 37 regions.append(region) 38 region_offset = min(region.a, region.b) 39 region_length = abs(region.b - region.a) 54 for region in regions: 55 self.view.sel().add(region)
|
/external/libchrome/base/files/ |
D | memory_mapped_file.cc | 70 const Region& region, in Initialize() argument 75 if (region.size > std::numeric_limits<int64_t>::max() - region.offset) { in Initialize() 83 if (region.offset < 0 || region.size < 0) { in Initialize() 93 if (region != Region::kWholeFile) { in Initialize() 94 DCHECK_GE(region.offset, 0); in Initialize() 95 DCHECK_GT(region.size, 0); in Initialize() 100 if (!MapFileRegionToMemory(region, access)) { in Initialize()
|
D | memory_mapped_file_posix.cc | 24 const MemoryMappedFile::Region& region, in MapFileRegionToMemory() argument 32 if (region == MemoryMappedFile::Region::kWholeFile) { in MapFileRegionToMemory() 47 CalculateVMAlignedBoundaries(region.offset, in MapFileRegionToMemory() 48 region.size, in MapFileRegionToMemory() 58 static_cast<uint64_t>(region.size) > in MapFileRegionToMemory() 66 length_ = static_cast<size_t>(region.size); in MapFileRegionToMemory() 81 file_.SetLength(std::max(file_.GetLength(), region.offset + region.size)); in MapFileRegionToMemory()
|
/external/clang/docs/analyzer/ |
D | RegionStore.txt | 7 region + offset" key. (This allows `*p` and `p[0]` to map to the same location, 11 the same base region". This allows certain operations to be more efficient, 15 keys store both the original region, and the "concrete offset region" -- the 16 last region whose offset is entirely concrete. (For example, in the expression 17 `foo.bar[1][i].baz`, the concrete offset region is the array `foo.bar[1]`, 32 because `foo[i]` may have overwritten it! Thus, *binding to a region with a 33 symbolic offset invalidates the entire concrete offset region.* We know 43 because `foo[0]` may have overwritten it! *Binding to a region R with a 45 region is a super-region **or** sub-region of R.* All we know about `foo[i]` is 47 change `foo[i]`, and changing *all* of `foo` (or its base region) will [all …]
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
D | notes.markdown | 98 - **region\_node** - single-entry, single-exit region. 100 All loops and if's in the program are enclosed in region nodes. 102 region\_node::loop\_phi contains the phi expressions to be executed 103 at the region entry, region\_node::phi contains the phi expressions 104 to be executed at the region exit. It's the only type of the node 107 - **depart\_node** - "depart region \$id after { ... }" 109 Depart target region (jump to exit point) after executing contained 112 - **repeat\_node** - "repeat region \$id after { ... }" 114 Repeat target region (jump to entry point) after executing contained 122 **region\_node** and store corresponding phi's in the [all …]
|