Searched refs:XtMalloc (Results 1 - 25 of 93) sorted by relevance

1234

/xsrc/external/mit/libXt/dist/include/X11/
H A DXtos.h51 #define ALLOCATE_LOCAL_FALLBACK(_size) XtMalloc((unsigned long)(_size))
H A DIntrinsicI.h140 : XtMalloc((Cardinal)(size)))
231 #define __XtMalloc XtMalloc
/xsrc/external/mit/xsm/dist/
H A Dlist.c34 l = (List *)XtMalloc(sizeof *l);
94 e = (List *)XtMalloc(sizeof *e);
111 e = (List *)XtMalloc(sizeof *e);
H A Dmisc.c73 newenv = (char **) XtMalloc((unsigned) ((idx + 2) * sizeof(char*)));
H A Dprop.c159 pprop = (Prop *) XtMalloc (sizeof (Prop));
168 PropValue *pval = (PropValue *) XtMalloc (sizeof (PropValue));
171 pval->value = (XtPointer) XtMalloc (theProp->vals[i].length + 1);
358 propsRet = (SmProp **) XtMalloc (numProps * sizeof (SmProp *));
363 propsRet[index] = propRet = (SmProp *) XtMalloc (sizeof (SmProp));
370 propRet->vals = propValRet = (SmPropValue *) XtMalloc (
378 propValRet->value = (SmPointer) XtMalloc (pval->length);
H A Dsaveutil.c135 c = (PendingClient *)XtMalloc(sizeof *c);
156 prop = (Prop *)XtMalloc(sizeof *prop);
186 val = (PropValue *)XtMalloc(sizeof *val);
192 val->value = (XtPointer) XtMalloc (1);
H A Dremote.c224 char *ret = (char *) XtMalloc (len);
H A Drestart.c196 args = (char **)XtMalloc((cnt+1) * sizeof(char *));
204 env = (char **)XtMalloc((cnt+3+1) * sizeof(char *));
386 args = (char **) XtMalloc (
400 env = (char **) XtMalloc (
H A Dchoose.c105 ((*short_names_ret = (String *) XtMalloc (
108 (String *) XtMalloc (count * sizeof (String))) == NULL) ||
109 ((*locked_ret = (Bool *) XtMalloc (count * sizeof (Bool))) == NULL))
/xsrc/external/mit/libXt/dist/src/
H A DAlloc.c129 /* Version of asprintf() using XtMalloc
147 *new_string = XtMalloc((Cardinal) len + 1); /* snprintf doesn't count trailing '\0' */
166 XtMalloc(unsigned size) function in typeref:typename:char *
189 return (XtMalloc(size));
213 return (XtMalloc(num * size));
262 return XtMalloc(size);
285 return XtMalloc(bytes);
293 heap_loc = XtMalloc(bytes + (Cardinal) sizeof(char *));
308 heap_loc = XtMalloc((unsigned) HEAP_SEGMENT_SIZE);
342 #undef XtMalloc
408 XtMalloc(unsigned size) function in typeref:typename:char *
[all...]
/xsrc/external/mit/libXmu/dist/src/
H A DCvtStdSel.c106 os_name = XtMalloc (len);
177 *value = XtMalloc(4);
220 *value = XtMalloc(*length);
247 *value = XtMalloc(sizeof(Window));
268 Atom* std_targets = (Atom*)XtMalloc(NUM_TARGETS*sizeof(Atom));
/xsrc/external/mit/libXt/dist/test/
H A DAlloc.c160 /* Make sure XtMalloc() works for a non-zero amount of memory */
169 p = XtMalloc(size);
181 /* Make sure XtMalloc(0) returns expected results */
188 p = XtMalloc(0);
210 p = XtMalloc(UINT_MAX - 1);
222 /* Make sure XtMalloc catches integer overflow if possible, by requesting
226 * Testing integer overflow cases is limited by the fact that XtMalloc
239 p = XtMalloc(SIZE_MAX);
251 p = XtMalloc(SIZE_MAX - 1);
263 p = XtMalloc(SIZE_MA
[all...]
/xsrc/external/mit/xclipboard/dist/
H A Dxcutsel.c132 *value = XtMalloc(sizeof(Atom)*(std_length + 4));
150 *value = XtMalloc((Cardinal) options.length);
157 long *temp = (long *) XtMalloc (sizeof(long));
166 long *temp = (long *) XtMalloc (sizeof(long));
176 long *temp = (long *) XtMalloc (2 * sizeof(long));
/xsrc/external/mit/editres/dist/
H A Dutils.c102 *out = (char **) XtMalloc( (Cardinal) size);
494 *names = (char **) XtMalloc(sizeof(char *) * (total_widgets + 1));
495 *classes = (char **) XtMalloc(sizeof(char *) * (total_widgets + 1));
568 names = (char **) XtMalloc(sizeof(char *) *
578 cons_names = (char **) XtMalloc(sizeof(char *) *
606 resources = (WidgetResources *) XtMalloc(sizeof(WidgetResources));
616 XtMalloc(sizeof(WidgetResourceInfo) * info->num_resources);
763 quarks = (XrmQuarkList) XtMalloc(sizeof(XrmQuark) * i);
814 XtMalloc(sizeof(unsigned long) * num_widgets);
H A Dsetvalues.c113 ptr = XtMalloc(sizeof(char) * value.size);
/xsrc/external/mit/libXaw/dist/src/
H A DPixmap.c115 xaw_params = (XawParams *)XtMalloc(sizeof(XawParams));
202 xaw_arg = (XawArgVal *)XtMalloc(sizeof(XawArgVal));
209 XtMalloc(sizeof(XawArgVal*));
302 xaw_pixmap = (XawPixmap *)XtMalloc(sizeof(XawPixmap));
343 if ((info = (XawPixmapLoaderInfo *)XtMalloc(sizeof(XawPixmapLoaderInfo)))
355 XtMalloc(sizeof(XawPixmapLoaderInfo*));
483 pcache = (XawCache *)XtMalloc(sizeof(XawCache));
487 xaw->elems = (XtPointer*)XtMalloc(sizeof(XtPointer));
509 pcache = (XawCache *)XtMalloc(sizeof(XawCache));
513 s_cache->elems = (XtPointer*)XtMalloc(sizeo
[all...]
H A DActions.c431 arglist = (Arg *)XtMalloc((Cardinal)sizeof(Arg) * ((*num_params) >> 1));
698 list = (XawActionResList *)XtMalloc((Cardinal)sizeof(XawActionResList));
706 resource_list = (XawActionResList **)XtMalloc((Cardinal)sizeof(XawActionResList*));
774 XtMalloc((Cardinal)sizeof(XawActionRes*) * (num_xt + num_cons));
782 list->resources[i] = (XawActionRes *)XtMalloc((Cardinal)sizeof(XawActionRes));
803 list->resources[i] = (XawActionRes *)XtMalloc((Cardinal)sizeof(XawActionRes));
877 char *escape = XtMalloc((Cardinal)strlen(value) + 2);
891 char *unescape = XtMalloc((Cardinal)strlen(value));
992 list = (XawActionVarList *)XtMalloc((Cardinal)sizeof(XawActionVarList));
1000 variable_list = (XawActionVarList **)XtMalloc((Cardina
[all...]
H A DPrivate.h38 : XtMalloc((Cardinal)(size)))
/xsrc/external/mit/bitmap/dist/
H A DCutPaste.c89 pixmap = (Pixmap *) XtMalloc(sizeof(Pixmap));
94 pixmap = (Pixmap *) XtMalloc(sizeof(Pixmap));
H A DReqMach.c89 XtMalloc(request->status_size);
92 XtMalloc(call_data_size);
/xsrc/external/mit/xditview/dist/
H A Dpage.c54 m = (DviFileMap *) XtMalloc(sizeof *m);
H A Dfont.c28 n = XtMalloc (len);
60 best = (DviFontSizeList *) XtMalloc(sizeof *best);
223 DviFontSizeList *new = (DviFontSizeList *) XtMalloc(sizeof *new);
258 f = (DviFontList *) XtMalloc(sizeof(*f));
329 DviFontMap *new = (DviFontMap *) XtMalloc(sizeof *new);
H A DDviChar.c14 #define allocHash() ((DviCharNameHash *) XtMalloc (sizeof (DviCharNameHash)))
53 m = (struct map_list *) XtMalloc(sizeof *m);
/xsrc/external/mit/xgc/dist/
H A Dchoice.c78 choice = (ChoiceDesc *) XtMalloc(sizeof(ChoiceDesc));
79 choice->widgets = (WidgetList) XtMalloc(sizeof(Widget) *
126 text = (char *) XtMalloc((unsigned) (strlen(info->choice.text) +
/xsrc/external/mit/xmag/dist/
H A DCutPaste.c50 Pixmap *pixmap = (Pixmap *) XtMalloc(sizeof(Pixmap));

Completed in 52 milliseconds

1234