/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
kill_instance | 11 def kill_instance(region, ids): 13 # Connect the region 14 ec2 = boto.connect_ec2(region=region) 22 parser.add_option("-r", "--region", help="Region (default us-east-1)", dest="region", default="us-east-1") 28 if r.name == options.region: 29 region = r variable 32 print("Region %s not found." % options.region [all...] |
instance_events | 47 def list(region, headers, order, completed): 48 """List status events for all instances in a given region""" 52 ec2 = boto.connect_ec2(region=region) 114 parser.add_option("-r", "--region", help="region to check (default us-east-1)", dest="region", default="us-east-1") 133 print "Region %s" % r.name 136 # Connect the region 138 if r.name == options.region 139 region = r variable [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/skia/tests/ |
FlattenableFactoryToName.cpp | 30 SkRegion region; local 31 region.setRects(rects, 2); 32 SkAutoTUnref<SkImageFilter> filter( SkAlphaThresholdFilter::Create(region, 0.2f, 0.7f));
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
TextureRegionDrawable.java | 29 private TextureRegion region;
field in class:TextureRegionDrawable 31 /** Creates an uninitialized TextureRegionDrawable. The texture region must be set before use. */
35 public TextureRegionDrawable (TextureRegion region) {
36 setRegion(region);
41 setRegion(drawable.region);
45 batch.draw(region, x, y, width, height);
50 batch.draw(region, x, y, originX, originY, width, height, scaleX, scaleY, rotation);
53 public void setRegion (TextureRegion region) {
54 this.region = region;
[all...] |
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
transfer.cpp | 105 const point ®ion) { 108 dst_pitch(dst_orig), dst_pitch(region)); 110 src_pitch(src_orig), src_pitch(region)); 113 for (p[2] = 0; p[2] < region[2]; ++p[2]) { 114 for (p[1] = 0; p[1] < region[1]; ++p[1]) { 117 src_pitch[0] * region[0]); local 129 S src_obj, const point &src_orig, const point ®ion) { 131 dst_obj->resource(q).copy(*q, dst_orig, region, 190 const size_t *region, 209 region)); [all...] |
/frameworks/compile/mclinker/lib/Script/ |
ScriptReader.cpp | 47 llvm::StringRef region = input.memArea()->request(input.fileOffset(), size); local 48 std::stringbuf buf(region.data());
|
/frameworks/compile/mclinker/unittests/ |
MCRegionFragmentTest.cpp | 46 MemoryRegion* region = area->request(0, 4096); local 47 MCRegionFragment* frag = new MCRegionFragment(*region); 61 MemoryRegion* region = area->request(0, 4096); local 62 llvm::MCFragment* frag = new MCRegionFragment(*region);
|
FragmentRefTest.cpp | 50 llvm::StringRef region = area->request(0, 4096); local 51 RegionFragment* frag = new RegionFragment(region); 54 ASSERT_EQ('H', region.data()[0]); 55 ASSERT_TRUE(4096 == region.size());
|
/external/libchrome/base/posix/ |
global_descriptors.h | 42 Descriptor(Key key, int fd, base::MemoryMappedFile::Region region); 48 // Optional region, defaults to kWholeFile. 49 base::MemoryMappedFile::Region region; member in struct:base::GlobalDescriptors::Descriptor 70 // Get a region given a key. It is a fatal error if the key is not known. 71 base::MemoryMappedFile::Region GetRegion(Key key) const; 73 // Set the descriptor for the given |key|. This sets the region associated 77 // Set the descriptor and |region| for the given |key|. 78 void Set(Key key, int fd, base::MemoryMappedFile::Region region) [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/ |
TiledMapImageLayer.java | 24 private TextureRegion region; field in class:TiledMapImageLayer 29 public TiledMapImageLayer (TextureRegion region, float x, float y) { 30 this.region = region; 36 return region; 39 public void setTextureRegion (TextureRegion region) { 40 this.region = region;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
YDownTest.java | 41 TextureRegion region;
field in class:YDownTest 54 // a texture region, note the flipping on y again
55 region = new TextureRegion(new Texture("data/badlogic.jpg"));
56 region.flip(false, true);
61 // a sprite, created from a region in the atlas
74 // which uses the flipped region. The key here is to
78 image = new MyActor(region);
103 // drawing a region, x and y will be the top left corner of the region, would be bottom left
105 batch.draw(region, 20, 100); 126 TextureRegion region; field in class:YDownTest.MyActor [all...] |
SpriteBatchOriginScaleTest.java | 32 TextureRegion region;
field in class:SpriteBatchOriginScaleTest 37 region = new TextureRegion(new Texture("data/badlogicsmall.jpg"));
55 batch.draw(region, 100, 100, 0, 0, 32, 32, 2, 2, 20);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_blorp.cpp | 128 struct intel_region *region = mt->region; local 131 intel_region_get_tile_masks(region, &mask_x, &mask_y, 137 return intel_region_get_aligned_offset(region, x_offset & ~mask_x,
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex_copy.c | 56 struct intel_region *region; local 69 region = irb->mt->region; 70 assert(region); 108 if (intelImage->mt->region->tiling == I915_TILING_Y) { 115 src_pitch = -region->pitch; 118 src_pitch = region->pitch; 125 region->bo, 127 region->tiling, 128 intelImage->mt->region->pitch [all...] |
/external/skia/gm/ |
imagealphathreshold.cpp | 34 SkRegion region; local 35 region.setRects(rects, 2); 38 paint.setImageFilter(SkAlphaThresholdFilter::Create(region, 0.2f, 0.7f))->unref();
|
/external/webrtc/webrtc/modules/desktop_capture/ |
screen_capturer_helper_unittest.cc | 24 DesktopRegion region(DesktopRect::MakeXYWH(1, 2, 3, 4)); 25 capturer_helper_.InvalidateRegion(region); 27 capturer_helper_.TakeInvalidRegion(®ion); 28 EXPECT_TRUE(region.is_empty()); 32 DesktopRegion region; local 33 capturer_helper_.TakeInvalidRegion(®ion); 34 EXPECT_TRUE(region.is_empty()); 36 region.SetRect(DesktopRect::MakeXYWH(1, 2, 3, 4)); 37 capturer_helper_.InvalidateRegion(region); 38 capturer_helper_.TakeInvalidRegion(®ion); 50 DesktopRegion region; local 66 DesktopRegion region; local 158 DesktopRegion region; local [all...] |
/frameworks/base/tools/aapt2/ |
Locale.h | 33 char region[4]; member in struct:aapt::LocaleValue
|
/external/clang/tools/clang-format/ |
clang-format.el | 25 ;; You may also want to bind `clang-format-region' to a key: 27 ;; (global-set-key [C-M-tab] 'clang-format-region) 99 (delete-region start end) 104 (defun clang-format-region (char-start char-end &optional style) 106 If called interactively uses the region or the current statement if there 107 is no active region. If no style is given uses `clang-format-style'." 109 (if (use-region-p) 110 (list (region-beginning) (region-end)) 124 (call-process-region [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
CalendarUtil.java | 63 // region to get the default calendar type 64 String region = canonical.getCountry(); local 65 if (region.length() == 0) { 67 region = fullLoc.getCountry(); 71 // the locale's region 80 order = calPref.get(region); 85 // the first calendar type is the default for the region
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
CalendarUtil.java | 61 // region to get the default calendar type 62 String region = canonical.getCountry(); local 63 if (region.length() == 0) { 65 region = fullLoc.getCountry(); 69 // the locale's region 78 order = calPref.get(region); 83 // the first calendar type is the default for the region
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
PolygonRegion.java | 19 /** Defines a polygon shape on top of a texture region to avoid drawing transparent pixels.
27 final TextureRegion region;
field in class:PolygonRegion 31 * @param region the region used for drawing
32 * @param vertices contains 2D polygon coordinates in pixels relative to source region */
33 public PolygonRegion (TextureRegion region, float[] vertices, short[] triangles) {
34 this.region = region;
39 float u = region.u, v = region.v; [all...] |
/frameworks/base/core/jni/android/graphics/ |
NinePatch.cpp | 101 SkRegion* region = NULL; local 102 NinePatch::Draw(NULL, bounds, bitmap, *chunk, NULL, ®ion); 104 return reinterpret_cast<jlong>(region);
|
/frameworks/compile/mclinker/lib/LD/ |
ELFDynObjReader.cpp | 54 llvm::StringRef region = 57 const char* ELF_hdr = region.begin(); 80 llvm::StringRef region = local 82 const char* ELF_hdr = region.begin();
|
/external/e2fsprogs/e2fsck/ |
region.c | 2 * 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) [all...] |