Advertisement
Guest User

Untitled

a guest
Oct 19th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.68 KB | None | 0 0
  1. 1: L:264: F:"q3radiant/Undo.cpp":
  2. undo = (undo_t *) malloc(sizeof(undo_t));
  3.  
  4. 2: L:590: F:"q3radiant/Undo.cpp":
  5. redo = (undo_t *) malloc(sizeof(undo_t));
  6.  
  7. 3: L:44: F:"q3radiant/PMESH.CPP":
  8. patchMesh_t *pm = reinterpret_cast<patchMesh_t*>(qmalloc(sizeof(patchMesh_t)));
  9.  
  10. 4: L:442: F:"q3radiant/TexWnd.cpp":
  11. q = (qtexture_t*)qmalloc(sizeof(*q));
  12.  
  13. 5: L:451: F:"q3radiant/TexWnd.cpp":
  14. dest = (unsigned char*)qmalloc (width*height*4);
  15.  
  16. 6: L:549: F:"q3radiant/TexWnd.cpp":
  17. qtexture_t* q = (qtexture_t*)qmalloc(sizeof(*q));
  18.  
  19. 7: L:709: F:"q3radiant/TexWnd.cpp":
  20. q = (qtexture_t*)qmalloc(sizeof(*q));
  21.  
  22. 8: L:771: F:"q3radiant/TexWnd.cpp":
  23. q = (qtexture_t*)qmalloc(sizeof(*q));
  24.  
  25. 9: L:1113: F:"q3radiant/TexWnd.cpp":
  26. notexture = q = (qtexture_t*)qmalloc(sizeof(*q));
  27.  
  28. 10: L:1117: F:"q3radiant/TexWnd.cpp":
  29. q = (qtexture_t*)qmalloc(sizeof(*q));
  30.  
  31. 11: L:185: F:"q3radiant/Winding.cpp":
  32. w = (winding_t*) malloc (size);
  33.  
  34. 12: L:210: F:"q3radiant/Winding.cpp":
  35. c = (winding_t*)qmalloc (size);
  36.  
  37. 13: L:24: F:"q3radiant/Bmp.cpp":
  38. #include <malloc.h>
  39.  
  40. 14: L:192: F:"q3radiant/Bmp.cpp":
  41. bit->palette = reinterpret_cast<rgb_t*>(malloc(sizeof(rgb_t) * 256));
  42.  
  43. 15: L:215: F:"q3radiant/Bmp.cpp":
  44. scanline = reinterpret_cast<char*>(malloc(rowbytes));
  45.  
  46. 16: L:218: F:"q3radiant/Bmp.cpp":
  47. bit->data = reinterpret_cast<unsigned char*>(malloc(info.biWidth * pixbytes * info.biHeight));
  48.  
  49. 17: L:376: F:"q3radiant/Bmp.cpp":
  50. bit->data = reinterpret_cast<unsigned char*>(malloc(width * height * pixbytes));
  51.  
  52. 18: L:380: F:"q3radiant/Bmp.cpp":
  53. Error("NewBMP: malloc failed.");
  54.  
  55. 19: L:386: F:"q3radiant/Bmp.cpp":
  56. bit->palette = (rgb_t *) malloc(768);
  57.  
  58. 20: L:390: F:"q3radiant/Bmp.cpp":
  59. Error("NewBMP: unable to malloc palette.");
  60.  
  61. 21: L:71: F:"q3radiant/QE3.CPP":
  62. b = (char*)malloc(strlen(s)+1);
  63.  
  64. 22: L:3322: F:"q3radiant/XYWnd.cpp":
  65. n = (entity_t*)qmalloc(sizeof(*n));
  66.  
  67. 23: L:3334: F:"q3radiant/XYWnd.cpp":
  68. np = (epair_t*)qmalloc(sizeof(*np));
  69.  
  70. 24: L:533: F:"q3radiant/MAP.CPP":
  71. world_entity = (entity_s*)qmalloc(sizeof(*world_entity));
  72.  
  73. 25: L:215: F:"q3radiant/LBMLIB.CPP":
  74. cmapbuffer = (unsigned char*)malloc (768);
  75.  
  76. 26: L:223: F:"q3radiant/LBMLIB.CPP":
  77. pic_p = picbuffer = (unsigned char*)malloc (bmhd.w*bmhd.h);
  78.  
  79. 27: L:285: F:"q3radiant/LBMLIB.CPP":
  80. lbm = lbmptr = (unsigned char*)malloc (width*height+1000);
  81.  
  82. 28: L:463: F:"q3radiant/LBMLIB.CPP":
  83. *palette = (unsigned char*)malloc(768);
  84.  
  85. 29: L:478: F:"q3radiant/LBMLIB.CPP":
  86. out = (unsigned char*)malloc ( (pcx->ymax+1) * (pcx->xmax+1) );
  87.  
  88. 30: L:523: F:"q3radiant/LBMLIB.CPP":
  89. pcx = (pcx_t*)malloc (width*height*2+1000);
  90.  
  91. 31: L:609: F:"q3radiant/LBMLIB.CPP":
  92. *palette = (unsigned char*)malloc (768);
  93.  
  94. 32: L:814: F:"q3radiant/LBMLIB.CPP":
  95. bmpRGBA = reinterpret_cast<unsigned char*>(malloc( numPixels * 4 ));
  96.  
  97. 33: L:937: F:"q3radiant/LBMLIB.CPP":
  98. out = reinterpret_cast<unsigned char*>(malloc ( (ymax+1) * (xmax+1) ));
  99.  
  100. 34: L:945: F:"q3radiant/LBMLIB.CPP":
  101. *palette = reinterpret_cast<unsigned char*>(malloc(768));
  102.  
  103. 35: L:1004: F:"q3radiant/LBMLIB.CPP":
  104. pic32 = *pic = reinterpret_cast<unsigned char*>(malloc(4 * c ));
  105.  
  106. 36: L:1109: F:"q3radiant/LBMLIB.CPP":
  107. targa_rgba = reinterpret_cast<unsigned char*>(malloc (numPixels*4));
  108.  
  109. 37: L:440: F:"q3radiant/PlugInManager.cpp":
  110. pData->m_pVectors = reinterpret_cast<vec3_t*>(qmalloc(g_nPlugCount * sizeof(vec3_t)));
  111.  
  112. 38: L:874: F:"q3radiant/PlugInManager.cpp":
  113. epair_t *e = (epair_t*)qmalloc (sizeof(*e));
  114.  
  115. 39: L:875: F:"q3radiant/PlugInManager.cpp":
  116. e->key = (char*)qmalloc(strlen(key)+1);
  117.  
  118. 40: L:877: F:"q3radiant/PlugInManager.cpp":
  119. e->value = (char*)qmalloc(strlen(val)+1);
  120.  
  121. 41: L:925: F:"q3radiant/PlugInManager.cpp":
  122. entity_t *pe = reinterpret_cast<entity_t*>(qmalloc(sizeof(entity_t)));
  123.  
  124. 42: L:286: F:"q3radiant/ECLASS.CPP":
  125. pModel->pNext = reinterpret_cast<entitymodel_t*>(qmalloc(sizeof(entitymodel_t)));
  126.  
  127. 43: L:426: F:"q3radiant/ECLASS.CPP":
  128. e = (eclass_t*)qmalloc(sizeof(*e));
  129.  
  130. 44: L:433: F:"q3radiant/ECLASS.CPP":
  131. e->name = (char*)qmalloc (strlen(com_token)+1);
  132.  
  133. 45: L:504: F:"q3radiant/ECLASS.CPP":
  134. e->comments = (char*)qmalloc (len+1);
  135.  
  136. 46: L:559: F:"q3radiant/ECLASS.CPP":
  137. e->model = reinterpret_cast<entitymodel_t*>(qmalloc(sizeof(entitymodel_t)));
  138.  
  139. 47: L:596: F:"q3radiant/ECLASS.CPP":
  140. model->pNext = reinterpret_cast<entitymodel_t*>(qmalloc(sizeof(entitymodel_t)));
  141.  
  142. 48: L:902: F:"q3radiant/ECLASS.CPP":
  143. e = (eclass_t*)qmalloc(sizeof(*e));
  144.  
  145. 49: L:32: F:"q3radiant/splines/q_shared.cpp":
  146. // malloc / free all in one place for debugging
  147.  
  148. 50: L:67: F:"q3radiant/splines/q_shared.h":
  149. #ifdef WIN32 // mac doesn't have malloc.h
  150.  
  151. 51: L:68: F:"q3radiant/splines/q_shared.h":
  152. #include <malloc.h> // for _alloca()
  153.  
  154. 52: L:276: F:"q3radiant/splines/q_shared.h":
  155. #undef ERR_FATAL // malloc.h on unix
  156.  
  157. 53: L:77: F:"q3radiant/ENTITY.CPP":
  158. ep->value = (char*)qmalloc(strlen(value)+1);
  159.  
  160. 54: L:82: F:"q3radiant/ENTITY.CPP":
  161. ep = (epair_t*)qmalloc (sizeof(*ep));
  162.  
  163. 55: L:85: F:"q3radiant/ENTITY.CPP":
  164. ep->key = (char*)qmalloc(strlen(key)+1);
  165.  
  166. 56: L:87: F:"q3radiant/ENTITY.CPP":
  167. ep->value = (char*)qmalloc(strlen(value)+1);
  168.  
  169. 57: L:273: F:"q3radiant/ENTITY.CPP":
  170. e = (epair_t*)qmalloc (sizeof(*e));
  171.  
  172. 58: L:275: F:"q3radiant/ENTITY.CPP":
  173. e->key = (char*)qmalloc(strlen(token)+1);
  174.  
  175. 59: L:279: F:"q3radiant/ENTITY.CPP":
  176. e->value = (char*)qmalloc(strlen(token)+1);
  177.  
  178. 60: L:309: F:"q3radiant/ENTITY.CPP":
  179. ent = (entity_t*)qmalloc (sizeof(*ent));
  180.  
  181. 61: L:717: F:"q3radiant/ENTITY.CPP":
  182. e = (entity_t*)qmalloc(sizeof(*e));
  183.  
  184. 62: L:856: F:"q3radiant/ENTITY.CPP":
  185. n = (entity_t*)qmalloc(sizeof(*n));
  186.  
  187. 63: L:866: F:"q3radiant/ENTITY.CPP":
  188. np = (epair_t*)qmalloc(sizeof(*np));
  189.  
  190. 64: L:242: F:"q3radiant/terrain.cpp":
  191. pm = reinterpret_cast< terrainMesh_t * >( qmalloc( size ) );
  192.  
  193. 65: L:47: F:"q3radiant/Brush.cpp":
  194. brush_t *b = (brush_t*)qmalloc(sizeof(brush_t));
  195.  
  196. 66: L:170: F:"q3radiant/Brush.cpp":
  197. face_t *f = (face_t*)qmalloc( sizeof( *f ) );
  198.  
  199. 67: L:38: F:"q3radiant/QE3.H":
  200. #include <malloc.h>
  201.  
  202. 68: L:245: F:"q3radiant/QE3.H":
  203. //void *qmalloc (size_t size);
  204.  
  205. 69: L:57: F:"q3radiant/GroupDlg.cpp":
  206. group_t *g = (group_t*)qmalloc(sizeof(group_t));
  207.  
  208. 70: L:81: F:"q3radiant/GroupDlg.cpp":
  209. group_t *g = (group_t*)qmalloc(sizeof(group_t));
  210.  
  211. 71: L:681: F:"q3radiant/WIN_QE3.CPP":
  212. return malloc(bytes);
  213.  
  214. 72: L:1202: F:"libs/pak/unzip.cpp":
  215. # define ALLOC(size) (malloc(size))
  216.  
  217. 73: L:1385: F:"libs/pak/unzip.cpp":
  218. buf = (unsigned char*)malloc(BUFREADCOMMENT+4);
  219.  
  220. 74: L:1432: F:"libs/pak/unzip.cpp":
  221. s=(unz_s*)malloc(sizeof(unz_s));
  222.  
  223. 75: L:1531: F:"libs/pak/unzip.cpp":
  224. s=(unz_s*)malloc(sizeof(unz_s));
  225.  
  226. 76: L:1982: F:"libs/pak/unzip.cpp":
  227. malloc(sizeof(file_in_zip_read_info_s));
  228.  
  229. 77: L:1986: F:"libs/pak/unzip.cpp":
  230. pfile_in_zip_read_info->read_buffer=(char*)malloc(UNZ_BUFSIZE);
  231.  
  232. 78: L:2689: F:"libs/pak/unzip.cpp":
  233. inflate_huft *hufts; /* single malloc for tree space */
  234.  
  235. 79: L:4537: F:"libs/pak/unzip.cpp":
  236. return (voidp)malloc(items*size);
  237.  
  238. 80: L:258: F:"libs/pak/pakstuff.cpp":
  239. void* __qblockmalloc(size_t nSize)
  240.  
  241. 81: L:267: F:"libs/pak/pakstuff.cpp":
  242. b = malloc(nSize + 1);
  243.  
  244. 82: L:272: F:"libs/pak/pakstuff.cpp":
  245. void* __qmalloc (size_t nSize)
  246.  
  247. 83: L:275: F:"libs/pak/pakstuff.cpp":
  248. b = malloc(nSize + 1);
  249.  
  250. 84: L:549: F:"libs/pak/pakstuff.cpp":
  251. dir = (PACKDirPtr)__qmalloc(size);
  252.  
  253. 85: L:768: F:"libs/pak/pakstuff.cpp":
  254. if((newPtr = (DIRLIST *)__qmalloc(sizeof(DIRLIST))) == NULL)
  255.  
  256. 86: L:806: F:"libs/pak/pakstuff.cpp":
  257. if((newPtr = (FILELIST *)__qmalloc(sizeof(FILELIST))) == NULL)
  258.  
  259. 87: L:867: F:"libs/pak/pakstuff.cpp":
  260. if((buffer = __qmalloc(p->size+5)) == NULL)
  261.  
  262. 88: L:909: F:"libs/pak/pakstuff.cpp":
  263. void *buffer = __qblockmalloc(pInfo->m_lSize+1);
  264.  
  265. 89: L:929: F:"libs/pak/pakstuff.cpp":
  266. void *buffer = __qmalloc (pakdirptr[i].size+1);
  267.  
  268. 90: L:962: F:"libs/pak/pakstuff.cpp":
  269. if((newPtr = (DIRECTORY *)__qmalloc(sizeof(DIRECTORY))) == NULL)
  270.  
  271. 91: L:71: F:"libs/cmdlib.h":
  272. void *qmalloc (size_t size);
  273.  
  274. 92: L:72: F:"libs/cmdlib.h":
  275. void* qblockmalloc(size_t nSize);
  276.  
  277. 93: L:30: F:"libs/jpeg6/jmemnobs.cpp":
  278. return (void *) malloc(sizeofobject);
  279.  
  280. 94: L:50: F:"libs/jpeg6/jmemnobs.cpp":
  281. return (void FAR *) malloc(sizeofobject);
  282.  
  283. 95: L:38: F:"libs/jpeg6/jmemsys.h":
  284. * Behavior should be the same as for the standard library functions malloc
  285.  
  286. 96: L:40: F:"libs/jpeg6/jmemsys.h":
  287. * On most systems, these ARE malloc and free. jpeg_free_small is passed the
  288.  
  289. 97: L:54: F:"libs/jpeg6/jmemmgr.cpp":
  290. * boundaries, doubles on 8-byte boundaries, etc. On such machines, malloc()
  291.  
  292. 98: L:266: F:"libs/jpeg6/jmemmgr.cpp":
  293. out_of_memory(cinfo, 1); /* request exceeds malloc's ability */
  294.  
  295. 99: L:350: F:"libs/jpeg6/jmemmgr.cpp":
  296. out_of_memory(cinfo, 3); /* request exceeds malloc's ability */
  297.  
  298. 100: L:1007: F:"libs/jpeg6/jmemmgr.cpp":
  299. * with some (brain-damaged) malloc libraries.
  300.  
  301. 101: L:80: F:"libs/jpeg6/jpgload.cpp":
  302. out = reinterpret_cast<unsigned char*>(malloc(nSize+1));
  303.  
  304. 102: L:33: F:"libs/jpeg6/jcomapi.cpp":
  305. * with some (brain-damaged) malloc libraries.
  306.  
  307. 103: L:89: F:"libs/cmdlib/cmdlib.cpp":
  308. void* qblockmalloc(size_t nSize)
  309.  
  310. 104: L:98: F:"libs/cmdlib/cmdlib.cpp":
  311. b = malloc(nSize + 1);
  312.  
  313. 105: L:103: F:"libs/cmdlib/cmdlib.cpp":
  314. void* qmalloc (size_t nSize)
  315.  
  316. 106: L:106: F:"libs/cmdlib/cmdlib.cpp":
  317. b = malloc(nSize + 1);
  318.  
  319. 107: L:199: F:"libs/cmdlib/cmdlib.cpp":
  320. buffer = qblockmalloc (length+1);
  321.  
  322. 108: L:226: F:"libs/cmdlib/cmdlib.cpp":
  323. buffer = qmalloc (length+1);
  324.  
  325. 109: L:761: F:"libs/jpeglib.h":
  326. * to free, especially where malloc()/free() are not too speedy.
  327.  
  328. 110: L:380: F:"common/bspfile.c":
  329. e = malloc( sizeof(epair_t) );
  330.  
  331. 111: L:524: F:"common/bspfile.c":
  332. ep = malloc (sizeof(*ep));
  333.  
  334. 112: L:284: F:"common/l3dslib.c":
  335. ptri = malloc (MAXTRIANGLES * sizeof(triangle_t));
  336.  
  337. 113: L:65: F:"common/mutex.c":
  338. crit = (CRITICAL_SECTION *) malloc(sizeof(CRITICAL_SECTION));
  339.  
  340. 114: L:112: F:"common/mutex.c":
  341. my_mutex = malloc (sizeof(*my_mutex));
  342.  
  343. 115: L:166: F:"common/mutex.c":
  344. lck = (abilock_t *) malloc(sizeof(abilock_t));
  345.  
  346. 116: L:130: F:"common/aselib.c":
  347. ase.curpos = ase.buffer = malloc( ase.len );
  348.  
  349. 117: L:231: F:"common/imagelib.c":
  350. cmapbuffer = malloc (768);
  351.  
  352. 118: L:239: F:"common/imagelib.c":
  353. pic_p = picbuffer = malloc (bmhd.w*bmhd.h);
  354.  
  355. 119: L:301: F:"common/imagelib.c":
  356. lbm = lbmptr = malloc (width*height+1000);
  357.  
  358. 120: L:471: F:"common/imagelib.c":
  359. *palette = malloc(768);
  360.  
  361. 121: L:483: F:"common/imagelib.c":
  362. out = malloc ( (pcx->ymax+1) * (pcx->xmax+1) );
  363.  
  364. 122: L:535: F:"common/imagelib.c":
  365. pcx = malloc (width*height*2+1000);
  366.  
  367. 123: L:687: F:"common/imagelib.c":
  368. *palette = malloc(768);
  369.  
  370. 124: L:704: F:"common/imagelib.c":
  371. *palette = malloc(768);
  372.  
  373. 125: L:741: F:"common/imagelib.c":
  374. out = malloc ( bcWidth * bcHeight );
  375.  
  376. 126: L:908: F:"common/imagelib.c":
  377. targa_rgba = malloc (numPixels*4);
  378.  
  379. 127: L:1091: F:"common/imagelib.c":
  380. buffer = malloc(width*height*4 + 18);
  381.  
  382. 128: L:1151: F:"common/imagelib.c":
  383. pixels32 = malloc(size * 4);
  384.  
  385. 129: L:267: F:"common/threads.c":
  386. my_mutex = malloc (sizeof(*my_mutex));
  387.  
  388. 130: L:355: F:"common/cmdlib.c":
  389. b = malloc(strlen(s)+1);
  390.  
  391. 131: L:702: F:"common/cmdlib.c":
  392. buffer = malloc (length+1);
  393.  
  394. 132: L:733: F:"common/cmdlib.c":
  395. buffer = malloc (nAllocSize+1);
  396.  
  397. 133: L:762: F:"common/cmdlib.c":
  398. buffer = malloc (length+1);
  399.  
  400. 134: L:66: F:"common/polylib.c":
  401. w = malloc (s);
  402.  
  403. 135: L:304: F:"q3asm/q3asm.c":
  404. s = malloc( sizeof( *s ) );
  405.  
  406. 136: L:360: F:"q3asm/cmdlib.c":
  407. b = malloc(strlen(s)+1);
  408.  
  409. 137: L:707: F:"q3asm/cmdlib.c":
  410. buffer = malloc (length+1);
  411.  
  412. 138: L:738: F:"q3asm/cmdlib.c":
  413. buffer = malloc (nAllocSize+1);
  414.  
  415. 139: L:767: F:"q3asm/cmdlib.c":
  416. buffer = malloc (length+1);
  417.  
  418. 140: L:213: F:"q3map/shaders.c":
  419. si->pixels = malloc( si->width * si->height * 4 );
  420.  
  421. 141: L:594: F:"q3map/shaders.c":
  422. shaderFiles[numShaderFiles] = malloc(MAX_OS_PATH);
  423.  
  424. 142: L:273: F:"q3map/light_trace.c":
  425. test->facets = malloc( sizeof( test->facets[0] ) * test->numFacets );
  426.  
  427. 143: L:334: F:"q3map/light_trace.c":
  428. test->facets = malloc( sizeof( test->facets[0] ) * test->numFacets );
  429.  
  430. 144: L:389: F:"q3map/light_trace.c":
  431. test = malloc( sizeof( *test ) );
  432.  
  433. 145: L:624: F:"q3map/light_trace.c":
  434. tnodes = malloc( (MAX_TNODES+1) * sizeof(tnode_t));
  435.  
  436. 146: L:44: F:"q3map/portals.c":
  437. p = malloc (sizeof(portal_t));
  438.  
  439. 147: L:36: F:"q3map/facebsp.c":
  440. f = malloc(sizeof(*f));
  441.  
  442. 148: L:66: F:"q3map/patch.c":
  443. ds->verts = malloc( ds->numVerts * sizeof( *ds->verts ) );
  444.  
  445. 149: L:109: F:"q3map/patch.c":
  446. m.verts = verts = malloc( m.width * m.height * sizeof( m.verts[0] ) );
  447.  
  448. 150: L:144: F:"q3map/patch.c":
  449. pm = malloc( sizeof( *pm ) );
  450.  
  451. 151: L:207: F:"q3map/patch.c":
  452. bordering = malloc( patchCount * patchCount );
  453.  
  454. 152: L:1333: F:"q3map/visflow.c":
  455. passage = (passage_t *) malloc(sizeof(passage_t) + portalbytes);
  456.  
  457. 153: L:1516: F:"q3map/visflow.c":
  458. p->portalfront = malloc (portalbytes);
  459.  
  460. 154: L:1519: F:"q3map/visflow.c":
  461. p->portalflood = malloc (portalbytes);
  462.  
  463. 155: L:1522: F:"q3map/visflow.c":
  464. p->portalvis = malloc (portalbytes);
  465.  
  466. 156: L:1352: F:"q3map/soundv.c":
  467. test->facets = malloc( sizeof( test->facets[0] ) * test->numFacets );
  468.  
  469. 157: L:1441: F:"q3map/soundv.c":
  470. test->facets = malloc( sizeof( test->facets[0] ) * test->numFacets );
  471.  
  472. 158: L:1517: F:"q3map/soundv.c":
  473. test = malloc( sizeof( *test ) );
  474.  
  475. 159: L:2814: F:"q3map/soundv.c":
  476. w = (winding_t *) malloc(sizeof(winding_t));
  477.  
  478. 160: L:4923: F:"q3map/soundv.c":
  479. lightFloats = (float *) malloc(numLightBytes * sizeof(float));
  480.  
  481. 161: L:5010: F:"q3map/soundv.c":
  482. dl = malloc(sizeof(*dl));
  483.  
  484. 162: L:5129: F:"q3map/soundv.c":
  485. dl = malloc(sizeof(*dl));
  486.  
  487. 163: L:5164: F:"q3map/soundv.c":
  488. dl2 = malloc(sizeof(*dl));
  489.  
  490. 164: L:5249: F:"q3map/soundv.c":
  491. dl = malloc(sizeof(*dl));
  492.  
  493. 165: L:5381: F:"q3map/soundv.c":
  494. dl = malloc(sizeof(*dl));
  495.  
  496. 166: L:5465: F:"q3map/soundv.c":
  497. w = malloc (size);
  498.  
  499. 167: L:5511: F:"q3map/soundv.c":
  500. portals = malloc(2*numportals*sizeof(lportal_t));
  501.  
  502. 168: L:5514: F:"q3map/soundv.c":
  503. leafs = malloc(portalclusters*sizeof(lleaf_t));
  504.  
  505. 169: L:5706: F:"q3map/soundv.c":
  506. lightFloats = (float *) malloc(numLightBytes * sizeof(float));
  507.  
  508. 170: L:1352: F:"q3map/lightv.c":
  509. test->facets = malloc( sizeof( test->facets[0] ) * test->numFacets );
  510.  
  511. 171: L:1441: F:"q3map/lightv.c":
  512. test->facets = malloc( sizeof( test->facets[0] ) * test->numFacets );
  513.  
  514. 172: L:1517: F:"q3map/lightv.c":
  515. test = malloc( sizeof( *test ) );
  516.  
  517. 173: L:2814: F:"q3map/lightv.c":
  518. w = (winding_t *) malloc(sizeof(winding_t));
  519.  
  520. 174: L:4923: F:"q3map/lightv.c":
  521. lightFloats = (float *) malloc(numLightBytes * sizeof(float));
  522.  
  523. 175: L:5010: F:"q3map/lightv.c":
  524. dl = malloc(sizeof(*dl));
  525.  
  526. 176: L:5129: F:"q3map/lightv.c":
  527. dl = malloc(sizeof(*dl));
  528.  
  529. 177: L:5164: F:"q3map/lightv.c":
  530. dl2 = malloc(sizeof(*dl));
  531.  
  532. 178: L:5249: F:"q3map/lightv.c":
  533. dl = malloc(sizeof(*dl));
  534.  
  535. 179: L:5381: F:"q3map/lightv.c":
  536. dl = malloc(sizeof(*dl));
  537.  
  538. 180: L:5465: F:"q3map/lightv.c":
  539. w = malloc (size);
  540.  
  541. 181: L:5511: F:"q3map/lightv.c":
  542. portals = malloc(2*numportals*sizeof(lportal_t));
  543.  
  544. 182: L:5514: F:"q3map/lightv.c":
  545. leafs = malloc(portalclusters*sizeof(lleaf_t));
  546.  
  547. 183: L:5712: F:"q3map/lightv.c":
  548. lightFloats = (float *) malloc(numLightBytes * sizeof(float));
  549.  
  550. 184: L:88: F:"q3map/mesh.c":
  551. out = malloc( sizeof( *out ) );
  552.  
  553. 185: L:93: F:"q3map/mesh.c":
  554. out->verts = malloc( size );
  555.  
  556. 186: L:111: F:"q3map/mesh.c":
  557. out = malloc( sizeof( *out ) );
  558.  
  559. 187: L:114: F:"q3map/mesh.c":
  560. out->verts = malloc( out->width * out->height * sizeof( drawVert_t ) );
  561.  
  562. 188: L:173: F:"q3map/light.c":
  563. dl = malloc(sizeof(*dl));
  564.  
  565. 189: L:203: F:"q3map/light.c":
  566. dl2 = malloc(sizeof(*dl));
  567.  
  568. 190: L:322: F:"q3map/light.c":
  569. dl = malloc(sizeof(*dl));
  570.  
  571. 191: L:485: F:"q3map/light.c":
  572. dl = malloc(sizeof(*dl));
  573.  
  574. 192: L:1118: F:"q3map/light.c":
  575. out = malloc( sizeof( *out ) );
  576.  
  577. 193: L:1122: F:"q3map/light.c":
  578. out->verts = malloc( out->width * out->height * sizeof(*out->verts) );
  579.  
  580. 194: L:534: F:"q3map/bsp.c":
  581. //numthreads = 1; // multiple threads aren't helping because of heavy malloc use
  582.  
  583. 195: L:80: F:"q3map/tjunction.c":
  584. p = malloc( sizeof(edgePoint_t) );
  585.  
  586. 196: L:425: F:"q3map/tjunction.c":
  587. ds->verts = malloc( numVerts * sizeof( *ds->verts ) );
  588.  
  589. 197: L:455: F:"q3map/tjunction.c":
  590. ds->verts = malloc( numVerts * sizeof( *ds->verts ) );
  591.  
  592. 198: L:251: F:"q3map/misc_model.c":
  593. out->verts = malloc( out->numVerts * sizeof( out->verts[0] ) );
  594.  
  595. 199: L:254: F:"q3map/misc_model.c":
  596. out->indexes = malloc( out->numIndexes * sizeof( out->indexes[0] ) );
  597.  
  598. 200: L:367: F:"q3map/misc_model.c":
  599. out->verts = malloc( out->numVerts * sizeof( out->verts[0] ) );
  600.  
  601. 201: L:370: F:"q3map/misc_model.c":
  602. out->indexes = malloc( out->numIndexes * sizeof( out->indexes[0] ) );
  603.  
  604. 202: L:99: F:"q3map/vis.c":
  605. w = malloc (size);
  606.  
  607. 203: L:882: F:"q3map/vis.c":
  608. portals = malloc(2*numportals*sizeof(vportal_t));
  609.  
  610. 204: L:885: F:"q3map/vis.c":
  611. leafs = malloc(portalclusters*sizeof(leaf_t));
  612.  
  613. 205: L:968: F:"q3map/vis.c":
  614. faces = malloc(2*numfaces*sizeof(vportal_t));
  615.  
  616. 206: L:971: F:"q3map/vis.c":
  617. faceleafs = malloc(portalclusters*sizeof(leaf_t));
  618.  
  619. 207: L:125: F:"q3map/terrain.c":
  620. alphamap = malloc( size );
  621.  
  622. 208: L:378: F:"q3map/terrain.c":
  623. newsurf->indexes = malloc( surf->numIndexes * sizeof( *newsurf->indexes ) );
  624.  
  625. 209: L:382: F:"q3map/terrain.c":
  626. newsurf->verts = malloc( surf->numVerts * sizeof( *newsurf->verts ) );
  627.  
  628. 210: L:439: F:"q3map/terrain.c":
  629. surf->verts = malloc( surf->maxVerts * sizeof( *surf->verts ) );
  630.  
  631. 211: L:443: F:"q3map/terrain.c":
  632. surf->indexes = malloc( surf->maxIndexes * sizeof( *surf->indexes ) );
  633.  
  634. 212: L:453: F:"q3map/terrain.c":
  635. indices = malloc ( maxindices * sizeof( *indices ) );
  636.  
  637. 213: L:593: F:"q3map/terrain.c":
  638. surfaces = malloc( maxsurfaces * sizeof( *surfaces ) );
  639.  
  640. 214: L:792: F:"q3map/terrain.c":
  641. surf->verts = malloc( surf->maxVerts * sizeof( *surf->verts ) );
  642.  
  643. 215: L:796: F:"q3map/terrain.c":
  644. surf->indexes = malloc( surf->maxIndexes * sizeof( *surf->indexes ) );
  645.  
  646. 216: L:807: F:"q3map/terrain.c":
  647. indices = malloc ( maxindices * sizeof( *indices ) );
  648.  
  649. 217: L:1096: F:"q3map/terrain.c":
  650. t.map = malloc( t.width * t.height * sizeof( t.map[ 0 ] ) );
  651.  
  652. 218: L:1145: F:"q3map/terrain.c":
  653. surfaces = malloc( maxsurfaces * sizeof( *surfaces ) );
  654.  
  655. 219: L:86: F:"q3map/surface.c":
  656. ds->verts = malloc( ds->numVerts * sizeof( *ds->verts ) );
  657.  
  658. 220: L:429: F:"q3map/surface.c":
  659. newSide = malloc( sizeof( *side ) );
  660.  
  661. 221: L:489: F:"q3map/surface.c":
  662. dsr = malloc( sizeof( *dsr ) );
  663.  
  664. 222: L:538: F:"q3map/surface.c":
  665. dsr = malloc( sizeof( *dsr ) );
  666.  
  667. 223: L:586: F:"q3map/surface.c":
  668. dsr = malloc( sizeof( *dsr ) );
  669.  
  670. 224: L:63: F:"q3map/brush.c":
  671. bb = malloc(c);
  672.  
  673. 225: L:549: F:"q3map/brush.c":
  674. tree = malloc(sizeof(*tree));
  675.  
  676. 226: L:565: F:"q3map/brush.c":
  677. node = malloc(sizeof(*node));
  678.  
  679. 227: L:35: F:"q3map/fog.c":
  680. m = malloc( sizeof( *m ) );
  681.  
  682. 228: L:38: F:"q3map/fog.c":
  683. m->verts = malloc( sizeof(m->verts[0]) * m->width * m->height );
  684.  
  685. 229: L:136: F:"q3map/fog.c":
  686. f = malloc( sizeof( *f ) );
  687.  
  688. 230: L:148: F:"q3map/fog.c":
  689. f->verts = malloc( sizeof(f->verts[0]) * f->width * f->height );
  690.  
  691. 231: L:150: F:"q3map/fog.c":
  692. b = malloc( sizeof( *b ) );
  693.  
  694. 232: L:162: F:"q3map/fog.c":
  695. b->verts = malloc( sizeof(b->verts[0]) * b->width * b->height );
  696.  
  697. 233: L:272: F:"q3map/fog.c":
  698. ds->verts = malloc( ds->numVerts * sizeof( *ds->verts ) );
  699.  
  700. 234: L:380: F:"q3map/fog.c":
  701. ds->verts = malloc( ds->numVerts * sizeof( *ds->verts ) );
  702.  
  703. 235: L:39: F:"lcc/x86/linux/tst/wf1.1bk":
  704. 2 malloc
  705.  
  706. 236: L:231: F:"lcc/x86/linux/tst/wf1.sbk":
  707. call malloc
  708.  
  709. 237: L:39: F:"lcc/x86/win32/tst/wf1.1bk":
  710. 2 malloc
  711.  
  712. 238: L:229: F:"lcc/x86/win32/tst/wf1.sbk":
  713. call _malloc
  714.  
  715. 239: L:365: F:"lcc/x86/win32/tst/wf1.sbk":
  716. extrn _malloc:near
  717.  
  718. 240: L:82: F:"lcc/cpp/cpp.h":
  719. #define new(t) (t *)domalloc(sizeof(t))
  720.  
  721. 241: L:98: F:"lcc/cpp/cpp.h":
  722. void *domalloc(int);
  723.  
  724. 242: L:251: F:"lcc/cpp/cpp.c":
  725. domalloc(int size)
  726.  
  727. 243: L:253: F:"lcc/cpp/cpp.c":
  728. void *p = malloc(size);
  729.  
  730. 244: L:256: F:"lcc/cpp/cpp.c":
  731. error(FATAL, "Out of memory from malloc");
  732.  
  733. 245: L:80: F:"lcc/cpp/tokens.c":
  734. trp->bp = (Token *)domalloc(size*sizeof(Token));
  735.  
  736. 246: L:365: F:"lcc/cpp/tokens.c":
  737. uchar *ns = (uchar *)domalloc(l+o+1);
  738.  
  739. 247: L:93: F:"lcc/cpp/unix.c":
  740. all and others do a terrible job (like calling malloc) */
  741.  
  742. 248: L:114: F:"lcc/cpp/include.c":
  743. objname = (char*)domalloc(n+5);
  744.  
  745. 249: L:59: F:"lcc/cpp/hideset.c":
  746. hs1 = (Hideset)domalloc(len*sizeof(Hideset));
  747.  
  748. 250: L:96: F:"lcc/cpp/hideset.c":
  749. hidesets = (Hideset *)domalloc(maxhidesets*sizeof(Hideset *));
  750.  
  751. 251: L:97: F:"lcc/cpp/hideset.c":
  752. hidesets[0] = (Hideset)domalloc(sizeof(Hideset));
  753.  
  754. 252: L:556: F:"lcc/cpp/lex.c":
  755. s->inb = domalloc(len+4);
  756.  
  757. 253: L:560: F:"lcc/cpp/lex.c":
  758. s->inb = domalloc(INS+4);
  759.  
  760. 254: L:260: F:"lcc/src/bytecode.c":
  761. sourceFile = malloc( length + 1 );
  762.  
  763. 255: L:20: F:"lcc/src/alloc.c":
  764. union header *new = malloc(sizeof *new + n);
  765.  
  766. 256: L:66: F:"lcc/src/alloc.c":
  767. ap->next = malloc(m);
  768.  
  769. 257: L:39: F:"lcc/sparc/solaris/tst/wf1.1bk":
  770. 2 malloc
  771.  
  772. 258: L:150: F:"lcc/sparc/solaris/tst/wf1.sbk":
  773. call malloc; nop
  774.  
  775. 259: L:67: F:"lcc/tst/wf1.0":
  776. char *malloc();
  777.  
  778. 260: L:82: F:"lcc/tst/wf1.0":
  779. words[next].word = malloc(strlen(word) + 1);
  780.  
  781. 261: L:57: F:"lcc/tst/wf1.c":
  782. char *malloc();
  783.  
  784. 262: L:72: F:"lcc/tst/wf1.c":
  785. words[next].word = malloc(strlen(word) + 1);
  786.  
  787. 263: L:173: F:"lcc/etc/lcc.c":
  788. avail = malloc(n + 4*1024);
  789.  
  790. 264: L:256: F:"lcc/etc/lcc.c":
  791. argv = malloc(argc*sizeof *argv);
  792.  
  793. 265: L:62: F:"lcc/etc/bprint.c":
  794. void *new = malloc(n);
  795.  
  796. 266: L:34: F:"lcc/include/sparc/solaris/stdlib.h":
  797. extern void *malloc(size_t);
  798.  
  799. 267: L:34: F:"lcc/include/alpha/osf/stdlib.h":
  800. extern void *malloc(size_t);
  801.  
  802. 268: L:34: F:"lcc/include/mips/irix/stdlib.h":
  803. extern void *malloc(size_t);
  804.  
  805. 269: L:39: F:"lcc/alpha/osf/tst/wf1.1bk":
  806. 2 malloc
  807.  
  808. 270: L:222: F:"lcc/alpha/osf/tst/wf1.sbk":
  809. jsr $26,malloc
  810.  
  811. 271: L:39: F:"lcc/mips/irix/tst/wf1.1bk":
  812. 2 malloc
  813.  
  814. 272: L:209: F:"lcc/mips/irix/tst/wf1.sbk":
  815. jal malloc
  816.  
  817. 273: L:21: F:"lcc/lburg/gram.c":
  818. #include <stdlib.h> /* for malloc/realloc/free */
  819.  
  820. 274: L:206: F:"lcc/lburg/gram.c":
  821. YYDEFUN (yymalloc, (bytes), unsigned bytes)
  822.  
  823. 275: L:208: F:"lcc/lburg/gram.c":
  824. YYPTR ptr = (YYPTR) malloc (bytes);
  825.  
  826. 276: L:437: F:"lcc/lburg/gram.c":
  827. yyss = (short *) yymalloc (YYSTACKSIZE * sizeof (short));
  828.  
  829. 277: L:440: F:"lcc/lburg/gram.c":
  830. yyvs = (YYSTYPE *) yymalloc (YYSTACKSIZE * sizeof (YYSTYPE));
  831.  
  832. 278: L:540: F:"code/qcommon/files.c":
  833. // we are using direct malloc instead of Z_Malloc here, so it
  834.  
  835. 279: L:542: F:"code/qcommon/files.c":
  836. buf = malloc( len );
  837.  
  838. 280: L:563: F:"code/qcommon/cmd.c":
  839. // use a small malloc to avoid zone fragmentation
  840.  
  841. 281: L:2439: F:"code/qcommon/unzip.c":
  842. inflate_huft *hufts; /* single malloc for tree space */
  843.  
  844. 282: L:742: F:"code/qcommon/common.c":
  845. int size; // total bytes malloced, including header
  846.  
  847. 283: L:1376: F:"code/qcommon/common.c":
  848. // bk001205 - was malloc
  849.  
  850. 284: L:1397: F:"code/qcommon/common.c":
  851. // bk001205 - was malloc
  852.  
  853. 285: L:1523: F:"code/qcommon/common.c":
  854. // bk001205 - was malloc
  855.  
  856. 286: L:402: F:"code/game/q_shared.h":
  857. #undef ERR_FATAL // this is be defined in malloc.h
  858.  
  859. 287: L:265: F:"code/botlib/l_precomp.c":
  860. // t = (token_t *) malloc(sizeof(token_t));
  861.  
  862. 288: L:352: F:"code/macosx/Q3Controller.m":
  863. cmdline = malloc(strlen([grCfg cString])+1);
  864.  
  865. 289: L:361: F:"code/macosx/Q3Controller.m":
  866. cmdline = malloc(commandLineLength);
  867.  
  868. 290: L:511: F:"code/macosx/macosx_glimp.m":
  869. buf = malloc(strlen(glConfig.renderer_string) + 1);
  870.  
  871. 291: L:726: F:"code/macosx/macosx_glimp.m":
  872. symbolName = malloc(strlen(name) + 2);
  873.  
  874. 292: L:146: F:"code/macosx/macosx_display.m":
  875. table->red = malloc(tableSize * sizeof(*table->red));
  876.  
  877. 293: L:149: F:"code/macosx/macosx_display.m":
  878. table->green = malloc(tableSize * sizeof(*table->green));
  879.  
  880. 294: L:152: F:"code/macosx/macosx_display.m":
  881. table->blue = malloc(tableSize * sizeof(*table->blue));
  882.  
  883. 295: L:2025: F:"code/unix/ChangeLog":
  884. * code/qcommon/common.c: replaced malloc with calloc calls.
  885.  
  886. 296: L:2914: F:"code/unix/ChangeLog":
  887. * unix/Makefile: added dmalloc in an attempt to get on
  888.  
  889. 297: L:2915: F:"code/unix/ChangeLog":
  890. the Z_Free bug. Futile. Despite stripping dmalloc debug
  891.  
  892. 298: L:2918: F:"code/unix/ChangeLog":
  893. debug-malloc library: dumping program, fatal error
  894.  
  895. 299: L:1240: F:"code/unix/unix_main.c":
  896. cmdline = malloc(len);
  897.  
  898. 300: L:32: F:"code/splines/q_shared.cpp":
  899. // malloc / free all in one place for debugging
  900.  
  901. 301: L:68: F:"code/splines/q_shared.h":
  902. #ifdef WIN32 // mac doesn't have malloc.h
  903.  
  904. 302: L:69: F:"code/splines/q_shared.h":
  905. #include <malloc.h> // for _alloca()
  906.  
  907. 303: L:288: F:"code/splines/q_shared.h":
  908. #undef ERR_FATAL // malloc.h on unix
  909.  
  910. 304: L:68: F:"code/splines/q_shared.hpp":
  911. #ifdef WIN32 // mac doesn't have malloc.h
  912.  
  913. 305: L:69: F:"code/splines/q_shared.hpp":
  914. #include <malloc.h> // for _alloca()
  915.  
  916. 306: L:288: F:"code/splines/q_shared.hpp":
  917. #undef ERR_FATAL // malloc.h on unix
  918.  
  919. 307: L:19: F:"code/jpeg-6/jmemansi.c":
  920. #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
  921.  
  922. 308: L:20: F:"code/jpeg-6/jmemansi.c":
  923. extern void * malloc JPP((size_t size));
  924.  
  925. 309: L:31: F:"code/jpeg-6/jmemansi.c":
  926. * routines malloc() and free().
  927.  
  928. 310: L:37: F:"code/jpeg-6/jmemansi.c":
  929. return (void *) malloc(sizeofobject);
  930.  
  931. 311: L:57: F:"code/jpeg-6/jmemansi.c":
  932. return (void FAR *) malloc(sizeofobject);
  933.  
  934. 312: L:47: F:"code/jpeg-6/jmemdos.c":
  935. extern void * malloc JPP((size_t size));
  936.  
  937. 313: L:56: F:"code/jpeg-6/jmemdos.c":
  938. #include <alloc.h> /* need farmalloc(), farfree() */
  939.  
  940. 314: L:57: F:"code/jpeg-6/jmemdos.c":
  941. #define far_malloc(x) farmalloc(x)
  942.  
  943. 315: L:61: F:"code/jpeg-6/jmemdos.c":
  944. #include <malloc.h> /* need _fmalloc(), _ffree() */
  945.  
  946. 316: L:62: F:"code/jpeg-6/jmemdos.c":
  947. #define far_malloc(x) _fmalloc(x)
  948.  
  949. 317: L:68: F:"code/jpeg-6/jmemdos.c":
  950. #define far_malloc(x) malloc(x)
  951.  
  952. 318: L:157: F:"code/jpeg-6/jmemdos.c":
  953. * routines malloc() and free().
  954.  
  955. 319: L:163: F:"code/jpeg-6/jmemdos.c":
  956. return (void *) malloc(sizeofobject);
  957.  
  958. 320: L:180: F:"code/jpeg-6/jmemdos.c":
  959. return (void FAR *) far_malloc(sizeofobject);
  960.  
  961. 321: L:33: F:"code/jpeg-6/jcomapi.c":
  962. * with some (brain-damaged) malloc libraries.
  963.  
  964. 322: L:38: F:"code/jpeg-6/jmemsys.h":
  965. * Behavior should be the same as for the standard library functions malloc
  966.  
  967. 323: L:40: F:"code/jpeg-6/jmemsys.h":
  968. * On most systems, these ARE malloc and free. jpeg_free_small is passed the
  969.  
  970. 324: L:54: F:"code/jpeg-6/jmemmgr.c":
  971. * boundaries, doubles on 8-byte boundaries, etc. On such machines, malloc()
  972.  
  973. 325: L:266: F:"code/jpeg-6/jmemmgr.c":
  974. out_of_memory(cinfo, 1); /* request exceeds malloc's ability */
  975.  
  976. 326: L:350: F:"code/jpeg-6/jmemmgr.c":
  977. out_of_memory(cinfo, 3); /* request exceeds malloc's ability */
  978.  
  979. 327: L:1007: F:"code/jpeg-6/jmemmgr.c":
  980. * with some (brain-damaged) malloc libraries.
  981.  
  982. 328: L:729: F:"code/jpeg-6/jpeglib.h":
  983. * to free, especially where malloc()/free() are not too speedy.
  984.  
  985. 329: L:19: F:"code/jpeg-6/jmemname.c":
  986. #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
  987.  
  988. 330: L:20: F:"code/jpeg-6/jmemname.c":
  989. extern void * malloc JPP((size_t size));
  990.  
  991. 331: L:133: F:"code/jpeg-6/jmemname.c":
  992. * routines malloc() and free().
  993.  
  994. 332: L:139: F:"code/jpeg-6/jmemname.c":
  995. return (void *) malloc(sizeofobject);
  996.  
  997. 333: L:159: F:"code/jpeg-6/jmemname.c":
  998. return (void FAR *) malloc(sizeofobject);
  999.  
  1000. 334: L:76: F:"code/bspc/l_mem.c":
  1001. ptr = (void *) malloc(size);
  1002.  
  1003. 335: L:91: F:"code/bspc/l_mem.c":
  1004. ptr = malloc(size);
  1005.  
  1006. 336: L:180: F:"code/bspc/l_mem.c":
  1007. ptr = malloc(size + sizeof(memoryblock_t));
  1008.  
  1009. 337: L:26: F:"code/bspc/qbsp.h":
  1010. #include <malloc.h>
  1011.  
  1012. 338: L:409: F:"code/bspc/map_sin.c":
  1013. temp = malloc(newbrushes*sizeof(mapbrush_t));
  1014.  
  1015. 339: L:720: F:"code/bspc/l_bsp_hl.c":
  1016. e = malloc (sizeof(epair_t));
  1017.  
  1018. 340: L:850: F:"code/bspc/l_bsp_hl.c":
  1019. ep = malloc (sizeof(*ep));
  1020.  
  1021. 341: L:22: F:"code/bspc/l_poly.c":
  1022. #include <malloc.h>
  1023.  
  1024. 342: L:268: F:"code/bspc/l_qfiles.c":
  1025. qf = malloc(sizeof(quakefile_t));
  1026.  
  1027. 343: L:332: F:"code/bspc/l_qfiles.c":
  1028. idpackfiles = (dpackfile_t *) malloc(numpackdirs * sizeof(dpackfile_t));
  1029.  
  1030. 344: L:344: F:"code/bspc/l_qfiles.c":
  1031. packfiles = (dsinpackfile_t *) malloc(numpackdirs * sizeof(dsinpackfile_t));
  1032.  
  1033. 345: L:358: F:"code/bspc/l_qfiles.c":
  1034. packfiles = (dsinpackfile_t *) malloc(numpackdirs * sizeof(dsinpackfile_t));
  1035.  
  1036. 346: L:381: F:"code/bspc/l_qfiles.c":
  1037. qf = malloc(sizeof(quakefile_t));
  1038.  
  1039. 347: L:507: F:"code/bspc/l_qfiles.c":
  1040. qf = malloc(sizeof(quakefile_t));
  1041.  
  1042. 348: L:309: F:"code/client/snd_adpcm.c":
  1043. newchunk = SND_malloc();
  1044.  
  1045. 349: L:58: F:"code/client/snd_mem.c":
  1046. sndBuffer* SND_malloc() {
  1047.  
  1048. 350: L:84: F:"code/client/snd_mem.c":
  1049. buffer = malloc(scs*sizeof(sndBuffer) );
  1050.  
  1051. 351: L:86: F:"code/client/snd_mem.c":
  1052. sfxScratchBuffer = malloc(SND_CHUNK_SIZE * sizeof(short) * 4); //Hunk_Alloc(SND_CHUNK_SIZE * sizeof(short) * 4);
  1053.  
  1054. 352: L:269: F:"code/client/snd_mem.c":
  1055. newchunk = SND_malloc();
  1056.  
  1057. 353: L:147: F:"code/client/snd_wavelet.c":
  1058. newchunk = SND_malloc();
  1059.  
  1060. 354: L:216: F:"code/client/snd_wavelet.c":
  1061. newchunk = SND_malloc();
  1062.  
  1063. 355: L:169: F:"code/client/snd_local.h":
  1064. sndBuffer* SND_malloc();
  1065.  
  1066. 356: L:340: F:"code/client/snd_dma.c":
  1067. sfx->soundData = SND_malloc();
  1068.  
  1069. 357: L:1337: F:"code/renderer/tr_image.c":
  1070. unsigned char *flip = (unsigned char*)malloc (columns*4);
  1071.  
  1072. Total match found: 357
  1073. Total files checked: 1434
  1074. Total files ignored: 47
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement