Searched refs:region (Results 1 - 25 of 793) sorted by relevance

1234567891011>>

/external/clang/test/Lexer/
H A Dpragma-region.c1 /* Test pragma region directive from
6 // #pragma region optional name
11 #pragma region
15 #pragma region long name
22 __pragma(region) // no sense, but ignored
23 _Pragma("region")// ditto
27 #pragma region one
28 #pragma region inner
33 // {{unclosed pragma region}} - region mismatche
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/geofencing/
H A DCircularGeofencingRegion.cpp17 WebCircularGeofencingRegion region; local
18 DictionaryHelper::get(dictionary, "latitude", region.latitude);
19 DictionaryHelper::get(dictionary, "longitude", region.longitude);
20 DictionaryHelper::get(dictionary, "radius", region.radius);
21 return new CircularGeofencingRegion(id, region);
24 CircularGeofencingRegion* CircularGeofencingRegion::create(const WebString& id, const WebCircularGeofencingRegion& region) argument
26 return new CircularGeofencingRegion(id, region);
29 CircularGeofencingRegion::CircularGeofencingRegion(const String& id, const WebCircularGeofencingRegion& region) argument
31 , m_webRegion(region)
/external/chromium_org/third_party/libxslt/libxslt/
H A Dxsltlocale.c84 const char *region = NULL; local
134 region = (char *)xsltDefaultRegion((xmlChar *)localeName);
135 if (region == NULL)
139 *q++ = region[0];
140 *q++ = region[1];
154 const xmlChar *region = NULL; local
178 region = xsltDefaultRegion(localeName);
179 if (region == NULL) goto end;
181 strcpy(localeName + llen + 1, region);
196 /* region shoul
197 const char *region = NULL; local
[all...]
/external/chromium_org/third_party/libaddressinput/src/cpp/test/
H A Dregion_data_test.cc28 RegionData region(kEmpty);
29 EXPECT_FALSE(region.has_parent());
34 RegionData region(kEmpty);
35 EXPECT_TRUE(region.sub_regions().empty());
40 RegionData region(kEmpty);
41 region.AddSubRegion(kEmpty, kEmpty);
42 ASSERT_EQ(1U, region.sub_regions().size());
43 ASSERT_TRUE(region.sub_regions()[0] != NULL);
44 EXPECT_EQ(&region, &region
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_regions.c112 intel_region_map(struct intel_context *intel, struct intel_region *region, argument
115 /* We have the region->map_refcount controlling mapping of the BO because
127 if (drm_intel_bo_busy(region->bo)) {
132 _DBG("%s %p\n", __FUNCTION__, region);
133 if (!region->map_refcount) {
136 if (region->tiling != I915_TILING_NONE)
137 drm_intel_gem_bo_map_gtt(region->bo);
139 drm_intel_bo_map(region->bo, true);
141 region->map = region
152 intel_region_unmap(struct intel_context *intel, struct intel_region *region) argument
173 struct intel_region *region; local
201 struct intel_region *region; local
223 intel_region_flink(struct intel_region *region, uint32_t *name) argument
244 struct intel_region *region, *dummy; local
306 struct intel_region *region = *region_handle; local
406 intel_region_get_tile_masks(struct intel_region *region, uint32_t *mask_x, uint32_t *mask_y, bool map_stencil_as_y_tiled) argument
439 intel_region_get_aligned_offset(struct intel_region *region, uint32_t x, uint32_t y, bool map_stencil_as_y_tiled) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dintel_regions.c112 intel_region_map(struct intel_context *intel, struct intel_region *region, argument
115 /* We have the region->map_refcount controlling mapping of the BO because
127 if (drm_intel_bo_busy(region->bo)) {
132 _DBG("%s %p\n", __FUNCTION__, region);
133 if (!region->map_refcount) {
136 if (region->tiling != I915_TILING_NONE)
137 drm_intel_gem_bo_map_gtt(region->bo);
139 drm_intel_bo_map(region->bo, true);
141 region->map = region
152 intel_region_unmap(struct intel_context *intel, struct intel_region *region) argument
173 struct intel_region *region; local
201 struct intel_region *region; local
223 intel_region_flink(struct intel_region *region, uint32_t *name) argument
244 struct intel_region *region, *dummy; local
306 struct intel_region *region = *region_handle; local
406 intel_region_get_tile_masks(struct intel_region *region, uint32_t *mask_x, uint32_t *mask_y, bool map_stencil_as_y_tiled) argument
439 intel_region_get_aligned_offset(struct intel_region *region, uint32_t x, uint32_t y, bool map_stencil_as_y_tiled) argument
[all...]
H A Dgen7_misc_state.c71 intel_region_get_tile_masks(depth_mt->region,
76 intel_region_get_tile_masks(hiz_mt->region,
156 struct intel_region *region = depth_mt->region; local
182 offset = intel_region_get_aligned_offset(region,
187 assert(region->tiling == I915_TILING_Y);
192 OUT_BATCH(((region->pitch * region->cpp) - 1) |
198 OUT_RELOC(region->bo,
217 intel_region_get_aligned_offset(hiz_mt->region,
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
H A Dintel_regions.c112 intel_region_map(struct intel_context *intel, struct intel_region *region, argument
115 /* We have the region->map_refcount controlling mapping of the BO because
127 if (drm_intel_bo_busy(region->bo)) {
132 _DBG("%s %p\n", __FUNCTION__, region);
133 if (!region->map_refcount) {
136 if (region->tiling != I915_TILING_NONE)
137 drm_intel_gem_bo_map_gtt(region->bo);
139 drm_intel_bo_map(region->bo, true);
141 region->map = region
152 intel_region_unmap(struct intel_context *intel, struct intel_region *region) argument
173 struct intel_region *region; local
201 struct intel_region *region; local
223 intel_region_flink(struct intel_region *region, uint32_t *name) argument
244 struct intel_region *region, *dummy; local
306 struct intel_region *region = *region_handle; local
406 intel_region_get_tile_masks(struct intel_region *region, uint32_t *mask_x, uint32_t *mask_y, bool map_stencil_as_y_tiled) argument
439 intel_region_get_aligned_offset(struct intel_region *region, uint32_t x, uint32_t y, bool map_stencil_as_y_tiled) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_regions.c112 intel_region_map(struct intel_context *intel, struct intel_region *region, argument
115 /* We have the region->map_refcount controlling mapping of the BO because
127 if (drm_intel_bo_busy(region->bo)) {
132 _DBG("%s %p\n", __FUNCTION__, region);
133 if (!region->map_refcount) {
136 if (region->tiling != I915_TILING_NONE)
137 drm_intel_gem_bo_map_gtt(region->bo);
139 drm_intel_bo_map(region->bo, true);
141 region->map = region
152 intel_region_unmap(struct intel_context *intel, struct intel_region *region) argument
173 struct intel_region *region; local
201 struct intel_region *region; local
223 intel_region_flink(struct intel_region *region, uint32_t *name) argument
244 struct intel_region *region, *dummy; local
306 struct intel_region *region = *region_handle; local
406 intel_region_get_tile_masks(struct intel_region *region, uint32_t *mask_x, uint32_t *mask_y, bool map_stencil_as_y_tiled) argument
439 intel_region_get_aligned_offset(struct intel_region *region, uint32_t x, uint32_t y, bool map_stencil_as_y_tiled) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_regions.c112 intel_region_map(struct intel_context *intel, struct intel_region *region, argument
115 /* We have the region->map_refcount controlling mapping of the BO because
127 if (drm_intel_bo_busy(region->bo)) {
132 _DBG("%s %p\n", __FUNCTION__, region);
133 if (!region->map_refcount) {
136 if (region->tiling != I915_TILING_NONE)
137 drm_intel_gem_bo_map_gtt(region->bo);
139 drm_intel_bo_map(region->bo, true);
141 region->map = region
152 intel_region_unmap(struct intel_context *intel, struct intel_region *region) argument
173 struct intel_region *region; local
201 struct intel_region *region; local
223 intel_region_flink(struct intel_region *region, uint32_t *name) argument
244 struct intel_region *region, *dummy; local
306 struct intel_region *region = *region_handle; local
406 intel_region_get_tile_masks(struct intel_region *region, uint32_t *mask_x, uint32_t *mask_y, bool map_stencil_as_y_tiled) argument
439 intel_region_get_aligned_offset(struct intel_region *region, uint32_t x, uint32_t y, bool map_stencil_as_y_tiled) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_regions.c112 intel_region_map(struct intel_context *intel, struct intel_region *region, argument
115 /* We have the region->map_refcount controlling mapping of the BO because
127 if (drm_intel_bo_busy(region->bo)) {
132 _DBG("%s %p\n", __FUNCTION__, region);
133 if (!region->map_refcount) {
136 if (region->tiling != I915_TILING_NONE)
137 drm_intel_gem_bo_map_gtt(region->bo);
139 drm_intel_bo_map(region->bo, true);
141 region->map = region
152 intel_region_unmap(struct intel_context *intel, struct intel_region *region) argument
173 struct intel_region *region; local
201 struct intel_region *region; local
223 intel_region_flink(struct intel_region *region, uint32_t *name) argument
244 struct intel_region *region, *dummy; local
306 struct intel_region *region = *region_handle; local
406 intel_region_get_tile_masks(struct intel_region *region, uint32_t *mask_x, uint32_t *mask_y, bool map_stencil_as_y_tiled) argument
439 intel_region_get_aligned_offset(struct intel_region *region, uint32_t x, uint32_t y, bool map_stencil_as_y_tiled) argument
[all...]
/external/chromium_org/ui/gfx/
H A Dscoped_sk_region.h16 explicit ScopedSkRegion(SkRegion* region) : region_(region) {} argument
22 void Set(SkRegion* region) { argument
24 region_ = region;
32 SkRegion* region = region_; local
34 return region;
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebGeofencingRegistration.h15 WebCircularGeofencingRegion region; member in struct:blink::WebGeofencingRegistration
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_ashmem_unittest.cpp14 AshmemRegion region; local
15 EXPECT_EQ(-1, region.fd());
19 AshmemRegion region; local
21 EXPECT_TRUE(region.Allocate(kSize, __FUNCTION__));
26 region.fd(),
31 TEST_TEXT << "Checking region[" << n << "]";
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dmemory_region_map.cc188 // Make sure we don't overflow the memory in region stacks:
303 RegionSet::iterator region = regions_->lower_bound(sample); local
304 if (region != regions_->end()) {
305 RAW_CHECK(addr <= region->end_addr, "");
306 if (region->start_addr <= addr && addr < region->end_addr) {
307 return &(*region);
316 const Region* region = DoFindRegionLocked(addr); local
317 if (region != NULL) *result = *region; // creat
325 const Region* region = DoFindRegionLocked(stack_top); local
351 DoInsertRegionLocked(const Region& region) argument
395 HandleSavedRegionsLocked( void (*insert_func)(const Region& region)) argument
407 InsertRegionLocked(const Region& region) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Dscreen_capturer_helper_unittest.cc24 DesktopRegion region(DesktopRect::MakeXYWH(1, 2, 3, 4));
25 capturer_helper_.InvalidateRegion(region);
27 capturer_helper_.TakeInvalidRegion(&region);
28 EXPECT_TRUE(region.is_empty());
32 DesktopRegion region; local
33 capturer_helper_.TakeInvalidRegion(&region);
34 EXPECT_TRUE(region.is_empty());
36 region.SetRect(DesktopRect::MakeXYWH(1, 2, 3, 4));
37 capturer_helper_.InvalidateRegion(region);
38 capturer_helper_.TakeInvalidRegion(&region);
50 DesktopRegion region; local
66 DesktopRegion region; local
107 TestExpandRegionToGrid(const DesktopRegion& region, int log_grid_size, const DesktopRegion& expanded_region_expected) argument
158 DesktopRegion region; local
[all...]
/external/openfst/src/lib/
H A Dmapped-file.cc30 MappedFile::MappedFile(const MemoryRegion &region) : region_(region) { } argument
37 LOG(ERROR) << "failed to unmap region: "<< strerror(errno);
46 MemoryRegion region; local
47 region.data = size == 0 ? NULL : operator new(size);
48 region.mmap = NULL;
49 region.size = size;
50 return new MappedFile(region);
54 MemoryRegion region; local
55 region
75 MemoryRegion region; local
[all...]
/external/skia/include/effects/
H A DSkAlphaThresholdFilter.h17 * Creates an image filter that samples a region. If the sample is inside the
18 * region the alpha of the image is boosted up to a threshold value. If it is
19 * outside the region then the alpha is decreased to the threshold value.
20 * The 0,0 point of the region corresponds to the upper left corner of the
23 static SkImageFilter* Create(const SkRegion& region, SkScalar innerThreshold, SkScalar outerThreshold);
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dmemory_region_map.cc196 // Make sure we don't overflow the memory in region stacks:
340 RegionSet::iterator region = regions_->lower_bound(sample); local
341 if (region != regions_->end()) {
342 RAW_CHECK(addr <= region->end_addr, "");
343 if (region->start_addr <= addr && addr < region->end_addr) {
344 return &(*region);
353 const Region* region = DoFindRegionLocked(addr); local
354 if (region != NULL) *result = *region; // creat
362 const Region* region = DoFindRegionLocked(stack_top); local
444 DoInsertRegionLocked(const Region& region) argument
488 HandleSavedRegionsLocked( void (*insert_func)(const Region& region)) argument
547 InsertRegionLocked(const Region& region) argument
[all...]
/external/chromium_org/cc/base/
H A Dregion.cc5 #include "cc/base/region.h"
16 Region::Region(const Region& region) argument
17 : skregion_(region.skregion_) {
32 const Region& Region::operator=(const Region& region) { argument
33 skregion_ = region.skregion_;
37 void Region::Swap(Region* region) { argument
38 region->skregion_.swap(skregion_);
63 bool Region::Contains(const Region& region) const {
64 if (region.IsEmpty())
66 return skregion_.contains(region
81 Subtract(const Region& region) argument
85 Subtract(const SimpleEnclosedRegion& region) argument
96 Union(const Region& region) argument
104 Intersect(const Region& region) argument
146 Iterator(const Region& region) argument
[all...]
/external/chromium_org/cc/test/
H A Dtest_occlusion_tracker.h47 void set_occlusion_from_outside_target(const SimpleEnclosedRegion& region) { argument
49 region;
51 void set_occlusion_from_inside_target(const SimpleEnclosedRegion& region) { argument
53 region;
57 const SimpleEnclosedRegion& region) {
61 .occlusion_from_outside_target = region;
64 const SimpleEnclosedRegion& region) {
68 .occlusion_from_inside_target = region;
56 set_occlusion_on_contributing_surface_from_outside_target( const SimpleEnclosedRegion& region) argument
63 set_occlusion_on_contributing_surface_from_inside_target( const SimpleEnclosedRegion& region) argument
/external/clang/tools/clang-format/
H A Dclang-format-sublime.py36 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/chromium_org/courgette/
H A Ddifference_estimator.cc40 explicit Base(const Region& region) : region_(region) { } argument
51 const Region& region() const { return region_; } function in class:courgette::DifferenceEstimator::Base
63 explicit Subject(const Region& region) : region_(region) {} argument
65 const Region& region() const { return region_; } function in class:courgette::DifferenceEstimator::Subject
82 DifferenceEstimator::Base* DifferenceEstimator::MakeBase(const Region& region) { argument
83 Base* base = new Base(region);
90 const Region& region) {
91 Subject* subject = new Subject(region);
89 MakeSubject( const Region& region) argument
[all...]
/external/e2fsprogs/e2fsck/
H A Dregion.c2 * region.c --- code which manages allocations within a region.
36 region_t region; local
38 region = malloc(sizeof(struct region_struct));
39 if (!region)
41 memset(region, 0, sizeof(struct region_struct));
42 region->min = min;
43 region->max = max;
44 return region;
47 void region_free(region_t region) argument
59 region_allocate(region_t region, region_addr_t start, int n) argument
156 region_print(region_t region, FILE *f) argument
[all...]
/external/pixman/test/
H A Dregion-contains-test.c6 make_random_region (pixman_region32_t *region) argument
10 pixman_region32_init (region);
23 pixman_region32_union_rect (region, region, x, y, w, h);
34 random_coord (pixman_region32_t *region, pixman_bool_t x) argument
42 bb = pixman_region32_rectangles (region, &n_boxes);
50 b = pixman_region32_extents (region);
111 pixman_region32_t region; local
116 make_random_region (&region);
118 box.x1 = random_coord (&region, TRU
[all...]

Completed in 663 milliseconds

1234567891011>>