Home
last modified time | relevance | path

Searched refs:old (Results 1 – 25 of 248) sorted by relevance

12345678910

/haiku/src/system/libnetwork/netresolv/isc/
H A Dev_streams.c158 evStream *old = id.opaque; in evCancelRW() local
169 if (old->prev != NULL) in evCancelRW()
170 old->prev->next = old->next; in evCancelRW()
172 ctx->streams = old->next; in evCancelRW()
173 if (old->next != NULL) in evCancelRW()
174 old->next->prev = old->prev; in evCancelRW()
180 if (old->prevDone == NULL && old->nextDone == NULL) { in evCancelRW()
186 if (ctx->strDone == old) { in evCancelRW()
191 if (old->prevDone != NULL) in evCancelRW()
192 old->prevDone->nextDone = old->nextDone; in evCancelRW()
[all …]
/haiku/src/system/libroot/posix/musl/arch/riscv64/
H A Datomic_arch.h10 int old, tmp; in a_cas() local
17 : "=&r"(old), "=&r"(tmp) in a_cas()
20 return old; in a_cas()
26 void *old; in a_cas_p() local
34 : "=&r"(old), "=&r"(tmp) in a_cas_p()
37 return old; in a_cas_p()
/haiku/src/system/libroot/posix/musl/arch/arm64/
H A Datomic_arch.h26 int old; in a_cas() local
28 old = a_ll(p); in a_cas()
29 if (old != t) { in a_cas()
34 return old; in a_cas()
56 void *old; in a_cas_p() local
58 old = a_ll_p(p); in a_cas_p()
59 if (old != t) { in a_cas_p()
64 return old; in a_cas_p()
/haiku/src/system/libroot/os/arch/arm/
H A Dstdatomic.c228 uint32_t old, temp, ras_start; \
248 : "=&r" (old), "=m" (*mem), "=&r" (temp) \
250 return (old); \
258 uint32_t expected, old, temp, ras_start; \
280 : "=&r" (old), "=m" (*mem), "=&r" (temp) \
283 if (old == expected) { \
286 *pexpected = old; \
295 uint32_t old, temp, ras_start; \
316 : "=&r" (old), "=m" (*mem), "=&r" (temp) \
318 return (old); \
[all …]
/haiku/src/libs/libsolv/solv/
H A Dutil.c47 solv_realloc(void *old, size_t len) in solv_realloc() argument
49 if (old == 0) in solv_realloc()
50 old = malloc(len ? len : 1); in solv_realloc()
52 old = realloc(old, len ? len : 1); in solv_realloc()
53 if (!old) in solv_realloc()
55 return old; in solv_realloc()
59 solv_realloc2(void *old, size_t num, size_t len) in solv_realloc2() argument
63 return solv_realloc(old, num * len); in solv_realloc2()
/haiku/src/system/libroot/posix/musl/include/
H A Dfeatures.h6 #define weak_alias(old, new) \ argument
7 extern __typeof(old) new __attribute__((__weak__, __alias__(#old)))
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dlogging.c125 u32 old; in ntfs_log_set_levels() local
126 old = ntfs_log.levels; in ntfs_log_set_levels()
128 return old; in ntfs_log_set_levels()
142 u32 old; in ntfs_log_clear_levels() local
143 old = ntfs_log.levels; in ntfs_log_clear_levels()
145 return old; in ntfs_log_clear_levels()
172 u32 old; in ntfs_log_set_flags() local
173 old = ntfs_log.flags; in ntfs_log_set_flags()
175 return old; in ntfs_log_set_flags()
189 u32 old; in ntfs_log_clear_flags() local
[all …]
/haiku/src/kits/midi2/
H A DMidiEndpoint.cpp120 int32 old = atomic_add(&fRefCount, -1); in Release() local
122 TRACE(("BMidiEndpoint::Release refCount is now %" B_PRId32, old - 1)) in Release()
124 if (old == 1) { in Release()
133 } else if (old <= 0) { in Release()
145 int32 old = in Acquire() local
149 TRACE(("BMidiEndpoint::Acquire refCount is now %" B_PRId32, old + 1)) in Acquire()
/haiku/src/libs/compat/freebsd_network/compat/machine/
H A Datomic.h30 #define atomic_cmpset_int(ptr, old, new) \ argument
31 (atomic_test_and_set((int32 *)(ptr), new, old) == (int32)old)
/haiku/src/libs/stdc++/legacy/
H A Dsigsetmask.c21 sigset_t old; variable
27 sigprocmask(SIG_SETMASK, &new, &old);
/haiku/src/system/libroot/posix/musl/arch/arm/
H A Datomic_arch.h53 int old; in a_cas() local
59 if ((old=*p)!=t) return old; in a_cas()
/haiku/headers/cpp/
H A DSFile.h47 int setsize(int s) { int old = sz; sz = s; return old; } in setsize() local
/haiku/src/libs/compat/openbsd_wlan/
H A Dsubr_tree.c310 struct rb_entry *child, *parent, *old = rbe; in rbe_remove() local
338 if (RBE_PARENT(rbe) == old) in rbe_remove()
340 *rbe = *old; in rbe_remove()
342 tmp = RBE_PARENT(old); in rbe_remove()
344 if (RBE_LEFT(tmp) == old) in rbe_remove()
353 RBE_PARENT(RBE_LEFT(old)) = rbe; in rbe_remove()
354 if (RBE_RIGHT(old)) in rbe_remove()
355 RBE_PARENT(RBE_RIGHT(old)) = rbe; in rbe_remove()
386 return (old); in rbe_remove()
393 struct rb_entry *old; in _rb_remove() local
[all …]
/haiku/src/tools/fixup_amiga_boot_checksum/
H A Dfixup_amiga_boot_checksum.c30 uint32_t old = sum; in main() local
34 if (sum < old) in main()
/haiku/src/bin/
H A Dtop.cpp118 ThreadTimeList *old, in compare() argument
155 for (itOld = old->begin(); itOld != old->end(); itOld++) { in compare()
282 gather(ThreadTimeList *old, int refresh) in gather() argument
305 if (old != NULL) { in gather()
310 compare(old, &times, system_time() - oldLastMeasure, refresh); in gather()
311 old->clear(); in gather()
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A Dsettings_tools.cpp173 char **old = to->values; in add_driver_parameter_value() local
178 to->values = old; in add_driver_parameter_value()
183 memcpy(to->values, old, oldCount * sizeof(char*)); in add_driver_parameter_value()
197 driver_parameter *old = to->parameters; in add_driver_parameter() local
203 to->parameters = old; in add_driver_parameter()
208 memcpy(to->parameters, old, oldCount * sizeof(driver_parameter)); in add_driver_parameter()
/haiku/src/libs/libfdt/
H A Dfdt_rw.c396 static void fdt_packblocks_(const char *old, char *new, in fdt_packblocks_() argument
407 memmove(new + mem_rsv_off, old + fdt_off_mem_rsvmap(old), mem_rsv_size); in fdt_packblocks_()
410 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in fdt_packblocks_()
414 memmove(new + strings_off, old + fdt_off_dt_strings(old), strings_size); in fdt_packblocks_()
416 fdt_set_size_dt_strings(new, fdt_size_dt_strings(old)); in fdt_packblocks_()
/haiku/src/bin/pcmcia-cs/
H A Dcardctl.c570 char old[33]; in do_scheme() local
574 if (f && fgets(old, 32, f)) in do_scheme()
575 old[strlen(old)-1] = '\0'; in do_scheme()
577 old[0] = '\0'; in do_scheme()
599 if (strcmp(old, new) == 0) { in do_scheme()
614 if (old[0]) in do_scheme()
615 printf("Changing scheme from '%s' to '%s'...\n", old, new); in do_scheme()
632 if (old[0]) in do_scheme()
633 printf("Current scheme: '%s'.\n", old); in do_scheme()
/haiku/docs/develop/midi/
H A Dmidi1.rst10 Midi2 is backwards compatible with midi1: The old libmidi.so still
11 exists so that applications using the old API will run (providing binary
12 compatibility). The old ``BMidiPort`` object is now a wrapper that uses
14 producer or consumer. Published MIDI objects are presented to the old
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A Dvirtio_ring.h160 vring_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) in vring_need_event() argument
163 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old); in vring_need_event()
/haiku/docs/user/midi/
H A Dmidi1intro.dox2 \page midi1 The old Midi Kit (libmidi.so)
4 The old Midi Kit, or midi1 for short, goes all the way back to DR8, when the
10 Kit section of the old Be Developer Library</A>
37 The old Midi Kit is slowly fading into obscurity. You may want to use the
/haiku/src/system/libroot/posix/
H A Dsemaphore.cpp36 int32 old = atomic_test_and_set(value, current + amount, current); in atomic_add_if_greater() local
37 if (old == current) in atomic_add_if_greater()
38 return old; in atomic_add_if_greater()
39 current = old; in atomic_add_if_greater()
/haiku/src/add-ons/mail_daemon/inbound_protocols/pop3/
H A DMessageIO.cpp150 off_t old = fSlave->Position(); in _ResetSize() local
155 fSlave->Seek(old,SEEK_SET); in _ResetSize()
/haiku/src/system/libroot/posix/musl/search/
H A Dtsearch.c55 int old = n->h; in __tsearch_balance() local
57 return n->h - old; in __tsearch_balance()
/haiku/src/bin/network/telnet/
H A Dsys_bsd.c381 int old; in TerminalNewMode() local
402 old = ttyflush(SYNCHing|flushout); in TerminalNewMode()
403 if (old < 0 || old > 1) { in TerminalNewMode()
414 old = ttyflush(SYNCHing|flushout); in TerminalNewMode()
415 } while (old < 0 || old > 1); in TerminalNewMode()
418 old = prevmode; in TerminalNewMode()

12345678910