/external/valgrind/none/tests/linux/ |
mremap3.c | 15 perror ("initial area"); 21 void *area = mmap(initial_area, 4096, PROT_READ|PROT_WRITE, local 23 if (area == MAP_FAILED) 24 perror ("area"); 25 if (area != initial_area) 27 printf("area= %p\n", area); 28 strcpy(area, "Hello World"); 31 void *a2 = mremap(area, 4096, 40960, 0); 36 printf("FAILED : was expecting to get back the same area increased\n") [all...] |
/external/dng_sdk/source/ |
dng_tile_iterator.h | 55 const dng_rect &area); 58 const dng_rect &area); 61 const dng_rect &area); 68 const dng_rect &area);
|
dng_image.h | 278 /// Copy image data from an area of one image to same area of another. 280 /// \param area Rectangle of images to copy. 286 const dng_rect &area, 291 /// Copy image data from an area of one image to same area of another. 293 /// \param area Rectangle of images to copy. 298 const dng_rect &area, 303 CopyArea (src, area, plane, plane, planes); 307 /// Return true if the contents of an area of the image are the same as those of another [all...] |
dng_tile_iterator.cpp | 27 const dng_rect &area) 45 area & image.Bounds ()); 52 const dng_rect &area) 69 dng_rect tile (area); 75 area); 82 const dng_rect &area) 100 area); 107 const dng_rect &area) 110 fArea = area; 112 if (area.IsEmpty () [all...] |
dng_area_task.cpp | 97 dng_point dng_area_task::FindTileSize (const dng_rect &area) const 106 repeatingTile1 = area; 111 repeatingTile2 = area; 116 repeatingTile3 = area; 137 // repeat area. This makes the areas more equal in size, making MP 186 const dng_rect &area, 197 repeatingTile1 = area; 202 repeatingTile2 = area; 207 repeatingTile3 = area; 212 dng_tile_iterator iter1 (repeatingTile3, area); [all...] |
dng_area_task.h | 61 /// Getter for minimum area of a partitioned rectangle. 64 /// area for partitioning. Default is 256x256 pixels. 66 /// \retval Minimum area for a partitoned tile in order to give performant operation. (Partitions can be smaller due to small inputs and edge cases.) 88 /// \retval Maximum tile size allowed for this area task. 138 /// Process one tile or fully partitioned area. 145 /// \param tile Area to process. 160 /// \param area Computation area for which to find tile size. 163 dng_point FindTileSize (const dng_rect &area) const; 166 /// Called after thread partitioning has already been done. Area may be further subdivided to handle maximum tile size, etc [all...] |
dng_pixel_buffer.h | 32 /// Compute best set of step values for a given source and destination area and stride. 92 // Area this buffer holds. 130 // Ensure pixel to be accessed lies inside valid area. 171 /// \param size Area covered by the pixel buffer 180 dng_pixel_buffer (const dng_rect &area, uint32 plane, uint32 planes, 198 const dng_rect & Area () const 497 /// Initialize a rectangular area of pixel buffer to a constant. 498 /// \param area Rectangle of pixel buffer to set. 503 void SetConstant (const dng_rect &area, 508 /// Initialize a rectangular area of pixel buffer to a constant unsigned 8-bit value [all...] |
/external/ImageMagick/www/source/ |
analyze.c | 89 area, 146 area=0.0; 182 area++; 187 if (area <= 0.0) 189 brightness_mean=brightness_sum_x/area; 192 brightness_standard_deviation=sqrt(brightness_sum_x2/area-(brightness_sum_x/ 193 area*brightness_sum_x/area)); 198 brightness_kurtosis=(brightness_sum_x4/area-4.0*brightness_mean* 199 brightness_sum_x3/area+6.0*brightness_mean*brightness_mean 87 area, local [all...] |
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
VehiclePropConfigBuilder.java | 58 for (VehicleAreaConfig area : propConfig.areaConfigs) { 60 newArea.areaId = area.areaId; 61 newArea.minInt32Value = area.minInt32Value; 62 newArea.maxInt32Value = area.maxInt32Value; 63 newArea.minInt64Value = area.minInt64Value; 64 newArea.maxInt64Value = area.maxInt64Value; 65 newArea.minFloatValue = area.minFloatValue; 66 newArea.maxFloatValue = area.maxFloatValue; 113 VehicleAreaConfig area = new VehicleAreaConfig(); local 114 area.areaId = areaId 123 VehicleAreaConfig area = new VehicleAreaConfig(); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DarkIconDispatcher.java | 69 * @return true if more than half of the {@param view} area are in {@param area}, false 72 static boolean isInArea(Rect area, View view) { 73 if (area.isEmpty()) { 76 sTmpRect.set(area); 80 int intersectStart = Math.max(left, area.left); 81 int intersectEnd = Math.min(left + view.getWidth(), area.right); 84 boolean coversFullStatusBar = area.top <= 0; 90 void onDarkChanged(Rect area, float darkIntensity, int tint);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
ProgressOverlay.java | 57 public void setBounds(RectF area) { 58 if (area.width() > 0 && area.height() > 0) { 60 params.width = (int) area.width(); 61 params.height= (int) area.height(); 62 params.setMargins((int) area.left, (int) area.top, 0, 0);
|
/frameworks/base/libs/hwui/tests/unit/ |
ClipAreaTests.cpp | 33 ClipArea area; local 34 area.setViewportDimensions(kViewportBounds.getWidth(), kViewportBounds.getHeight()); 35 return area; 89 ClipArea area(createClipArea()); 90 EXPECT_FALSE(area.isEmpty()); 94 ClipArea area(createClipArea()); 98 area.clipPathWithTransform(path, &Matrix4::identity(), SkRegion::kIntersect_Op); 99 EXPECT_FALSE(area.isEmpty()); 100 EXPECT_FALSE(area.isSimple()); 101 EXPECT_FALSE(area.isRectangleList()) [all...] |
/external/ImageMagick/filters/ |
analyze.c | 89 area, 146 area=0.0; 183 area++; 188 if (area <= 0.0) 190 brightness_mean=brightness_sum_x/area; 194 brightness_standard_deviation=sqrt(brightness_sum_x2/area-(brightness_sum_x/ 195 area*brightness_sum_x/area)); 201 brightness_kurtosis=(brightness_sum_x4/area-4.0*brightness_mean* 202 brightness_sum_x3/area+6.0*brightness_mean*brightness_mean 87 area, local [all...] |
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
CarPropertyManagerBase.java | 170 * @param area Area of the property to get 172 public boolean getBooleanProperty(int prop, int area) throws CarNotConnectedException { 173 CarPropertyValue<Boolean> carProp = getProperty(Boolean.class, prop, area); 181 * @param area Area of the property to get 183 public float getFloatProperty(int prop, int area) throws CarNotConnectedException { 184 CarPropertyValue<Float> carProp = getProperty(Float.class, prop, area); 192 * @param area Zone of the property to get 194 public int getIntProperty(int prop, int area) throws CarNotConnectedException [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SizeAreaComparator.java | 28 * Comparator for api1 {@link Camera.Size} objects by the area. 30 * <p>This comparator totally orders by rectangle area. Tie-breaks on width.</p> 48 long area = width * size.height; local 51 if (area == area2) { 55 return (area > area2) ? 1 : -1; 59 * Get the largest api1 {@code Camera.Size} from the list by comparing each size's area
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
SizeAreaComparator.java | 28 * Comparator for {@link Size} objects by the area. 30 * <p>This comparator totally orders by rectangle area. Tie-breaks on width.</p> 47 long area = width * size.getHeight(); local 50 if (area == area2) { 54 return (area > area2) ? 1 : -1; 58 * Get the largest {@code Size} from the list by comparing each size's area
|
/external/ImageMagick/Magick++/lib/Magick++/ |
ResourceLimits.h | 21 static void area(const MagickSizeType limit_); 22 static MagickSizeType area(void);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
AspectRatio.java | 168 * @return The largest centered region of area with this aspect ratio. For 172 public Rect getLargestCenterCrop(Size area) { 173 AspectRatio original = of(area); 177 int cropHeight = area.width() * mHeight / mWidth; 178 int cropTop = (area.height() - cropHeight) / 2; 181 int cropRight = area.width(); 185 int cropWidth = area.height() * mWidth / mHeight; 186 int cropLeft = (area.width() - cropWidth) / 2; 189 int cropBottom = area.height();
|
/external/vboot_reference/futility/ |
traversal.c | 107 {"GBB Area", CB_FMAP_GBB}, 116 const struct bios_area_s *area) 119 for (; area->name; area++) 120 if (!fmap_find_by_name(buf, len, fmap, area->name, 0)) 203 const struct bios_area_s *area; local 224 for (area = bios_area; area->name; area++) { 226 fmap_find_by_name(buf, len, fmap, area->name, &ah) [all...] |
/external/ImageMagick/MagickCore/ |
vision.h | 40 area, member in struct:_CCObjectInfo
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
InfoDialog.java | 28 protected TextArea area; field in class:InfoDialog 33 return area; 48 area = new TextArea(message, 8, 80, TextArea.SCROLLBARS_VERTICAL_ONLY); 49 this.add("Center", area);
|
/external/iproute2/lib/ |
dnet_pton.c | 42 u_int16_t area = 0; local 46 pos = dnet_num(src, &area); 47 if ((pos == 0) || (area > 63) || (*(src + pos) != '.')) 53 addr = dn_htons((area << 10) | node);
|
/frameworks/compile/mclinker/unittests/ |
MCRegionFragmentTest.cpp | 44 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite); local 46 MemoryRegion* region = area->request(0, 4096); 59 MemoryArea* area = areaFactory->produce(path, MemoryArea::ReadWrite); local 61 MemoryRegion* region = area->request(0, 4096);
|
/cts/tests/tests/media/src/android/media/cts/ |
CodecUtils.java | 133 CodecImage image, Rect area, int y, int u, int v); 135 public static void fillImageRectWithYUV(Image image, Rect area, int y, int u, int v) { 136 fillImageRectWithYUV(ImageWrapper.createFromImage(image), area, y, u, v); local 139 public native static long[] getRawStats(CodecImage image, Rect area); 141 public static long[] getRawStats(Image image, Rect area) { 142 return getRawStats(ImageWrapper.createFromImage(image), area); 145 public native static float[] getYUVStats(CodecImage image, Rect area); 147 public static float[] getYUVStats(Image image, Rect area) { 148 return getYUVStats(ImageWrapper.createFromImage(image), area);
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
CarPropertyConfig.java | 58 /** Returns true if this property doesn't hold car area-specific configuration */ 77 * Throws {@link IllegalStateException} if supported area count not equals to one. 81 throw new IllegalStateException("Expected one and only area in this property. Prop: 0x" 93 AreaConfig<T> area = mSupportedAreas.get(areaId); local 94 return area == null ? null : area.getMinValue(); 99 AreaConfig<T> area = mSupportedAreas.get(areaId); local 100 return area == null ? null : area.getMaxValue(); 105 AreaConfig<T> area = mSupportedAreas.valueAt(0) local 111 AreaConfig<T> area = mSupportedAreas.valueAt(0); local 146 AreaConfig<T> area = in.readParcelable(getClass().getClassLoader()); local [all...] |