Searched refs:crAlloc (Results 1 - 25 of 74) sorted by relevance

123

/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dmem.c19 #undef crAlloc macro
22 /* Need these stubs because util.def says we're always exporting crAlloc
25 extern void *crAlloc( unsigned int bytes );
26 void *crAlloc( unsigned int bytes ) function
43 DECLEXPORT(void) *crAlloc( unsigned int nbytes )
61 return crAlloc(nbytes);
98 *ptr = crAlloc( nbytes );
H A Denvironment.c22 buf = (char *) crAlloc( len );
H A Dstring.c34 ret = (char*)crAlloc( len+1 );
42 char *ret = (char*)crAlloc( len+1 );
149 char *s = crAlloc(len1 + len2 + 1);
162 char *s = crAlloc(len1 + len2 + len3 + 1);
296 char **faked_argv = (char **) crAlloc( (num_args + 1)*sizeof( *faked_argv ) );
323 faked_argv = (char **) crAlloc( (num_args + 1) * sizeof( *faked_argv ) );
372 result = (char *) crAlloc(resultLen);
H A Ddevnull.c23 return crAlloc( conn->buffer_size );
H A Dlist.c25 CRList *l = crAlloc( sizeof( CRList ) );
28 l->head = crAlloc( sizeof( CRListIterator ) );
31 l->tail = crAlloc( sizeof( CRListIterator ) );
83 p = crAlloc( sizeof( CRListIterator ) );
H A Dlibteac.c19 #define crAlloc(sz) malloc(sz) macro
109 if (!(hosts= (host_t*)crAlloc(INITIAL_HOST_TABLE_SIZE*sizeof(host_t)))) {
255 if (!(sdramAddrBase=(sdramaddr_t*)crAlloc(nodeRange*sizeof(sdramaddr_t)))) {
261 if (!(elanAddrBase=(E3_Addr*)crAlloc(nodeRange*sizeof(E3_Addr)))) {
281 if (!(hostsIndex= (int*)crAlloc(nodeRange*sizeof(int)))) {
359 if (!(result= (Tcomm*)crAlloc(sizeof(Tcomm)))) {
542 (sdramaddr_t**)crAlloc( TEAC_CAP_ENTRIES(cap)*sizeof(sdramaddr_t*) ))) {
549 (sdramaddr_t*)crAlloc( TEAC_CAP_ENTRIES(cap)*NUM_SEND_BUFFERS
578 (volatile E3_uint32**)crAlloc( TEAC_CAP_ENTRIES(cap)*sizeof(E3_uint32*) ))) {
599 if (!(result->mbuff= (teacMsg**)crAlloc( TEAC_CAP_ENTRIE
[all...]
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/
H A Dserver_occlude.c16 GLuint *local_queries = (GLuint *) crAlloc( n * sizeof(*local_queries) );
H A Dserver_clip.c73 *new_poly_in = (double *)crAlloc(2*npnts*2*sizeof(double));
76 *new_poly_out = (double *)crAlloc(2*npnts*2*sizeof(double));
154 *new_vert_out = (double **)crAlloc(nclip_to_vert*sizeof(double *));
155 *nnew_vert_out = (int *)crAlloc(nclip_to_vert*sizeof(int));
161 clip_normals = (double *)crAlloc(nclip_to_vert*2*sizeof(double));
183 new_vert_src = (double *)crAlloc(nvert*nclip_to_vert*2*sizeof(double));
222 intr = (CRPoly *)crAlloc(sizeof(CRPoly));
334 p = (CRPoly *)crAlloc(sizeof(CRPoly));
367 p = (CRPoly *)crAlloc(sizeof(CRPoly));
393 *mask = (int **)crAlloc((unsigne
[all...]
H A Dserver_gentextures.c16 GLuint *local_textures = (GLuint *) crAlloc(n*sizeof(*local_textures));
27 GLuint *local_progs = (GLuint *) crAlloc( n*sizeof( *local_progs) );
37 GLuint *local_fences = (GLuint *) crAlloc( n*sizeof( *local_fences) );
46 GLuint *local_progs = (GLuint *) crAlloc( n*sizeof( *local_progs) );
H A Dserver_writeback.c20 CRMessageWriteback *wb = (CRMessageWriteback *) crAlloc( sizeof( *wb ) );
H A Dserver_bufferobject.c28 GLuint *local_buffers = (GLuint *) crAlloc( n * sizeof(*local_buffers) );
57 b = crAlloc(size);
H A Dserver_getpixelmap.c82 local_values = (GLfloat*)crAlloc( size );
109 local_values = (GLuint*)crAlloc( size );
136 local_values = (GLushort*)crAlloc( size );
H A Dserver_getshaders.c42 pLocal = (crGetActive_t*) crAlloc(bufSize+sizeof(crGetActive_t));
60 pLocal = (crGetActive_t*) crAlloc(bufSize+sizeof(crGetActive_t));
78 pLocal = (GLsizei*) crAlloc(maxCount*sizeof(GLuint)+sizeof(GLsizei));
104 pLocal = (GLsizei*) crAlloc(maxCount*sizeof(VBoxGLhandleARB)+sizeof(GLsizei));
133 pLocal = (GLsizei*) crAlloc(maxLength+sizeof(GLsizei));
154 pLocal = (GLsizei*) crAlloc(bufSize+sizeof(GLsizei));
171 pLocal = (GLsizei*) crAlloc(bufSize+sizeof(GLsizei));
189 pLocal = (GLsizei*) crAlloc(bufSize+sizeof(GLsizei));
211 pLocal = (GLsizei*) crAlloc(maxcbData+sizeof(GLsizei));
234 pLocal = (GLsizei*) crAlloc(maxcbDat
[all...]
H A Dserver_papi.c54 barrier = (CRServerBarrier *) crAlloc( sizeof(*barrier) );
58 crAlloc( count * sizeof(*(barrier->waiting)) );
167 sema = (CRServerSemaphore *) crAlloc( sizeof( *sema ) );
218 node = (wqnode *) crAlloc( sizeof( *node ) );
H A Dserver_getteximage.c79 if (size && (buffer = crAlloc(size))) {
120 if (size && (buffer = crAlloc(size))) {
H A Dserver_readpixels.c50 rp = (CRMessageReadPixels *) crAlloc( msg_len );
H A Dserver_getmap.c99 coeffs = (GLdouble *) crAlloc( size );
174 coeffs = (GLfloat *) crAlloc( size );
249 coeffs = (GLint *) crAlloc( size );
H A Dserver_glsl.c182 GLuint *pLocalProgs = (GLuint *) crAlloc(n * sizeof(GLuint));
213 GLboolean *res = (GLboolean *) crAlloc(n * sizeof(GLboolean));
219 GLuint *programs2 = (GLuint *) crAlloc(n * sizeof(GLuint));
H A Dserver_texture.c203 GLuint *newTextures = (GLuint *) crAlloc(n * sizeof(GLuint));
231 GLuint *newTextures = (GLuint *) crAlloc(n * sizeof(GLuint));
268 GLboolean *res = (GLboolean *) crAlloc(n * sizeof(GLboolean));
269 GLuint *textures2 = (GLuint *) crAlloc(n * sizeof(GLuint));
/vbox/src/VBox/GuestHost/OpenGL/include/
H A Dcr_mem.h21 #define crAlloc(N) crAllocDebug(N, __FILE__, __LINE__) macro
24 extern DECLEXPORT(void *) crAlloc( unsigned int nbytes );
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Dstate_getstring.c37 extensions = crAlloc(crStrlen(crExtensions) + crStrlen(crChromiumExtensions) + 2);
/vbox/src/VBox/Additions/common/crOpenGL/pack/
H A Dpackspu_getshaders.c42 pLocal = (crGetActive_t*) crAlloc(bufSize+sizeof(crGetActive_t));
65 pLocal = (crGetActive_t*) crAlloc(bufSize+sizeof(crGetActive_t));
88 pLocal = (GLsizei*) crAlloc(maxCount*sizeof(GLuint)+sizeof(GLsizei));
109 pLocal = (GLsizei*) crAlloc(maxCount*sizeof(VBoxGLhandleARB)+sizeof(GLsizei));
132 pLocal = (GLsizei*) crAlloc(maxLength+sizeof(GLsizei));
155 pLocal = (GLsizei*) crAlloc(bufSize+sizeof(GLsizei));
176 pLocal = (GLsizei*) crAlloc(bufSize+sizeof(GLsizei));
197 pLocal = (GLsizei*) crAlloc(bufSize+sizeof(GLsizei));
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/
H A DVBoxMPCrUtil.cpp25 DECLEXPORT(void *) crAlloc( unsigned int nbytes );
43 DECLEXPORT(void *) crAlloc( unsigned int nbytes ) function
/vbox/src/VBox/HostServices/SharedOpenGL/unpacker/
H A Dunpack_map.c29 points = (GLdouble *) crAlloc( n_points );
70 points = (GLdouble *) crAlloc( n_points );
H A Dunpack_program.c45 GLdouble *params = (GLdouble *) crAlloc(num * 4 * sizeof(GLdouble));
62 GLfloat *params = (GLfloat *) crAlloc(num * 4 * sizeof(GLfloat));
146 GLubyte *name = crAlloc( len );
160 GLubyte *name = crAlloc ( len );
174 GLubyte *name = crAlloc( len);
188 GLubyte *name = crAlloc( len);

Completed in 84 milliseconds

123