/dports/editors/cooledit/cooledit-3.17.28/widget/ |
H A D | widget3d.c | 167 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 D | mousemark.c | 156 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 D | 3dtext.c | 127 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 D | pixmap.c | 46 0, CMalloc (width * height * bpp), width, height, u, 0); in CCreateImage() 65 p = CMalloc (width * height); in CCreateMaskImage()
|
H A D | font.c | 329 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 D | inputwidget.c | 120 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 D | drawings.c | 126 (*w)->pic = CMalloc(sizeof(CPicture)); in CDrawPicture() 128 (*w)->pic->pp = CMalloc(sizeof(CPicturePrimative) * max_num_elements); in CDrawPicture()
|
H A D | imagewidget.c | 170 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 D | textwidget.c | 134 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 D | coolwidget.h | 576 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 D | edit.h | 673 # define CMalloc(x) malloc(x) macro 709 # define CMalloc(x) malloc(x) macro
|
H A D | widechar.c | 183 t = CMalloc ((strlen ((char *) s) + 1) * sizeof (wchar_t));
|
H A D | menu.c | 483 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 D | dnd.c | 191 result = CMalloc ((path_len + 2) * i + len + 2); in CDndFileList()
|
H A D | coolwidget.c | 49 #ifndef CMalloc 50 void *CMalloc (size_t size) in CMalloc() function 380 CWidget *w = CMalloc (sizeof (CWidget)); in allocate_widget()
|
H A D | initapp.c | 270 c = CMalloc (*size * sizeof (XColor)); in get_cells() 542 grey_levels = CMalloc ((size + 2) * sizeof (unsigned short)); in setup_staticcolor()
|
H A D | edit.c | 101 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 D | dialog.c | 254 p = text = CMalloc (len + 1); in CListboxDialog()
|
H A D | look-cool.c | 387 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 D | fieldedtextbox.c | 138 result = CMalloc ((max_num_fields + 1) * sizeof (int)); in get_field_sizes()
|
/dports/editors/cooledit/cooledit-3.17.28/editor/ |
H A D | complete.c | 65 words = CMalloc ((i + 4) * sizeof (char *)); in load_competion_file() 152 r = CMalloc ((i + 1) * sizeof (char *)); in get_possible_words()
|
H A D | percentsubs.c | 55 r = result = CMalloc (8192 + strlen (text)); in substitute_strings()
|
H A D | shell.c | 853 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 D | cooledit.c | 1365 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 D | options.c | 404 p = s = CMalloc (16384); in save_setup()
|