Searched defs:region (Results 1 - 25 of 401) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/chromium_org/ash/wm/
H A Dvideo_detector.cc31 bool RecordUpdateAndCheckForVideo(const gfx::Rect& region, argument
33 if (region.width() < kMinUpdateWidth || region.height() < kMinUpdateHeight)
/external/chromium_org/base/debug/
H A Dproc_maps_linux.cc112 MappedMemoryRegion region; local
129 &region.start, &region.end, permissions, &region.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...]
H A Dstack_trace_posix.cc561 const MappedMemoryRegion& region = *it; local
562 if (region.start <= pc && pc < region.end) {
563 start_address = region.start;
575 base_address = (is_first ? 0U : start_address) - region.offset;
577 strncpy(file_path, region.path.c_str(), file_path_size);
581 return instance->GetFileDescriptor(region.path.c_str());
620 const MappedMemoryRegion& region = *it; local
622 if ((region.permissions & MappedMemoryRegion::READ) ==
624 (region
[all...]
/external/chromium_org/base/files/
H A Dmemory_mapped_file.cc57 bool MemoryMappedFile::Initialize(File file, const Region& region) { argument
63 if (!MapFileRegionToMemory(region)) {
H A Dmemory_mapped_file_posix.cc20 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()) {
60 length_ = static_cast<size_t>(region.size);
19 MapFileRegionToMemory( const MemoryMappedFile::Region& region) argument
H A Dmemory_mapped_file_win.cc22 const MemoryMappedFile::Region& region) {
39 if (region == MemoryMappedFile::Region::kWholeFile) {
45 // The region can be arbitrarily aligned. MapViewOfFile, instead, requires
50 // We map here the outer region [|aligned_start|, |aligned_start+size|]
51 // which contains |region| and then add up the |data_offset| displacement.
55 region.offset, region.size, &aligned_start, &ignored, &data_offset);
56 int64 size = region.size + data_offset;
66 length_ = static_cast<size_t>(region.size);
21 MapFileRegionToMemory( const MemoryMappedFile::Region& region) argument
/external/chromium_org/base/memory/
H A Ddiscardable_memory_ashmem_allocator.cc29 // (e.g. 32 MBytes) ashmem region.
143 // 2) If no free chunk could be reused and the region is not big enough for
145 // 3) If there is enough room in the ashmem region then a new chunk is
147 // previously highest chunk in the region.
168 // This region does not have enough space left to hold the requested size.
288 // region then the internal ashmem region is closed so that the underlying
344 // The whole ashmem region is free thus it can be deleted.
399 // Points to the chunk with the highest address in the region. This pointer
490 // The creation of the (large) ashmem region migh
514 DeleteAshmemRegion_Locked( AshmemRegion* region) argument
[all...]
/external/chromium_org/base/win/
H A Di18n.cc87 bool GetUserDefaultUILanguage(std::wstring* language, std::wstring* region) { argument
101 region->clear();
106 DPCHECK(0 != result_length) << "Failed getting region id";
108 region->assign(&result_buffer[0], result_length - 1);
124 std::wstring region; local
134 } else if (GetUserDefaultUILanguage(&language, &region)) {
137 if (!region.empty())
140 .append(region));
/external/chromium_org/cc/base/
H A Dinvalidation_region.cc21 void InvalidationRegion::Swap(Region* region) { argument
22 region_.Swap(region);
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...]
H A Dsimple_enclosed_region.cc8 #include "cc/base/region.h"
18 SimpleEnclosedRegion::SimpleEnclosedRegion(const Region& region) { argument
19 for (Region::Iterator it(region); it.has_rect(); it.next())
73 // We want to keep track of a region but bound its complexity at a constant
H A Dsimple_enclosed_region.h23 SimpleEnclosedRegion(const SimpleEnclosedRegion& region) argument
24 : rect_(region.rect_) {}
28 explicit SimpleEnclosedRegion(const Region& region);
35 const SimpleEnclosedRegion& operator=(const SimpleEnclosedRegion& region) { argument
36 rect_ = region.rect_;
46 bool Contains(const SimpleEnclosedRegion& region) const {
47 return rect_.Contains(region.rect_);
53 bool Intersects(const SimpleEnclosedRegion& region) const {
54 return rect_.Intersects(region.rect_);
H A Dsimple_enclosed_region_unittest.cc11 #include "cc/base/region.h"
17 bool ExpectRegionEq(const gfx::Rect& rect, const SimpleEnclosedRegion& region) { argument
24 for (size_t i = 0; i < region.GetRegionComplexity(); ++i)
25 actual_rects.push_back(region.GetRect(i));
27 if (rect.IsEmpty() != region.IsEmpty()) {
29 << " Actual: " << region.IsEmpty();
360 // True also when the rect covers one edge of the existing region.
377 // But if the existing region can be expanded to make a larger rect, then it
431 // Subtracting a rect that covers one side of the region will shrink that
499 // Subtracting a rect inside the region wil
[all...]
/external/chromium_org/cc/blink/
H A Dweb_layer_impl.cc13 #include "cc/base/region.h"
328 cc::Region region; local
330 region.Union(rects[i]);
331 layer_->SetNonFastScrollableRegion(region);
353 cc::Region region; local
355 region.Union(rects[i]);
356 layer_->SetTouchEventHandlerRegion(region);
/external/chromium_org/cc/layers/
H A Dlayer.cc723 void Layer::SetNonFastScrollableRegion(const Region& region) { argument
725 if (non_fast_scrollable_region_ == region)
727 non_fast_scrollable_region_ = region;
731 void Layer::SetTouchEventHandlerRegion(const Region& region) { argument
733 if (touch_event_handler_region_ == region)
735 touch_event_handler_region_ = region;
H A Dlayer_impl.cc670 scoped_ptr<base::Value> region = touch_event_handler_region_.AsValue(); local
671 result->Set("TouchRegion", region.release());
H A Dlayer_impl.h19 #include "cc/base/region.h"
434 void SetNonFastScrollableRegion(const Region& region) { argument
435 non_fast_scrollable_region_ = region;
441 void SetTouchEventHandlerRegion(const Region& region) { argument
442 touch_event_handler_region_ = region;
/external/chromium_org/cc/output/
H A Dfilter_operation.cc99 const SkRegion& region,
108 region_(region) {
252 blended_filter.set_region(to_op.region());
307 value->BeginArray("region");
98 FilterOperation(FilterType type, const SkRegion& region, float inner_threshold, float outer_threshold) argument
H A Dfilter_operation.h90 const SkRegion& region() const { function in class:cc::FilterOperation
154 static FilterOperation CreateAlphaThresholdFilter(const SkRegion& region, argument
157 return FilterOperation(ALPHA_THRESHOLD, region,
211 void set_region(const SkRegion& region) { argument
213 region_ = region;
244 const SkRegion& region,
/external/chromium_org/cc/resources/
H A Dpicture_layer_tiling_perftest.cc59 void RunInvalidateTest(const std::string& test_name, const Region& region) { argument
63 region, picture_layer_tiling_->tiling_size());
H A Dpicture_layer_tiling_set.cc39 void PictureLayerTilingSet::RemoveTilesInRegion(const Region& region) { argument
41 tilings_[i]->RemoveTilesInRegion(region);
/external/chromium_org/cc/test/
H A Dfake_picture_layer_impl.h94 void set_invalidation(const Region& region) { invalidation_ = region; } argument
H A Dfake_picture_layer_tiling_client.h49 void set_invalidation(const Region& region) { invalidation_ = region; } argument
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

Completed in 536 milliseconds

1234567891011>>