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/m133/include/core/
DSkFont.h4 * Use of this source code is governed by a BSD-style license that can be
74 @param skewX additional shear on x-axis relative to y-axis
109 /** Returns true if glyphs may be drawn at sub-pixel offsets.
111 @return true if glyphs may be drawn at sub-pixel offsets.
150 /** Requests, but does not require, that glyphs respect sub-pixel positioning.
152 @param subpixel setting for sub-pixel positioning
206 @return non-null SkTypeface
219 /** Returns text scale on x-axis.
226 /** Returns text skew on x-axis.
229 @return additional shear on x-axis relative to y-axis
[all …]
DSkTextBlob.h4 * Use of this source code is governed by a BSD-style license that can be
48 determine glyph bounds, and unions all bounds. Returned bounds may be
49 larger than the bounds of all glyphs in runs.
53 const SkRect& bounds() const { return fBounds; } in bounds() function
55 /** Returns a non-zero value unique among all text blobs.
61 /** Returns the number of intervals that intersect bounds.
62 bounds describes a pair of lines parallel to the text advance.
66 Pass nullptr for intervals to determine the size of the interval array.
70 @param bounds lower and upper line parallel to the advance
75 int getIntercepts(const SkScalar bounds[2], SkScalar intervals[],
[all …]
DSkPath.h4 * Use of this source code is governed by a BSD-style license that can be
38 // WIP -- define this locally, and fix call-sites to use SkPathBuilder (skbug.com/9000)
56 Internally, SkPath lazily computes metrics likes bounds and convexity. Call
93 static SkPath RRect(const SkRect& bounds, SkScalar rx, SkScalar ry,
121 the returned result share pointer values. The underlying verb array, SkPoint array
149 this->reset(); in detach()
155 shares pointer values. The underlying verb array, SkPoint array and weights
162 @param path verb array, SkPoint array, weights, and SkPath::FillType to copy
169 /** Compares a and b; returns true if SkPath::FillType, verb array, SkPoint array, and weights
178 /** Compares a and b; returns true if SkPath::FillType, verb array, SkPoint array, and weights
[all …]
DSkRegion.h4 * Use of this source code is governed by a BSD-style license that can be
25 efficiently storing a single integer rectangle, or a run length encoded array
34 /** Constructs an empty SkRegion. SkRegion is set to empty bounds
45 the returned result share pointer values. The underlying SkRect array is
59 /** Constructs a rectangular SkRegion matching the bounds of rect.
61 @param rect bounds of constructed SkRegion
76 the returned result share pointer values. The underlying SkRect array is
109 /** Sets SkRegion to src, and returns true if src bounds is not empty.
111 SkRegion and src share pointer values. The underlying SkRect array is
123 return !this->isEmpty(); in set()
[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/skia/include/core/
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 …]
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 …]
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 …]
/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/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/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/protobuf/objectivec/
DGPBArray.m1 // Protocol Buffers - Google's data interchange format
4 // Use of this source code is governed by a BSD-style
6 // https://developers.google.com/open-source/licenses/bsd
16 // protos can turn on -Wdirect-ivar-access without issues.
18 #pragma clang diagnostic ignored "-Wdirect-ivar-access"
29 // Disable clang-format for the macros.
30 // clang-format off
32 //%PDDM-DEFINE VALIDATE_RANGE(INDEX, COUNT)
35 //% format:@"Index (%lu) beyond bounds (%lu)",
38 //%PDDM-DEFINE MAYBE_GROW_TO_SET_COUNT(NEW_COUNT)
[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 …]
/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/m133/tests/
DTextBlobTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
126 // This unit test verifies blob bounds computation.
131 // Explicit bounds. in TestBounds()
141 REPORTER_ASSERT(reporter, blob->bounds() == r1); in TestBounds()
148 REPORTER_ASSERT(reporter, blob->bounds() == r1); in TestBounds()
155 REPORTER_ASSERT(reporter, blob->bounds() == r1); in TestBounds()
168 REPORTER_ASSERT(reporter, blob->bounds() == SkRect::MakeXYWH(0, 5, 65, 65)); in TestBounds()
176 // Implicit bounds in TestBounds()
179 // Exercise the empty bounds path, and ensure that RunRecord-aligned pos buffers in TestBounds()
192 REPORTER_ASSERT(reporter, blob->bounds().isEmpty()); in TestBounds()
[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/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/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/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/mesa3d/src/intel/vulkan/grl/gpu/
Dbvh_build_presplit.cl2 // Copyright (C) 2009-2021 Intel Corporation
4 // SPDX-License-Identifier: MIT
26 This function splits a line v0->v1 at position pos in dimension dim
27 and merges the bounds for the left and right line segments into
53 const float f = (pos - v0d) / (v1d - v0d);
54 const float4 c = f * (v1 - v0) + v0;
62 This function splits a clipped triangle v0,v1,v2 with bounds prim at
63 position pos in dimension dim and merges the bounds for the left and
82 /* the triangle itself was clipped already, thus clip against triangle bounds */
111 const float area_ratio = min(4.0f, area_aabb / max(1E-12f, area_tris));
[all …]
/third_party/rust/rust/src/tools/clippy/clippy_lints/src/
Dindexing_slicing.rs14 /// Checks for out of bounds array indexing with a constant
31 /// // Index within bounds
39 "out of bounds constant indexing"
45 /// does report on arrays if we can tell that slicing operations are in bounds and does not
60 /// // Array
93 pub fn new(suppress_restriction_lint_in_const: bool) -> Self { in new()
106 if let ExprKind::Index(array, index) = &expr.kind { in check_expr()
108 let ty = cx.typeck_results().expr_ty(array).peel_refs(); in check_expr()
111 if let ty::Array(_, s) = ty.kind() { in check_expr()
126 "range is out of bounds", in check_expr()
[all …]

12345678910>>...42