Home
last modified time | relevance | path

Searched full:ref (Results 1 – 25 of 4698) sorted by relevance

12345678910>>...188

/third_party/protobuf/csharp/src/Google.Protobuf/
DParsingPrimitivesWrappers.cs52 …internal static float? ReadFloatWrapperLittleEndian(ref ReadOnlySpan<byte> buffer, ref ParserInter… in ReadFloatWrapperLittleEndian()
68 return ReadFloatWrapperSlow(ref buffer, ref state); in ReadFloatWrapperLittleEndian()
71 return ParsingPrimitives.ParseFloat(ref buffer, ref state); in ReadFloatWrapperLittleEndian()
75 return ReadFloatWrapperSlow(ref buffer, ref state); in ReadFloatWrapperLittleEndian()
79 …internal static float? ReadFloatWrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState… in ReadFloatWrapperSlow()
81 int length = ParsingPrimitives.ParseLength(ref buffer, ref state); in ReadFloatWrapperSlow()
91 if (ParsingPrimitives.ParseTag(ref buffer, ref state) == 13) in ReadFloatWrapperSlow()
93 result = ParsingPrimitives.ParseFloat(ref buffer, ref state); in ReadFloatWrapperSlow()
97 ParsingPrimitivesMessages.SkipLastField(ref buffer, ref state); in ReadFloatWrapperSlow()
104 …internal static double? ReadDoubleWrapperLittleEndian(ref ReadOnlySpan<byte> buffer, ref ParserInt… in ReadDoubleWrapperLittleEndian()
[all …]
DWritingPrimitives.cs56 … public static void WriteDouble(ref Span<byte> buffer, ref WriterInternalState state, double value) in WriteDouble()
58 … WriteRawLittleEndian64(ref buffer, ref state, (ulong)BitConverter.DoubleToInt64Bits(value)); in WriteDouble()
64 …public static unsafe void WriteFloat(ref Span<byte> buffer, ref WriterInternalState state, float v… in WriteFloat()
71 Unsafe.WriteUnaligned(ref MemoryMarshal.GetReference(floatSpan), value); in WriteFloat()
81 WriteFloatSlowPath(ref buffer, ref state, value); in WriteFloat()
86 …private static unsafe void WriteFloatSlowPath(ref Span<byte> buffer, ref WriterInternalState state… in WriteFloatSlowPath()
92 Unsafe.WriteUnaligned(ref MemoryMarshal.GetReference(floatSpan), value); in WriteFloatSlowPath()
98 WriteRawByte(ref buffer, ref state, floatSpan[0]); in WriteFloatSlowPath()
99 WriteRawByte(ref buffer, ref state, floatSpan[1]); in WriteFloatSlowPath()
100 WriteRawByte(ref buffer, ref state, floatSpan[2]); in WriteFloatSlowPath()
[all …]
DParsingPrimitives.cs63 public static int ParseLength(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ParseLength()
65 return (int)ParseRawVarint32(ref buffer, ref state); in ParseLength()
72 public static uint ParseTag(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ParseTag()
105 state.lastTag = ParsingPrimitives.ParseRawVarint32(ref buffer, ref state); in ParseTag()
111 if (SegmentedBufferHelper.IsAtEnd(ref buffer, ref state)) in ParseTag()
117 state.lastTag = ParsingPrimitives.ParseRawVarint32(ref buffer, ref state); in ParseTag()
132 …public static bool MaybeConsumeTag(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, u… in MaybeConsumeTag()
134 if (PeekTag(ref buffer, ref state) == tag) in MaybeConsumeTag()
147 public static uint PeekTag(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in PeekTag()
155 state.nextTag = ParseTag(ref buffer, ref state); in PeekTag()
[all …]
DWriteContext.cs53 public ref struct WriteContext
59 …internal static void Initialize(ref Span<byte> buffer, ref WriterInternalState state, out WriteCon… in Initialize()
91 internal static void Initialize(ref Span<byte> buffer, out WriteContext ctx) in Initialize()
106 WritingPrimitives.WriteDouble(ref buffer, ref state, value); in WriteDouble()
115 WritingPrimitives.WriteFloat(ref buffer, ref state, value); in WriteFloat()
124 WritingPrimitives.WriteUInt64(ref buffer, ref state, value); in WriteUInt64()
133 WritingPrimitives.WriteInt64(ref buffer, ref state, value); in WriteInt64()
142 WritingPrimitives.WriteInt32(ref buffer, ref state, value); in WriteInt32()
151 WritingPrimitives.WriteFixed64(ref buffer, ref state, value); in WriteFixed64()
160 WritingPrimitives.WriteFixed32(ref buffer, ref state, value); in WriteFixed32()
[all …]
DParsingPrimitivesMessages.cs47 … public static void SkipLastField(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in SkipLastField()
56 SkipGroup(ref buffer, ref state, state.lastTag); in SkipLastField()
62 ParsingPrimitives.ParseRawLittleEndian32(ref buffer, ref state); in SkipLastField()
65 ParsingPrimitives.ParseRawLittleEndian64(ref buffer, ref state); in SkipLastField()
68 var length = ParsingPrimitives.ParseLength(ref buffer, ref state); in SkipLastField()
69 ParsingPrimitives.SkipRawBytes(ref buffer, ref state, length); in SkipLastField()
72 ParsingPrimitives.ParseRawVarint32(ref buffer, ref state); in SkipLastField()
80 …public static void SkipGroup(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, uint st… in SkipGroup()
92 tag = ParsingPrimitives.ParseTag(ref buffer, ref state); in SkipGroup()
103 SkipLastField(ref buffer, ref state); in SkipGroup()
[all …]
/third_party/ffmpeg/tests/ref/fate/
Dpixelutils1 [OK] [UU] SAD [random] 2x2=409 ref=409
2 [OK] [UU] SAD [random] 4x4=1370 ref=1370
3 [OK] [UU] SAD [random] 8x8=5178 ref=5178
4 [OK] [UU] SAD [random] 16x16=20946 ref=20946
5 [OK] [UU] SAD [random] 32x32=83150 ref=83150
6 [OK] [AU] SAD [random] 2x2=320 ref=320
7 [OK] [AU] SAD [random] 4x4=1522 ref=1522
8 [OK] [AU] SAD [random] 8x8=5821 ref=5821
9 [OK] [AU] SAD [random] 16x16=21951 ref=21951
10 [OK] [AU] SAD [random] 32x32=86983 ref=86983
[all …]
/third_party/typescript/tests/baselines/reference/
DnormalizedIntersectionTooComplex.types5 ref: T;
6 >ref : T
22 "0": { common?: string; "0"?: number, ref?: Obj<Big["0"]> | Func<Big["0"]>; }
23 >"0" : { common?: string | undefined; "0"?: number | undefined; ref?: Obj<any> | Func<any> | undefi…
26ref : Obj<{ common?: string | undefined; "0"?: number | undefined; ref?: Obj<any> | Func<any> | un…
28 "1": { common?: string; "1"?: number, ref?: Obj<Big["1"]> | Func<Big["1"]>; }
29 >"1" : { common?: string | undefined; "1"?: number | undefined; ref?: Obj<any> | Func<any> | undefi…
32ref : Obj<{ common?: string | undefined; "1"?: number | undefined; ref?: Obj<any> | Func<any> | un…
34 "2": { common?: string; "2"?: number, ref?: Obj<Big["2"]> | Func<Big["2"]>; }
35 >"2" : { common?: string | undefined; "2"?: number | undefined; ref?: Obj<any> | Func<any> | undefi…
[all …]
DesNextWeakRefs_IterableWeakMap.types3 const IterableWeakMap_cleanup = ({ ref, set }: {
4 >IterableWeakMap_cleanup : ({ ref, set }: { readonly ref: WeakRef<object>; readonly set: Set<WeakRe…
5 …({ ref, set }: { readonly ref: WeakRef<object>; readonly set: Set<WeakRef<object>>;}) => { …
6 >ref : WeakRef<object>
9 readonly ref: WeakRef<object>;
10 >ref : WeakRef<object>
16 set.delete(ref);
17 >set.delete(ref) : boolean
21 >ref : WeakRef<object>
35 #weakMap = new WeakMap<K, { readonly ref: WeakRef<K>; value: V }>();
[all …]
DnonNullReferenceMatching.types30 public thumbYElementRef = (ref: HTMLElement | null) => {
31 >thumbYElementRef : (ref: HTMLElement | null) => void
32ref: HTMLElement | null) => { typeof this.props.thumbYProps!.elementRef === 'function' && t…
33 >ref : HTMLElement | null
36 …ypeof this.props.thumbYProps!.elementRef === 'function' && this.props.thumbYProps!.elementRef(ref);
37 >typeof this.props.thumbYProps!.elementRef === 'function' && this.props.thumbYProps!.elementRef(ref
49 >this.props.thumbYProps!.elementRef(ref) : void
58 >ref : HTMLElement | null
60 …eof (this.props.thumbYProps!.elementRef) === 'function' && this.props.thumbYProps!.elementRef(ref);
61 …s.thumbYProps!.elementRef) === 'function' && this.props.thumbYProps!.elementRef(ref) : false | void
[all …]
/third_party/glfw/include/GLFW/
Dglfw3.h47 * For more information about how to use this file, see @ref build_include.
53 * functions. For more task-oriented information, see the @ref context_guide.
59 * For more task-oriented information, see the @ref vulkan_guide.
66 * information, see the @ref intro_guide.
72 * For more task-oriented information, see the @ref input_guide.
78 * For more task-oriented information, see the @ref monitor_guide.
85 * information, see the @ref window_guide.
351 * See [joystick hat input](@ref joystick_hat) for how these are used.
374 * See [key input](@ref input_key) for how these are used.
526 * See [key input](@ref input_key) for how these are used.
[all …]
Dglfw3native.h44 * This is the header file of the native access functions. See @ref native for
54 * Before the inclusion of @ref glfw3native.h, you may define zero or more
79 * `GLFW_NATIVE_INCLUDE_NONE` before including the @ref glfw3native.h header.
169 * of the specified monitor, or `NULL` if an [error](@ref error_handling)
172 * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref
188 * [error](@ref error_handling) occurred.
190 * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref
205 * [error](@ref error_handling) occurred.
207 * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref
232 * [error](@ref error_handling) occurred.
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_perspective.c42 double ref[4][2]; member
127 double (*ref)[2] = s->ref; in calc_persp_luts() local
142 ret = av_expr_parse_and_eval(&s->ref[i][j], s->expr_str[i][j], in calc_persp_luts()
153 x6 = ((ref[0][0] - ref[1][0] - ref[2][0] + ref[3][0]) * in calc_persp_luts()
154 (ref[2][1] - ref[3][1]) - in calc_persp_luts()
155 ( ref[0][1] - ref[1][1] - ref[2][1] + ref[3][1]) * in calc_persp_luts()
156 (ref[2][0] - ref[3][0])) * h; in calc_persp_luts()
157 x7 = ((ref[0][1] - ref[1][1] - ref[2][1] + ref[3][1]) * in calc_persp_luts()
158 (ref[1][0] - ref[3][0]) - in calc_persp_luts()
159 ( ref[0][0] - ref[1][0] - ref[2][0] + ref[3][0]) * in calc_persp_luts()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DRefBaseTests.cpp112 using Ref = RefBase<RefTracker, RefTrackerTraits>; typedef
119 Ref ref(tracker1); in TEST() local
122 { ref.Acquire(tracker2); } in TEST()
123 EXPECT_THAT(events, testing::ElementsAre(Event{Action::kRelease, 1}, // release ref in TEST()
131 Ref ref(tracker); in TEST() local
134 { DAWN_UNUSED(ref.Detach()); } in TEST()
135 EXPECT_THAT(events, testing::ElementsAre(Event{Action::kAssign, 1, 0} // nullify ref in TEST()
140 Ref ref; in TEST() local
141 EXPECT_EQ(ref.Get(), RefTrackerTraits::kNullValue); in TEST()
150 Ref ref(tracker); in TEST() local
[all …]
DRefCountedTests.cpp49 // Test that RCs start with one ref, and removing it destroys the object.
104 // Test Ref remove reference when going out of scope
105 TEST(Ref, EndOfScopeRemovesRef) { in TEST() argument
108 Ref<RCTest> test(new RCTest(&deleted)); in TEST()
114 // Test getting pointer out of the Ref
115 TEST(Ref, Gets) { in TEST() argument
117 Ref<RCTest> test(original); in TEST()
125 TEST(Ref, DefaultsToNull) { in TEST() argument
126 Ref<RCTest> test; in TEST()
132 // Test Ref's copy constructor
[all …]
/third_party/glfw/docs/
Dintro.md7 tutorial, see @ref quick_guide instead. For details on a specific function in
8 this category, see the @ref init.
12 - @ref window_guide
13 - @ref context_guide
14 - @ref vulkan_guide
15 - @ref monitor_guide
16 - @ref input_guide
29 - @ref glfwGetVersion
30 - @ref glfwGetVersionString
31 - @ref glfwPlatformSupported
[all …]
Dmonitor.md6 a specific function in this category, see the @ref monitor. There are also
9 - @ref intro_guide
10 - @ref window_guide
11 - @ref context_guide
12 - @ref vulkan_guide
13 - @ref input_guide
20 @ref GLFWmonitor. Monitor objects cannot be created or destroyed by the
22 disconnected or until the library is [terminated](@ref intro_init_terminate).
29 [screen coordinates](@ref coordinate_systems) and, together with the current
39 The primary monitor is returned by @ref glfwGetPrimaryMonitor. It is the user's
[all …]
Dinput.md6 a specific function in this category, see the @ref input. There are also guides
9 - @ref intro_guide
10 - @ref window_guide
11 - @ref context_guide
12 - @ref vulkan_guide
13 - @ref monitor_guide
21 [window user pointer](@ref window_userptr), you can access non-global structures
35 [buffer swapping](@ref buffer_swap). Even when you have no windows, event
39 There are three functions for processing pending events. @ref glfwPollEvents,
50 input, @ref glfwWaitEvents is a better choice.
[all …]
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/
DJSONTest.kt155 var ref = parser.parse(values[0]) in testStrings() variable
156 assertEquals(true, ref.isString) in testStrings()
157 assertEquals("", ref.toString()) in testStrings()
159 ref = parser.parse(values[1]) in testStrings()
160 assertEquals(true, ref.isString) in testStrings()
161 assertEquals("a", ref.toString()) in testStrings()
163 ref = parser.parse(values[2]) in testStrings()
164 assertEquals(true, ref.isString) in testStrings()
165 assertEquals("hello world", ref.toString()) in testStrings()
167 ref = parser.parse(values[3]) in testStrings()
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
Dassertions.xml2 <assertion id="1" tag="ref:XBD6:10713:10996">
5 <assertion id="2" tag="ref:XBD6:10722:10729">
9 <assertion id="3" tag="ref:XBD6:10730:10732">
12 <assertion id="4" tag="ref:XBD6:10733:10733">
15 <assertion id="5" tag="ref:XBD6:10734:10734">
18 <assertion id="6" tag="ref:XBD6:10735:10741 pt:RTS">
26 <assertion id="7" tag="ref:XBD6:10742:10747 pt:RTS">
32 <assertion id="8" tag="ref:XBD6:10748:10750 pt:RTS">
37 <assertion id="9" tag="ref:XBD6:10751:10753 pt:RTS">
42 <assertion id="10" tag="ref:XBD6:10754:10755 pt:RTS">
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
Dassertions.xml2 <assertion id="1" tag="ref:XSH6:25950:25951 ref:XSH6:25968:25969 pt:MSG pt:TMO">
5 <assertion id="2" tag="ref:XSH6:25951:25953 ref:XSH6:25968:25969 pt:MSG pt:TMO">
9 <assertion id="3" tag="ref:XSH6:25954:25958 ref:XSH6:25968:25969 pt:MSG pt:TMO">
17 <assertion id="4" tag="ref:XSH6:25958:25958 ref:XSH6:25968:25969 pt:MSG pt:TMO">
20 <assertion id="5" tag="ref:XSH6:25969:25976 pt:MSG pt:TMO">
29 <assertion id="6" tag="ref:XSH6:25962:25965 ref:XSH6:25968:25969 pt:MSG pt:TMO">
36 <assertion id="7" tag="ref:XSH6:25965:25967 ref:XSH6:25968:25969 pt:MSG pt:TMO">
41 <assertion id="8" tag="ref:XSH6:25986:25987 ref:XSH6:25968:25969 pt:MSG pt:TMO">
44 <assertion id="9" tag="ref:XSH6:25988:25989 ref:XSH6:25968:25969 pt:MSG pt:TMO">
48 <assertion id="10" tag="ref:XSH6:25992:25993 ref:XSH6:25968:25969 pt:MSG pt:TMO">
[all …]
/third_party/mesa3d/src/freedreno/registers/
Drules-ng.xsd67 <element ref="rng:nick" />
87 <group ref="rng:docGroup" />
88 <group ref="rng:topGroup" />
104 <group ref="rng:docGroup" />
105 <group ref="rng:topGroup" />
106 <element ref="rng:author" />
107 <element ref="rng:license" />
117 <group ref="rng:docGroup" />
118 <group ref="rng:topGroup" />
119 <group ref="rng:regarrayGroup" />
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
Dassertions.xml2 <assertion id="1" tag="ref:XBD6:13642:13644">
5 <assertion id="2" tag="ref:XBD6:13650:13660">
18 <assertion id="3" tag="ref:XBD6:13663:13672">
25 <assertion id="4" tag="ref:XBD6:13673:13676 pt:TMR">
31 <assertion id="5" tag="ref:XBD6:13677:13680 pt:TMR">
37 <assertion id="6" tag="ref:XBD6:13681:13689 pt:TMR">
43 <assertion id="7" tag="ref:XBD6:13690:13691">
47 <assertion id="8" tag="ref:XBD6:13698:13698">
51 <assertion id="9" tag="ref:XBD6:13699:13699 pt:TSF">
55 <assertion id="10" tag="ref:XBD6:13700:13700">
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_scene.c252 /* Decrement texture ref counts in lp_scene_end_rasterization()
255 for (struct resource_ref *ref = scene->resources; ref; ref = ref->next) { in lp_scene_end_rasterization() local
256 for (int i = 0; i < ref->count; i++) { in lp_scene_end_rasterization()
260 (void *) ref->resource[i], in lp_scene_end_rasterization()
261 ref->resource[i]->width0, in lp_scene_end_rasterization()
262 ref->resource[i]->height0, in lp_scene_end_rasterization()
263 llvmpipe_resource_size(ref->resource[i])); in lp_scene_end_rasterization()
265 llvmpipe_resource_unmap(ref->resource[i], 0, 0); in lp_scene_end_rasterization()
266 pipe_resource_reference(&ref->resource[i], NULL); in lp_scene_end_rasterization()
270 for (struct resource_ref *ref = scene->writeable_resources; ref; in lp_scene_end_rasterization() local
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
Dassertions.xml2 <assertion id="1" tag="ref:XSH6:{System Interfaces:shm_open:DESCRIPTION}">
6 <assertion id="2" tag="ref:XSH6:{System Interfaces:shm_open:DESCRIPTION}">
11 <assertion id="3" tag="ref:XSH6:{System Interfaces:shm_open:DESCRIPTION}">
15 <assertion id="4" tag="ref:XSH6:{System Interfaces:shm_open:DESCRIPTION}">
18 <assertion id="5" tag="ref:XSH6:{System Interfaces:shm_open:DESCRIPTION}">
23 <assertion id="6" tag="ref:XSH6:{System Interfaces:shm_open:DESCRIPTION}">
27 <assertion id="7" tag="ref:XSH6:{System Interfaces:shm_open:DESCRIPTION}">
31 <assertion id="8" tag="ref:XSH6:{System Interfaces:shm_open:DESCRIPTION}">
36 <assertion id="9" tag="ref:XSH6:{System Interfaces:shm_open:DESCRIPTION}">
40 <assertion id="10" tag="ref:XSH6:{System Interfaces:shm_open:DESCRIPTION}">
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DReference.h15 class Ref
18 Ref(const Ref &) = default;
19 Ref(Ref &&) = default;
20 Ref(T &ref) : mPtr(&ref) {} in Ref() function
22 Ref &operator=(const Ref &) = default;
23 Ref &operator=(Ref &&) = default;
25 bool operator==(const Ref &other) const { return *mPtr == *other.mPtr; }
26 bool operator!=(const Ref &other) const { return *mPtr != *other.mPtr; }
27 bool operator<=(const Ref &other) const { return *mPtr <= *other.mPtr; }
28 bool operator>=(const Ref &other) const { return *mPtr >= *other.mPtr; }
[all …]

12345678910>>...188