Searched refs:new (Results 1 - 25 of 255) sorted by relevance

1234567891011

/barrelfish-2018-10-04/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));
/barrelfish-2018-10-04/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)
/barrelfish-2018-10-04/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));
/barrelfish-2018-10-04/include/arch/x86_64/concurrent/arch/
H A Dcas.h22 * equals old, set it to new otherwise don't write to address.
26 uintptr_t new)
31 : "r" (new), "a" (old)
38 * equals old, set it to new and return true,
42 uintptr_t new)
48 : "r" (new), "a" (old)
25 cas_ret_act(volatile uintptr_t *address, uintptr_t old, uintptr_t new) argument
41 cas(volatile uintptr_t *address, uintptr_t old, uintptr_t new) argument
/barrelfish-2018-10-04/lib/libc/locale/
H A Dxlocale.c200 * Allocates a new, uninitialised, locale.
205 locale_t new = calloc(sizeof(struct _xlocale), 1); local
207 new->header.destructor = destruct_locale;
208 new->monetary_locale_changed = 1;
209 new->numeric_locale_changed = 1;
210 return (new);
213 copyflags(locale_t new, locale_t old) argument
215 new->using_monetary_locale = old->using_monetary_locale;
216 new->using_numeric_locale = old->using_numeric_locale;
217 new
221 dupcomponent(int type, locale_t base, locale_t new) argument
259 locale_t new = alloc_locale(); local
305 locale_t new = alloc_locale(); local
[all...]
H A Dlmessages.c96 struct xlocale_messages *new = calloc(sizeof(struct xlocale_messages), 1); local
97 new->header.header.destructor = destruct_messages;
98 if (messages_load_locale(new, &l->using_messages_locale, name) == _LDP_ERROR) {
99 xlocale_release(new);
102 return new;
H A Dlnumeric.c97 struct xlocale_numeric *new = calloc(sizeof(struct xlocale_numeric), 1); local
98 new->header.header.destructor = destruct_numeric;
99 if (numeric_load_locale(new, &l->using_numeric_locale,
102 xlocale_release(new);
105 return new;
H A Dsetlocale.c231 char *new = new_categories[category]; local
236 if ((new[0] == '.' &&
237 (new[1] == '\0' || (new[1] == '.' && new[2] == '\0'))) ||
238 strchr(new, '/') != NULL) {
273 if (strcmp(new, old) == 0)
276 if (func(new) != _LDP_ERROR) {
277 (void)strcpy(old, new);
278 (void)strcpy(__xlocale_global_locale.components[category-1]->locale, new);
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/tools/
H A DMakefile25 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
26 chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
27 mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \
31 (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
32 chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new; \
33 mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i.new $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
50 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
51 mv -f Makefile.new $(MAKEFILE)
/barrelfish-2018-10-04/lib/libc/isc/
H A Dev_streams.c70 evStream *new; local
73 OKNEW(new);
74 new->func = func;
75 new->uap = uap;
76 new->fd = fd;
77 new->flags = 0;
78 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0)
80 if (copyvec(new, iov, iocnt) < 0)
82 new
104 evStream *new; local
[all...]
/barrelfish-2018-10-04/lib/tzcode/zic/
H A Dialloc.c51 icatalloc(old, new)
53 const char * const new;
58 newsize = (new == NULL) ? 0 : strlen(new);
65 if (new != NULL)
66 (void) strcpy(result + oldsize, new);
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/
H A Dlist.h98 static inline void _list_add(struct list_head *new, struct list_head *prev, argument
100 next->prev = new;
101 new->next = next;
102 new->prev = prev;
103 prev->next = new;
141 static inline void list_add(struct list_head *new, struct list_head *head) { argument
142 _list_add(new, head, head->next);
145 static inline void list_add_tail(struct list_head *new, struct list_head *head) { argument
147 _list_add(new, head->prev, head);
286 struct hlist_head *new) {
285 hlist_move_list(struct hlist_head *old, struct hlist_head *new) argument
[all...]
H A Drbtree.h88 static inline void rb_replace_node(struct rb_node *victim, struct rb_node *new, argument
95 p->rb_left = new;
97 p->rb_right = new;
99 root->rb_node = new;
101 rb_set_parent(victim->rb_left, new);
103 rb_set_parent(victim->rb_right, new);
104 *new = *victim;
/barrelfish-2018-10-04/lib/libc/net/
H A Dlinkaddr.c57 int byte = 0, state = NAMING, new; local
64 new = *addr - '0';
66 new = *addr - 'a' + 10;
68 new = *addr - 'A' + 10;
92 byte = new;
96 byte = new + (byte << 4);
113 new = cp - (char *)sdl;
114 if (new > sizeof(*sdl))
115 sdl->sdl_len = new;
/barrelfish-2018-10-04/lib/libc/stdtime/
H A Dtimelocal.c145 struct xlocale_time *new = calloc(sizeof(struct xlocale_time), 1); local
146 new->header.header.destructor = destruct_time;
147 if (time_load_locale(new, &loc->using_time_locale, name) == _LDP_ERROR)
149 xlocale_release(new);
152 return new;
/barrelfish-2018-10-04/include/vm/
H A Dvm_unix.c80 vm_offset_t new, old, base; local
91 new = round_page((vm_offset_t)uap->nsize);
96 if (new > base) {
101 if (new - base > datalim && new > old) {
105 if (new > vm_map_max(map)) {
109 } else if (new < base) {
118 if (new > old) {
121 (new - old) > lmemlim) {
126 if (map->size + (new
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/lib_tcl/widget/
H A Dventry.tcl33 ## %P the potential new string value
137 set new [string range $cur 0 [expr $index-1]]$string[string range $cur $index end]
138 if {[catch {validate $w $string $new $index insert} err]} {
156 set new [string range $cur 0 [expr $first-1]][string range $cur $last end]
158 [expr $last-1]] $new $first delete} err]} {
185 ;proc validate {w str new index type} {
195 set cmd [substitute $w $data(-vcmd) $str $new $index $type]
217 # Otherwise, if it didn't accept the new string (returned TCL_BREAK)
224 $str $new $index $type]
247 set new [strin
[all...]
/barrelfish-2018-10-04/include/pci/confspace/
H A Dmackerelpci.h75 uint32_t new = (old & (0xff << (offset % 4) * NBBY)) | (v << (offset % 4) * NBBY);
76 pci_write_conf_header(&base, offset / 4, new);
89 uint32_t new;
91 new = (old & 0xffff0000) | v;
93 new = (old & 0xffff) | (v << 16);
95 pci_write_conf_header(&base, offset / 4, new);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/util/
H A Ddomd26 ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new
31 ${PERL} $TOP/util/clean-depend.pl < Makefile > Makefile.new
34 mv Makefile.new Makefile
/barrelfish-2018-10-04/lib/posixcompat/
H A Drename.c21 int rename(const char *old, const char *new) argument
24 assert(new != NULL);
26 // Success if old == new
27 if(!strcmp(old, new)) {
31 // Find out type of old and new
37 r = stat(new, &newstat);
47 POSIXCOMPAT_DEBUG("rename(\"%s\", \"%s\")\n", old, new);
51 char *newpath = vfs_path_mkabs(new);
/barrelfish-2018-10-04/usr/bench/shared_mem_clock/
H A Dclock.c22 * equals old, set it to new and return true,
26 uintptr_t new)
32 : "r" (new), "a" (old)
25 cas(volatile uintptr_t *address, uintptr_t old, uintptr_t new) argument
/barrelfish-2018-10-04/usr/slideshow/
H A Dmakeslides.sh38 # echo eg: "grep -v '/talk/' menu.lst > menu.lst.new ; cat menu.lst.new talk/talk_menu.lst > menu.lst"
/barrelfish-2018-10-04/lib/barrelfish/vspace/
H A Dmemobj_anon.c256 struct memobj_frame_list *new = slab_alloc(&anon->frame_slab); local
271 if (new == NULL) {
272 new = slab_alloc(&anon->frame_slab);
276 if (!new) {
279 assert(new != NULL);
280 new->offset = offset;
281 new->frame = frame;
282 new->size = size;
283 new->foffset = foffset;
291 new
[all...]

Completed in 218 milliseconds

1234567891011