Home
last modified time | relevance | path

Searched refs:offset2 (Results 1 – 25 of 49) sorted by relevance

12

/third_party/glslang/Test/
Dspv.float16Fetch.frag87 const ivec2 offset2 = ivec2(1);
89 const ivec2 offsets[4] = { offset2, offset2, offset2, offset2 };
193 texel += textureOffset(s2D, c2, offset2);
194 texel += textureOffset(s2D, f16c2, offset2, f16bias);
197 texel += textureOffset(s2DRect, c2, offset2);
198 texel += textureOffset(s2DRect, f16c2, offset2);
199 texel.x += textureOffset(s2DRectShadow, c3, offset2);
200 texel.x += textureOffset(s2DRectShadow, f16c2, compare, offset2);
203 texel.x += textureOffset(s2DShadow, c3, offset2);
204 texel.x += textureOffset(s2DShadow, f16c2, compare, offset2, f16bias);
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dcl_utils.h20 inline bool OverlapRegions(size_t offset1, size_t offset2, size_t size) in OverlapRegions() argument
25 return (offset1 <= offset2 && offset2 <= offset1 + size - 1u) || in OverlapRegions()
26 (offset2 <= offset1 && offset1 <= offset2 + size - 1u); in OverlapRegions()
/third_party/musl/libc-test/src/functionalext/supplement/dirent/
Dtelldir.c41 long offset2 = 0; in telldir_0100() local
46 offset2 = telldir(dir); in telldir_0100()
50 if (offset1 == offset2) { in telldir_0100()
/third_party/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.c65 int32_t offset2, int32_t stride2) in create_buffer() argument
84 buffer->offset[2] = offset2; in create_buffer()
141 int32_t offset2, int32_t stride2) in drm_create_planar_buffer() argument
160 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_planar_buffer()
170 int32_t offset2, int32_t stride2) in drm_create_prime_buffer() argument
173 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_prime_buffer()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/testutils/
DTestUtils.java52 public static boolean equals(byte[] b1, int offset1, byte[] b2, int offset2, int length) { in equals() argument
54 if (b1[i + offset1] != b2[i + offset2]) { in equals()
209 int offset1, ReadableFontData rfd1, int offset2, ReadableFontData rfd2, int length) { in equals() argument
212 int b2 = rfd2.readByte(i + offset2); in equals()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DMtxWriter.java102 int offset2 = 10 + compressed1.length; in packMtx() local
103 int offset3 = offset2 + compressed2.length; in packMtx()
104 writeBE24(result, offset2, 4); in packMtx()
107 System.arraycopy(compressed2, 0, result, offset2, compressed2.length); in packMtx()
/third_party/elfutils/libcpu/defs/
Di386.doc62 5bit offset2
67 4bit offset2
72 1bit offset2
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dtest_utils.h46 int32_t offset2);
58 int32_t offset2,
/third_party/ffmpeg/libavcodec/
Dtruespeech.c46 int offset2[4]; ///< 7-bit value, encodes offsets for copying and for two-point filter member
98 dec->offset2[3] = get_bits(&gb, 7); in truespeech_read_frame()
99 dec->offset2[2] = get_bits(&gb, 7); in truespeech_read_frame()
100 dec->offset2[1] = get_bits(&gb, 7); in truespeech_read_frame()
101 dec->offset2[0] = get_bits(&gb, 7); in truespeech_read_frame()
174 t = dec->offset2[quart]; in truespeech_apply_twopoint_filter()
Ddvdsubdec.c231 int64_t offset1, offset2; in decode_dvd_subtitles() local
264 offset2 = -1; in decode_dvd_subtitles()
320 offset2 = AV_RB16(buf + pos + 2); in decode_dvd_subtitles()
321 ff_dlog(NULL, "offset1=0x%04"PRIx64" offset2=0x%04"PRIx64"\n", offset1, offset2); in decode_dvd_subtitles()
328 offset2 = AV_RB32(buf + pos + 4); in decode_dvd_subtitles()
329 ff_dlog(NULL, "offset1=0x%04"PRIx64" offset2=0x%04"PRIx64"\n", offset1, offset2); in decode_dvd_subtitles()
357 if (offset1 >= buf_size || offset2 >= buf_size) in decode_dvd_subtitles()
360 if (offset1 >= 0 && offset2 >= 0) { in decode_dvd_subtitles()
388 buf, offset2, buf_size, is_8bit) < 0) in decode_dvd_subtitles()
Ddvdsubenc.c257 int offset1, offset2; in encode_dvd_subtitles() local
363 offset2 = q - outbuf; in encode_dvd_subtitles()
405 bytestream_put_be16(&q, offset2); in encode_dvd_subtitles()
Dvp6.c589 int offset1, int offset2, ptrdiff_t stride, in vp6_filter() argument
613 if ((y8 && (offset2-offset1)*s->flip<0) || (!y8 && offset1 > offset2)) { in vp6_filter()
614 offset1 = offset2; in vp6_filter()
Dvc1dsp.h73 … const uint8_t *src2a, const uint8_t *src2b, int offset2,
/third_party/libffi/src/riscv/
Dffi.c76 char as_elements, type1, offset2, type2; member
123 ret.offset2 = FFI_ALIGN(fields[0]->size, fields[1]->alignment); in struct_passed_as_elements()
217 if (fsi.offset2) in marshal()
218 marshal_atom(cb, fsi.type2, ((char*)data) + fsi.offset2); in marshal()
263 if (fsi.offset2) in unmarshal()
264 unmarshal_atom(cb, fsi.type2, ((char*)data) + fsi.offset2); in unmarshal()
/third_party/typescript/src/testRunner/unittests/tsserver/
DtextStorage.ts47 const { line: line2, offset: offset2 } = ts2.positionToLineOffset(pos);
49 …assert.strictEqual(offset1, offset2, `positionToLineOffset ${pos}::offset:: expected ${offset1} to…
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DBufferTests.cpp286 size_t offset2 = 0; in TEST_P() local
287 MapAsyncAndWait(buffer, wgpu::MapMode::Write, offset2, sizeof(data2)); in TEST_P()
288 memcpy(buffer.GetMappedRange(offset2), &data2, sizeof(data2)); in TEST_P()
292 EXPECT_BUFFER_U32_EQ(data2, buffer, offset2); in TEST_P()
311 size_t offset2 = 0; in TEST_P() local
312 MapAsyncAndWait(buffer, wgpu::MapMode::Write, offset2, 12); in TEST_P()
313 memcpy(buffer.GetMappedRange(offset2), data2, 12); in TEST_P()
329 size_t offset2 = 0; in TEST_P() local
332 memcpy(buffer.GetMappedRange(offset2), &data2, sizeof(data2)); in TEST_P()
336 EXPECT_BUFFER_U32_EQ(data2, buffer, offset2); in TEST_P()
/third_party/python/Modules/
D_datetimemodule.c4411 PyObject *offset1, *offset2; in time_richcompare() local
4426 offset2 = time_utcoffset(other, NULL); in time_richcompare()
4427 if (offset2 == NULL) in time_richcompare()
4433 if ((offset1 == offset2) || in time_richcompare()
4434 (PyDelta_Check(offset1) && PyDelta_Check(offset2) && in time_richcompare()
4435 delta_cmp(offset1, offset2) == 0)) { in time_richcompare()
4442 else if (offset1 != Py_None && offset2 != Py_None) { in time_richcompare()
4444 assert(offset1 != offset2); /* else last "if" handled it */ in time_richcompare()
4453 GET_TD_DAYS(offset2) * 86400 - in time_richcompare()
4454 GET_TD_SECONDS(offset2); in time_richcompare()
[all …]
/third_party/skia/bench/
DImageFilterDAGBench.cpp150 auto offset2 = SkImageFilters::Offset(-100.0f, -100.0f, blur); in onDraw() local
152 SkImageFilters::Blend(SkBlendMode::kSrcIn, offset1, offset2, nullptr); in onDraw()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfwoff.c80 FT_ULong offset2 = table2->Offset; in compare_offsets() local
83 if ( offset1 > offset2 ) in compare_offsets()
85 else if ( offset1 < offset2 ) in compare_offsets()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPatternStringParser.java241 int offset2 = offset + Character.charCount(cp1); in peek2() local
242 if (offset2 == pattern.length()) { in peek2()
245 return pattern.codePointAt(offset2); in peek2()
/third_party/skia/third_party/externals/libwebp/src/demux/
Danim_decode.c406 const size_t offset2 = canvas_y * width + left2; in WebPAnimDecoderGetNext() local
407 blend_row((uint32_t*)dec->curr_frame_ + offset2, in WebPAnimDecoderGetNext()
408 (uint32_t*)dec->prev_frame_disposed_ + offset2, width2); in WebPAnimDecoderGetNext()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
DTimeZoneRegressionTest.java115 long offset2 = tz.getOffset(1, in Test4084933() local
140 if (offset1 != SToffset || offset2 != SToffset || in Test4084933()
1193 …int offset2 = johannesburg.getOffset(GregorianCalendar.AD,2007,Calendar.DECEMBER,12,Calendar.WEDNE… in TestJohannesburg() local
1195 if(offset2 != expectedOffset) { in TestJohannesburg()
1196 …errln("FAIL: zone " + j_id +" returned offset in December " + offset2 +", expected "+expectedOffse… in TestJohannesburg()
1198 logln("OK: zone " + j_id +" returned offset in December: " + offset2); in TestJohannesburg()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRegressionTest.java112 long offset2 = tz.getOffset(1, in Test4084933() local
137 if (offset1 != SToffset || offset2 != SToffset || in Test4084933()
1190 …int offset2 = johannesburg.getOffset(GregorianCalendar.AD,2007,Calendar.DECEMBER,12,Calendar.WEDNE… in TestJohannesburg() local
1192 if(offset2 != expectedOffset) { in TestJohannesburg()
1193 …errln("FAIL: zone " + j_id +" returned offset in December " + offset2 +", expected "+expectedOffse… in TestJohannesburg()
1195 logln("OK: zone " + j_id +" returned offset in December: " + offset2); in TestJohannesburg()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java207 int offset2 = r2.getRawOffset() + r2.getDSTSavings(); in setRawOffset() local
209 if (offset1 > offset2) { in setRawOffset()
212 sav = offset1 - offset2; in setRawOffset()
216 sav = offset2 - offset1; in setRawOffset()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DOlsonTimeZone.java209 int offset2 = r2.getRawOffset() + r2.getDSTSavings(); in setRawOffset() local
211 if (offset1 > offset2) { in setRawOffset()
214 sav = offset1 - offset2; in setRawOffset()
218 sav = offset2 - offset1; in setRawOffset()

12