Home
last modified time | relevance | path

Searched refs:p_old (Results 1 – 12 of 12) sorted by relevance

/external/strace/tests/
Dxetitimer.c49 TAIL_ALLOC_OBJECT_CONST_PTR(struct itimerval, p_old); in main()
65 fill_memory(p_old, sizeof(*p_old)); in main()
66 if (getitimer(ITIMER_REAL, p_old)) in main()
71 (long long) p_old->it_interval.tv_sec, in main()
72 zero_extend_signed_to_ull(p_old->it_interval.tv_usec), in main()
73 (long long) p_old->it_value.tv_sec, in main()
74 zero_extend_signed_to_ull(p_old->it_value.tv_usec)); in main()
76 fill_memory(p_old, sizeof(*p_old)); in main()
77 setitimer(ITIMER_REAL, p_new, p_old); in main()
87 (long long) p_old->it_interval.tv_sec, in main()
[all …]
/external/strace/tests-mx32/
Dxetitimer.c49 TAIL_ALLOC_OBJECT_CONST_PTR(struct itimerval, p_old); in main()
65 fill_memory(p_old, sizeof(*p_old)); in main()
66 if (getitimer(ITIMER_REAL, p_old)) in main()
71 (long long) p_old->it_interval.tv_sec, in main()
72 zero_extend_signed_to_ull(p_old->it_interval.tv_usec), in main()
73 (long long) p_old->it_value.tv_sec, in main()
74 zero_extend_signed_to_ull(p_old->it_value.tv_usec)); in main()
76 fill_memory(p_old, sizeof(*p_old)); in main()
77 setitimer(ITIMER_REAL, p_new, p_old); in main()
87 (long long) p_old->it_interval.tv_sec, in main()
[all …]
/external/strace/tests-m32/
Dxetitimer.c49 TAIL_ALLOC_OBJECT_CONST_PTR(struct itimerval, p_old); in main()
65 fill_memory(p_old, sizeof(*p_old)); in main()
66 if (getitimer(ITIMER_REAL, p_old)) in main()
71 (long long) p_old->it_interval.tv_sec, in main()
72 zero_extend_signed_to_ull(p_old->it_interval.tv_usec), in main()
73 (long long) p_old->it_value.tv_sec, in main()
74 zero_extend_signed_to_ull(p_old->it_value.tv_usec)); in main()
76 fill_memory(p_old, sizeof(*p_old)); in main()
77 setitimer(ITIMER_REAL, p_new, p_old); in main()
87 (long long) p_old->it_interval.tv_sec, in main()
[all …]
/external/valgrind/drd/
Ddrd_malloc_wrappers.c178 static void* drd_realloc(ThreadId tid, void* p_old, SizeT new_size) in drd_realloc() argument
184 if (! p_old) in drd_realloc()
189 drd_free(tid, p_old); in drd_realloc()
197 mc = VG_(HT_lookup)(s_malloc_list, (UWord)p_old); in drd_realloc()
210 p_new = p_old; in drd_realloc()
218 p_new = p_old; in drd_realloc()
228 VG_(memcpy)(p_new, p_old, mc->size); in drd_realloc()
233 VG_(cli_free)(p_old); in drd_realloc()
234 VG_(HT_remove)(s_malloc_list, (UWord)p_old); in drd_realloc()
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DMINRES.h75 VectorType p_old(VectorType::Zero(N)); // initialize p_old=0 in minres()
76 VectorType p(p_old); // initialize p=0 in minres()
119 p_oold = p_old; in minres()
121 p_old = p; in minres()
122 p.noalias()=(w-r2*p_old-r3*p_oold) /r1; // IS NOALIAS REQUIRED? in minres()
/external/valgrind/exp-dhat/
Ddh_main.c538 void* renew_block ( ThreadId tid, void* p_old, SizeT new_req_szB ) in renew_block() argument
540 if (0) VG_(printf)("REALL %p %lu\n", p_old, new_req_szB); in renew_block()
546 Block* bk = find_Block_containing( (Addr)p_old ); in renew_block()
553 tl_assert(bk->payload <= (Addr)p_old); in renew_block()
554 tl_assert( (Addr)p_old < bk->payload + bk->req_szB ); in renew_block()
556 if (bk->payload != (Addr)p_old) { in renew_block()
574 return p_old; in renew_block()
585 tl_assert(p_new != p_old); in renew_block()
587 VG_(memcpy)(p_new, p_old, bk->req_szB); in renew_block()
588 VG_(cli_free)(p_old); in renew_block()
[all …]
/external/valgrind/exp-sgcheck/
Dh_main.c408 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size ) in h_replace_realloc() argument
413 seg = find_Seg_by_addr( (Addr)p_old ); in h_replace_realloc()
417 tl_assert(seg->addr == (Addr)p_old); in h_replace_realloc()
422 VG_(memcpy)((void*)p_new, p_old, new_size); in h_replace_realloc()
436 VG_(memcpy)((void*)p_new, p_old, seg->szB); in h_replace_realloc()
Dh_main.h67 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size );
/external/valgrind/memcheck/
Dmc_malloc_wrappers.c534 void* MC_(realloc) ( ThreadId tid, void* p_old, SizeT new_szB ) in MC_()
549 old_mc = VG_(HT_remove) ( MC_(malloc_list), (UWord)p_old ); in MC_()
551 MC_(record_free_error) ( tid, (Addr)p_old ); in MC_()
559 tl_assert((Addr)p_old == old_mc->data); in MC_()
595 MC_(copy_address_range_state) ( (Addr)p_old, a_new, new_szB ); in MC_()
596 VG_(memcpy)((void*)a_new, p_old, new_szB); in MC_()
602 MC_(copy_address_range_state) ( (Addr)p_old, a_new, old_szB ); in MC_()
603 VG_(memcpy)((void*)a_new, p_old, old_szB); in MC_()
629 VG_(memset)((void*)p_old, MC_(clo_free_fill), old_szB); in MC_()
/external/valgrind/massif/
Dms_main.c1245 void* realloc_block ( ThreadId tid, void* p_old, SizeT new_req_szB ) in realloc_block() argument
1254 hc = VG_(HT_remove)(malloc_list, (UWord)p_old); in realloc_block()
1284 p_new = p_old; in realloc_block()
1295 VG_(memcpy)(p_new, p_old, old_req_szB + old_slop_szB); in realloc_block()
1296 VG_(cli_free)(p_old); in realloc_block()
1411 static void* ms_realloc ( ThreadId tid, void* p_old, SizeT new_szB ) in ms_realloc() argument
1413 return realloc_block(tid, p_old, new_szB); in ms_realloc()
/external/freetype/src/autofit/
Dafcjk.c121 const char* p_old; in af_cjk_metrics_init_widths() local
129 p_old = p; in af_cjk_metrics_init_widths()
130 GET_UTF8_CHAR( ch, p_old ); in af_cjk_metrics_init_widths()
358 const char* p_old; in af_cjk_metrics_init_blues() local
367 p_old = p; in af_cjk_metrics_init_blues()
368 GET_UTF8_CHAR( ch, p_old ); in af_cjk_metrics_init_blues()
Daflatin.c117 const char* p_old; in af_latin_metrics_init_widths() local
125 p_old = p; in af_latin_metrics_init_widths()
126 GET_UTF8_CHAR( ch, p_old ); in af_latin_metrics_init_widths()
423 const char* p_old; in af_latin_metrics_init_blues() local
432 p_old = p; in af_latin_metrics_init_blues()
433 GET_UTF8_CHAR( ch, p_old ); in af_latin_metrics_init_blues()