Home
last modified time | relevance | path

Searched refs:region (Results 1 – 25 of 965) sorted by relevance

12345678910>>...39

/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_regions.c112 intel_region_map(struct intel_context *intel, struct intel_region *region, in intel_region_map() argument
127 if (drm_intel_bo_busy(region->bo)) { in intel_region_map()
132 _DBG("%s %p\n", __FUNCTION__, region); in intel_region_map()
133 if (!region->map_refcount) { in intel_region_map()
136 if (region->tiling != I915_TILING_NONE) in intel_region_map()
137 drm_intel_gem_bo_map_gtt(region->bo); in intel_region_map()
139 drm_intel_bo_map(region->bo, true); in intel_region_map()
141 region->map = region->bo->virtual; in intel_region_map()
143 if (region->map) { in intel_region_map()
145 region->map_refcount++; in intel_region_map()
[all …]
Dintel_screen.c147 drm_intel_gem_bo_aub_dump_bmp(irb->mt->region->bo, in aub_dump_bmp()
153 irb->mt->region->pitch * in aub_dump_bmp()
154 irb->mt->region->cpp, in aub_dump_bmp()
309 image->region = intel_region_alloc_for_handle(intelScreen, in intel_create_image_from_name()
312 if (image->region == NULL) { in intel_create_image_from_name()
345 intel_region_reference(&image->region, irb->mt->region); in intel_create_image_from_renderbuffer()
374 intel_region_release(&image->region); in intel_destroy_image()
398 image->region = in intel_create_image()
400 if (image->region == NULL) { in intel_create_image()
413 *value = image->region->pitch * image->region->cpp; in intel_query_image()
[all …]
Dintel_tex_copy.c56 struct intel_region *region; in intel_copy_texsubimage() local
69 region = irb->mt->region; in intel_copy_texsubimage()
70 assert(region); in intel_copy_texsubimage()
108 if (intelImage->mt->region->tiling == I915_TILING_Y) { in intel_copy_texsubimage()
115 src_pitch = -region->pitch; in intel_copy_texsubimage()
118 src_pitch = region->pitch; in intel_copy_texsubimage()
125 region->bo, in intel_copy_texsubimage()
127 region->tiling, in intel_copy_texsubimage()
128 intelImage->mt->region->pitch, in intel_copy_texsubimage()
129 intelImage->mt->region->bo, in intel_copy_texsubimage()
[all …]
Dintel_mipmap_tree.c261 mt->region = intel_region_alloc(intel->intelScreen, in intel_miptree_create()
269 if (!mt->region) { in intel_miptree_create()
282 struct intel_region *region) in intel_miptree_create_for_region() argument
288 region->width, region->height, 1, in intel_miptree_create_for_region()
294 intel_region_reference(&mt->region, region); in intel_miptree_create_for_region()
350 struct intel_region *region) in intel_miptree_create_for_dri2_buffer() argument
365 format, region); in intel_miptree_create_for_dri2_buffer()
374 region->width, in intel_miptree_create_for_dri2_buffer()
375 region->height, in intel_miptree_create_for_dri2_buffer()
525 intel_region_release(&((*mt)->region)); in intel_miptree_release()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_regions.c112 intel_region_map(struct intel_context *intel, struct intel_region *region, in intel_region_map() argument
127 if (drm_intel_bo_busy(region->bo)) { in intel_region_map()
132 _DBG("%s %p\n", __FUNCTION__, region); in intel_region_map()
133 if (!region->map_refcount) { in intel_region_map()
136 if (region->tiling != I915_TILING_NONE) in intel_region_map()
137 drm_intel_gem_bo_map_gtt(region->bo); in intel_region_map()
139 drm_intel_bo_map(region->bo, true); in intel_region_map()
141 region->map = region->bo->virtual; in intel_region_map()
143 if (region->map) { in intel_region_map()
145 region->map_refcount++; in intel_region_map()
[all …]
Dgen7_misc_state.c71 intel_region_get_tile_masks(depth_mt->region, in emit_depthbuffer()
76 intel_region_get_tile_masks(hiz_mt->region, in emit_depthbuffer()
156 struct intel_region *region = depth_mt->region; in emit_depthbuffer() local
182 offset = intel_region_get_aligned_offset(region, in emit_depthbuffer()
187 assert(region->tiling == I915_TILING_Y); in emit_depthbuffer()
192 OUT_BATCH(((region->pitch * region->cpp) - 1) | in emit_depthbuffer()
198 OUT_RELOC(region->bo, in emit_depthbuffer()
217 intel_region_get_aligned_offset(hiz_mt->region, in emit_depthbuffer()
223 OUT_BATCH(hiz_mt->region->pitch * hiz_mt->region->cpp - 1); in emit_depthbuffer()
224 OUT_RELOC(hiz_mt->region->bo, in emit_depthbuffer()
[all …]
Dintel_screen.c147 drm_intel_gem_bo_aub_dump_bmp(irb->mt->region->bo, in aub_dump_bmp()
153 irb->mt->region->pitch * in aub_dump_bmp()
154 irb->mt->region->cpp, in aub_dump_bmp()
309 image->region = intel_region_alloc_for_handle(intelScreen, in intel_create_image_from_name()
312 if (image->region == NULL) { in intel_create_image_from_name()
345 intel_region_reference(&image->region, irb->mt->region); in intel_create_image_from_renderbuffer()
374 intel_region_release(&image->region); in intel_destroy_image()
398 image->region = in intel_create_image()
400 if (image->region == NULL) { in intel_create_image()
413 *value = image->region->pitch * image->region->cpp; in intel_query_image()
[all …]
Dintel_tex_copy.c56 struct intel_region *region; in intel_copy_texsubimage() local
69 region = irb->mt->region; in intel_copy_texsubimage()
70 assert(region); in intel_copy_texsubimage()
108 if (intelImage->mt->region->tiling == I915_TILING_Y) { in intel_copy_texsubimage()
115 src_pitch = -region->pitch; in intel_copy_texsubimage()
118 src_pitch = region->pitch; in intel_copy_texsubimage()
125 region->bo, in intel_copy_texsubimage()
127 region->tiling, in intel_copy_texsubimage()
128 intelImage->mt->region->pitch, in intel_copy_texsubimage()
129 intelImage->mt->region->bo, in intel_copy_texsubimage()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_regions.c112 intel_region_map(struct intel_context *intel, struct intel_region *region, in intel_region_map() argument
127 if (drm_intel_bo_busy(region->bo)) { in intel_region_map()
132 _DBG("%s %p\n", __FUNCTION__, region); in intel_region_map()
133 if (!region->map_refcount) { in intel_region_map()
136 if (region->tiling != I915_TILING_NONE) in intel_region_map()
137 drm_intel_gem_bo_map_gtt(region->bo); in intel_region_map()
139 drm_intel_bo_map(region->bo, true); in intel_region_map()
141 region->map = region->bo->virtual; in intel_region_map()
143 if (region->map) { in intel_region_map()
145 region->map_refcount++; in intel_region_map()
[all …]
Dintel_screen.c147 drm_intel_gem_bo_aub_dump_bmp(irb->mt->region->bo, in aub_dump_bmp()
153 irb->mt->region->pitch * in aub_dump_bmp()
154 irb->mt->region->cpp, in aub_dump_bmp()
309 image->region = intel_region_alloc_for_handle(intelScreen, in intel_create_image_from_name()
312 if (image->region == NULL) { in intel_create_image_from_name()
345 intel_region_reference(&image->region, irb->mt->region); in intel_create_image_from_renderbuffer()
374 intel_region_release(&image->region); in intel_destroy_image()
398 image->region = in intel_create_image()
400 if (image->region == NULL) { in intel_create_image()
413 *value = image->region->pitch * image->region->cpp; in intel_query_image()
[all …]
Dintel_tex_copy.c56 struct intel_region *region; in intel_copy_texsubimage() local
69 region = irb->mt->region; in intel_copy_texsubimage()
70 assert(region); in intel_copy_texsubimage()
108 if (intelImage->mt->region->tiling == I915_TILING_Y) { in intel_copy_texsubimage()
115 src_pitch = -region->pitch; in intel_copy_texsubimage()
118 src_pitch = region->pitch; in intel_copy_texsubimage()
125 region->bo, in intel_copy_texsubimage()
127 region->tiling, in intel_copy_texsubimage()
128 intelImage->mt->region->pitch, in intel_copy_texsubimage()
129 intelImage->mt->region->bo, in intel_copy_texsubimage()
[all …]
/external/webrtc/webrtc/modules/desktop_capture/
Dscreen_capturer_helper_unittest.cc24 DesktopRegion region(DesktopRect::MakeXYWH(1, 2, 3, 4)); in TEST_F() local
25 capturer_helper_.InvalidateRegion(region); in TEST_F()
27 capturer_helper_.TakeInvalidRegion(&region); in TEST_F()
28 EXPECT_TRUE(region.is_empty()); in TEST_F()
32 DesktopRegion region; in TEST_F() local
33 capturer_helper_.TakeInvalidRegion(&region); 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(&region); in TEST_F()
[all …]
/external/libchrome/base/trace_event/
Dprocess_memory_maps_dump_provider.cc27 ProcessMemoryMaps::VMRegion* region) { in ParseSmapsHeader() argument
35 &region->start_address, &end_addr, protection_flags, in ParseSmapsHeader()
39 if (end_addr > region->start_address) { in ParseSmapsHeader()
40 region->size_in_bytes = end_addr - region->start_address; in ParseSmapsHeader()
43 region->size_in_bytes = 0; in ParseSmapsHeader()
47 region->protection_flags = 0; in ParseSmapsHeader()
49 region->protection_flags |= in ParseSmapsHeader()
53 region->protection_flags |= in ParseSmapsHeader()
57 region->protection_flags |= in ParseSmapsHeader()
61 region->mapped_file = mapped_file; in ParseSmapsHeader()
[all …]
Dprocess_memory_maps.cc42 for (const auto& region : vm_regions_) { in AsValueInto() local
45 value->SetString("sa", StringPrintf(kHexFmt, region.start_address)); in AsValueInto()
46 value->SetString("sz", StringPrintf(kHexFmt, region.size_in_bytes)); in AsValueInto()
47 value->SetInteger("pf", region.protection_flags); in AsValueInto()
48 value->SetString("mf", region.mapped_file); in AsValueInto()
52 "pss", StringPrintf(kHexFmt, region.byte_stats_proportional_resident)); in AsValueInto()
54 "pd", StringPrintf(kHexFmt, region.byte_stats_private_dirty_resident)); in AsValueInto()
56 "pc", StringPrintf(kHexFmt, region.byte_stats_private_clean_resident)); in AsValueInto()
58 "sd", StringPrintf(kHexFmt, region.byte_stats_shared_dirty_resident)); in AsValueInto()
60 "sc", StringPrintf(kHexFmt, region.byte_stats_shared_clean_resident)); in AsValueInto()
[all …]
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_ioctl.c258 struct vmw_region *region; in vmw_ioctl_region_create() local
266 region = CALLOC_STRUCT(vmw_region); in vmw_ioctl_region_create()
267 if (!region) in vmw_ioctl_region_create()
282 region->ptr.gmrId = rep->cur_gmr_id; in vmw_ioctl_region_create()
283 region->ptr.offset = rep->cur_gmr_offset; in vmw_ioctl_region_create()
284 region->data = NULL; in vmw_ioctl_region_create()
285 region->handle = rep->handle; in vmw_ioctl_region_create()
286 region->map_handle = rep->map_handle; in vmw_ioctl_region_create()
287 region->map_count = 0; in vmw_ioctl_region_create()
288 region->size = size; in vmw_ioctl_region_create()
[all …]
Dvmw_context.c88 } region; member
142 for(i = 0; i < vswc->region.used; ++i) { in vmw_swc_flush()
143 struct vmw_region_relocation *reloc = &vswc->region.relocs[i]; in vmw_swc_flush()
178 for(i = 0; i < vswc->region.used + vswc->region.staged; ++i) { in vmw_swc_flush()
179 pb_reference(&vswc->region.relocs[i].buffer, NULL); in vmw_swc_flush()
182 vswc->region.used = 0; in vmw_swc_flush()
183 vswc->region.reserved = 0; in vmw_swc_flush()
222 vswc->region.used + nr_relocs > vswc->region.size) { in vmw_swc_reserve()
233 assert(vswc->region.used + nr_relocs <= vswc->region.size); in vmw_swc_reserve()
238 vswc->region.reserved = nr_relocs; in vmw_swc_reserve()
[all …]
/external/e2fsprogs/e2fsck/
Dregion.c36 region_t region; in region_create() local
38 region = malloc(sizeof(struct region_struct)); in region_create()
39 if (!region) in region_create()
41 memset(region, 0, sizeof(struct region_struct)); in region_create()
42 region->min = min; in region_create()
43 region->max = max; in region_create()
44 return region; in region_create()
47 void region_free(region_t region) in region_free() argument
51 for (r = region->allocated; r; r = next) { in region_free()
55 memset(region, 0, sizeof(struct region_struct)); in region_free()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
Dglacier85 def connect(region, debug_level=0, access_key=None, secret_key=None): argument
87 layer2 = connect_to_region(region,
92 print('Invalid region (%s)' % region)
97 def list_vaults(region, access_key=None, secret_key=None): argument
98 layer2 = connect(region, access_key = access_key, secret_key = secret_key)
103 def list_jobs(vault_name, region, access_key=None, secret_key=None): argument
104 layer2 = connect(region, access_key = access_key, secret_key = secret_key)
108 def upload_files(vault_name, filenames, region, access_key=None, secret_key=None): argument
109 layer2 = connect(region, access_key = access_key, secret_key = secret_key)
139 region = 'us-east-1'
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCurrencyMetaInfo.java80 public final String region; field in CurrencyMetaInfo.CurrencyFilter
105 … private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { in CurrencyFilter() argument
106 this.region = region; in CurrencyFilter()
140 public static CurrencyFilter onRegion(String region) { in onRegion() argument
141 return ALL.withRegion(region); in onRegion()
213 public CurrencyFilter withRegion(String region) { in withRegion() argument
214 return new CurrencyFilter(region, this.currency, this.from, this.to, this.tenderOnly); in withRegion()
225 return new CurrencyFilter(this.region, currency, this.from, this.to, this.tenderOnly); in withCurrency()
235 …return new CurrencyFilter(this.region, this.currency, date.getTime(), date.getTime(), this.tenderO… in withDate()
248 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange()
[all …]
/external/autotest/client/site_tests/login_OobeLocalization/
Dlogin_OobeLocalization.py43 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/v8/src/
Dtypes.h352 static TypeHandle type(Region* region) { \
353 return BitsetType::New(BitsetType::k##type, region); \
361 static TypeHandle SignedSmall(Region* region) { in SignedSmall() argument
362 return BitsetType::New(BitsetType::SignedSmall(), region); in SignedSmall()
367 static TypeHandle UnsignedSmall(Region* region) { in UnsignedSmall() argument
368 return BitsetType::New(BitsetType::UnsignedSmall(), region); in UnsignedSmall()
371 static TypeHandle Class(i::Handle<i::Map> map, Region* region) { in Class() argument
372 return ClassType::New(map, region); in Class()
374 static TypeHandle Constant(i::Handle<i::Object> value, Region* region) { in Constant() argument
375 return ConstantType::New(value, region); in Constant()
[all …]
Dtypes.cc750 TypeHandle type1, TypeHandle type2, Region* region) { in Intersect() argument
754 return BitsetType::New(type1->AsBitset() & type2->AsBitset(), region); in Intersect()
779 type2 = Any(region); in Intersect()
781 type1 = Any(region); in Intersect()
788 if (!AddIsSafe(size1, size2)) return Any(region); in Intersect()
790 if (!AddIsSafe(size, 2)) return Any(region); in Intersect()
792 UnionHandle result = UnionType::New(size, region); in Intersect()
796 result->Set(size++, BitsetType::New(bits, region)); in Intersect()
799 size = IntersectAux(type1, type2, result, size, &lims, region); in Intersect()
804 size = UpdateRange(RangeType::New(lims, representation, region), result, in Intersect()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyMetaInfo.java83 public final String region; field in CurrencyMetaInfo.CurrencyFilter
111 … private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { in CurrencyFilter() argument
112 this.region = region; in CurrencyFilter()
149 public static CurrencyFilter onRegion(String region) { in onRegion() argument
150 return ALL.withRegion(region); in onRegion()
229 public CurrencyFilter withRegion(String region) { in withRegion() argument
230 return new CurrencyFilter(region, this.currency, this.from, this.to, this.tenderOnly); in withRegion()
242 return new CurrencyFilter(this.region, currency, this.from, this.to, this.tenderOnly); in withCurrency()
253 …return new CurrencyFilter(this.region, this.currency, date.getTime(), date.getTime(), this.tenderO… in withDate()
267 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/
Dtest_connection.py84 https_connection_factory=None, region=None, path='/', argument
87 self.region = region
89 host = self.region.endpoint
218 self.region = RegionInfo(
232 'https://%s/' % self.region.endpoint,
236 conn = self.region.connect(aws_access_key_id='access_key',
243 'https://%s/' % self.region.endpoint,
247 os.environ['no_proxy'] = self.region.endpoint
249 conn = self.region.connect(aws_access_key_id='access_key',
264 'https://%s/' % self.region.endpoint,
[all …]
/external/v8/test/cctest/
Dtypes-fuzz.h41 Types(Region* region, Isolate* isolate, v8::base::RandomNumberGenerator* rng) in Types() argument
42 : region_(region), isolate_(isolate), rng_(rng) { in Types()
44 name = Type::name(region); \ in Types()
49 SignedSmall = Type::SignedSmall(region); in Types()
50 UnsignedSmall = Type::UnsignedSmall(region); in Types()
59 ObjectClass = Type::Class(object_map, region); in Types()
60 ArrayClass = Type::Class(array_map, region); in Types()
61 NumberClass = Type::Class(number_map, region); in Types()
62 UninitializedClass = Type::Class(uninitialized_map, region); in Types()
68 types.push_back(Type::Class(*it, region)); in Types()
[all …]

12345678910>>...39