Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 25 of 886) sorted by relevance

12345678910>>...36

/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
39 time_zone::absolute_lookup al = tz.lookup(tp); \
60 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
62 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
63 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
64 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
65 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
106 const time_point<absl::time_internal::cctz::seconds> tp = in TEST() local
113 detail::format(kFmt, tp, detail::femtoseconds(123456789012345), utc)); in TEST()
116 detail::format(kFmt, tp, detail::femtoseconds(12345678901234), utc)); in TEST()
[all …]
Dtime_zone_lookup_test.cc643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
645 time_zone::absolute_lookup al = tz.lookup(tp); \
839 const auto tp = chrono::system_clock::from_time_t(0); in TEST() local
840 ExpectTime(tp, tz, 1970, 1, 1, 0, 0, 0, 0, false, "UTC"); in TEST()
841 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST()
846 const auto tp = in TEST() local
848 ExpectTime(tp, tz, 1969, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
849 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST()
855 const auto tp = chrono::system_clock::from_time_t(536457599); in TEST() local
856 ExpectTime(tp, tz, 1986, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
39 time_zone::absolute_lookup al = tz.lookup(tp); \
60 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
62 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
63 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
64 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
65 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
106 const time_point<absl::time_internal::cctz::seconds> tp = in TEST() local
113 detail::format(kFmt, tp, detail::femtoseconds(123456789012345), utc)); in TEST()
116 detail::format(kFmt, tp, detail::femtoseconds(12345678901234), utc)); in TEST()
[all …]
Dtime_zone_lookup_test.cc643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
645 time_zone::absolute_lookup al = tz.lookup(tp); \
839 const auto tp = chrono::system_clock::from_time_t(0); in TEST() local
840 ExpectTime(tp, tz, 1970, 1, 1, 0, 0, 0, 0, false, "UTC"); in TEST()
841 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST()
846 const auto tp = in TEST() local
848 ExpectTime(tp, tz, 1969, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
849 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST()
855 const auto tp = chrono::system_clock::from_time_t(536457599); in TEST() local
856 ExpectTime(tp, tz, 1986, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
39 time_zone::absolute_lookup al = tz.lookup(tp); \
60 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
62 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
63 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
64 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
65 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
106 const time_point<absl::time_internal::cctz::seconds> tp = in TEST() local
113 detail::format(kFmt, tp, detail::femtoseconds(123456789012345), utc)); in TEST()
116 detail::format(kFmt, tp, detail::femtoseconds(12345678901234), utc)); in TEST()
[all …]
Dtime_zone_lookup_test.cc643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
645 time_zone::absolute_lookup al = tz.lookup(tp); \
851 const auto tp = chrono::system_clock::from_time_t(0); in TEST() local
852 ExpectTime(tp, tz, 1970, 1, 1, 0, 0, 0, 0, false, "UTC"); in TEST()
853 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST()
858 const auto tp = in TEST() local
860 ExpectTime(tp, tz, 1969, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
861 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST()
867 const auto tp = chrono::system_clock::from_time_t(536457599); in TEST() local
868 ExpectTime(tp, tz, 1986, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
39 time_zone::absolute_lookup al = tz.lookup(tp); \
60 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
62 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
63 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
64 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
65 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
106 const time_point<absl::time_internal::cctz::seconds> tp = in TEST() local
113 detail::format(kFmt, tp, detail::femtoseconds(123456789012345), utc)); in TEST()
116 detail::format(kFmt, tp, detail::femtoseconds(12345678901234), utc)); in TEST()
[all …]
Dtime_zone_lookup_test.cc643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
645 time_zone::absolute_lookup al = tz.lookup(tp); \
839 const auto tp = chrono::system_clock::from_time_t(0); in TEST() local
840 ExpectTime(tp, tz, 1970, 1, 1, 0, 0, 0, 0, false, "UTC"); in TEST()
841 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST()
846 const auto tp = in TEST() local
848 ExpectTime(tp, tz, 1969, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
849 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST()
855 const auto tp = chrono::system_clock::from_time_t(536457599); in TEST() local
856 ExpectTime(tp, tz, 1986, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
39 time_zone::absolute_lookup al = tz.lookup(tp); \
60 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
62 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
63 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
64 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
65 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
106 const time_point<absl::time_internal::cctz::seconds> tp = in TEST() local
113 detail::format(kFmt, tp, detail::femtoseconds(123456789012345), utc)); in TEST()
116 detail::format(kFmt, tp, detail::femtoseconds(12345678901234), utc)); in TEST()
[all …]
Dtime_zone_lookup_test.cc642 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
644 time_zone::absolute_lookup al = tz.lookup(tp); \
838 const auto tp = chrono::system_clock::from_time_t(0); in TEST() local
839 ExpectTime(tp, tz, 1970, 1, 1, 0, 0, 0, 0, false, "UTC"); in TEST()
840 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST()
845 const auto tp = in TEST() local
847 ExpectTime(tp, tz, 1969, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
848 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST()
854 const auto tp = chrono::system_clock::from_time_t(536457599); in TEST() local
855 ExpectTime(tp, tz, 1986, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
[all …]
/external/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format_test.cc37 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
39 time_zone::absolute_lookup al = tz.lookup(tp); \
60 void TestFormatSpecifier(time_point<D> tp, time_zone tz, const std::string& fmt, in TestFormatSpecifier() argument
62 EXPECT_EQ(ans, format(fmt, tp, tz)) << fmt; in TestFormatSpecifier()
63 EXPECT_EQ("xxx " + ans, format("xxx " + fmt, tp, tz)); in TestFormatSpecifier()
64 EXPECT_EQ(ans + " yyy", format(fmt + " yyy", tp, tz)); in TestFormatSpecifier()
65 EXPECT_EQ("xxx " + ans + " yyy", format("xxx " + fmt + " yyy", tp, tz)); in TestFormatSpecifier()
106 const time_point<absl::time_internal::cctz::seconds> tp = in TEST() local
113 detail::format(kFmt, tp, detail::femtoseconds(123456789012345), utc)); in TEST()
116 detail::format(kFmt, tp, detail::femtoseconds(12345678901234), utc)); in TEST()
[all …]
Dtime_zone_lookup_test.cc642 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
644 time_zone::absolute_lookup al = tz.lookup(tp); \
838 const auto tp = chrono::system_clock::from_time_t(0); in TEST() local
839 ExpectTime(tp, tz, 1970, 1, 1, 0, 0, 0, 0, false, "UTC"); in TEST()
840 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST()
845 const auto tp = in TEST() local
847 ExpectTime(tp, tz, 1969, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
848 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST()
854 const auto tp = chrono::system_clock::from_time_t(536457599); in TEST() local
855 ExpectTime(tp, tz, 1986, 12, 31, 23, 59, 59, 0, false, "UTC"); in TEST()
[all …]
/external/tcpdump/
Daddrtoname.c343 struct enamemem *tp; in lookup_emem() local
349 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)]; in lookup_emem()
350 while (tp->e_nxt) in lookup_emem()
351 if (tp->e_addr0 == i && in lookup_emem()
352 tp->e_addr1 == j && in lookup_emem()
353 tp->e_addr2 == k) in lookup_emem()
354 return tp; in lookup_emem()
356 tp = tp->e_nxt; in lookup_emem()
357 tp->e_addr0 = i; in lookup_emem()
358 tp->e_addr1 = j; in lookup_emem()
[all …]
Dprint-dhcp6.c284 const u_char *tp; in dhcp6opt_print() local
316 tp = (const u_char *)(dh6o + 1); in dhcp6opt_print()
317 switch (EXTRACT_16BITS(tp)) { in dhcp6opt_print()
321 EXTRACT_16BITS(&tp[2]), in dhcp6opt_print()
322 EXTRACT_32BITS(&tp[4]))); in dhcp6opt_print()
324 ND_PRINT((ndo, "%02x", tp[i])); in dhcp6opt_print()
336 ND_PRINT((ndo, "%02x", tp[i])); in dhcp6opt_print()
347 EXTRACT_16BITS(&tp[2]))); in dhcp6opt_print()
349 ND_PRINT((ndo, "%02x", tp[i])); in dhcp6opt_print()
358 ND_PRINT((ndo, " type %d)", EXTRACT_16BITS(tp))); in dhcp6opt_print()
[all …]
/external/libwebsockets/lib/misc/threadpool/
Dthreadpool.c41 struct lws_threadpool *tp; member
64 struct lws_threadpool *tp; member
164 lws_threadpool_dump(struct lws_threadpool *tp) in lws_threadpool_dump() argument
171 pthread_mutex_lock(&tp->lock); /* ======================== tpool lock */ in lws_threadpool_dump()
174 tp->name, tp->queue_depth, tp->running_tasks, in lws_threadpool_dump()
175 tp->done_queue_depth); in lws_threadpool_dump()
178 c = &tp->task_queue_head; in lws_threadpool_dump()
188 if (count != tp->queue_depth) in lws_threadpool_dump()
190 __func__, tp->queue_depth, count); in lws_threadpool_dump()
193 for (n = 0; n < tp->threads_in_pool; n++) { in lws_threadpool_dump()
[all …]
/external/python/cffi/cffi/
Dvengine_cpy.py47 def _do_collect_type(self, tp): argument
48 if ((not isinstance(tp, model.PrimitiveType)
49 or tp.name == 'long double')
50 and tp not in self._typesdict):
52 self._typesdict[tp] = num
204 lst = [(key, tp) for (key, (tp, qual)) in
210 for name, tp in self._get_declarations():
219 method(tp, realname)
225 for name, tp in self._get_declarations():
229 method(tp, realname, module, **kwds)
[all …]
Drecompiler.py143 for tp in all_decls:
144 if tp.is_raw_function:
145 assert self._typesdict[tp] is None
146 self._typesdict[tp] = len(self.cffi_types)
147 self.cffi_types.append(tp) # placeholder
148 for tp1 in tp.args:
160 for tp in all_decls:
161 if not tp.is_raw_function and self._typesdict[tp] is None:
162 self._typesdict[tp] = len(self.cffi_types)
163 self.cffi_types.append(tp) # placeholder
[all …]
Dvengine_gen.py94 lst = [(key, tp) for (key, (tp, qual)) in
100 for name, tp in self._get_declarations():
109 method(tp, realname)
115 for name, tp in self._get_declarations():
119 method(tp, realname, module, **kwds)
124 def _generate_nothing(self, tp, name): argument
127 def _loaded_noop(self, tp, name, module, **kwds): argument
140 def _generate_gen_function_decl(self, tp, name): argument
141 assert isinstance(tp, model.FunctionPtrType)
142 if tp.ellipsis:
[all …]
/external/pdfium/third_party/libopenjpeg20/
Dthread.c579 opj_thread_pool_t *tp; member
619 static OPJ_BOOL opj_thread_pool_setup(opj_thread_pool_t* tp, int num_threads);
621 opj_thread_pool_t* tp,
627 opj_thread_pool_t* tp; in opj_thread_pool_create() local
629 tp = (opj_thread_pool_t*) opj_calloc(1, sizeof(opj_thread_pool_t)); in opj_thread_pool_create()
630 if (!tp) { in opj_thread_pool_create()
633 tp->state = OPJWTS_OK; in opj_thread_pool_create()
636 tp->tls = opj_tls_new(); in opj_thread_pool_create()
637 if (!tp->tls) { in opj_thread_pool_create()
638 opj_free(tp); in opj_thread_pool_create()
[all …]
/external/perfetto/src/tracing/core/
Dtrace_packet_unittest.cc33 TracePacket tp; in TEST() local
34 tp.AddSlice(ser_buf.data(), ser_buf.size()); in TEST()
35 auto slice = tp.slices().begin(); in TEST()
36 ASSERT_NE(tp.slices().end(), slice); in TEST()
39 ASSERT_EQ(tp.slices().end(), ++slice); in TEST()
42 ASSERT_TRUE(decoded_packet.ParseFromString(tp.GetRawBytesForTesting())); in TEST()
51 TracePacket tp; in TEST() local
52 tp.AddSlice({ser_buf.data(), 3}); in TEST()
53 tp.AddSlice({ser_buf.data() + 3, 5}); in TEST()
54 tp.AddSlice({ser_buf.data() + 3 + 5, ser_buf.size() - 3 - 5}); in TEST()
[all …]
/external/clang/test/Analysis/
Duninit-const.c26 int* tp = &t; // expected-note {{'tp' initialized here}} in f_1() local
27 …doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to unini… in f_1()
47 int* tp = p; // expected-note {{'tp' initialized here}} in f_2() local
48 …doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to uninit… in f_2()
64 int* tp = ta; // expected-note {{'tp' initialized here}} in f_5() local
65 …doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to unini… in f_5()
77 int* tp = ta; in f_6() local
78 doStuff_pointerToConstInt(tp); // no-warning in f_6()
150 int* tp = &t; // expected-note {{'tp' initialized here}} in f_variadic_unp_unv() local
151 …doStuff_variadic(tp,v); // expected-warning {{Function call argument is a pointer to uninitialize… in f_variadic_unp_unv()
[all …]
/external/curl/lib/
Dinet_pton.c97 unsigned char tmp[INADDRSZ], *tp; in inet_pton4() local
101 tp = tmp; in inet_pton4()
102 *tp = 0; in inet_pton4()
108 unsigned int val = *tp * 10 + (unsigned int)(pch - digits); in inet_pton4()
110 if(saw_digit && *tp == 0) in inet_pton4()
114 *tp = (unsigned char)val; in inet_pton4()
124 *++tp = 0; in inet_pton4()
155 unsigned char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local
160 memset((tp = tmp), 0, IN6ADDRSZ); in inet_pton6()
161 endp = tp + IN6ADDRSZ; in inet_pton6()
[all …]
/external/llvm-project/clang/test/Analysis/
Duninit-const.c32 int* tp = &t; // expected-note {{'tp' initialized here}} in f_1() local
33 …doStuff_pointerToConstInt(tp); // expected-warning {{1st function call argument is a pointer to u… in f_1()
56 int* tp = p; // expected-note {{'tp' initialized here}} in f_2() local
57 …doStuff_pointerToConstInt(tp); // expected-warning {{1st function call argument is a pointer to un… in f_2()
73 int* tp = ta; // expected-note {{'tp' initialized here}} in f_5() local
74 …doStuff_pointerToConstInt(tp); // expected-warning {{1st function call argument is a pointer to u… in f_5()
86 int* tp = ta; in f_6() local
87 doStuff_pointerToConstInt(tp); // no-warning in f_6()
185 int* tp = &t; // expected-note {{'tp' initialized here}} in f_variadic_unp_unv() local
186 …doStuff_variadic(tp,v); // expected-warning {{1st function call argument is a pointer to uninitia… in f_variadic_unp_unv()
[all …]
/external/mksh/src/
Dexec.c62 struct tbl *tp = NULL; in execute() local
130 tp = findcom(ap[0], FC_BI | FC_FUNC); in execute()
146 if (iosetup(*iowp, tp) < 0) { in execute()
152 if (tp && tp->type == CSHELL && in execute()
153 (tp->flag & SPEC_BI)) in execute()
162 rv = comexec(t, tp, (const char **)ap, flags, xerrok); in execute()
479 comexec(struct op *t, struct tbl * volatile tp, const char **ap, in comexec() argument
525 while (tp && tp->type == CSHELL) { in comexec()
528 if (tp->val.f == c_builtin) { in comexec()
531 tp = NULL; in comexec()
[all …]
/external/python/cpython3/Lib/test/
Dtest_memoryview.py29 def check_getitem_with_type(self, tp): argument
30 b = tp(self._source)
51 for tp in self._types:
52 self.check_getitem_with_type(tp)
55 for tp in self._types:
56 b = tp(self._source)
77 tp = self.rw_type
82 self._check_contents(tp, b, b"1bcdef")
83 m[0:1] = tp(b"0")
84 self._check_contents(tp, b, b"0bcdef")
[all …]

12345678910>>...36