/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/ |
1-1.c | 8 General test that clock_gettime() returns a non-empty tp for a given 17 struct timespec tp; local 19 //Initialize tp 20 tp.tv_sec = 0; 21 tp.tv_nsec = 0; 22 if (clock_gettime(CLOCK_REALTIME, &tp) == 0) { 23 if (0 != tp.tv_sec) { //assume this means time was sent 27 printf("clock_gettime() success, but tp not filled\n");
|
7-1.c | 17 struct timespec tp; local 19 if (clock_gettime(INVALIDCLOCK, &tp) == -1) {
|
8-1.c | 19 struct timespec tp; local 21 if (clock_gettime(INVALIDCLOCK, &tp) == -1) {
|
8-2.c | 35 struct timespec tp; local 40 if (clock_gettime(invalid_tests[i], &tp) == 0) {
|
/bionic/libc/upstream-netbsd/lib/libc/string/ |
memccpy.c | 52 unsigned char *tp = t; local 56 if ((*tp++ = *fp++) == uc) 57 return (tp);
|
/external/google-benchmark/cmake/ |
steady_clock.cpp | 5 Clock::time_point tp = Clock::now(); local 6 ((void)tp);
|
/external/libcxx/utils/google-benchmark/cmake/ |
steady_clock.cpp | 5 Clock::time_point tp = Clock::now(); local 6 ((void)tp);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/cmake/ |
steady_clock.cpp | 5 Clock::time_point tp = Clock::now(); local 6 ((void)tp);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/utilities/tuple/tuple.apply/ |
ref_qualifiers.pass.cpp | 39 constexpr std::tuple<> tp; 41 static_assert(1 == ex::apply(static_cast<func_obj const &>(f), tp), ""); 42 static_assert(2 == ex::apply(static_cast<func_obj const &&>(f), tp), ""); 47 std::tuple<> tp; local 48 assert(1 == ex::apply(static_cast<func_obj const &>(f), tp)); 49 assert(2 == ex::apply(static_cast<func_obj const &&>(f), tp)); 50 assert(3 == ex::apply(static_cast<func_obj &>(f), tp)); 51 assert(4 == ex::apply(static_cast<func_obj &&>(f), tp));
|
/system/core/toolbox/upstream-netbsd/lib/libc/string/ |
swab.c | 52 char *tp; local 62 tp = (char *)to; 63 #define STEP temp = *fp++,*tp++ = *fp++,*tp++ = temp
|
/cts/hostsidetests/theme/app/src/android/theme/app/modifiers/ |
DatePickerModifier.java | 30 DatePicker tp = (DatePicker) view; local 31 tp.updateDate(2011, 4, 20);
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
inet_neta.c | 97 char *tp;
local 106 tp = dst;
112 size -= (size_t)(dst - tp);
|
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/ |
address.pass.cpp | 22 T* tp = new T(); local 23 const T* ctp = tp; 25 assert(a.address(*tp) == tp); 26 assert(a.address(*ctp) == tp); 27 delete tp;
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
ThreadPoolExecutorTest.java | 29 ThreadPoolExecutor tp = new ThreadPoolExecutor( local 37 tp.setCorePoolSize(5); 38 tp.setMaximumPoolSize(5);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/default.allocator/allocator.members/ |
address.pass.cpp | 22 T* tp = new T(); local 23 const T* ctp = tp; 25 assert(a.address(*tp) == tp); 26 assert(a.address(*ctp) == tp); 27 delete tp;
|
/cts/tests/tests/text/src/android/text/style/cts/ |
ClickableSpanTest.java | 40 TextPaint tp = new TextPaint(); local 41 tp.linkColor = Color.RED; 42 tp.setUnderlineText(false); 43 assertFalse(tp.isUnderlineText()); 45 clickableSpan.updateDrawState(tp); 46 assertEquals(Color.RED, tp.getColor()); 47 assertTrue(tp.isUnderlineText()); 49 tp.linkColor = Color.BLUE; 50 clickableSpan.updateDrawState(tp); 51 assertEquals(Color.BLUE, tp.getColor()) [all...] |
MaskFilterSpanTest.java | 46 TextPaint tp = new TextPaint(); local 47 assertNull(tp.getMaskFilter()); 49 maskFilterSpan.updateDrawState(tp); 50 assertSame(mf, tp.getMaskFilter());
|
/external/icu/icu4c/source/tools/tzcode/ |
scheck.c | 15 register char * tp; local 27 tp = fbuf; 36 while ((*tp++ = c = *fp++) != '\0') { 41 char *t = tp; 47 tp = t; 50 *tp++ = '*'; 53 if ((*tp++ = *fp++) == '\0') 57 *(tp - 1) = '%'; 58 *tp++ = 'c'; 59 *tp = '\0' [all...] |
/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));
|
sched_rr_get_interval02.c | 78 struct timespec tp; variable in typeref:struct:timespec 93 tp.tv_sec = 99; 94 tp.tv_nsec = 99; 97 * write into the timespec structure pointed to by tp the 100 TEST(sched_rr_get_interval(0, &tp)); 102 if ((TEST_RETURN == 0) && (tp.tv_sec == 0) && (tp.tv_nsec == 0)) { 106 "returned %ld, errno = %d : %s, tp.tv_sec = %d," 107 " tp.tv_nsec = %ld", TEST_RETURN, TEST_ERRNO, 108 strerror(TEST_ERRNO), (int)tp.tv_sec [all...] |
/external/lzma/CPP/Windows/ |
MemoryLock.cpp | 49 TOKEN_PRIVILEGES tp;
local 50 if (MY_FUNC_SELECT(LookupPrivilegeValue)(NULL, privilegeName, &(tp.Privileges[0].Luid)))
52 tp.PrivilegeCount = 1;
53 tp.Privileges[0].Attributes = (enable ? SE_PRIVILEGE_ENABLED : 0);
54 if (MY_FUNC_SELECT(AdjustTokenPrivileges)(token, FALSE, &tp, 0, NULL, NULL))
|
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/ |
MessageFormatterPerfTest.java | 75 final FormattingTuple tp = MessageFormatter.format("This is some rather short message {} ", i1); local 76 tp.getMessage(); 77 tp.getArgArray(); 78 tp.getThrowable(); 89 final FormattingTuple tp = MessageFormatter.format("This is some {} short message {} ", i1, i2); local 90 tp.getMessage(); 91 tp.getArgArray(); 92 tp.getThrowable();
|
/external/syslinux/core/thread/ |
timeout.c | 17 struct thread_list *tp; local 24 for (tp = curr->list.next; tp != &curr->list; tp = tp->next) { 25 t = container_of(tp, struct thread, list);
|
/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);
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
inet_ntop.c | 104 char *tp, *ep; local 144 tp = tmp; 146 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { 151 if (tp + 1 >= ep) { 155 *tp++ = ':'; 161 if (tp + 1 >= ep) { 165 *tp++ = ':'; 170 if (!inet_ntop4(src+12, tp, ep - tp)) 172 tp += strlen(tp) [all...] |