Home
last modified time | relevance | path

Searched +full:array +full:- +full:bounds (Results 1 – 25 of 1039) sorted by relevance

12345678910>>...42

/third_party/skia/include/core/
DSkTextBlob.h4 * Use of this source code is governed by a BSD-style license that can be
36 determine glyph bounds, and unions all bounds. Returned bounds may be
37 larger than the bounds of all glyphs in runs.
41 const SkRect& bounds() const { return fBounds; } in bounds() function
43 /** Returns a non-zero value unique among all text blobs.
49 /** Returns the number of intervals that intersect bounds.
50 bounds describes a pair of lines parallel to the text advance.
54 Pass nullptr for intervals to determine the size of the interval array.
58 @param bounds lower and upper line parallel to the advance
63 int getIntercepts(const SkScalar bounds[2], SkScalar intervals[],
[all …]
DSkFont.h4 * Use of this source code is governed by a BSD-style license that can be
64 @param skewX additional shear on x-axis relative to y-axis
99 /** Returns true if glyphs may be drawn at sub-pixel offsets.
101 @return true if glyphs may be drawn at sub-pixel offsets.
140 /** Requests, but does not require, that glyphs respect sub-pixel positioning.
142 @param subpixel setting for sub-pixel positioning
215 /** Returns text scale on x-axis.
222 /** Returns text skew on x-axis.
225 @return additional shear on x-axis relative to y-axis
257 /** Sets text scale on x-axis.
[all …]
DSkPath.h4 * Use of this source code is governed by a BSD-style license that can be
23 // WIP -- define this locally, and fix call-sites to use SkPathBuilder (skbug.com/9000)
41 Internally, SkPath lazily computes metrics likes bounds and convexity. Call
78 static SkPath RRect(const SkRect& bounds, SkScalar rx, SkScalar ry,
106 the returned result share pointer values. The underlying verb array, SkPoint array
128 shares pointer values. The underlying verb array, SkPoint array and weights
135 @param path verb array, SkPoint array, weights, and SkPath::FillType to copy
142 /** Compares a and b; returns true if SkPath::FillType, verb array, SkPoint array, and weights
151 /** Compares a and b; returns true if SkPath::FillType, verb array, SkPoint array, and weights
170 @return true if SkPath verb array and weights are equivalent
[all …]
DSkRegion.h4 * Use of this source code is governed by a BSD-style license that can be
18 efficiently storing a single integer rectangle, or a run length encoded array
27 /** Constructs an empty SkRegion. SkRegion is set to empty bounds
38 the returned result share pointer values. The underlying SkRect array is
52 /** Constructs a rectangular SkRegion matching the bounds of rect.
54 @param rect bounds of constructed SkRegion
69 the returned result share pointer values. The underlying SkRect array is
102 /** Sets SkRegion to src, and returns true if src bounds is not empty.
104 SkRegion and src share pointer values. The underlying SkRect array is
116 return !this->isEmpty(); in set()
[all …]
DSkCanvas.h4 * Use of this source code is governed by a BSD-style license that can be
85 To draw to a pixel-based destination, create raster surface or GPU surface.
320 @param origin storage for SkCanvas top layer origin, its top-left corner;
381 - Source and destination rectangles do not intersect.
382 - SkCanvas pixels could not be converted to dstInfo.colorType() or dstInfo.alphaType().
383 - SkCanvas pixels are not readable; for instance, SkCanvas is document-based.
384 - dstRowBytes is too small to contain one row of pixels.
389 @param srcX offset into readable pixels on x-axis; may be negative
390 @param srcY offset into readable pixels on y-axis; may be negative
418 - Source and destination rectangles do not intersect.
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_robust_buffer_access_behavior.txt15 Jan-Harald Fredriksen, AMD
22 Copyright (c) 2012-2013 The Khronos Group Inc. Copyright terms at
48 This extension specifies the behavior of out-of-bounds buffer and array
52 protection provided by the GL to ensure that out-of-bounds accesses
78 indices within the elements array that reference vertex data that
84 Add to Section 2.9.4 (Effects of Accessing Outside Buffer Bounds) on
92 termination. Out-of-bounds reads may return values from within the buffer
93 object or zero. Out-of-bounds writes may modify values within the buffer
96 binding point is declared. For example, for an out-of-bounds access to
101 Add a new paragraph to the end of the "Texel Fetches" sub-section on page
[all …]
/third_party/openGLES/extensions/ARB/
DARB_robust_buffer_access_behavior.txt15 Jan-Harald Fredriksen, AMD
22 Copyright (c) 2012-2013 The Khronos Group Inc. Copyright terms at
27 Khronos-approved extension specifications are updated in response to
58 This extension specifies the behavior of out-of-bounds buffer and array
62 protection provided by the GL to ensure that out-of-bounds accesses
88 indices within the elements array that reference vertex data that
94 Add to Section 2.9.4 (Effects of Accessing Outside Buffer Bounds) on
102 termination. Out-of-bounds reads may return values from within the buffer
103 object or zero. Out-of-bounds writes may modify values within the buffer
106 binding point is declared. For example, for an out-of-bounds access to
[all …]
/third_party/openGLES/extensions/KHR/
DKHR_robust_buffer_access_behavior.txt16 Jan-Harald Fredriksen, ARM
23 Copyright (c) 2012-2014 The Khronos Group Inc. Copyright terms at
28 Khronos-approved extension specifications are updated in response to
64 This extension specifies the behavior of out-of-bounds buffer and
65 array accesses. This is an improvement over the existing
69 out-of-bounds accesses cannot read from or write to data not owned
89 Append to section 6.4 "Effects of Accessing Outside Buffer Bounds" on p.
99 Out-of-bounds reads may return any of the following values:
108 + 0.0 or 1.0, for floating-point components
110 Out-of-bounds writes may modify values within the buffer object or be
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/KHR/
DKHR_robust_buffer_access_behavior.txt16 Jan-Harald Fredriksen, ARM
23 Copyright (c) 2012-2014 The Khronos Group Inc. Copyright terms at
54 This extension specifies the behavior of out-of-bounds buffer and
55 array accesses. This is an improvement over the existing
59 out-of-bounds accesses cannot read from or write to data not owned
79 Append to section 6.4 "Effects of Accessing Outside Buffer Bounds" on p.
89 Out-of-bounds reads may return any of the following values:
98 + 0.0 or 1.0, for floating-point components
100 Out-of-bounds writes may modify values within the buffer object or be
105 declared. For example, for an out-of-bounds access to a member variable
[all …]
/third_party/json/docs/mkdocs/docs/api/basic_json/
Dat.md23 1. Returns a reference to the array element at specified location `idx`, with bounds checking.
24 2. Returns a reference to the object element with specified key `key`, with bounds checking.
27 4. Returns a reference to the element at specified JSON pointer `ptr`, with bounds checking.
61- Throws [`type_error.304`](../../home/exceptions.md#jsonexceptiontype_error304) if the JSON value…
63- Throws [`out_of_range.401`](../../home/exceptions.md#jsonexceptionout_of_range401) if the index …
64 range of the array; that is, `idx >= size()`. See example below.
66- Throws [`type_error.304`](../../home/exceptions.md#jsonexceptiontype_error304) if the JSON value…
68- Throws [`out_of_range.403`](../../home/exceptions.md#jsonexceptionout_of_range403) if the key `k…
72- Throws [`parse_error.106`](../../home/exceptions.md#jsonexceptionparse_error106) if an array ind…
74- Throws [`parse_error.109`](../../home/exceptions.md#jsonexceptionparse_error109) if an array ind…
[all …]
/third_party/protobuf/objectivec/
DGPBArray.m1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
37 // protos can turn on -Wdirect-ivar-access without issues.
39 #pragma clang diagnostic ignored "-Wdirect-ivar-access"
50 //%PDDM-DEFINE VALIDATE_RANGE(INDEX, COUNT)
53 //% format:@"Index (%lu) beyond bounds (%lu)",
56 //%PDDM-DEFINE MAYBE_GROW_TO_SET_COUNT(NEW_COUNT)
61 //%PDDM-DEFINE SET_COUNT_AND_MAYBE_SHRINK(NEW_COUNT)
71 //%PDDM-DEFINE ARRAY_INTERFACE_SIMPLE(NAME, TYPE, FORMAT)
72 //%#pragma mark - NAME
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUTF16Test.java5 * Copyright (C) 1996-2014, International Business Machines Corporation and *
50 char array[] = new char[UCharacter.MAX_VALUE >> 2]; in TestAppend() local
55 strbuff.getChars(0, strsize, array, 0); in TestAppend()
59 arraysize = UTF16.append(array, arraysize, i); in TestAppend()
61 String arraystr = new String(array, 0, arraysize); in TestAppend()
63 errln("FAIL Comparing char array append and string append " + in TestAppend()
70 strsize --; in TestAppend()
80 // coverage for new 1.5 - cover only so no real test in TestAppend()
89 * Testing UTF16 class methods bounds
98 char array[] = str.toCharArray(); in TestBounds() local
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUTF16Test.java6 * Copyright (C) 1996-2014, International Business Machines Corporation and *
53 char array[] = new char[UCharacter.MAX_VALUE >> 2]; in TestAppend() local
58 strbuff.getChars(0, strsize, array, 0); in TestAppend()
62 arraysize = UTF16.append(array, arraysize, i); in TestAppend()
64 String arraystr = new String(array, 0, arraysize); in TestAppend()
66 errln("FAIL Comparing char array append and string append " + in TestAppend()
73 strsize --; in TestAppend()
83 // coverage for new 1.5 - cover only so no real test in TestAppend()
92 * Testing UTF16 class methods bounds
101 char array[] = str.toCharArray(); in TestBounds() local
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DFontData.java8 * http://www.apache.org/licenses/LICENSE-2.0
63 protected final ByteArray<? extends ByteArray<?>> array; field in FontData
65 * Offset to apply as a lower bound on the internal byte array.
69 * The length of the bound on the internal byte array.
76 * @param ba the byte array to use for the backing data
79 this.array = ba; in FontData()
90 this(data.array); in FontData()
101 this(data.array); in FontData()
104 - offset); in FontData()
109 * visible within the bounds set.
[all …]
DByteArray.java8 * http://www.apache.org/licenses/LICENSE-2.0
24 * An abstraction to a contiguous array of bytes.
26 * @param <T> the concrete sub-class of ByteArray
45 * @param growable is the storage growable - storageLength is the maximum growable size
66 * @param index the index into the byte array
67 * @return the byte or -1 if reading beyond the bounds of the data
71 return -1; in get()
79 * would go past the end of the array.
81 * @param index the index into the byte array
91 * As many bytes as the specified length are read unless that would go past the end of the array.
[all …]
DReadableFontData.java8 * http://www.apache.org/licenses/LICENSE-2.0
35 * <td>8-bit unsigned integer.</td>
39 * <td>8-bit signed integer.</td>
43 * <td>16-bit unsigned integer.</td>
47 * <td>16-bit signed integer.</td>
51 * <td>24-bit unsigned integer.</td>
55 * <td>32-bit unsigned integer.</td>
59 * <td>32-bit signed integer.</td>
63 * <td>32-bit signed fixed-point number (16.16)</td>
71 * <td>16-bit signed integer (SHORT) that describes a quantity in FUnits.</td>
[all …]
/third_party/skia/tests/
DTextBlobTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
102 // This unit test verifies blob bounds computation.
107 // Explicit bounds. in TestBounds()
117 REPORTER_ASSERT(reporter, blob->bounds() == r1); in TestBounds()
124 REPORTER_ASSERT(reporter, blob->bounds() == r1); in TestBounds()
131 REPORTER_ASSERT(reporter, blob->bounds() == r1); in TestBounds()
144 REPORTER_ASSERT(reporter, blob->bounds() == SkRect::MakeXYWH(0, 5, 65, 65)); in TestBounds()
152 // Implicit bounds in TestBounds()
155 // Exercise the empty bounds path, and ensure that RunRecord-aligned pos buffers in TestBounds()
168 REPORTER_ASSERT(reporter, blob->bounds().isEmpty()); in TestBounds()
[all …]
/third_party/skia/src/core/
DSkGlyph.cpp4 * Use of this source code is governed by a BSD-style license that can be
19 mask.fRowBytes = this->rowBytes(); in mask()
25 SkMask answer = this->mask(); in mask()
67 return format_alignment(this->maskFormat()); in formatAlignment()
71 SkASSERT(!this->isEmpty()); in allocImage()
72 auto size = this->imageSize(); in allocImage()
73 fImage = alloc->makeBytesAlignedTo(size, this->formatAlignment()); in allocImage()
79 if (!this->setImageHasBeenCalled()) { in setImage()
82 SkDEBUGCODE(SkMask::Format oldFormat = this->maskFormat()); in setImage()
83 this->allocImage(alloc); in setImage()
[all …]
/third_party/pulseaudio/src/pulsecore/
Ddynarray.h7 Copyright 2004-2008 Lennart Poettering
27 /* Implementation of a simple dynamically sized array for storing pointers.
29 * When the array is created, a free callback can be provided, which will be
30 * then used when removing items from the array and when freeing the array. If
32 * is the responsibility of the array user. If there is need to remove items
33 * from the array without freeing them, while also having the free callback
36 * Removing items from the middle of the array causes the last item to be
37 * moved to the place of the removed item. That is, array ordering is not
40 * The array doesn't support storing NULL pointers. */
43 void pa_dynarray_free(pa_dynarray *array);
[all …]
/third_party/skia/src/gpu/
DGrAuditTrail.cpp4 * Use of this source code is governed by a BSD-style license that can be
11 const int GrAuditTrail::kGrAuditTrailInvalidID = -1;
17 auditOp->fName = op->name(); in addOp()
18 auditOp->fBounds = op->bounds(); in addOp()
19 auditOp->fClientID = kGrAuditTrailInvalidID; in addOp()
20 auditOp->fOpsTaskID = kGrAuditTrailInvalidID; in addOp()
21 auditOp->fChildID = kGrAuditTrailInvalidID; in addOp()
24 auditOp->fStackTrace = fCurrentStackTrace; in addOp()
28 auditOp->fClientID = fClientID; in addOp()
38 ops->push_back(auditOp); in addOp()
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.h8 * http://www.apache.org/licenses/LICENSE-2.0
31 // BYTE 8-bit unsigned integer.
32 // CHAR 8-bit signed integer.
33 // USHORT 16-bit unsigned integer.
34 // SHORT 16-bit signed integer.
35 // UINT24 24-bit unsigned integer.
36 // ULONG 32-bit unsigned integer.
37 // LONG 32-bit signed integer.
38 // Fixed 32-bit signed fixed-point number (16.16)
40 // FWORD 16-bit signed integer (SHORT) that describes a quantity in FUnits.
[all …]
/third_party/json/
D.clang-tidy2 -altera-id-dependent-backward-branch,
3 -altera-struct-pack-align,
4 -altera-unroll-loops,
5 -android-cloexec-fopen,
6 -bugprone-easily-swappable-parameters,
7 -cert-err58-cpp,
8 -concurrency-mt-unsafe,
9 -cppcoreguidelines-avoid-const-or-ref-data-members,
10 -cppcoreguidelines-avoid-do-while,
11 -cppcoreguidelines-avoid-goto,
[all …]
/third_party/mesa3d/src/gallium/drivers/virgl/ci/
Dvirpipe-gl-flakes.txt1 dEQP-GLES31.functional.draw_buffers_indexed.random.max_implementation_draw_buffers.8
2 dEQP-GLES31.functional.ssbo.layout.random.all_shared_buffer.36
4 KHR-GL43.shader_atomic_counters.advanced-usage-many-draw-calls2
5 KHR-GL43.shader_atomic_counters.advanced-usage-draw-update-draw
6 KHR-GL43.shader_storage_buffer_object.advanced-unsizedArrayLength-fs-std140-matR
7 KHR-GL43.shader_storage_buffer_object.advanced-unsizedArrayLength-fs-std140-struct
8 KHR-GL43.shader_storage_buffer_object.advanced-unsizedArrayLength-fs-std430-matC-pad
9 KHR-GL43.shader_storage_buffer_object.advanced-unsizedArrayLength-fs-std430-vec
10 KHR-GL43.shader_storage_buffer_object.basic-atomic-case3
11 KHR-GL43.shader_storage_buffer_object.basic-atomic-case4
[all …]
/third_party/skia/gm/
Dsharedcorners.cpp4 * Use of this source code is governed by a BSD-style license that can be
23 #include <array>
36 SharedCornersGM() { this->setBGColor(ToolUtils::color_to_565(0xFF1A65D7)); } in SharedCornersGM()
60 canvas->translate(kPadSize, kPadSize); in onDraw()
61 canvas->save(); in onDraw()
64 this->drawTriangleBoxes(canvas, in onDraw()
76 this->drawTriangleBoxes(canvas, in onDraw()
87 canvas->restore(); in onDraw()
88 canvas->translate((kBoxSize + kPadSize) * 4, 0); in onDraw()
91 this->drawTriangleBoxes(canvas, in onDraw()
[all …]
/third_party/mesa3d/src/mesa/main/
Dimage.c2 * Mesa 3-D graphics library
4 * Copyright (C) 1999-2008 Brian Paul All Rights Reserved.
44 * Flip the order of the 2 bytes in each word in the given array (src) and
45 * store the result in another array (dst). For in-place byte-swapping this
46 * function can be called with the same array for src and dst.
48 * \param dst the array where byte-swapped data will be stored.
49 * \param src the array with the source data we want to byte-swap.
68 * Flip the order of the 4 bytes in each word in the given array (src) and
69 * store the result in another array (dst). For in-place byte-swapping this
70 * function can be called with the same array for src and dst.
[all …]

12345678910>>...42