Searched refs:Xmalloc (Results 1 - 25 of 139) sorted by relevance

123456

/xsrc/external/mit/libXi/dist/src/
H A DXGetMMap.c92 res = (XModifierKeymap *) Xmalloc(sizeof(XModifierKeymap));
98 res->modifiermap = (KeyCode *) Xmalloc(nbytes);
H A DXGetDProp.c96 if ((*prop = Xmalloc (rbytes)))
107 if ((*prop = Xmalloc (rbytes)))
118 if ((*prop = Xmalloc (rbytes)))
H A DXGtSelect.c104 (XEventClass *) Xmalloc(*this_client_count *
120 (XEventClass *) Xmalloc(*all_clients_count *
H A DXIQueryDevice.c68 info = Xmalloc((reply.num_devices + 1) * sizeof(XIDeviceInfo));
69 buf = Xmalloc(reply.length * 4);
117 lib->classes = Xmalloc(sz);
H A DXGMotion.c110 savp = readp = Xmalloc(size);
121 bufp = Xmalloc(bsize);
H A DXGetKMap.c101 mapping = (KeySym *) Xmalloc((unsigned)nbytes);
H A DXGetProp.c94 list = Xmalloc(rep.length * sizeof(XEventClass));
H A DXGetVers.c101 ext = (XExtensionVersion *) Xmalloc(sizeof(XExtensionVersion));
H A DXListDProp.c65 props = (Atom*)Xmalloc(rep.nAtoms * sizeof(Atom));
/xsrc/external/mit/libX11/dist/src/
H A DStrToText.c66 register char *buf = Xmalloc (nbytes);
81 proto.value = Xmalloc (1); /* easier for client */
H A DGetProp.c95 if (nbytes + 1 > 0 && (*prop = Xmalloc (nbytes + 1)))
102 if (nbytes + 1 > 0 && (*prop = Xmalloc (nbytes + 1)))
109 if (nbytes + 1 > 0 && (*prop = Xmalloc (nbytes + 1)))
H A DRegstFlt.c89 rec = Xmalloc(sizeof(XFilterEventRec));
121 rec = Xmalloc(sizeof(XFilterEventRec));
H A DGetAtomNm.c72 if ((name = Xmalloc(rep.nameLength + 1))) {
124 state->names[state->idx] = Xmalloc(repl->nameLength + 1);
170 if ((names_return[missed] = Xmalloc(rep.nameLength + 1))) {
H A DModMap.c49 res = Xmalloc(sizeof (XModifierKeymap));
51 res->modifiermap = Xmalloc (nbytes);
100 XModifierKeymap *res = Xmalloc((sizeof (XModifierKeymap)));
H A DGetFPath.c56 ch = Xmalloc (nbytes + 1);
H A DListExt.c61 ch = Xmalloc (rlen + 1);
H A DPutBEvent.c44 if ((dpy->qfree = Xmalloc (sizeof (_XQEvent))) == NULL) {
H A DSetFPath.c62 if ((p = Xmalloc (nbytes))) {
H A DTextToStr.c78 start = Xmalloc ((datalen + 1) * sizeof (char)); /* for <NUL> */
/xsrc/external/mit/libX11/dist/src/xcms/
H A DIdOfPr.c71 string_lowered = Xmalloc(len+1);
/xsrc/external/mit/libX11/dist/modules/im/ximcp/
H A DimThaiIc.c170 if (! (ic->private.local.base.tree = tree = Xmalloc(sizeof(DefTree)*3)) )
172 if (! (ic->private.local.base.mb = Xmalloc(21)) )
174 if (! (ic->private.local.base.wc = Xmalloc(sizeof(wchar_t)*21)) )
176 if (! (ic->private.local.base.utf8 = Xmalloc(21)) )
193 if((res = Xmalloc(len)) == (XIMResourceList)NULL) {
H A DimTransR.c141 if (!(tmp = Xmalloc(data_len))) {
176 if (!(tmp = Xmalloc(data_len))) {
203 if (!(tmp = Xmalloc(data_len))) {
286 preply = Xmalloc(buf_size);
/xsrc/external/mit/libX11/dist/src/xlibi18n/
H A DlcCharSet.c95 list = Xmalloc(sizeof(XlcCharSetListRec));
187 tmp = Xmalloc(name_len + 1 + ct_sequence_len + 1);
199 char *encoding_tmp = Xmalloc(length + 1);
H A DlcRM.c200 UbState state = Xmalloc(sizeof(UbStateRec));
210 MbState state = Xmalloc(sizeof(MbStateRec));
/xsrc/external/mit/libXrandr/dist/src/
H A DXrrProperty.c63 props = Xmalloc (rbytes);
109 prop_info = Xmalloc (rbytes);
309 if (rbytes > 0 && (*prop = Xmalloc (rbytes)))
316 if (rbytes > 0 && (*prop = Xmalloc (rbytes)))
323 if (rbytes > 0 && (*prop = Xmalloc (rbytes)))

Completed in 44 milliseconds

123456