Searched refs:new (Results 151 - 175 of 433) sorted by relevance

1234567891011>>

/haiku-fatelf/src/bin/gdb/gdb/
H A Dmemattr.c47 struct mem_region *n, *new; local
70 new = xmalloc (sizeof (struct mem_region));
71 new->lo = lo;
72 new->hi = hi;
73 new->number = ++mem_number;
74 new->enabled_p = 1;
75 new->attrib = *attrib;
77 /* link in new node */
78 new->next = mem_region_chain;
79 mem_region_chain = new;
[all...]
H A Dbcache.c155 /* Allocate the new table. */
183 /* Plug in the new table. */
237 struct bstring *new
239 memcpy (&new->d.data, addr, length);
240 new->length = length;
241 new->next = bcache->bucket[hash_index];
242 new->half_hash = half_hash;
243 bcache->bucket[hash_index] = new;
249 return &new->d.data;
234 struct bstring *new local
H A Denviron.c30 /* Return a new environment object. */
85 char *new = (char *) xmalloc (len + 1);
86 memcpy (new, e->vector[i], len + 1);
87 e->vector[i] = new;
84 char *new = (char *) xmalloc (len + 1); local
/haiku-fatelf/src/bin/network/atftpd/
H A Dtftpd.c103 /* Special feature to make the server switch to new client as soon as
146 * new client. If theres no activity for more than 'tftpd_timeout'
154 struct thread_data *new; /* for allocation of new thread_data */ local
413 if ((new = calloc(1, sizeof(struct thread_data))) == NULL)
423 pthread_mutex_init(&new->client_mutex, NULL);
424 new->sockfd = 0;
427 if ((new->data_buffer = malloc((size_t)SEGSIZE + 4)) == NULL)
433 new->data_buffer_size = SEGSIZE + 4;
436 if ((new
[all...]
H A Dtftpd_list.c29 * are started by the main thread when a new request arrives. The number
47 * Add a new thread_data structure to the list. Thread list mutex is locked
50 int tftpd_list_add(struct thread_data *new) argument
63 thread_data = new;
64 new->prev = NULL;
65 new->next = NULL;
71 current->next = new;
72 new->prev = current;
73 new->next = NULL;
170 /* insert the new clien
[all...]
/haiku-fatelf/src/libs/libfdt/
H A Dfdt_rw.c154 char *new; local
163 new = strtab + fdt_size_dt_strings(fdt);
168 memcpy(new, s, len);
169 return (new - strtab);
325 /* Try to place the new node after the parent's properties */
367 static void _fdt_packblocks(const char *old, char *new, argument
376 memmove(new + mem_rsv_off, old + fdt_off_mem_rsvmap(old), mem_rsv_size);
377 fdt_set_off_mem_rsvmap(new, mem_rsv_off);
379 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size);
380 fdt_set_off_dt_struct(new, struct_of
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dalloca.c201 register header *new; local
207 new = malloc (combined_size);
209 if (! new)
212 new->h.next = last_alloca_header;
213 new->h.deep = depth;
215 last_alloca_header = new;
219 return (void *) (new + 1);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dalloca.c198 register header *new; local
204 new = malloc (combined_size);
206 if (! new)
209 new->h.next = last_alloca_header;
210 new->h.deep = depth;
212 last_alloca_header = new;
216 return (void *) (new + 1);
/haiku-fatelf/src/bin/gdb/gdb/cli/
H A Dcli-setshow.c109 char *new;
116 new = (char *) xmalloc (strlen (arg) + 2);
118 q = new;
146 new = (char *) xrealloc (new, q - new);
149 *(char **) c->var = new;
107 char *new; local
/haiku-fatelf/src/bin/network/wget/lib/
H A Dalloca.c198 register header *new; local
204 new = malloc (combined_size);
206 if (! new)
209 new->h.next = last_alloca_header;
210 new->h.deep = depth;
212 last_alloca_header = new;
216 return (void *) (new + 1);
/haiku-fatelf/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_acl.c175 struct acl *acl, *new; local
178 new = (struct acl *) malloc(sizeof(struct acl), M_80211_ACL, M_NOWAIT | M_ZERO);
179 if (new == NULL) {
191 free(new, M_80211_ACL);
198 IEEE80211_ADDR_COPY(new->acl_macaddr, mac);
199 TAILQ_INSERT_TAIL(&as->as_list, new, acl_list);
200 LIST_INSERT_HEAD(&as->as_hash[hash], new, acl_hash);
/haiku-fatelf/headers/private/kernel/
H A Dheap.h103 #include <new>
126 operator new(size_t size, const malloc_flags& flags) throw()
133 operator new[](size_t size, const malloc_flags& flags) throw()
H A Ddebug_heap.h37 operator new(size_t size, const kdebug_alloc_t&) throw()
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/headers/shared/
H A DRequestMemberArray.h6 #include <new>
66 Member* element = new(fElements + i) Member;
79 new(fElements + fSize) Member(element);
/haiku-fatelf/src/bin/gdb/libiberty/
H A Dsetenv.c27 the new value will be stored only if @var{overwrite} is nonzero.
147 /* The existing string is too short; malloc a new one. */
148 char *new = malloc (namelen + 1 + vallen); local
149 if (new == NULL)
154 *ep = new;
/haiku-fatelf/src/kits/network/libbind/irs/
H A Dgen.c289 struct irs_rule **rules, *last, *tmp, *new; local
306 new = memget(sizeof *new);
307 if (new == NULL)
309 memset(new, 0x5e, sizeof *new);
310 new->next = NULL;
312 new->inst = &irs->accessors[acc];
314 new->flags = 0;
331 new
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/headers/shared/
H A DRequestMemberArray.h6 #include <new>
66 Member* element = new(fElements + i) Member;
79 new(fElements + fSize) Member(element);
/haiku-fatelf/src/bin/gdb/bfd/
H A Dtekhex.c445 tekhex_symbol_type *new = local
449 if (!new)
451 new->symbol.the_bfd = abfd;
455 new->prev = abfd->tdata.tekhex_data->symbols;
456 abfd->tdata.tekhex_data->symbols = new;
458 new->symbol.name = bfd_alloc (abfd, (bfd_size_type) len + 1);
459 if (!new->symbol.name)
461 memcpy ((char *) (new->symbol.name), sym, len + 1);
462 new->symbol.section = section;
464 new
940 tekhex_symbol_type *new = (tekhex_symbol_type *) bfd_zalloc (abfd, amt); local
[all...]
/haiku-fatelf/src/bin/bash/builtins/
H A Dmkbuiltins.c370 /* Make a new array, and return a pointer to it. The array will
744 char *new;
746 new = strip_whitespace (string);
748 if (!*new)
751 return (savestring (new));
806 BUILTIN_DESC *new;
809 /* If we are already building a builtin, we cannot start a new one. */
825 new = (BUILTIN_DESC *)xmalloc (sizeof (BUILTIN_DESC));
826 new->name = name;
827 new
743 char *new; local
805 BUILTIN_DESC *new; local
1076 BUILTIN_DESC *new; local
[all...]
/haiku-fatelf/src/add-ons/kernel/busses/scsi/ahci/
H A Dahci_tracing.h62 # define T_PORT(x) new(std::nothrow) AHCIPortTracing::x
/haiku-fatelf/src/add-ons/kernel/drivers/audio/echo/generic/
H A DC3g.h106 // Overload new & delete so memory for this object is allocated from
109 PVOID operator new( size_t Size );
/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/
H A DBlockReferenceManager.h6 #include <new>
/haiku-fatelf/src/apps/cortex/Persistence/
H A DXMLElementMapping.h79 return new T();
/haiku-fatelf/src/bin/network/wget/src/
H A Diri.h48 bool remote_to_utf8 (struct iri *i, const char *str, const char **new);
/haiku-fatelf/src/kits/network/libbind/isc/
H A Deventlib.c215 evEvent_p *new; local
232 OKNEW(new);
233 new->type = Accept;
234 new->u.accept.this = HEAD(ctx->accepts);
236 opaqueEv->opaque = new;
242 OKNEW(new);
243 new->type = Stream;
244 new->u.stream.this = ctx->strDone;
248 opaqueEv->opaque = new;
254 OKNEW(new);
[all...]

Completed in 172 milliseconds

1234567891011>>