/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/ |
H A D | 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;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/ |
H A D | 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");
|
H A D | 7-1.c | 17 struct timespec tp; local 19 if (clock_gettime(INVALIDCLOCK, &tp) == -1) {
|
/external/google-benchmark/cmake/ |
H A D | steady_clock.cpp | 5 Clock::time_point tp = Clock::now(); local 6 ((void)tp);
|
/external/libcxx/utils/google-benchmark/cmake/ |
H A D | steady_clock.cpp | 5 Clock::time_point tp = Clock::now(); local 6 ((void)tp);
|
/external/icu/icu4c/source/tools/tzcode/ |
H A D | 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 [all...] |
/external/strace/tests/ |
H A D | sched_rr_get_interval.c | 14 struct timespec *const tp = tail_alloc(sizeof(struct timespec)); local 20 rc = syscall(__NR_sched_rr_get_interval, 0, tp + 1); 21 printf("sched_rr_get_interval(0, %p) = %s\n", tp + 1, sprintrc(rc)); 23 rc = syscall(__NR_sched_rr_get_interval, -1, tp); 24 printf("sched_rr_get_interval(-1, %p) = %s\n", tp, sprintrc(rc)); 26 rc = syscall(__NR_sched_rr_get_interval, 0, tp); 29 "0\n", (intmax_t)tp->tv_sec, (intmax_t)tp->tv_nsec); 31 printf("sched_rr_get_interval(-1, %p) = %s\n", tp,
|
/external/strace/tests-m32/ |
H A D | sched_rr_get_interval.c | 14 struct timespec *const tp = tail_alloc(sizeof(struct timespec)); local 20 rc = syscall(__NR_sched_rr_get_interval, 0, tp + 1); 21 printf("sched_rr_get_interval(0, %p) = %s\n", tp + 1, sprintrc(rc)); 23 rc = syscall(__NR_sched_rr_get_interval, -1, tp); 24 printf("sched_rr_get_interval(-1, %p) = %s\n", tp, sprintrc(rc)); 26 rc = syscall(__NR_sched_rr_get_interval, 0, tp); 29 "0\n", (intmax_t)tp->tv_sec, (intmax_t)tp->tv_nsec); 31 printf("sched_rr_get_interval(-1, %p) = %s\n", tp,
|
/external/strace/tests-mx32/ |
H A D | sched_rr_get_interval.c | 14 struct timespec *const tp = tail_alloc(sizeof(struct timespec)); local 20 rc = syscall(__NR_sched_rr_get_interval, 0, tp + 1); 21 printf("sched_rr_get_interval(0, %p) = %s\n", tp + 1, sprintrc(rc)); 23 rc = syscall(__NR_sched_rr_get_interval, -1, tp); 24 printf("sched_rr_get_interval(-1, %p) = %s\n", tp, sprintrc(rc)); 26 rc = syscall(__NR_sched_rr_get_interval, 0, tp); 29 "0\n", (intmax_t)tp->tv_sec, (intmax_t)tp->tv_nsec); 31 printf("sched_rr_get_interval(-1, %p) = %s\n", tp,
|
/external/clang/test/Analysis/ |
H A D | uninit-const.c | 26 int* tp = &t; // expected-note {{'tp' initialized here}} local 27 doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to uninitialized value}} 47 int* tp = p; // expected-note {{'tp' initialized here}} local 48 doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to uninitialized value}} 64 int* tp = ta; // expected-note {{'tp' initialized here}} local 65 doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to uninitialized value}} 77 int* tp local 150 int* tp = &t; // expected-note {{'tp' initialized here}} local 158 int* tp = &t; // expected-note {{'tp' initialized here}} local 167 int* tp = &t; local 176 int* tp = &t; local 185 int *tp = &t; local 194 int *tp = &t; // expected-note {{'tp' initialized here}} local 204 int *tp = &t; local 213 int *tp = &t; // expected-note {{'tp' initialized here}} local [all...] |
/external/curl/lib/ |
H A D | inet_pton.c | 97 unsigned char tmp[INADDRSZ], *tp; local 101 tp = tmp; 102 *tp = 0; 107 unsigned int val = *tp * 10 + (unsigned int)(pch - digits); 109 if(saw_digit && *tp == 0) 113 *tp = (unsigned char)val; 123 *++tp = 0; 154 unsigned char tmp[IN6ADDRSZ], *tp, *endp, *colonp; local 159 memset((tp = tmp), 0, IN6ADDRSZ); 160 endp = tp [all...] |
/external/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.addressof/ |
H A D | addressof.pass.cpp | 37 A* tp = new A; local 38 const A* ctp = tp; 39 assert(std::addressof(*tp) == tp); 40 assert(std::addressof(*ctp) == tp); 41 delete tp;
|
/external/kernel-headers/original/uapi/linux/ |
H A D | atmsvc.h | 51 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : \ 52 (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : \ 53 (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)
|
/external/ltp/testcases/kernel/syscalls/sched_rr_get_interval/ |
H A D | 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 [all...] |
/external/ltp/testcases/kernel/syscalls/settimeofday/ |
H A D | settimeofday01.c | 71 struct timeval tp, tp1, tp2; variable in typeref:struct:timeval 92 gettimeofday(&tp, NULL); 93 tp.tv_sec += VAL_SEC; 94 tp.tv_usec += VAL_MSEC; 96 TEST(settimeofday(&tp, NULL)); 106 if (tp2.tv_sec > tp.tv_sec) { 108 (suseconds_t) (tp2.tv_sec - tp.tv_sec) * 1000 + 109 (tp2.tv_usec - tp.tv_usec) / 1000; 112 (suseconds_t) (tp.tv_sec - tp2.tv_sec) * 1000 + 113 (tp [all...] |
/external/linux-kselftest/android/include/sys/ |
H A D | timeb.h | 13 static inline int ftime(struct timeb *tp) { argument 21 tp->time = ts.tv_sec; 22 tp->millitm = ts.tv_nsec / ONE_MS_IN_NS;
|
/external/ltp/android/include/sys/ |
H A D | timeb.h | 13 static inline int ftime(struct timeb *tp) { argument 21 tp->time = ts.tv_sec; 22 tp->millitm = ts.tv_nsec / ONE_MS_IN_NS;
|
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/ |
H A D | 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));
|
/external/tcpdump/ |
H A D | addrtoname.c | 326 struct enamemem *tp; local 332 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)]; 333 while (tp->e_nxt) 334 if (tp->e_addr0 == i && 335 tp->e_addr1 == j && 336 tp->e_addr2 == k) 337 return tp; 339 tp = tp->e_nxt; 340 tp 358 struct enamemem *tp; local 405 struct enamemem *tp; local 447 struct protoidmem *tp; local 474 register struct enamemem *tp; local 522 register struct enamemem *tp; local 549 register struct enamemem *tp; local 582 register struct hnamemem *tp; local 609 register struct protoidmem *tp; local 637 register struct enamemem *tp; local 665 register struct hnamemem *tp; local 684 register struct hnamemem *tp; local 704 register struct hnamemem *tp; local 805 register struct protoidmem *tp; local 856 register struct enamemem *tp; local 1162 register struct hnamemem *tp; local [all...] |
H A D | print-dhcp6.c | 280 const u_char *tp; local 311 tp = (u_char *)(dh6o + 1); 312 switch (EXTRACT_16BITS(tp)) { 316 EXTRACT_16BITS(&tp[2]), 317 EXTRACT_32BITS(&tp[4]))); 319 ND_PRINT((ndo, "%02x", tp[i])); 331 ND_PRINT((ndo, "%02x", tp[i])); 342 EXTRACT_16BITS(&tp[2]))); 344 ND_PRINT((ndo, "%02x", tp[i])); 353 ND_PRINT((ndo, " type %d)", EXTRACT_16BITS(tp))); [all...] |
/external/blktrace/btt/ |
H A D | mmap.c | 50 struct blk_io_trace *tp, 57 memcpy(tp, t, sizeof(*tp)); 59 tp->magic = be32_to_cpu(t->magic); 60 tp->sequence = be32_to_cpu(t->sequence); 61 tp->time = be64_to_cpu(t->time); 62 tp->sector = be64_to_cpu(t->sector); 63 tp->bytes = be32_to_cpu(t->bytes); 64 tp->action = be32_to_cpu(t->action); 65 tp 49 convert_to_cpu(struct blk_io_trace *t, struct blk_io_trace *tp, void **pdu) argument [all...] |
/external/syslinux/gpxe/src/drivers/net/ |
H A D | tg3.c | 42 /* (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5705 ? \ 149 static void tg3_disable_ints(struct tg3 *tp) argument 152 (tp->misc_host_ctrl | MISC_HOST_CTRL_MASK_PCI_INT)); 156 static void tg3_switch_clocks(struct tg3 *tp) argument 164 tp->pci_clock_ctrl = clock_ctrl; 166 if ((GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5705) && 167 (!((GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5750) 168 && (tp->tg3_flags & TG3_FLAG_ENABLE_ASF))) && 180 static int tg3_readphy(struct tg3 *tp, int reg, uint32_t *val) argument 185 tw32_carefully(MAC_MI_MODE, tp 220 tg3_writephy(struct tg3 *tp, int reg, uint32_t val) argument 256 tg3_writedsp(struct tg3 *tp, uint16_t addr, uint16_t val) argument 265 tg3_phy_set_wirespeed(struct tg3 *tp) argument 277 tg3_bmcr_reset(struct tg3 *tp) argument 308 tg3_wait_macro_done(struct tg3 *tp) argument 325 tg3_phy_write_and_check_testpat(struct tg3 *tp, int *resetp) argument 391 tg3_phy_reset_chanpat(struct tg3 *tp) argument 411 tg3_phy_reset_5703_4_5(struct tg3 *tp) argument 477 tg3_phy_reset(struct tg3 *tp) argument 514 tg3_set_power_state_0(struct tg3 *tp) argument 538 tg3_link_report(struct tg3 *tp) argument 559 tg3_setup_flow_control(struct tg3 *tp, uint32_t local_adv, uint32_t remote_adv) argument 618 tg3_phy_copper_begin(struct tg3 *tp) argument 673 tg3_init_5401phy_dsp(struct tg3 *tp) argument 691 tg3_setup_copper_phy(struct tg3 *tp) argument 972 tg3_fiber_aneg_smachine(struct tg3 *tp, struct tg3_fiber_aneginfo *ap) argument 1216 tg3_setup_fiber_phy(struct tg3 *tp) argument 1401 tg3_setup_phy(struct tg3 *tp) argument 1432 tg3_stop_block(struct tg3 *tp, unsigned long ofs, uint32_t enable_bit) argument 1474 tg3_abort_hw(struct tg3 *tp) argument 1541 tg3_chip_reset(struct tg3 *tp) argument 1634 tg3_stop_fw(struct tg3 *tp) argument 1654 tg3_restart_fw(struct tg3 *tp, uint32_t state) argument 1689 tg3_halt(struct tg3 *tp) argument 1697 __tg3_set_mac_addr(struct tg3 *tp) argument 1731 tg3_set_bdinfo(struct tg3 *tp, uint32_t bdinfo_addr, dma_addr_t mapping, uint32_t maxlen_flags, uint32_t nic_addr) argument 1750 tg3_init_rings(struct tg3 *tp) argument 1802 tg3_setup_hw(struct tg3 *tp) argument 2294 tg3_nvram_init(struct tg3 *tp) argument 2362 tg3_nvram_read(struct tg3 *tp, uint32_t offset, uint32_t *val) argument 2458 tg3_phy_probe(struct tg3 *tp) argument 2640 tg3_read_partno(struct tg3 *tp) argument 2704 tg3_get_invariants(struct tg3 *tp) argument 2907 tg3_get_device_address(struct tg3 *tp) argument 2956 tg3_setup_dma(struct tg3 *tp) argument 3015 tg3_init_link_config(struct tg3 *tp) argument 3029 tg3_phy_string(struct tg3 *tp) argument 3052 tg3_poll_link(struct tg3 *tp) argument 3077 tg3_ack_irqs(struct tg3 *tp) argument 3104 struct tg3 *tp = &tg3; local 3169 struct tg3 *tp; local 3220 struct tg3 *tp = &tg3; local 3266 struct tg3 *tp = &tg3; local [all...] |
H A D | sis190.c | 117 struct sis190_private *tp = netdev_priv(dev); local 119 mdio_write(tp->mmio_addr, phy_id, reg, val); 124 struct sis190_private *tp = netdev_priv(dev); local 126 return mdio_read(tp->mmio_addr, phy_id, reg); 221 static u32 sis190_rx_fill(struct sis190_private *tp, u32 start, u32 end) argument 228 if (tp->Rx_iobuf[i]) 231 tp->Rx_iobuf[i] = sis190_alloc_rx_iob(tp->RxDescRing + i); 233 if (!tp->Rx_iobuf[i]) 249 static int sis190_process_rx(struct sis190_private *tp) argument 312 sis190_process_tx(struct sis190_private *tp) argument 353 struct sis190_private *tp = netdev_priv(dev); local 377 sis190_init_ring_indexes(struct sis190_private *tp) argument 384 struct sis190_private *tp = netdev_priv(dev); local 405 struct sis190_private *tp = netdev_priv(dev); local 429 struct sis190_private *tp = netdev_priv(dev); local 455 sis190_phy_task(struct sis190_private *tp) argument 558 struct sis190_private *tp = netdev_priv(dev); local 597 struct sis190_private *tp = netdev_priv(dev); local 607 struct sis190_private *tp = netdev_priv(dev); local 640 struct sis190_private *tp = netdev_priv(dev); local 696 sis190_default_phy(struct sis190_private *tp) argument 749 sis190_init_phy(struct sis190_private *tp, struct sis190_phy *phy, unsigned int phy_id, u16 mii_status) argument 785 sis190_mii_probe_88e1111_fixup(struct sis190_private *tp) argument 814 struct sis190_private *tp = netdev_priv(dev); local 868 struct sis190_private *tp = netdev_priv(dev); local 875 struct sis190_private *tp; local 918 sis190_set_rgmii(struct sis190_private *tp, u8 reg) argument 926 struct sis190_private *tp = netdev_priv(dev); local 965 struct sis190_private *tp = netdev_priv(dev); local 1028 struct sis190_private *tp = netdev_priv(dev); local 1067 struct sis190_private *tp = netdev_priv(dev); local 1092 struct sis190_private *tp = netdev_priv(dev); local 1116 struct sis190_private *tp; local 1159 struct sis190_private *tp = dev->priv; local [all...] |
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/ |
H A D | pitest-6.c | 65 } tp[] = { variable in typeref:struct:thread_param 95 struct thread_param *tp = param; local 98 unsigned long mask = 1 << tp->cpu; 104 "%d %s", tp->name, tp->index, rc, strerror(rc)); 108 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority); 109 DPRINTF(stderr, "Thread %s index %d: started\n", tp->name, tp->index); 111 seconds_read() - base_time, tp->name); 113 tp 135 struct thread_param *tp = param; local [all...] |
/external/syslinux/core/thread/ |
H A D | 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);
|