Searched refs:new (Results 1 - 25 of 1206) sorted by relevance

1234567891011>>

/xsrc/external/mit/xdm/dist/xdm/
H A Drpcauth.c58 Xauth *new; local in function:SecureRPCGetAuth
60 new = malloc (sizeof *new);
61 if (!new)
63 new->family = FamilyWild;
64 new->address_length = 0;
65 new->address = 0;
66 new->number_length = 0;
67 new->number = 0;
71 new
[all...]
H A Dmitauth.c58 Xauth *new; local in function:MitGetAuth
59 new = malloc (sizeof (Xauth));
61 if (!new)
63 new->family = FamilyWild;
64 new->address_length = 0;
65 new->address = NULL;
66 new->number_length = 0;
67 new->number = NULL;
69 new->data = malloc (AUTH_DATA_LEN);
70 if (!new
[all...]
H A Dkrb5auth.c94 Xauth *new; local in function:Krb5GetAuthFor
98 new = malloc (sizeof *new);
99 if (!new)
101 new->family = FamilyWild;
102 new->address_length = 0;
103 new->address = 0;
104 new->number_length = 0;
105 new->number = 0;
110 new
[all...]
H A Dxdmauth.c86 Xauth *new; local in function:XdmGetAuthHelper
87 new = malloc (sizeof (Xauth));
89 if (!new)
91 new->family = FamilyWild;
92 new->address_length = 0;
93 new->address = NULL;
94 new->number_length = 0;
95 new->number = NULL;
97 new->data_length = 16;
99 new
[all...]
/xsrc/external/mit/xf86-video-ati/dist/src/
H A Dradeon_modes.c90 DisplayModePtr new = NULL; local in function:RADEONTVModes
93 new = xf86CVTMode(800, 600, 60.00, FALSE, FALSE);
94 xf86SetModeDefaultName(new);
95 new->type = M_T_DRIVER | M_T_PREFERRED;
97 return new;
104 DisplayModePtr new = NULL; local in function:RADEONATOMTVModes
112 new = xf86CVTMode(widths[i], heights[i], 60.0, FALSE, FALSE);
113 xf86SetModeDefaultName(new);
115 new->type = M_T_DRIVER;
117 new
141 DisplayModePtr new = NULL; local in function:RADEONFPNativeMode
209 DisplayModePtr last=NULL, new=NULL, first=NULL; local in function:RADEONeMacModes
264 DisplayModePtr new = NULL; local in function:RADEONAddScreenModes
446 DisplayModePtr new = NULL; local in function:radeon_add_common_modes
[all...]
/xsrc/external/mit/libXft/dist/src/
H A Dxftname.c41 FcPattern *new = FcPatternDuplicate (pat); local in function:XftNameUnparse
43 FcPatternDel (new, FC_LANG);
44 FcPatternDel (new, FC_CHARSET);
45 name = FcNameUnparse (new);
46 FcPatternDestroy (new);
/xsrc/external/mit/libXfont/dist/src/util/
H A Dprivate.c82 pointer *new; local in function:_FontSetNewPrivate
86 new = realloc (pFont->devPrivates, (n + 1) * sizeof (pointer));
87 if (!new)
91 new = malloc ((n + 1) * sizeof (pointer));
92 if (!new)
95 memcpy (new, pFont->devPrivates, (pFont->maxPrivate + 1) * sizeof (pointer));
97 pFont->devPrivates = new;
98 /* zero out new, uninitialized privates */
/xsrc/external/mit/libXfont2/dist/src/util/
H A Dprivate.c84 pointer *new; local in function:xfont2_font_set_private
88 new = reallocarray (pFont->devPrivates, (n + 1), sizeof (pointer));
89 if (!new)
93 new = reallocarray (NULL, (n + 1), sizeof (pointer));
94 if (!new)
97 memcpy (new, pFont->devPrivates, (pFont->maxPrivate + 1) * sizeof (pointer));
99 pFont->devPrivates = new;
100 /* zero out new, uninitialized privates */
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_reorder_uniforms.c47 uint32_t new = ~0; local in function:qir_reorder_uniforms
53 if (new == ~0) {
54 new = next_uniform++;
55 if (uniform_index_size <= new) {
68 assert(inst->src[i].index == uniform_index[new]);
71 uniform_index[new] = inst->src[i].index;
72 inst->src[i].index = new;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_reorder_uniforms.c47 uint32_t new = ~0; local in function:qir_reorder_uniforms
53 if (new == ~0) {
54 new = next_uniform++;
55 if (uniform_index_size <= new) {
68 assert(inst->src[i].index == uniform_index[new]);
71 uniform_index[new] = inst->src[i].index;
72 inst->src[i].index = new;
/xsrc/external/mit/xf86-video-intel/dist/src/sna/brw/
H A Dbrw_test.c32 const struct brw_instruction *new, int num_new,
38 memcmp(new, old, num_new * sizeof(struct brw_instruction))) {
39 printf ("%s: new\n", function);
41 brw_disasm(stdout, &new[n], gen);
31 brw_test_compare(const char * function,int gen,const struct brw_instruction * new,int num_new,const struct brw_instruction * old,int num_old) argument
H A Dbrw_test.h38 const struct brw_instruction *new, int num_new,
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/brw/
H A Dbrw_test.c32 const struct brw_instruction *new, int num_new,
38 memcmp(new, old, num_new * sizeof(struct brw_instruction))) {
39 printf ("%s: new\n", function);
41 brw_disasm(stdout, &new[n], gen);
31 brw_test_compare(const char * function,int gen,const struct brw_instruction * new,int num_new,const struct brw_instruction * old,int num_old) argument
H A Dbrw_test.h38 const struct brw_instruction *new, int num_new,
/xsrc/external/mit/MesaLib/dist/docs/
H A Ddevinfo.rst7 To add a new GL extension to Mesa you have to do at least the following.
16 /* declare the new enum tokens */
17 /* prototype the new functions */
18 /* TYPEDEFS for the new functions */
22 - In the ``src/mapi/glapi/gen/`` directory, add the new extension
26 - Add a new entry to the ``gl_extensions`` struct in ``mtypes.h`` if
29 - Add a new entry to the ``src/mesa/main/extensions_table.h`` file.
31 extension, similar to the new one, that's already implemented in Mesa
33 - If the new extension adds new G
[all...]
/xsrc/external/mit/xorg-server.old/dist/os/
H A Dmitauth.c56 struct auth *new; local in function:MitAddCookie
58 new = malloc(sizeof (struct auth));
59 if (!new)
61 new->data = malloc((unsigned) data_length);
62 if (!new->data) {
63 free(new);
66 new->next = mit_auth;
67 mit_auth = new;
68 memmove(new->data, data, (int) data_length);
69 new
[all...]
/xsrc/external/mit/xorg-server/dist/os/
H A Dmitauth.c53 struct auth *new; local in function:MitAddCookie
55 new = malloc(sizeof(struct auth));
56 if (!new)
58 new->data = malloc((unsigned) data_length);
59 if (!new->data) {
60 free(new);
63 new->next = mit_auth;
64 mit_auth = new;
65 memmove(new->data, data, (int) data_length);
66 new
[all...]
/xsrc/external/mit/libXt/dist/src/
H A DCore.c326 Widget new,
335 if (old->core.tm.translations != new->core.tm.translations) {
336 XtTranslations save = new->core.tm.translations;
338 new->core.tm.translations = old->core.tm.translations;
339 _XtMergeTranslations(new, save, XtTableReplace);
346 if (old->core.background_pixel != new->core.background_pixel
347 && new->core.background_pixmap == XtUnspecifiedPixmap) {
348 attributes.background_pixel = new->core.background_pixel;
352 if (old->core.background_pixmap != new->core.background_pixmap) {
353 if (new
324 CoreSetValues(Widget old,Widget reference _X_UNUSED,Widget new,ArgList args _X_UNUSED,Cardinal * num_args _X_UNUSED) argument
[all...]
/xsrc/external/mit/xkbcomp/dist/
H A Dkeytypes.c165 PreserveInfo *new = malloc(sizeof(PreserveInfo)); local in function:InitKeyTypesInfo
166 if (!new)
168 *new = *old;
169 new->defs.next = NULL;
171 last->defs.next = (CommonInfo *) new;
173 info->dflt.preserve = new;
174 last = new;
235 FindMatchingKeyType(KeyTypesInfo *info, const KeyTypeInfo *new) argument
240 if (old->name == new->name)
255 AddKeyType(XkbDescPtr xkb, KeyTypesInfo * info, KeyTypeInfo * new) argument
514 AddPreserve(XkbDescPtr xkb,KeyTypeInfo * type,PreserveInfo * new,Bool clobber,Bool report) argument
586 AddMapEntry(XkbDescPtr xkb,KeyTypeInfo * type,XkbKTMapEntryPtr new,Bool clobber,Bool report) argument
702 PreserveInfo new; local in function:SetPreserve
788 char *old, *new; local in function:AddLevelName
[all...]
/xsrc/external/mit/glu/dist/src/libnurbs/internals/
H A Dbufpool.h120 inline void * operator new( size_t, Pool & );
121 inline void * operator new( size_t, void *);
122 inline void * operator new( size_t s)
123 { return ::new char[s]; }
130 PooledObj::operator new( size_t, Pool& pool )
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_list.c37 struct rc_list * new = memory_pool_malloc(pool, sizeof(struct rc_list)); local in function:rc_list
38 new->Item = item;
39 new->Next = NULL;
40 new->Prev = NULL;
42 return new;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_list.c37 struct rc_list * new = memory_pool_malloc(pool, sizeof(struct rc_list)); local in function:rc_list
38 new->Item = item;
39 new->Next = NULL;
40 new->Prev = NULL;
42 return new;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/
H A Dnouveau_heap.c104 struct nouveau_heap *new = r->next; local in function:nouveau_heap_free
106 new->prev = r->prev;
108 r->prev->next = new;
109 new->size += r->size;
110 new->start = r->start;
113 r = new;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/
H A Dnouveau_heap.c104 struct nouveau_heap *new = r->next; local in function:nouveau_heap_free
106 new->prev = r->prev;
108 r->prev->next = new;
109 new->size += r->size;
110 new->start = r->start;
113 r = new;
/xsrc/external/mit/xf86-video-ark/dist/src/
H A Dark_driver.c79 static void ARKWriteMode(ScrnInfoPtr pScrn, vgaRegPtr pVga, ARKRegPtr new);
639 ARKRegPtr new = &pARK->ModeRegs; local in function:ARKModeInit
681 new->cr46 = rdinx(vgaIOBase + 4, 0x46) & ~0x04;
686 new->cr46 |= 0x04;
691 new->cr41 = (offset & 0x100) >> 5;
693 new->sr11 = 0x90;
696 new->sr11 |= 0x06;
699 new->sr11 |= 0x0a;
702 new->sr11 |= 0x06;
707 new
916 ARKWriteMode(ScrnInfoPtr pScrn,vgaRegPtr pVga,ARKRegPtr new) argument
[all...]

Completed in 28 milliseconds

1234567891011>>