Home
last modified time | relevance | path

Searched refs:CMalloc (Results 1 – 25 of 26) sorted by relevance

12

/dports/editors/cooledit/cooledit-3.17.28/widget/
H A Dwidget3d.c167 if ((object = CMalloc (sizeof (TD_Solid))) == NULL) in TD_allocate_solid()
174 if ((object->surf = CMalloc (max_num_surfaces * sizeof (TD_Surface))) == NULL) in TD_allocate_solid()
193 w->solid->surf[j].point = CMalloc ((surf_width + 1) * (surf_height + 1) * sizeof (TD_Point)); in Calloc_surf()
247 TD_Point *p = CMalloc (x->columns * sizeof (TD_Point)); in CMatrixToSurface()
366 w->gl_graphicscontext = CMalloc (sizeof (GraphicsContext)); in CDraw3DObject()
H A Dmousemark.c156 result = CMalloc ((strlen (dnd_directory) + strlen ("file:") + 2) * i + len + 2); in CDndFileList()
205 dnd->user_hook2 = dnd->user_hook1 = CMalloc (length + remaining + 1); in widget_insert_drop()
280 names_return = CMalloc ((array_length (typelist) + 1) * sizeof (char *)); in widget_apply_position()
390 xdnd_typelist_receive[i] = CMalloc (32 * sizeof (Atom)); in mouse_init()
396 xdnd_typelist_send[i] = CMalloc (32 * sizeof (Atom)); in mouse_init()
426 p = CMalloc (sizeof (*m)); in mouse_funcs_new()
H A D3dtext.c127 TD_Point *p = CMalloc ((g + 1) * 3 * sizeof (TD_Point)); in CDraw3DCone()
163 TD_Point *p = CMalloc ((GridDensity * 4 + 1) * 2 * sizeof (TD_Point)); in CDraw3DRoundPlate()
229 TD_Point *p = CMalloc ((w + 1) * (h + 1) * sizeof (TD_Point)); in draw3d_surface()
241 TD_Point *p = CMalloc (w * h * sizeof (TD_Point)); in CDraw3DSurface()
324 TD_Point *p = CMalloc (g * g * sizeof (TD_Point)); in CDraw3DEllipsoid()
456 v = CMalloc (w * h * sizeof (Vec)); in CDraw3DFromText()
H A Dpixmap.c46 0, CMalloc (width * height * bpp), width, height, u, 0); in CCreateImage()
65 p = CMalloc (width * height); in CCreateMaskImage()
H A Dfont.c329 current_font->per_char = CMalloc (current_font->num_per_char * sizeof (fontdim_t)); in _font_per_char()
335 t = CMalloc (l * sizeof (fontdim_t)); in _font_per_char()
431 n = CMalloc (sizeof (struct font_object)); in load_font()
518 p = CMalloc (sizeof (struct font_stack)); in CPushFont()
H A Dinputwidget.c120 history_widgets[last] = CMalloc (sizeof (struct textinput_history)); in add_to_widget_history()
155 r = s = CMalloc (history_widgets[i]->text_len); in get_history_list()
228 r = s = CMalloc (tot_len + 1); in get_all_lists()
359 r = (char *) CMalloc (len + 1); in draw_selection_history()
618 t = CMalloc (*l + 1); in get_block()
725 wdt->text = CMalloc (maxlen + 16); in CDrawTextInput()
743 wdt->text = CMalloc (maxlen + 16); in CDrawTextInput()
H A Ddrawings.c126 (*w)->pic = CMalloc(sizeof(CPicture)); in CDrawPicture()
128 (*w)->pic->pp = CMalloc(sizeof(CPicturePrimative) * max_num_elements); in CDrawPicture()
H A Dimagewidget.c170 w->ximage->data = CMalloc (width * height * w->ximage->bits_per_pixel / 8 + 4); in CDrawBWImage()
216 w->ximage->data = CMalloc (width * height * w->ximage->bits_per_pixel / 8); in Cdraw8bitimage()
H A Dtextwidget.c134 t = CMalloc (*l + 1); in get_block()
653 t = CMalloc (len + 1); in text_get_selection()
661 text_selection.text = CMalloc (1); in text_get_selection()
H A Dcoolwidget.h576 void *CMalloc (size_t size);
962 #define CMalloc(x) mad_alloc(x, __FILE__, __LINE__) macro
967 #define CMalloc(x) CDebugMalloc(x, __LINE__, __FILE__) macro
H A Dedit.h673 # define CMalloc(x) malloc(x) macro
709 # define CMalloc(x) malloc(x) macro
H A Dwidechar.c183 t = CMalloc ((strlen ((char *) s) + 1) * sizeof (wchar_t));
H A Dmenu.c483 m = CMalloc ((num_items ? num_items : 1) * sizeof (struct menu_item)); in CDrawMenuButton()
509 m = CMalloc ((w->numlines + 1) * sizeof (struct menu_item)); in insert_menu_item()
H A Ddnd.c191 result = CMalloc ((path_len + 2) * i + len + 2); in CDndFileList()
H A Dcoolwidget.c49 #ifndef CMalloc
50 void *CMalloc (size_t size) in CMalloc() function
380 CWidget *w = CMalloc (sizeof (CWidget)); in allocate_widget()
H A Dinitapp.c270 c = CMalloc (*size * sizeof (XColor)); in get_cells()
542 grey_levels = CMalloc ((size + 2) * sizeof (unsigned short)); in setup_staticcolor()
H A Dedit.c101 t = CMalloc (l + 1); in edit_get_buffer_as_text()
120 p = r = (char *) CMalloc (end - start + 1); in edit_get_current_line_as_text()
172 edit->buffers2[buf2] = CMalloc (EDIT_BUF_SIZE); in init_dynamic_edit_buffers()
182 edit->buffers2[buf] = CMalloc (EDIT_BUF_SIZE); in init_dynamic_edit_buffers()
H A Ddialog.c254 p = text = CMalloc (len + 1); in CListboxDialog()
H A Dlook-cool.c387 fe = CMalloc (sizeof (struct look_cool_list)); in look_cool_draw_file_list()
388 fe->l = CMalloc (sizeof (struct file_entry) * (n + 1)); in look_cool_draw_file_list()
414 fe->l = CMalloc (sizeof (struct file_entry) * (n + 1)); in look_cool_redraw_file_list()
H A Dfieldedtextbox.c138 result = CMalloc ((max_num_fields + 1) * sizeof (int)); in get_field_sizes()
/dports/editors/cooledit/cooledit-3.17.28/editor/
H A Dcomplete.c65 words = CMalloc ((i + 4) * sizeof (char *)); in load_competion_file()
152 r = CMalloc ((i + 1) * sizeof (char *)); in get_possible_words()
H A Dpercentsubs.c55 r = result = CMalloc (8192 + strlen (text)); in substitute_strings()
H A Dshell.c853 scripts[i] = CMalloc (sizeof (struct shell_cmd)); in load_scripts()
908 scripts[i] = CMalloc (sizeof (struct shell_cmd)); in load_scripts()
924 p = s = CMalloc (65536); /* make longer if overwrites */ in save_scripts()
1264 scripts[n] = CMalloc (sizeof (struct shell_cmd)); in new_script_cmd()
H A Dcooledit.c1365 m = CMalloc ((last_edit + WLIST_ITEMS) * sizeof (struct menu_item)); in update_wlist()
1555 t = f = CMalloc (65536); in write_config()
1657 drop.data = CMalloc (size + 1); in handle_drop()
H A Doptions.c404 p = s = CMalloc (16384); in save_setup()

12