/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/ |
chrono.cpp | 96 struct timespec tp; 97 if (0 != clock_gettime(CLOCK_REALTIME, &tp)) 99 return time_point(seconds(tp.tv_sec) + microseconds(tp.tv_nsec / 1000)); 136 struct timespec tp; variable in typeref:struct:chrono::timespec 137 if (0 != clock_gettime(CLOCK_UPTIME_RAW, &tp)) 139 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)); 223 struct timespec tp; variable in typeref:struct:chrono::timespec 224 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) [all...] |
/cts/tests/tests/text/src/android/text/style/cts/ |
StrikethroughSpanTest.java | 56 TextPaint tp = new TextPaint(); local 57 tp.setStrikeThruText(false); 58 assertFalse(tp.isStrikeThruText()); 60 strikethroughSpan.updateDrawState(tp); 61 assertTrue(tp.isStrikeThruText()); 98 final TextPaint tp = new TextPaint(); local 99 tp.setTextSize(100.0f); // Large enough so that the difference in kerning is visible. 102 text, 0, text.length(), tp, largeWidth).build();
|
MaskFilterSpanTest.java | 46 TextPaint tp = new TextPaint(); local 47 assertNull(tp.getMaskFilter()); 49 maskFilterSpan.updateDrawState(tp); 50 assertSame(mf, tp.getMaskFilter());
|
ForegroundColorSpanTest.java | 61 TextPaint tp = new TextPaint(); local 62 tp.setColor(0); 63 assertEquals(0, tp.getColor()); 64 foregroundColorSpan.updateDrawState(tp); 65 assertEquals(Color.CYAN, tp.getColor()); 68 foregroundColorSpan.updateDrawState(tp); 69 assertEquals(Color.DKGRAY, tp.getColor());
|
/external/llvm/utils/release/ |
findRegressions-nightly.py | 10 (tp, exp) = ('compileTime_', 'executeTime_') 53 test[fname][tp + n] = float(t[2].split(' ')[2]) 55 print test[fname][tp + n] 96 if d_old[t].has_key(tp + x): 97 if not d_new[t].has_key(tp + x): 98 print t + " *** REGRESSION (" + tp + x + ")\n" 101 if d_new[t].has_key(tp + x): 102 print t + " * NEW PASS (" + tp + x + ")\n"
|
/external/ltp/testcases/kernel/syscalls/sched_rr_get_interval/ |
sched_rr_get_interval01.c | 77 struct timespec tp; variable in typeref:struct:timespec 94 * write into the timespec structure pointed to by tp, the 97 TEST(sched_rr_get_interval(0, &tp));
|
/external/python/cpython3/Lib/test/ |
test_memoryview.py | 29 def check_getitem_with_type(self, tp): 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...] |
/libcore/luni/src/test/java/tests/security/spec/ |
ECFieldF2mTest.java | 131 ECFieldF2mDomainParams tp = intCtorTestParameters[i]; local 134 new ECFieldF2m(tp.m); 136 if (tp.x != null) { 142 if (tp.x == null || !e.getClass().isInstance(tp.x)) { 256 ECFieldF2mDomainParams tp = constructorTestParameters[i]; local 259 ECFieldF2m test = new ECFieldF2m(tp.m, tp.ks); 261 if (tp.x != null) { 267 if (tp.x == null || !e.getClass().isInstance(tp.x)) 295 ECFieldF2mDomainParams tp = constructorTestParameters[i]; local [all...] |
/external/libevent/ |
evutil_time.c | 245 struct timeval *tp) 247 return evutil_gettime_monotonic_(timer, tp); 304 struct timeval *tp) 309 if (evutil_gettimeofday(tp, NULL) < 0) 311 adjust_monotonic_time(base, tp); 317 tp->tv_sec = ts.tv_sec; 318 tp->tv_usec = ts.tv_nsec / 1000; 360 struct timeval *tp) 364 if (evutil_gettimeofday(tp, NULL) < 0) 366 adjust_monotonic_time(base, tp); [all...] |
/external/pdfium/third_party/libopenjpeg20/ |
thread.h | 220 * @param tp the thread pool handle. 225 OPJ_BOOL opj_thread_pool_submit_job(opj_thread_pool_t* tp, opj_job_fn job_fn, 234 * @param tp the thread pool handle 237 void opj_thread_pool_wait_completion(opj_thread_pool_t* tp, 242 * @param tp the thread pool handle. 245 int opj_thread_pool_get_thread_count(opj_thread_pool_t* tp); 248 * @param tp the thread pool handle. 250 void opj_thread_pool_destroy(opj_thread_pool_t* tp);
|
/system/security/keystore/ |
keystore_keymaster_enforcement.h | 34 struct timespec tp; variable in typeref:struct:keystore::KeystoreKeymasterEnforcement::timespec 35 int err = clock_gettime(CLOCK_MONOTONIC, &tp); 36 if (err || tp.tv_sec < 0) 38 return static_cast<uint32_t>(tp.tv_sec);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_macos.py | 25 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN)
26 self.assertEqual(tp, 'ABCD')
44 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN)
46 self.assertEqual(tp, 'EFGH')
51 tp = None
55 tp = ln.split()[-1][1:-1]
60 self.assertEqual(tp, 'EFGH')
|
test_tuple.py | 120 def check_track_dynamic(self, tp, always_track):
124 check(tp())
125 check(tp([]))
126 check(tp(set()))
127 check(tp([1, x, y]))
128 check(tp(obj for obj in [1, x, y]))
129 check(tp(set([1, x, y])))
130 check(tp(tuple([obj]) for obj in [1, x, y]))
131 check(tuple(tp([obj]) for obj in [1, x, y]))
133 self._tracked(tp([z])) [all...] |
/external/android-clat/ |
ring.c | 119 struct tpacket2_hdr *tp = ring->next; local 120 if (tp->tp_status & TP_STATUS_USER) { 121 uint8_t *packet = ((uint8_t *) tp) + tp->tp_net; 122 translate_packet(write_fd, to_ipv6, packet, tp->tp_len); 123 tp->tp_status = TP_STATUS_KERNEL; 124 tp = ring_advance(ring);
|
/external/python/cpython2/Lib/test/ |
test_macos.py | 23 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN) 24 self.assertEqual(tp, 'ABCD') 41 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN) 43 self.assertEqual(tp, 'EFGH') 48 tp = None 52 tp = ln.split()[-1][1:-1] 57 self.assertEqual(tp, 'EFGH')
|
test_tuple.py | 120 def check_track_dynamic(self, tp, always_track): 124 check(tp()) 125 check(tp([])) 126 check(tp(set())) 127 check(tp([1, x, y])) 128 check(tp(obj for obj in [1, x, y])) 129 check(tp(set([1, x, y]))) 130 check(tp(tuple([obj]) for obj in [1, x, y])) 131 check(tuple(tp([obj]) for obj in [1, x, y])) 133 self._tracked(tp([z]) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_macos.py | 25 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN) 26 self.assertEqual(tp, 'ABCD') 44 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN) 46 self.assertEqual(tp, 'EFGH') 51 tp = None 55 tp = ln.split()[-1][1:-1] 60 self.assertEqual(tp, 'EFGH')
|
test_tuple.py | 120 def check_track_dynamic(self, tp, always_track): 124 check(tp()) 125 check(tp([])) 126 check(tp(set())) 127 check(tp([1, x, y])) 128 check(tp(obj for obj in [1, x, y])) 129 check(tp(set([1, x, y]))) 130 check(tp(tuple([obj]) for obj in [1, x, y])) 131 check(tuple(tp([obj]) for obj in [1, x, y])) 133 self._tracked(tp([z]) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_macos.py | 25 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN) 26 self.assertEqual(tp, 'ABCD') 44 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN) 46 self.assertEqual(tp, 'EFGH') 51 tp = None 55 tp = ln.split()[-1][1:-1] 60 self.assertEqual(tp, 'EFGH')
|
test_tuple.py | 120 def check_track_dynamic(self, tp, always_track): 124 check(tp()) 125 check(tp([])) 126 check(tp(set())) 127 check(tp([1, x, y])) 128 check(tp(obj for obj in [1, x, y])) 129 check(tp(set([1, x, y]))) 130 check(tp(tuple([obj]) for obj in [1, x, y])) 131 check(tuple(tp([obj]) for obj in [1, x, y])) 133 self._tracked(tp([z]) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_macos.py | 25 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN) 26 self.assertEqual(tp, 'ABCD') 44 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN) 46 self.assertEqual(tp, 'EFGH') 51 tp = None 55 tp = ln.split()[-1][1:-1] 60 self.assertEqual(tp, 'EFGH')
|
test_tuple.py | 120 def check_track_dynamic(self, tp, always_track): 124 check(tp()) 125 check(tp([])) 126 check(tp(set())) 127 check(tp([1, x, y])) 128 check(tp(obj for obj in [1, x, y])) 129 check(tp(set([1, x, y]))) 130 check(tp(tuple([obj]) for obj in [1, x, y])) 131 check(tuple(tp([obj]) for obj in [1, x, y])) 133 self._tracked(tp([z]) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_macos.py | 25 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN) 26 self.assertEqual(tp, 'ABCD') 44 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN) 46 self.assertEqual(tp, 'EFGH') 51 tp = None 55 tp = ln.split()[-1][1:-1] 60 self.assertEqual(tp, 'EFGH')
|
test_tuple.py | 120 def check_track_dynamic(self, tp, always_track): 124 check(tp()) 125 check(tp([])) 126 check(tp(set())) 127 check(tp([1, x, y])) 128 check(tp(obj for obj in [1, x, y])) 129 check(tp(set([1, x, y]))) 130 check(tp(tuple([obj]) for obj in [1, x, y])) 131 check(tuple(tp([obj]) for obj in [1, x, y])) 133 self._tracked(tp([z]) [all...] |
/external/one-true-awk/ |
tran.c | 145 Cell **tp; local 148 tp = (Cell **) calloc(n, sizeof(Cell *)); 149 if (ap == NULL || tp == NULL) 153 ap->tab = tp; 160 Array *tp; local 165 tp = (Array *) ap->sval; 166 if (tp == NULL) 168 for (i = 0; i < tp->size; i++) { 169 for (cp = tp->tab[i]; cp != NULL; cp = temp) { 175 tp->nelem-- 187 Array *tp; local [all...] |