Home
last modified time | relevance | path

Searched refs:st2 (Results 1 – 25 of 66) sorted by relevance

123

/third_party/musl/libc-test/src/functional/
Dmbc.c27 mbstate_t st, st2; in main() local
73 memset(&st2, 0, sizeof st2); in main()
74 T(mbrtowc(&wc, "\xc2", 1, &st2), -2, "failed to accept initial byte"); in main()
75 T(mbrtowc(&wc, "\x80", 1, &st2), 1, "failed to resume"); in main()
78 memset(&st2, 0, sizeof st2); in main()
79 T(mbrtowc(&wc, "\xc2", 1, &st2), -2, "failed to accept initial byte"); in main()
80 T(mbsrtowcs(wcs, (cs="\xa0""abc",&cs), 32, &st2), 4, "failed to resume"); in main()
/third_party/python/Lib/distutils/tests/
Dtest_file_util.py93 st2 = os.stat(self.source)
95 self.assertTrue(os.path.samestat(st, st2), (st, st2))
96 self.assertTrue(os.path.samestat(st2, st3), (st2, st3))
109 st2 = os.stat(self.source)
111 self.assertTrue(os.path.samestat(st, st2), (st, st2))
112 self.assertFalse(os.path.samestat(st2, st3), (st2, st3))
/third_party/python/Lib/test/
Dtest_parser.py27 st2 = parser.sequence2st(t)
31 self.assertEqual(t, st2.totuple(),
916 st2 = parser.suite('x = 2; y = x + 3')
924 self.assertEqual(st2 == st2, True)
928 self.assertEqual(st2, st2_copy)
930 self.assertEqual(st1 == st2, False)
932 self.assertEqual(st2 == st3, False)
934 self.assertEqual(st2 != st2, False)
937 self.assertEqual(st2 != st2_copy, False)
939 self.assertEqual(st2 != st1, True)
[all …]
Dtest_symtable.py164 st2 = st1.get_children()[0]
165 self.assertTrue(st2.lookup('x').is_local())
166 self.assertTrue(st2.lookup('x').is_annotated())
167 self.assertFalse(st2.lookup('x').is_global())
/third_party/musl/src/unistd/
Dttyname_r.c8 struct stat st1, st2; in ttyname_r() local
22 if (stat(name, &st1) || fstat(fd, &st2)) in ttyname_r()
24 if (st1.st_dev != st2.st_dev || st1.st_ino != st2.st_ino) in ttyname_r()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgststructure.c243 GstStructure *st1, *st2; in GST_START_TEST() local
250 st2 = gst_structure_from_string (str, NULL); in GST_START_TEST()
253 fail_unless (st2 != NULL); in GST_START_TEST()
254 fail_unless (gst_structure_is_equal (st1, st2), in GST_START_TEST()
256 "\n\tStructure 2: %" GST_PTR_FORMAT "\n", st1, st2); in GST_START_TEST()
259 gst_structure_free (st2); in GST_START_TEST()
268 st2 = gst_structure_from_string (str, NULL); in GST_START_TEST()
269 fail_unless (st2 != NULL); in GST_START_TEST()
272 fail_unless (gst_structure_is_equal (st1, st2), in GST_START_TEST()
274 "\n\tStructure 2: %" GST_PTR_FORMAT "\n", st1, st2); in GST_START_TEST()
[all …]
/third_party/toybox/toys/posix/
Dpwd.c30 struct stat st1, st2; in pwd_main() local
44 if (stat(pwd, &st1) || stat(PWD, &st2) || st1.st_ino != st2.st_ino || in pwd_main()
45 st1.st_dev != st2.st_dev) s = NULL; in pwd_main()
/third_party/musl/src/misc/
Drealpath.c14 struct stat st1, st2; in realpath() local
32 r = stat(tmp, &st2); in realpath()
33 if (r<0 || st1.st_dev != st2.st_dev || st1.st_ino != st2.st_ino) { in realpath()
/third_party/ffmpeg/libavcodec/aarch64/
Dmdct_neon.S63 st2 {v4.s,v5.s}[0], [x6]
64 st2 {v4.s,v5.s}[1], [x8]
67 st2 {v4.s,v5.s}[0], [x6]
68 st2 {v4.s,v5.s}[1], [x8]
113 st2 {v4.2s,v5.2s}, [x0], x7
114 st2 {v6.2s,v7.2s}, [x8], #16
119 st2 {v4.2s,v5.2s}, [x0]
120 st2 {v6.2s,v7.2s}, [x8]
242 st2 {v6.s,v7.s}[0], [x6]
243 st2 {v6.s,v7.s}[1], [x12]
[all …]
Dsbrdsp_neon.S82 st2 {v0.4S, v1.4S}, [x1], #32
85 st2 {v2.4S, v3.4S}, [x1], #32
90 st2 {v0.4S, v1.4S}, [x1], #32
91 st2 {v2.4S, v3.4S}, [x1], #32
109 st2 {v1.4S, v2.4S}, [x2], #32
118 st2 {v1.2S, v2.2S}, [x2], #16
119 st2 {v1.S, v2.S}[2], [x2]
133 st2 {v0.4S, v1.4S}, [x0], #32
/third_party/toybox/toys/other/
Dmountpoint.c34 struct stat st1, st2; in mountpoint_main() local
54 xstat(arg, &st2); in mountpoint_main()
61 toys.exitval = !(st1.st_dev != st2.st_dev || st1.st_ino == st2.st_ino); in mountpoint_main()
Dswitch_root.c47 struct stat st1, st2; in switch_root_main() local
62 if (chdir(newroot) || stat(".", &st1) || stat("/", &st2) || in switch_root_main()
63 st1.st_dev == st2.st_dev) in switch_root_main()
68 TT.rootdev=st2.st_dev; in switch_root_main()
/third_party/openssl/test/testutil/
Dtests.c252 int test_str_eq(const char *file, int line, const char *st1, const char *st2, in test_str_eq() argument
258 test_fail_string_message(NULL, file, line, "string", st1, st2, "==", in test_str_eq()
266 int test_str_ne(const char *file, int line, const char *st1, const char *st2, in test_str_ne() argument
272 test_fail_string_message(NULL, file, line, "string", st1, st2, "!=", in test_str_ne()
280 int test_strn_eq(const char *file, int line, const char *st1, const char *st2, in test_strn_eq() argument
286 test_fail_string_message(NULL, file, line, "string", st1, st2, "==", in test_strn_eq()
294 int test_strn_ne(const char *file, int line, const char *st1, const char *st2, in test_strn_ne() argument
300 test_fail_string_message(NULL, file, line, "string", st1, st2, "!=", in test_strn_ne()
308 int test_mem_eq(const char *file, int line, const char *st1, const char *st2, in test_mem_eq() argument
314 test_fail_memory_message(NULL, file, line, "memory", st1, st2, "==", in test_mem_eq()
[all …]
/third_party/boost/libs/type_index/examples/
Duser_defined_typeinfo.cpp39 st2 = my_type_index::type_id<my_struct>(), in main()
44 assert(st2 == st1); in main()
/third_party/ffmpeg/libswscale/aarch64/
Drgb2rgb_neon.S37 st2 {v0.16b, v1.16b}, [x2], #32
48 st2 {v0.8b, v1.8b}, [x2], #16
/third_party/e2fsprogs/contrib/android/
Dext2simg.c166 struct stat st1, st2; in same_file() local
173 if (lstat(out, &st2) == -1) in same_file()
175 return st1.st_ino == st2.st_ino; in same_file()
/third_party/ffmpeg/libavformat/
Davidec.c1774 static void seek_subtitle(AVStream *st, AVStream *st2, int64_t timestamp) in seek_subtitle() argument
1776 AVIStream *ast2 = st2->priv_data; in seek_subtitle()
1777 int64_t ts2 = av_rescale_q(timestamp, st->time_base, st2->time_base); in seek_subtitle()
1845 AVStream *st2 = s->streams[i]; in avi_read_seek() local
1846 AVIStream *ast2 = st2->priv_data; in avi_read_seek()
1852 seek_subtitle(st, st2, timestamp); in avi_read_seek()
1856 if (st2->nb_index_entries <= 0) in avi_read_seek()
1860 index = av_index_search_timestamp(st2, in avi_read_seek()
1863 st2->time_base) * in avi_read_seek()
1867 … (st2->codecpar->codec_type != AVMEDIA_TYPE_VIDEO ? AVSEEK_FLAG_ANY : 0)); in avi_read_seek()
[all …]
Drmdec.c509 AVStream *st2; in rm_read_multi() local
511 st2 = avformat_new_stream(s, NULL); in rm_read_multi()
512 if (!st2) { in rm_read_multi()
516 st2->id = st->id + (i<<16); in rm_read_multi()
517 st2->codecpar->bit_rate = st->codecpar->bit_rate; in rm_read_multi()
518 st2->start_time = st->start_time; in rm_read_multi()
519 st2->duration = st->duration; in rm_read_multi()
520 st2->codecpar->codec_type = AVMEDIA_TYPE_DATA; in rm_read_multi()
521 st2->priv_data = ff_rm_alloc_rmstream(); in rm_read_multi()
522 if (!st2->priv_data) in rm_read_multi()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducnv_ext.cpp1040 int32_t st1, stage1Length, st2, st3, minLength; in ucnv_extGetUnicodeSet() local
1076 st2=stage12[st1]; in ucnv_extGetUnicodeSet()
1077 if(st2>stage1Length) { in ucnv_extGetUnicodeSet()
1078 ps2=stage12+st2; in ucnv_extGetUnicodeSet()
1079 for(st2=0; st2<64; ++st2) { in ucnv_extGetUnicodeSet()
1080 if((st3=(int32_t)ps2[st2]<<UCNV_EXT_STAGE_2_LEFT_SHIFT)!=0) { in ucnv_extGetUnicodeSet()
/third_party/skia/third_party/externals/icu/source/common/
Ducnv_ext.cpp1040 int32_t st1, stage1Length, st2, st3, minLength; in ucnv_extGetUnicodeSet() local
1076 st2=stage12[st1]; in ucnv_extGetUnicodeSet()
1077 if(st2>stage1Length) { in ucnv_extGetUnicodeSet()
1078 ps2=stage12+st2; in ucnv_extGetUnicodeSet()
1079 for(st2=0; st2<64; ++st2) { in ucnv_extGetUnicodeSet()
1080 if((st3=(int32_t)ps2[st2]<<UCNV_EXT_STAGE_2_LEFT_SHIFT)!=0) { in ucnv_extGetUnicodeSet()
/third_party/node/deps/icu-small/source/common/
Ducnv_ext.cpp1040 int32_t st1, stage1Length, st2, st3, minLength; in ucnv_extGetUnicodeSet() local
1076 st2=stage12[st1]; in ucnv_extGetUnicodeSet()
1077 if(st2>stage1Length) { in ucnv_extGetUnicodeSet()
1078 ps2=stage12+st2; in ucnv_extGetUnicodeSet()
1079 for(st2=0; st2<64; ++st2) { in ucnv_extGetUnicodeSet()
1080 if((st3=(int32_t)ps2[st2]<<UCNV_EXT_STAGE_2_LEFT_SHIFT)!=0) { in ucnv_extGetUnicodeSet()
/third_party/icu/icu4c/source/common/
Ducnv_ext.cpp1040 int32_t st1, stage1Length, st2, st3, minLength; in ucnv_extGetUnicodeSet() local
1076 st2=stage12[st1]; in ucnv_extGetUnicodeSet()
1077 if(st2>stage1Length) { in ucnv_extGetUnicodeSet()
1078 ps2=stage12+st2; in ucnv_extGetUnicodeSet()
1079 for(st2=0; st2<64; ++st2) { in ucnv_extGetUnicodeSet()
1080 if((st3=(int32_t)ps2[st2]<<UCNV_EXT_STAGE_2_LEFT_SHIFT)!=0) { in ucnv_extGetUnicodeSet()
/third_party/cares/m4/
Dax_check_uts_namespace.m438 char st2[1024*1024];
44 child = clone(utsfn, st2 + 1024*1024, CLONE_NEWUTS|SIGCHLD, 0);
/third_party/node/deps/cares/m4/
Dax_check_uts_namespace.m438 char st2[1024*1024];
44 child = clone(utsfn, st2 + 1024*1024, CLONE_NEWUTS|SIGCHLD, 0);
/third_party/python/PC/icons/
Dpythonw.svg1st2{fill:#bfbfbf}.st3{fill:#fff}.st4{fill:url(#path1948_1_)}.st5{fill:url(#path1950_1_)}</style><p…

123