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

12

/vbox/src/VBox/Additions/haiku/SharedFolders/
H A Dkernel_cpp.h32 #include <new>
40 // We need new() versions we can use when also linking against libgcc.
48 operator new(size_t size) throw (std::bad_alloc)
51 // keep the prototype as specified in <new>, or else GCC 3
58 operator new[](size_t size) throw (std::bad_alloc)
65 operator new(size_t size, const std::nothrow_t &) throw ()
72 operator new[](size_t size, const std::nothrow_t &) throw ()
79 operator new(size_t size, const mynothrow_t &) throw ()
86 operator new[](size_t size, const mynothrow_t &) throw ()
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_list.c49 dt_list_append(dt_list_t *dlp, void *new) argument
52 dt_list_t *q = new; /* q = new list element */
68 dt_list_prepend(dt_list_t *dlp, void *new) argument
70 dt_list_t *p = new; /* p = new list element */
87 dt_list_insert(dt_list_t *dlp, void *after_me, void *new) argument
90 dt_list_t *q = new;
93 dt_list_append(dlp, new);
H A Ddt_handle.c392 dt_handle_status(dtrace_hdl_t *dtp, dtrace_status_t *old, dtrace_status_t *new) argument
396 uintptr_t base = (uintptr_t)new, obase = (uintptr_t)old;
407 if (new->dtst_killed && !old->dtst_killed)
H A Ddt_program.c57 * containing DOF are backward compatible. If a program requires new
246 dtrace_actdesc_t *new; local
249 if ((new = dt_alloc(dtp, sizeof (dtrace_actdesc_t))) == NULL)
255 sdp->dtsd_action_last->dtad_next = new;
260 sdp->dtsd_action = new;
266 edp->dted_action = new;
268 ap->dtad_next = new;
271 sdp->dtsd_action_last = new;
272 bzero(new, sizeof (dtrace_actdesc_t));
273 new
[all...]
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpidl/macplugin/
H A Dmac_memory.cpp41 #include <new.h>
62 void* operator new(size_t size)
76 void* operator new[] (size_t size)
98 OSType* ptr = (OSType*) new char[sizeof(OSType) + size];
103 return new char[size];
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/PosixLib/Stringlist/
H A Dstringlist.c88 char **new; local
90 new = realloc(sl->sl_str,
92 if (new == NULL)
95 sl->sl_str = new;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/
H A Drclock.h88 void *operator new(PRSize) { return NULL; }
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dinet_pton.c135 u_int new = *tp * 10 + (u_int)(pch - digits); local
137 if (new > 255)
139 *tp = (u_char)new;
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias_util.c163 u_short *new = newp; local
168 accumulate -= *new++;
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/
H A Dmemtop_umalloc.c94 DBG ( "...new best block found\n" );
139 * Calling realloc() with a new size of zero is a valid way to free a
144 userptr_t new = ptr; local
180 new = userptr_add ( ptr, - ( new_size - extmem.size ) );
181 align = ( user_to_phys ( new, 0 ) & ( EM_ALIGN - 1 ) );
183 new = userptr_add ( new, -align );
187 user_to_phys ( new, 0 ),
188 user_to_phys ( new, new_size ));
189 memmove_user ( new,
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/cmd/baddof/
H A Dbaddof.c61 int new, rv; local
101 new = open("/devices/pseudo/dtrace@0:dtrace", O_RDWR);
103 if (new == -1)
106 if (new != fd) {
107 dup2(new, fd);
108 close(new);
137 * Success! This will be our new base for valid DOF.
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf/
H A Dctf_util.c41 ctf_list_append(ctf_list_t *lp, void *new) argument
44 ctf_list_t *q = new; /* q = new list element */
61 ctf_list_prepend(ctf_list_t *lp, void *new) argument
63 ctf_list_t *p = new; /* p = new list element */
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dlist.h66 * @v new New list entry
70 static inline void __list_add ( struct list_head *new, argument
73 next->prev = new;
74 new->next = next;
75 new->prev = prev;
76 prev->next = new;
80 * Add a new entry to the head of a list
82 * @v new New entry to be added
83 * @v head List head, or entry after which to add the new entry
85 static inline void list_add ( struct list_head *new, struc argument
99 list_add_tail( struct list_head *new, struct list_head *head ) argument
186 list_cut_position( struct list_head *new, struct list_head *list, struct list_head *entry ) argument
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/util/Option/
H A DROM.pm28 my $rom = new Option::ROM;
35 # Write ROM image out to a new file
211 =item C<< new () >>
213 Construct a new C<Option::ROM> object.
217 sub new { subroutine
318 return Option::ROM::PCI->new ( $self->{data}, $offset );
337 return Option::ROM::PnP->new ( $self->{data}, $offset );
384 sub new { subroutine
435 sub new { subroutine
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dstring.c23 * reentrant and should be faster). Use only strsep() in new code, please.
341 char *new; local
345 new = malloc(len+1);
346 if (new) {
347 new[len] = '\0';
348 memcpy(new,s,len);
350 return new;
H A Dsettings.c119 struct generic_setting *new = NULL; local
125 /* Create new generic setting, if required */
127 /* Allocate new generic setting */
129 new = zalloc ( sizeof ( *new ) + name_len + len );
130 if ( ! new )
133 /* Populate new generic setting */
134 new->name_len = name_len;
135 new->data_len = len;
136 memcpy ( &new
[all...]
/vbox/src/libs/xpcom18a4/python/client/
H A D__init__.py39 import new namespace
300 # rebuild the world for each new object.
451 return new.instancemethod(unbound_method, self, self.__class__)
469 return new.instancemethod(unbound_method, self, self.__class__)
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpt/src/
H A Dxpt_struct.c452 XPTTypeDescriptor *new; local
457 new = XPT_CALLOC(arena, new_size);
458 if (!new)
462 memcpy(new, old, old_size);
465 id->additional_types = new;
475 XPTMethodDescriptor *new; local
480 new = XPT_CALLOC(arena, new_size);
481 if (!new)
485 memcpy(new, old, old_size);
488 id->method_descriptors = new;
498 XPTConstDescriptor *new; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/
H A Dasn1.c743 void *new; local
751 new = realloc ( builder->data, new_len );
752 if ( ! new ) {
757 builder->data = new;
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Delf2efi.c326 * @ret new New PE section
331 struct pe_section *new; local
362 new = xmalloc ( sizeof ( *new ) + section_filesz );
363 memset ( new, 0, sizeof ( *new ) + section_filesz );
366 strncpy ( ( char * ) new->hdr.Name, section->name,
367 sizeof ( new->hdr.Name ) );
368 new->hdr.Misc.VirtualSize = section_memsz;
369 new
[all...]
/vbox/src/VBox/Additions/solaris/SharedFolders/
H A Dvboxfs_prov.c891 SHFLSTRING *old, *new; local
895 new = sfprov_string(to, &new_size);
896 rc = vboxCallRename(&vbox_client, &mnt->map, old, new,
900 kmem_free(new, new_size);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dbuffer.c52 void *new = HeapReAlloc(GetProcessHeap(), 0, This->maps, local
54 if (!new)
61 This->maps = new;
/vbox/src/libs/xpcom18a4/xpcom/components/
H A DnsCategoryManager.cpp131 new nsSupportsDependentCString(mArray[mSimpleCurItem++]);
186 EntryEnumerator* enumObj = new EntryEnumerator();
190 enumObj->mArray = new char const* [aTable.Count()];
209 CategoryNode* node = new(aArena) CategoryNode();
234 CategoryNode::operator new(size_t aSize, PLArenaPool* aArena)
415 CategoryEnumerator* enumObj = new CategoryEnumerator();
419 enumObj->mArray = new const char* [aTable.Count()];
452 nsCategoryManager* manager = new nsCategoryManager();
531 // Before we can insert a new entry, we'll need to
723 nsIFactory* new_factory = NS_STATIC_CAST(nsIFactory*, new nsCategoryManagerFactor
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dbuffer.c54 void *new = HeapReAlloc(GetProcessHeap(), 0, This->maps, local
56 if (!new)
63 This->maps = new;
570 TRACE("Old size %u, creating new size %u\n", This->buffer_object_size, size);
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath9k/
H A Dath9k_ar5008_phy.c170 /* write Bank 6 with new params */
272 int tmp, new; local
311 new = tmp | (AR_PHY_TIMING_CTRL4_ENABLE_SPUR_RSSI |
316 REG_WRITE(ah, AR_PHY_TIMING_CTRL4(0), new);
318 new = (AR_PHY_SPUR_REG_MASK_RATE_CNTL |
323 REG_WRITE(ah, AR_PHY_SPUR_REG, new);
331 new = (AR_PHY_TIMING11_USE_SPUR_IN_AGC |
334 REG_WRITE(ah, AR_PHY_TIMING11, new);

Completed in 122 milliseconds

12