/external/pixman/test/ |
region-contains-test.c | 6 make_random_region (pixman_region32_t *region) 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) 42 bb = pixman_region32_rectangles (region, &n_boxes); 50 b = pixman_region32_extents (region); 111 pixman_region32_t region; local 116 make_random_region (®ion); 118 box.x1 = random_coord (®ion, TRUE) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
Locale.java | 29 /** A language,region pair */ 31 /** A special marker region qualifier representing any region */ 37 /** A locale which matches any language and region */ 44 /** The language qualifier, or {@link #ANY_REGION} if this locale matches any region */ 46 public final RegionQualifier region; field in class:Locale 52 * @param region the region 54 private Locale(@NonNull LanguageQualifier language, @NonNull RegionQualifier region) { 58 if (region.getValue().equals(FAKE_REGION_VALUE)) [all...] |
/cts/apps/CameraITS/tests/inprog/ |
test_crop_region.py | 39 print "Capturing img0 with the full sensor region" 42 for i,region in enumerate(regions): 45 "left": int(region[0] * w), 46 "top": int(region[1] * h), 47 "right": int((region[0]+region[2])*w), 48 "bottom": int((region[1]+region[3])*h)}
|
/external/chromium_org/third_party/WebKit/Source/modules/geofencing/ |
CircularGeofencingRegion.h | 39 DEFINE_TYPE_CASTS(CircularGeofencingRegion, GeofencingRegion, region, region->isCircularGeofencingRegion(), region.isCircularGeofencingRegion());
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
gen7_misc_state.c | 71 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/tools/deep_memory_profiler/subcommands/ |
expand.py | 111 for _, region in dump.iter_map: 112 if region[0] != 'hooked': 114 component_match, bucket = policy.find_mmap(region, bucket_set) 117 region[1]['committed'], sizes) 119 for addr, region in dump.iter_map: 120 if region[0] != 'unhooked': 122 component_match = policy.find_unhooked(region) 127 precedence += ' %s' % region[1]['vma']['readable'] 128 precedence += '%s' % region[1]['vma']['writable'] 129 precedence += '%s' % region[1]['vma']['executable' [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_misc_state.c | 71 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/WebKit/Source/core/html/track/vtt/ |
VTTRegionList.cpp | 61 void VTTRegionList::add(PassRefPtrWillBeRawPtr<VTTRegion> region) 63 m_list.append(region); 66 bool VTTRegionList::remove(VTTRegion* region) 68 size_t index = m_list.find(region);
|
/external/chromium_org/third_party/skia/include/effects/ |
SkAlphaThresholdFilter.h | 17 * 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,
|
/external/chromium_org/ui/gfx/ |
path_x11.h | 13 typedef struct _XRegion REGION; 17 // Creates a new REGION given |region|. The caller is responsible for destroying 18 // the returned region. 19 GFX_EXPORT REGION* CreateRegionFromSkRegion(const SkRegion& region); 21 // Creates a new REGION given |path|. The caller is responsible for destroying 22 // the returned region. 23 GFX_EXPORT REGION* CreateRegionFromSkPath(const SkPath& path);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidXmlCharacterMatcher.java | 26 import org.eclipse.jface.text.Region; 65 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(offset); local 66 if (region == null) { 70 ITextRegion subRegion = region.getRegionAtCharacterOffset(offset); 74 ITextRegionList subRegions = region.getRegions(); 86 (subRegion.getStart() + region.getStartOffset() == offset)) { 91 region = doc.getRegionAtCharacterOffset(offset); 92 if (region == null) { 95 subRegion = region.getRegionAtCharacterOffset(offset); 101 subRegions = region.getRegions() 149 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(offset); local 201 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(start); local [all...] |
/external/chromium_org/cc/base/ |
invalidation_region.cc | 21 void InvalidationRegion::Swap(Region* region) { 22 region_.Swap(region);
|
region.h | 26 class CC_EXPORT Region { 28 Region(); 29 Region(const Region& region); 30 Region(const gfx::Rect& rect); // NOLINT(runtime/explicit) 31 ~Region(); 33 const Region& operator=(const gfx::Rect& rect); 34 const Region& operator=(const Region& region) [all...] |
/external/chromium_org/courgette/ |
difference_estimator.h | 13 #include "courgette/region.h" 40 // MakeSubject. Caller continues to own memory at |region| and must not free 42 Base* MakeBase(const Region& region); 43 Subject* MakeSubject(const Region& region);
|
ensemble.cc | 10 #include "courgette/region.h" 18 const Region& region) 19 : kind_(kind), ensemble_(ensemble), region_(region) { 28 + base::Uint64ToString(region().length()) + ")"; 31 // Scans the Ensemble's region, sniffing out Elements. We assume that the 48 Region region(start + position, detected_length); 50 Element* element = new Element(type, this, region); 53 position += region.length() [all...] |
ensemble.h | 26 #include "courgette/region.h" 34 // An Element is a region of an Ensemble with an identifyable kind. 40 const Region& region); 45 const Region& region() const { return region_; } function in class:courgette::Element 57 Region region_; 65 Ensemble(const Region& region, const char* name) 66 : region_(region), name_(name) { 69 const Region& region() const { return region_; } function in class:courgette::Ensemble [all...] |
/art/compiler/sea_ir/ir/ |
visitor.h | 23 class Region; 47 virtual void Visit(Region* region) = 0; 48 virtual void Visit(PhiInstructionNode* region) = 0; 49 virtual void Visit(SignatureNode* region) = 0; 51 virtual void Visit(InstructionNode* region) = 0; 66 virtual void Traverse(Region* region); 69 virtual void Traverse(InstructionNode* region) { } 84 std::vector<Region*> ordered_regions_ [all...] |
/external/chromium_org/base/files/ |
memory_mapped_file_posix.cc | 20 const MemoryMappedFile::Region& region) { 27 if (region == MemoryMappedFile::Region::kWholeFile) { 36 // The region can be arbitrarily aligned. mmap, instead, requires both the 38 // outer region [|aligned_start|, |aligned_start| + |size|] which contains 39 // |region| and then add up the |data_offset| displacement. 42 CalculateVMAlignedBoundaries(region.offset, 43 region.size, 53 static_cast<uint64>(region.size) > std::numeric_limits<size_t>::max()) [all...] |
/frameworks/base/core/jni/android/graphics/ |
Region.cpp | 38 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 39 SkASSERT(region != NULL); 40 return region; 48 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 49 SkASSERT(region); 50 delete region; 78 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 79 GraphicsJNI::irect_to_jrect(region->getBounds(), env, rectBounds); 80 bool result = !region->isEmpty(); 85 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle) local 102 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 195 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 215 SkRegion* region = new SkRegion; local 224 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 262 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
vmw_screen_ioctl.c | 258 struct vmw_region *region; local 266 region = CALLOC_STRUCT(vmw_region); 267 if (!region) 282 region->ptr.gmrId = rep->cur_gmr_id; 283 region->ptr.offset = rep->cur_gmr_offset; 284 region->data = NULL; 285 region->handle = rep->handle; 286 region->map_handle = rep->map_handle; 287 region->map_count = 0; 288 region->size = size [all...] |
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_screen_ioctl.c | 258 struct vmw_region *region; local 266 region = CALLOC_STRUCT(vmw_region); 267 if (!region) 282 region->ptr.gmrId = rep->cur_gmr_id; 283 region->ptr.offset = rep->cur_gmr_offset; 284 region->data = NULL; 285 region->handle = rep->handle; 286 region->map_handle = rep->map_handle; 287 region->map_count = 0; 288 region->size = size [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RegionIteratorTest.java | 20 import android.graphics.Region; 27 new RegionIterator(new Region()); 31 Region region = new Region(); local 32 region.set(1, 1, 10, 10); 35 RegionIterator regionIterator = new RegionIterator(region); 53 region.set(1, 1, 10, 10); 55 region.op(rect, Region.Op.UNION) [all...] |
/external/chromium_org/base/debug/ |
proc_maps_linux.cc | 112 MappedMemoryRegion region; local 129 ®ion.start, ®ion.end, permissions, ®ion.offset, 135 region.permissions = 0; 138 region.permissions |= MappedMemoryRegion::READ; 143 region.permissions |= MappedMemoryRegion::WRITE; 148 region.permissions |= MappedMemoryRegion::EXECUTE; 153 region.permissions |= MappedMemoryRegion::PRIVATE; 158 regions.push_back(region); [all...] |
/external/pixman/pixman/ |
pixman-region.c | 73 /* not a region */ 94 _pixman_log_error (FUNC, "Malformed region " # reg); \ 119 pixman_break (region_type_t *region); 122 * The functions in this file implement the Region abstraction used extensively 123 * throughout the X11 sample server. A Region is simply a set of disjoint 127 * A Region is implemented as a "y-x-banded" array of rectangles. This array 160 * Adam de Boor wrote most of the original region code. Joel McCormack 166 * while re-merging the server and client region code into libpixregion. 218 #define RECTALLOC_BAIL(region, n, bail) \ 221 if (!(region)->data || 1329 region_type_t region; local 1351 region_type_t region; local [all...] |
/external/pdfium/core/src/fxge/Microsoft SDK/include/ |
GdiPlusRegion.h | 11 * Region API related declarations
19 * Construct a new region object
23 Region::Region()
25 GpRegion *region = NULL;
local 27 lastResult = DllExports::GdipCreateRegion(®ion);
29 SetNativeRegion(region);
33 Region::Region(IN const RectF& rect)
35 GpRegion *region = NULL; local 45 GpRegion *region = NULL; local 55 GpRegion *region = NULL; local 65 GpRegion *region = NULL; local 75 GpRegion *region = NULL; local 85 GpRegion *region = NULL; local 114 GpRegion *region = NULL; local [all...] |