| /xsrc/external/mit/libXfont/dist/src/util/ |
| H A D | fontnames.c | 48 free(pFN->names[i]); 50 free(pFN->names); 67 pFN->names = malloc(size * sizeof(char *)); 68 if (!pFN->length || !pFN->names) { 70 free(pFN->names); 78 pFN->names = 0; 85 AddFontNamesName(FontNamesPtr names, char *name, int length) argument 87 int index = names->nnames; 93 if (index >= names->size) { 94 int size = names [all...] |
| /xsrc/external/mit/libXfont2/dist/src/util/ |
| H A D | fontnames.c | 50 free(pFN->names[i]); 52 free(pFN->names); 69 pFN->names = mallocarray(size, sizeof(char *)); 70 if (!pFN->length || !pFN->names) { 72 free(pFN->names); 80 pFN->names = 0; 87 xfont2_add_font_names_name(FontNamesPtr names, argument 91 int index = names->nnames; 97 if (index >= names->size) { 98 int size = names [all...] |
| /xsrc/external/mit/libXfont2/dist/test/utils/ |
| H A D | lsfontdir.c | 53 FontNamesPtr names; local in function:main 59 names = xfont2_make_font_names_record(max_names_count / 16); 60 assert(names != NULL); 63 (NULL, fpe, pattern, strlen(pattern), max_names_count, names); 69 for (n = 0 ; n < names->nnames; n++) { 70 printf("%s\n", names->names[n]); 73 xfont2_free_font_names(names);
|
| /xsrc/external/mit/xorg-server/dist/xkb/ |
| H A D | XKBAlloc.c | 122 XkbNamesPtr names; local in function:XkbAllocNames 126 if (xkb->names == NULL) { 127 xkb->names = calloc(1, sizeof(XkbNamesRec)); 128 if (xkb->names == NULL) 131 names = xkb->names; 146 if ((which & XkbKeyNamesMask) && (names->keys == NULL)) { 151 names->keys = calloc((xkb->max_key_code + 1), sizeof(XkbKeyNameRec)); 152 if (names->keys == NULL) 156 if (names 209 XkbNamesPtr names; local in function:XkbFreeNames 348 XkbFreeComponentNames(XkbComponentNamesPtr names,Bool freeNames) argument [all...] |
| H A D | xkbfmisc.c | 169 XkbComponentNamesPtr names, 179 if (COMPLETE(names->keycodes)) 181 if (COMPLETE(names->types)) 183 if (COMPLETE(names->compat)) 185 if (COMPLETE(names->symbols)) 187 if (COMPLETE(names->geometry)) 197 old_names = xkb->names; 201 if (xkb->names && xkb->names->keys) 237 if ((!xkb->names) || (!xk 168 XkbWriteXKBKeymapForNames(FILE * file,XkbComponentNamesPtr names,XkbDescPtr xkb,unsigned want,unsigned need) argument [all...] |
| /xsrc/external/mit/xorg-server.old/dist/xkb/ |
| H A D | XKBAlloc.c | 121 XkbNamesPtr names; local in function:XkbAllocNames 125 if (xkb->names==NULL) { 126 xkb->names = calloc(1, sizeof(XkbNamesRec)); 127 if (xkb->names==NULL) 130 names= xkb->names; 144 if ((which&XkbKeyNamesMask)&&(names->keys==NULL)) { 149 names->keys= calloc((xkb->max_key_code+1), sizeof(XkbKeyNameRec)); 150 if (names->keys==NULL) 154 if (names 201 XkbNamesPtr names; local in function:XkbFreeNames 341 XkbFreeComponentNames(XkbComponentNamesPtr names,Bool freeNames) argument [all...] |
| H A D | xkbfmisc.c | 162 XkbComponentNamesPtr names, 174 if (COMPLETE(names->keycodes)) complete|= XkmKeyNamesMask; 175 if (COMPLETE(names->types)) complete|= XkmTypesMask; 176 if (COMPLETE(names->compat)) complete|= XkmCompatMapMask; 177 if (COMPLETE(names->symbols)) complete|= XkmSymbolsMask; 178 if (COMPLETE(names->geometry)) complete|= XkmGeometryMask; 187 old_names = xkb->names; 191 if (xkb->names && xkb->names->keys) 227 if ((!xkb->names)||(!xk 161 XkbWriteXKBKeymapForNames(FILE * file,XkbComponentNamesPtr names,XkbDescPtr xkb,unsigned want,unsigned need) argument [all...] |
| /xsrc/external/mit/xmh/dist/ |
| H A D | miscfuncs.c | 44 register char **names; local in function:ScanDir 52 if (!(names = malloc(size * sizeof(char *))) || 63 newnames = realloc(names, size * sizeof(char*)); 68 names = newnames; 72 names[i - 1] = strdup(E->d_name); 73 if (names[i - 1] == NULL) { 80 names[i] = (char *)0; 81 *List = names; 86 qsort((char *)names, i, sizeof(char *), 93 free(names[ [all...] |
| /xsrc/external/mit/ctwm/dist/tests/layout/ |
| H A D | test_monitor_layout.c | 47 // Check the names and sizes. 50 char **names = Scr->Layout->names; local in function:check_monitor_layout 52 if(strcmp(names[0], "One") != 0) { 53 fprintf(stderr, "First monitor should be 'One', not '%s'\n", names[0]); 56 if(strcmp(names[1], "Two") != 0) { 57 fprintf(stderr, "Second monitor should be 'Two', not '%s'\n", names[1]); 60 if(names[2] != NULL) { 61 fprintf(stderr, "Third monitor should be unnamed, not '%s'\n", names[2]);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | remap.c | 60 * followed by the names of the entry points. An empty entry 70 const char *names[MAX_ENTRY_POINTS + 1]; local in function:map_function_spec 81 names[num_names] = spec; 90 names[num_names] = NULL; 93 return _glapi_add_dispatch(names, signature);
|
| H A D | format_fallback.py | 42 names = set(fmt.name for fmt in formats) 61 if unorm_name in names: 70 names = set(fmt.name for fmt in formats) 83 if rgba_name not in names:
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | remap.c | 61 * followed by the names of the entry points. An empty entry 71 const char *names[MAX_ENTRY_POINTS + 1]; local in function:map_function_spec 82 names[num_names] = spec; 91 names[num_names] = NULL; 94 return _glapi_add_dispatch(names, signature);
|
| H A D | format_fallback.py | 42 names = set(fmt.name for fmt in formats) 61 if unorm_name in names: 70 names = set(fmt.name for fmt in formats) 83 if rgba_name not in names: 89 names = set(fmt.name for fmt in formats) 98 assert r_name in names
|
| /xsrc/external/mit/ctwm/dist/ |
| H A D | r_structs.h | 50 /// List of names of the monitors. `names[i]` corresponds with 52 /// with output names via RLayoutXParseGeometry(); e.g, 54 char **names; member in struct:RLayout
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_prim.c | 30 static const struct debug_named_value names[] = { local in function:u_prim_name 47 return debug_dump_enum(names, prim);
|
| H A D | u_debug_gallium.c | 62 static const struct debug_named_value names[] = { local in function:debug_print_bind_flags 85 debug_printf("%s: %s\n", msg, debug_dump_flags(names, usage)); 95 static const struct debug_named_value names[] = { local in function:debug_print_usage_enum 104 debug_printf("%s: %s\n", msg, debug_dump_enum(names, usage));
|
| /xsrc/external/mit/xorg-server.old/dist/hw/sun/ |
| H A D | sunKbd.c | 24 mentation, and that the names of Sun or The Open Group 425 names->keymap = NULL; 426 names->compat = "compat/complete"; 427 names->types = "types/complete"; 428 names->keycodes = keycodesbuf; 429 names->geometry = geometrybuf; 430 names->symbols = symbolsbuf; 438 (void) strcat (names->keycodes, "sun(type2)"); 439 (void) strcat (names->geometry, "sun(type2)"); 440 (void) strcat (names [all...] |
| /xsrc/external/mit/libX11/dist/src/xkb/ |
| H A D | XKBAlloc.c | 113 XkbNamesPtr names; local in function:XkbAllocNames 117 if (xkb->names == NULL) { 118 xkb->names = _XkbTypedCalloc(1, XkbNamesRec); 119 if (xkb->names == NULL) 122 names = xkb->names; 136 if ((which & XkbKeyNamesMask) && (names->keys == NULL)) { 141 names->keys = _XkbTypedCalloc((xkb->max_key_code + 1), XkbKeyNameRec); 142 if (names->keys == NULL) 146 if ((names 173 XkbNamesPtr names; local in function:XkbFreeNames [all...] |
| H A D | XKBGetByName.c | 40 XkbComponentNamesPtr names, 76 if (names) { 77 if (names->keymap) 78 mapLen = (int) strlen(names->keymap); 79 if (names->keycodes) 80 codesLen = (int) strlen(names->keycodes); 81 if (names->types) 82 typesLen = (int) strlen(names->types); 83 if (names->compat) 84 compatLen = (int) strlen(names 38 XkbGetKeyboardByName(Display * dpy,unsigned deviceSpec,XkbComponentNamesPtr names,unsigned want,unsigned need,Bool load) argument [all...] |
| H A D | XKBNames.c | 62 register XkbNamesPtr names; local in function:_XkbReadGetNamesReply 67 if ((xkb->names == NULL) && 72 names = xkb->names; 82 (!_XkbReadBufferCopy32(&buf, (long *) &names->keycodes, 1))) 85 (!_XkbReadBufferCopy32(&buf, (long *) &names->geometry, 1))) 88 (!_XkbReadBufferCopy32(&buf, (long *) &names->symbols, 1))) 91 (!_XkbReadBufferCopy32(&buf, (long *) &names->phys_symbols, 1))) 94 (!_XkbReadBufferCopy32(&buf, (long *) &names->types, 1))) 97 (!_XkbReadBufferCopy32(&buf, (long *) &names 331 XkbNamesPtr names; local in function:XkbSetNames 538 XkbNamesPtr names; local in function:XkbChangeNames [all...] |
| /xsrc/external/mit/libxkbfile/dist/src/ |
| H A D | srvmisc.c | 119 if (xkb->names) { 120 XkbNamesPtr names = xkb->names; local in function:XkbChangeKbdDisplay 122 names->keycodes = XkbChangeAtomDisplay(oldDpy, newDpy, names->keycodes); 123 names->geometry = XkbChangeAtomDisplay(oldDpy, newDpy, names->geometry); 124 names->symbols = XkbChangeAtomDisplay(oldDpy, newDpy, names->symbols); 125 names [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| H A D | u_prim.c | 43 static const struct debug_named_value names[] = { local in function:u_prim_name 60 return debug_dump_enum(names, prim);
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | u_debug.c | 322 debug_dump_enum(const struct debug_named_value *names, argument 327 while (names->name) { 328 if (names->value == value) 329 return names->name; 330 ++names; 339 debug_dump_enum_noprefix(const struct debug_named_value *names, argument 345 while (names->name) { 346 if (names->value == value) { 347 const char *name = names->name; 354 ++names; 363 debug_dump_flags(const struct debug_named_value * names,unsigned long value) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | u_debug.c | 345 debug_dump_enum(const struct debug_named_value *names, argument 350 while (names->name) { 351 if (names->value == value) 352 return names->name; 353 ++names; 362 debug_dump_enum_noprefix(const struct debug_named_value *names, argument 368 while (names->name) { 369 if (names->value == value) { 370 const char *name = names->name; 377 ++names; 386 debug_dump_flags(const struct debug_named_value * names,unsigned long value) argument [all...] |
| /xsrc/external/mit/fonttosfnt/dist/ |
| H A D | read.c | 214 font->names = malloc(10 * sizeof(FontNameEntryRec)); 215 if(font->names == NULL) { 216 fprintf(stderr, "Couldn't allocate names.\n"); 223 font->names[i].nid = 0; 224 font->names[i].size = 2 * strlen(buf); 225 font->names[i].value = makeUTF16(buf); 230 font->names[i].nid = 1; 231 font->names[i].size = 2 * strlen(family_name); 232 font->names[i].value = makeUTF16(family_name); 235 font->names[ [all...] |