Searched defs:new (Results 1 - 25 of 468) sorted by relevance

1234567891011>>

/freebsd-head/lib/libc/mips/gen/hardfloat/
H A Dfpsetmask.c27 fp_except_t new; local
31 new = old;
32 new &= ~(0x1f << 7);
33 new |= ((mask & 0x1f) << 7);
35 __asm("ctc1 %0,$31" : : "r" (new));
H A Dfpsetround.c26 fp_rnd_t new; local
30 new = old;
31 new &= ~0x03;
32 new |= (rnd_dir & 0x03);
34 __asm("ctc1 %0,$31" : : "r" (new));
H A Dfpsetsticky.c27 fp_except new; local
31 new = old;
32 new &= ~(0x1f << 2);
33 new |= ((sticky & 0x1f) << 2);
35 __asm("ctc1 %0,$31" : : "r" (new));
/freebsd-head/lib/libc/arm/gen/
H A Dfpsetround_vfp.c41 uint32_t old, new; local
44 new = old & ~(3 << 22);
45 new |= rnd_dir << 22;
46 __asm __volatile("vmsr fpscr, %0" : : "r"(new));
H A Dfpsetsticky_vfp.c43 fp_except old, new; local
46 new = old & ~(FP_X_MASK);
47 new &= ~except;
48 __asm __volatile("vmsr fpscr, %0" : : "r"(new));
H A Dfpsetmask_vfp.c43 fp_except old, new; local
47 new = (old & ~(FP_X_MASK << 8)) | mask;
48 __asm __volatile("vmsr fpscr, %0" : : "r"(new));
/freebsd-head/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_cpp.cpp26 INTERFACE WEAK void *operator new(size_t size) {
29 INTERFACE WEAK void *operator new[](size_t size) {
32 INTERFACE WEAK void *operator new(size_t size,
36 INTERFACE WEAK void *operator new[](size_t size,
40 INTERFACE WEAK void *operator new(size_t size, std::align_val_t align) {
44 INTERFACE WEAK void *operator new[](size_t size, std::align_val_t align) {
48 INTERFACE WEAK void *operator new(size_t size, std::align_val_t align,
53 INTERFACE WEAK void *operator new[](size_t size, std::align_val_t align,
/freebsd-head/contrib/ldns/compat/
H A Dcalloc.c17 void *new = malloc(num * size); local
18 if (!new) {
21 bzero(new, num * size);
22 return new;
/freebsd-head/lib/libc/aarch64/gen/
H A Dfpsetmask.c41 uint64_t old, new; local
47 new = old & ~FP_X_MASK;
48 new |= mask;
49 __asm __volatile("msr fpcr, %0" :: "r"(new));
/freebsd-head/contrib/tcpdump/
H A Dsetsignal.c72 struct sigaction old, new; local
74 memset(&new, 0, sizeof(new));
75 new.sa_handler = func;
77 new.sa_flags = SA_RESTART;
78 if (sigaction(sig, &new, &old) < 0)
/freebsd-head/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_placement_new.h12 // The file provides 'placement new'.
20 inline void *operator new(__sanitizer::operator_new_size_type sz, void *p) {
/freebsd-head/lib/libc/gen/
H A Dualarm.c49 struct itimerval new, old; local
51 new.it_interval.tv_usec = reload % USPS;
52 new.it_interval.tv_sec = reload / USPS;
54 new.it_value.tv_usec = usecs % USPS;
55 new.it_value.tv_sec = usecs / USPS;
57 if (setitimer(ITIMER_REAL, &new, &old) == 0)
/freebsd-head/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_new_delete.cpp11 // Interceptors for operators new and delete.
25 // Fake std::nothrow_t to avoid including <new>.
39 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
41 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
43 void *operator new(size_t size, std::nothrow_t const&) {
47 void *operator new[](size_t size, std::nothrow_t const&) {
/freebsd-head/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_list.c43 dt_list_append(dt_list_t *dlp, void *new) argument
46 dt_list_t *q = new; /* q = new list element */
62 dt_list_prepend(dt_list_t *dlp, void *new) argument
64 dt_list_t *p = new; /* p = new list element */
81 dt_list_insert(dt_list_t *dlp, void *after_me, void *new) argument
84 dt_list_t *q = new;
87 dt_list_append(dlp, new);
/freebsd-head/contrib/nvi/ex/
H A Dex_edit.c111 SCR *new; local
113 /* Get a new screen. */
114 if (screen_init(sp->gp, sp, &new))
116 if ((cmdp->cmd == &cmds[C_VSPLIT] && vs_vsplit(sp, new)) ||
117 (cmdp->cmd != &cmds[C_VSPLIT] && vs_split(sp, new, 0))) {
118 (void)screen_end(new);
125 new->ep = sp->ep;
126 ++new->ep->refcnt;
128 new->frp = frp;
129 new
[all...]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_new_delete.cpp11 // Interceptors for operators new and delete.
25 // Fake std::nothrow_t and std::align_val_t to avoid including <new>.
45 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
47 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
49 void *operator new(size_t size, std::nothrow_t const&) {
53 void *operator new[](size_t size, std::nothrow_t const&) {
57 void *operator new(size_t size, std::align_val_t align)
60 void *operator new[](size_t size, std::align_val_t align)
63 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&)
66 void *operator new[](size_
[all...]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_new_delete.cpp9 /// Interceptors for operators new and delete.
24 // Fake std::nothrow_t to avoid including <new>.
39 void *operator new(size_t size)
42 void *operator new[](size_t size)
45 void *operator new(size_t size, std::nothrow_t const&)
48 void *operator new[](size_t size, std::nothrow_t const&)
51 void *operator new(size_t size, std::align_val_t align)
54 void *operator new[](size_t size, std::align_val_t align)
57 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&)
60 void *operator new[](size_
[all...]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_new_delete.cpp11 // Interceptors for operators new and delete.
32 COMMENT_EXPORT("??2@YAPEAX_K@Z") // operator new
33 COMMENT_EXPORT("??2@YAPEAX_KAEBUnothrow_t@std@@@Z") // operator new nothrow
36 COMMENT_EXPORT("??_U@YAPEAX_K@Z") // operator new[]
39 COMMENT_EXPORT("??2@YAPAXI@Z") // operator new
40 COMMENT_EXPORT("??2@YAPAXIABUnothrow_t@std@@@Z") // operator new nothrow
43 COMMENT_EXPORT("??_U@YAPAXI@Z") // operator new[]
65 // Fake std::nothrow_t and std::align_val_t to avoid including <new>.
89 // On OS X it's not enough to just provide our own 'operator new' and
92 // dylib and libstdc++, each of those'll have its implementation of new an
[all...]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_new_delete.cpp11 // Interceptors for operators new and delete.
62 void *operator new(__sanitizer::uptr size);
63 void *operator new(__sanitizer::uptr size) {
68 void *operator new[](__sanitizer::uptr size);
69 void *operator new[](__sanitizer::uptr size) {
74 void *operator new(__sanitizer::uptr size, std::nothrow_t const&);
75 void *operator new(__sanitizer::uptr size, std::nothrow_t const&) {
80 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&);
81 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&) {
86 void *operator new(__sanitize
[all...]
/freebsd-head/contrib/kyua/utils/
H A Dauto_array_test.cpp47 /// Mock class to capture calls to the new and delete operators.
56 /// Captures invalid calls to new on an array.
60 operator new(const size_t /* size */)
62 ATF_FAIL("New called but should have been new[]");
63 return new int(5);
66 /// Obtains memory for a new instance and increments m_nblocks.
74 operator new[](const size_t size)
76 void* mem = ::operator new(size);
122 auto_array< test_array > t(new test_array[10]);
139 auto_array< test_array > t1(new test_arra
[all...]
/freebsd-head/contrib/ntp/scripts/monitoring/
H A Dlr.pl135 sub new subroutine
/freebsd-head/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dcompare.c58 int new; local
85 if ((new = hash_count(difftd->td_iihash)) != 0) {
88 terminate("%s grew by %d\n", stabname, new);
/freebsd-head/crypto/heimdal/kadmin/
H A Dstash.c111 char *new, *old; local
113 asprintf(&new, "%s.new", opt->key_file_string);
114 if(old == NULL || new == NULL) {
119 if(unlink(new) < 0 && errno != ENOENT) {
124 ret = hdb_write_master_key(context, new, mkey);
126 unlink(new);
132 unlink(new);
135 if(rename(new, opt->key_file_string) < 0) {
144 free(new);
[all...]
/freebsd-head/contrib/netbsd-tests/lib/libpthread/
H A Dt_barrier.c76 pthread_t new[COUNT]; local
86 PTHREAD_REQUIRE(pthread_create(&new[i], NULL, threadfunc,
92 PTHREAD_REQUIRE(pthread_join(new[i], &joinval));
/freebsd-head/contrib/ntp/lib/isc/powerpc/include/isc/
H A Datomic.h81 isc_atomic_cmpxchg(atomic_p p, int old, int new) { argument
89 if (compare_and_swap(p, &orig, new))

Completed in 107 milliseconds

1234567891011>>