Home
last modified time | relevance | path

Searched refs:ts1 (Results 1 – 25 of 34) sorted by relevance

12

/third_party/typescript/src/testRunner/unittests/tsserver/
DtextStorage.ts21 … const ts1 = new server.TextStorage(host, getDummyScriptInfo(server.asNormalizedPath(f.path))); constant
24 ts1.useScriptVersionCache_TestOnly();
34 const pos1 = ts1.lineOffsetToPosition(line + 1, offset + 1);
39 const {start: start1, length: length1 } = ts1.lineToTextSpan(line);
46 const { line: line1, offset: offset1 } = ts1.positionToLineOffset(pos);
56 … const ts1 = new server.TextStorage(host, getDummyScriptInfo(server.asNormalizedPath(f.path))); constant
58 ts1.getSnapshot();
59 … assert.isFalse(ts1.hasScriptVersionCache_TestOnly(), "should not have script version cache - 1");
61 ts1.edit(0, 5, " ");
62 assert.isTrue(ts1.hasScriptVersionCache_TestOnly(), "have script version cache - 1");
[all …]
/third_party/ltp/lib/newlib_tests/
Dtest_timer.c18 struct tst_ts ts1, ts2; in test_diff() local
21 ts1 = tst_ts_from_ms(type, VAL_MS); in test_diff()
24 diff = tst_ts_diff_ns(ts1, ts2); in test_diff()
31 diff = tst_ts_diff_ns(ts1, ts2); in test_diff()
38 diff = tst_ts_diff_ms(ts1, ts2); in test_diff()
48 struct tst_ts ts1, ts2; in test_lt() local
50 ts1 = tst_ts_from_ms(type, VAL_MS); in test_lt()
53 if (tst_ts_lt(ts1, ts2)) in test_lt()
58 ts1 = tst_ts_add_us(ts1, 1); in test_lt()
60 if (tst_ts_lt(ts1, ts2)) in test_lt()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DTestUtilities.java30 TreeSet ts1 = new TreeSet(); in TestCollectionUtilitySpeed() local
37 ts1.add(prefix + String.valueOf(i) + postfix); in TestCollectionUtilitySpeed()
41 CollectionUtilities.containsAll(ts1, ts2); in TestCollectionUtilitySpeed()
42 ts1.containsAll(ts2); in TestCollectionUtilitySpeed()
44 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed()
46 ts1.add("Able"); in TestCollectionUtilitySpeed()
47 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed()
48 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); in TestCollectionUtilitySpeed()
51 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare() argument
52 …double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iteratio… in timeAndCompare()
[all …]
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestUtilities.java27 TreeSet ts1 = new TreeSet(); in TestCollectionUtilitySpeed() local
34 ts1.add(prefix + String.valueOf(i) + postfix); in TestCollectionUtilitySpeed()
38 CollectionUtilities.containsAll(ts1, ts2); in TestCollectionUtilitySpeed()
39 ts1.containsAll(ts2); in TestCollectionUtilitySpeed()
41 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed()
43 ts1.add("Able"); in TestCollectionUtilitySpeed()
44 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed()
45 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); in TestCollectionUtilitySpeed()
48 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare() argument
49 …double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iteratio… in timeAndCompare()
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/
D3-1.c23 struct timespec ts1, ts2, ts3, ts4; in main() local
31 if (clock_gettime(CLOCK_MONOTONIC, &ts1) != 0) { in main()
54 if ((ts1.tv_sec <= ts2.tv_sec) && in main()
61 ts1.tv_sec, ts2.tv_sec, ts3.tv_sec, ts4.tv_sec); in main()
D4-1.c37 struct timespec ts1, ts2, ts3, ts4; in main()
44 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts1) != 0) { in main()
70 if ((ts1.tv_sec <= ts2.tv_sec) && in main()
77 ts1.tv_sec, ts2.tv_sec, ts3.tv_sec, ts4.tv_sec); in main()
/third_party/libffi/testsuite/libffi.call/
Dstruct5.c15 static test_structure_5 ABI_ATTR struct5(test_structure_5 ts1, test_structure_5 ts2) in struct5() argument
17 ts1.c1 += ts2.c1; in struct5()
18 ts1.c2 -= ts2.c2; in struct5()
20 return ts1; in struct5()
/third_party/ltp/include/
Dtst_timer.h784 static inline int tst_timespec_lt(struct timespec ts1, struct timespec ts2) in tst_timespec_lt() argument
786 return tst_ts_lt(tst_ts_from_timespec(ts1), tst_ts_from_timespec(ts2)); in tst_timespec_lt()
882 tst_timespec_add(struct timespec ts1, struct timespec ts2) in tst_timespec_add() argument
886 res = tst_ts_add(tst_ts_from_timespec(ts1), tst_ts_from_timespec(ts2)); in tst_timespec_add()
909 tst_timespec_diff(struct timespec ts1, struct timespec ts2) in tst_timespec_diff() argument
913 res = tst_ts_diff(tst_ts_from_timespec(ts1), tst_ts_from_timespec(ts2)); in tst_timespec_diff()
931 tst_timespec_diff_ns(struct timespec ts1, struct timespec ts2) in tst_timespec_diff_ns() argument
933 return tst_ts_diff_ns(tst_ts_from_timespec(ts1), tst_ts_from_timespec(ts2)); in tst_timespec_diff_ns()
949 tst_timespec_diff_us(struct timespec ts1, struct timespec ts2) in tst_timespec_diff_us() argument
951 return tst_ts_diff_us(tst_ts_from_timespec(ts1), tst_ts_from_timespec(ts2)); in tst_timespec_diff_us()
[all …]
/third_party/musl/libc-test/src/functionalext/common/
Dpthread_util.h75 static inline int GetTimeDiff(struct timespec ts1, struct timespec ts2) in GetTimeDiff() argument
78 int ms = (ts1.tv_sec - ts2.tv_sec) * nsecPerSec + (ts1.tv_nsec - ts2.tv_nsec); in GetTimeDiff()
/third_party/ffmpeg/libavformat/
Dsbgdec.c144 int64_t ts1, ts2; member
1026 int64_t ts1, int32_t f1, int32_t a1, in add_interval() argument
1037 ri->ts2 == ts1) { in add_interval()
1046 i->ts1 = ts1; in add_interval()
1059 int64_t ts1, int64_t ts2, int32_t f, int32_t a) in add_bell() argument
1073 int64_t dt = s->sample_rate / 20, ts3 = ts1, ts4; in add_bell()
1075 ts4 = FFMIN(ts2, ts1 + cpoints[i][0] * dt); in add_bell()
1088 int64_t ts1, int64_t ts2, in generate_interval() argument
1095 if (ts2 <= ts1 || (s1->vol == 0 && s2->vol == 0)) in generate_interval()
1103 ts1, s1->carrier, s1->vol, in generate_interval()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/
Dsys_clock_test.cpp191 timespec ts1; variable
192 int result = clock_gettime(CLOCK_MONOTONIC, &ts1);
198 auto start = std::chrono::seconds(ts1.tv_sec) + std::chrono::nanoseconds(ts1.tv_nsec);
/third_party/typescript/tests/baselines/reference/
DconstAssertions.js79 const ts1 = ff2('foo', 'bar');
174 const ts1 = ff2('foo', 'bar'); constant
303 declare const ts1: "foo-bar";
DconstAssertions.symbols291 const ts1 = ff2('foo', 'bar');
292 >ts1 : Symbol(ts1, Decl(constAssertions.ts, 77, 5))
DconstAssertions.errors.txt93 const ts1 = ff2('foo', 'bar');
DconstAssertions.types407 const ts1 = ff2('foo', 'bar');
408 >ts1 : "foo-bar"
/third_party/typescript/tests/cases/conformance/expressions/typeAssertions/
DconstAssertions.ts82 const ts1 = ff2('foo', 'bar'); constant
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dlevel.c551 GstClockTime ts1, dur1, ts2; in GST_START_TEST() local
572 gst_structure_get_clock_time (structure, "timestamp", &ts1); in GST_START_TEST()
581 fail_unless_equals_int64 (ts1 + dur1, ts2); in GST_START_TEST()
/third_party/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp1970 uint64_t ts1 = os_time_get(); in overlay_QueuePresentKHR() local
1971 swapchain_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_present_timing] += ts1 - ts0; in overlay_QueuePresentKHR()
2002 uint64_t ts1 = os_time_get(); in overlay_QueuePresentKHR() local
2003 swapchain_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_present_timing] += ts1 - ts0; in overlay_QueuePresentKHR()
2028 uint64_t ts1 = os_time_get(); in overlay_AcquireNextImageKHR() local
2030 swapchain_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_acquire_timing] += ts1 - ts0; in overlay_AcquireNextImageKHR()
2047 uint64_t ts1 = os_time_get(); in overlay_AcquireNextImage2KHR() local
2049 swapchain_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_acquire_timing] += ts1 - ts0; in overlay_AcquireNextImage2KHR()
/third_party/ffmpeg/libavcodec/
Ddca_lbr.c1176 LBRChunk ts1[DCA_LBR_CHANNELS / 2]; in ff_dca_lbr_parse() member
1351 chunk.ts1[i].len = chunk_len; in ff_dca_lbr_parse()
1352 chunk.ts1[i].data = gb.buffer; in ff_dca_lbr_parse()
1386 if (!chunk.grid1[i].len || !chunk.hr_grid[i].len || !chunk.ts1[i].len) in ff_dca_lbr_parse()
1389 if (parse_ts1_chunk(s, &chunk.ts1[i], ch1, ch2) < 0 || in ff_dca_lbr_parse()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dscalar_replacement_test.cpp1164 OpName %ts1 "ts1" in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dscalar_replacement_test.cpp1164 OpName %ts1 "ts1" in TEST_F()
/third_party/spirv-tools/test/opt/
Dscalar_replacement_test.cpp1177 OpName %ts1 "ts1" in TEST_F()
/third_party/selinux/libsepol/src/
Dmodule_to_cil.c918 struct type_set *ts1 = NULL, *ts2; in search_attr_list() local
921 ts1 = (struct type_set *)set; in search_attr_list()
930 if (ts1) { in search_attr_list()
932 if (ts1->flags != ts2->flags) in search_attr_list()
934 if (ebitmap_cmp(&ts1->negset, &ts2->negset) == 0) in search_attr_list()
936 if (ebitmap_cmp(&ts1->types, &ts2->types) == 0) in search_attr_list()
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_primitive_bounding_box.txt234 Modify subsection 7.1ts1 "Tessellation Control Special Variables" as added
242 Add the following paragraph to subsection 7.1ts1.2 "Tessellation Control
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_primitive_bounding_box.txt239 Modify subsection 7.1ts1 "Tessellation Control Special Variables" as added
247 Add the following paragraph to subsection 7.1ts1.2 "Tessellation Control

12