1f2e0b8c3Smrg/* ANSI-C code produced by gperf version 3.1 */ 2f2e0b8c3Smrg/* Command-line: gperf --pic -m 100 fcobjshash.gperf */ 37872e0a1Smrg/* Computed positions: -k'3,5' */ 4f2e0b8c3Smrg 5f2e0b8c3Smrg#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ 6f2e0b8c3Smrg && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ 7f2e0b8c3Smrg && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ 8f2e0b8c3Smrg && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ 9f2e0b8c3Smrg && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ 10f2e0b8c3Smrg && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ 11f2e0b8c3Smrg && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ 12f2e0b8c3Smrg && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ 13f2e0b8c3Smrg && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ 14f2e0b8c3Smrg && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ 15f2e0b8c3Smrg && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ 16f2e0b8c3Smrg && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ 17f2e0b8c3Smrg && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ 18f2e0b8c3Smrg && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ 19f2e0b8c3Smrg && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ 20f2e0b8c3Smrg && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ 21f2e0b8c3Smrg && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ 22f2e0b8c3Smrg && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ 23f2e0b8c3Smrg && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ 24f2e0b8c3Smrg && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ 25f2e0b8c3Smrg && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ 26f2e0b8c3Smrg && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ 27f2e0b8c3Smrg && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) 28f2e0b8c3Smrg/* The character set is not based on ISO-646. */ 29f2e0b8c3Smrg#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gperf@gnu.org>." 30f2e0b8c3Smrg#endif 31f2e0b8c3Smrg 32f2e0b8c3Smrg#line 1 "fcobjshash.gperf" 33f2e0b8c3Smrg 34f2e0b8c3Smrg#line 13 "fcobjshash.gperf" 35f2e0b8c3Smrgstruct FcObjectTypeInfo { 36f2e0b8c3Smrgint name; 37f2e0b8c3Smrgint id; 38f2e0b8c3Smrg}; 39f2e0b8c3Smrg#include <string.h> 4032c2f8aeSmrg/* maximum key range = 57, duplicates = 0 */ 41f2e0b8c3Smrg 42f2e0b8c3Smrg#ifdef __GNUC__ 43f2e0b8c3Smrg__inline 44f2e0b8c3Smrg#else 45f2e0b8c3Smrg#ifdef __cplusplus 46f2e0b8c3Smrginline 47f2e0b8c3Smrg#endif 48f2e0b8c3Smrg#endif 49f2e0b8c3Smrgstatic unsigned int 50f2e0b8c3SmrgFcObjectTypeHash (register const char *str, register size_t len) 51f2e0b8c3Smrg{ 52f2e0b8c3Smrg static const unsigned char asso_values[] = 53f2e0b8c3Smrg { 5432c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 5532c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 5632c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 5732c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 5832c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 5932c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 6032c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 6132c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 6232c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 6332c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 2, 19, 10, 6432c2f8aeSmrg 21, 36, 37, 20, 13, 7, 63, 63, 18, 4, 6532c2f8aeSmrg 10, 46, 17, 63, 21, 2, 6, 32, 34, 41, 6632c2f8aeSmrg 24, 8, 3, 63, 63, 63, 63, 63, 63, 63, 6732c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 6832c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 6932c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 7032c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 7132c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 7232c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 7332c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 7432c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 7532c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 7632c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 7732c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 7832c2f8aeSmrg 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 7932c2f8aeSmrg 63, 63, 63, 63, 63, 63 80f2e0b8c3Smrg }; 817872e0a1Smrg register unsigned int hval = len; 827872e0a1Smrg 837872e0a1Smrg switch (hval) 847872e0a1Smrg { 857872e0a1Smrg default: 867872e0a1Smrg hval += asso_values[(unsigned char)str[4]]; 877872e0a1Smrg /*FALLTHROUGH*/ 887872e0a1Smrg case 4: 897872e0a1Smrg case 3: 907872e0a1Smrg hval += asso_values[(unsigned char)str[2]]; 917872e0a1Smrg break; 927872e0a1Smrg } 937872e0a1Smrg return hval; 94f2e0b8c3Smrg} 95f2e0b8c3Smrg 96f2e0b8c3Smrgstruct FcObjectTypeNamePool_t 97f2e0b8c3Smrg { 9846bb3e47Smrg char FcObjectTypeNamePool_str6[sizeof("hash")]; 9946bb3e47Smrg char FcObjectTypeNamePool_str7[sizeof("size")]; 10046bb3e47Smrg char FcObjectTypeNamePool_str10[sizeof("dpi")]; 10146bb3e47Smrg char FcObjectTypeNamePool_str11[sizeof("charset")]; 10246bb3e47Smrg char FcObjectTypeNamePool_str12[sizeof("scalable")]; 10346bb3e47Smrg char FcObjectTypeNamePool_str13[sizeof("slant")]; 10446bb3e47Smrg char FcObjectTypeNamePool_str14[sizeof("lang")]; 10546bb3e47Smrg char FcObjectTypeNamePool_str15[sizeof("desktop")]; 10646bb3e47Smrg char FcObjectTypeNamePool_str16[sizeof("spacing")]; 10746bb3e47Smrg char FcObjectTypeNamePool_str17[sizeof("antialias")]; 10846bb3e47Smrg char FcObjectTypeNamePool_str18[sizeof("postscriptname")]; 10946bb3e47Smrg char FcObjectTypeNamePool_str19[sizeof("matrix")]; 11046bb3e47Smrg char FcObjectTypeNamePool_str20[sizeof("outline")]; 11146bb3e47Smrg char FcObjectTypeNamePool_str21[sizeof("hintstyle")]; 11246bb3e47Smrg char FcObjectTypeNamePool_str22[sizeof("file")]; 11346bb3e47Smrg char FcObjectTypeNamePool_str23[sizeof("rgba")]; 11446bb3e47Smrg char FcObjectTypeNamePool_str24[sizeof("hinting")]; 11546bb3e47Smrg char FcObjectTypeNamePool_str25[sizeof("charheight")]; 11646bb3e47Smrg char FcObjectTypeNamePool_str26[sizeof("weight")]; 11746bb3e47Smrg char FcObjectTypeNamePool_str27[sizeof("autohint")]; 11832c2f8aeSmrg char FcObjectTypeNamePool_str28[sizeof("family")]; 11932c2f8aeSmrg char FcObjectTypeNamePool_str29[sizeof("prgname")]; 12032c2f8aeSmrg char FcObjectTypeNamePool_str30[sizeof("namelang")]; 12132c2f8aeSmrg char FcObjectTypeNamePool_str31[sizeof("variable")]; 12232c2f8aeSmrg char FcObjectTypeNamePool_str32[sizeof("familylang")]; 12332c2f8aeSmrg char FcObjectTypeNamePool_str33[sizeof("aspect")]; 12446bb3e47Smrg char FcObjectTypeNamePool_str34[sizeof("fonthashint")]; 12546bb3e47Smrg char FcObjectTypeNamePool_str35[sizeof("minspace")]; 12646bb3e47Smrg char FcObjectTypeNamePool_str36[sizeof("fullname")]; 12732c2f8aeSmrg char FcObjectTypeNamePool_str37[sizeof("lcdfilter")]; 12832c2f8aeSmrg char FcObjectTypeNamePool_str38[sizeof("namedinstance")]; 12932c2f8aeSmrg char FcObjectTypeNamePool_str39[sizeof("width")]; 13046bb3e47Smrg char FcObjectTypeNamePool_str40[sizeof("fullnamelang")]; 13132c2f8aeSmrg char FcObjectTypeNamePool_str41[sizeof("decorative")]; 13232c2f8aeSmrg char FcObjectTypeNamePool_str42[sizeof("verticallayout")]; 13332c2f8aeSmrg char FcObjectTypeNamePool_str43[sizeof("scale")]; 13432c2f8aeSmrg char FcObjectTypeNamePool_str44[sizeof("color")]; 13546bb3e47Smrg char FcObjectTypeNamePool_str45[sizeof("embolden")]; 13646bb3e47Smrg char FcObjectTypeNamePool_str46[sizeof("capability")]; 13732c2f8aeSmrg char FcObjectTypeNamePool_str47[sizeof("order")]; 13832c2f8aeSmrg char FcObjectTypeNamePool_str48[sizeof("rasterizer")]; 13932c2f8aeSmrg char FcObjectTypeNamePool_str49[sizeof("style")]; 14032c2f8aeSmrg char FcObjectTypeNamePool_str50[sizeof("index")]; 14132c2f8aeSmrg char FcObjectTypeNamePool_str51[sizeof("pixelsize")]; 14232c2f8aeSmrg char FcObjectTypeNamePool_str52[sizeof("charwidth")]; 14332c2f8aeSmrg char FcObjectTypeNamePool_str53[sizeof("stylelang")]; 14432c2f8aeSmrg char FcObjectTypeNamePool_str54[sizeof("embeddedbitmap")]; 14532c2f8aeSmrg char FcObjectTypeNamePool_str55[sizeof("fontversion")]; 14632c2f8aeSmrg char FcObjectTypeNamePool_str56[sizeof("symbol")]; 14732c2f8aeSmrg char FcObjectTypeNamePool_str57[sizeof("fontformat")]; 14832c2f8aeSmrg char FcObjectTypeNamePool_str58[sizeof("fontvariations")]; 14932c2f8aeSmrg char FcObjectTypeNamePool_str59[sizeof("fontfeatures")]; 15032c2f8aeSmrg char FcObjectTypeNamePool_str60[sizeof("foundry")]; 15132c2f8aeSmrg char FcObjectTypeNamePool_str61[sizeof("globaladvance")]; 15232c2f8aeSmrg char FcObjectTypeNamePool_str62[sizeof("fontwrapper")]; 153f2e0b8c3Smrg }; 154f2e0b8c3Smrgstatic const struct FcObjectTypeNamePool_t FcObjectTypeNamePool_contents = 155f2e0b8c3Smrg { 1567872e0a1Smrg "hash", 15746bb3e47Smrg "size", 15846bb3e47Smrg "dpi", 15946bb3e47Smrg "charset", 1607872e0a1Smrg "scalable", 161f2e0b8c3Smrg "slant", 16246bb3e47Smrg "lang", 16346bb3e47Smrg "desktop", 16446bb3e47Smrg "spacing", 16546bb3e47Smrg "antialias", 16646bb3e47Smrg "postscriptname", 1677872e0a1Smrg "matrix", 168f2e0b8c3Smrg "outline", 16946bb3e47Smrg "hintstyle", 17046bb3e47Smrg "file", 17146bb3e47Smrg "rgba", 1727872e0a1Smrg "hinting", 17346bb3e47Smrg "charheight", 17446bb3e47Smrg "weight", 1757872e0a1Smrg "autohint", 176f2e0b8c3Smrg "family", 17732c2f8aeSmrg "prgname", 178f2e0b8c3Smrg "namelang", 17932c2f8aeSmrg "variable", 180f2e0b8c3Smrg "familylang", 18132c2f8aeSmrg "aspect", 18246bb3e47Smrg "fonthashint", 18346bb3e47Smrg "minspace", 18446bb3e47Smrg "fullname", 18532c2f8aeSmrg "lcdfilter", 18632c2f8aeSmrg "namedinstance", 18732c2f8aeSmrg "width", 18846bb3e47Smrg "fullnamelang", 18932c2f8aeSmrg "decorative", 19032c2f8aeSmrg "verticallayout", 19132c2f8aeSmrg "scale", 19246bb3e47Smrg "color", 19346bb3e47Smrg "embolden", 19446bb3e47Smrg "capability", 19532c2f8aeSmrg "order", 19632c2f8aeSmrg "rasterizer", 19732c2f8aeSmrg "style", 19832c2f8aeSmrg "index", 19932c2f8aeSmrg "pixelsize", 20032c2f8aeSmrg "charwidth", 201f2e0b8c3Smrg "stylelang", 20232c2f8aeSmrg "embeddedbitmap", 20346bb3e47Smrg "fontversion", 20446bb3e47Smrg "symbol", 2057872e0a1Smrg "fontformat", 20632c2f8aeSmrg "fontvariations", 2077872e0a1Smrg "fontfeatures", 20846bb3e47Smrg "foundry", 20932c2f8aeSmrg "globaladvance", 21032c2f8aeSmrg "fontwrapper" 211f2e0b8c3Smrg }; 212f2e0b8c3Smrg#define FcObjectTypeNamePool ((const char *) &FcObjectTypeNamePool_contents) 213f2e0b8c3Smrgconst struct FcObjectTypeInfo * 214f2e0b8c3SmrgFcObjectTypeLookup (register const char *str, register size_t len) 215f2e0b8c3Smrg{ 216f2e0b8c3Smrg enum 217f2e0b8c3Smrg { 21832c2f8aeSmrg TOTAL_KEYWORDS = 55, 219f2e0b8c3Smrg MIN_WORD_LENGTH = 3, 220f2e0b8c3Smrg MAX_WORD_LENGTH = 14, 22146bb3e47Smrg MIN_HASH_VALUE = 6, 22232c2f8aeSmrg MAX_HASH_VALUE = 62 223f2e0b8c3Smrg }; 224f2e0b8c3Smrg 225f2e0b8c3Smrg static const struct FcObjectTypeInfo wordlist[] = 226f2e0b8c3Smrg { 22746bb3e47Smrg {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, 2287872e0a1Smrg#line 62 "fcobjshash.gperf" 22946bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str6,FC_HASH_OBJECT}, 23046bb3e47Smrg#line 27 "fcobjshash.gperf" 23146bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str7,FC_SIZE_OBJECT}, 23246bb3e47Smrg {-1}, {-1}, 23346bb3e47Smrg#line 43 "fcobjshash.gperf" 23446bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str10,FC_DPI_OBJECT}, 23546bb3e47Smrg#line 50 "fcobjshash.gperf" 23646bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str11,FC_CHARSET_OBJECT}, 2377872e0a1Smrg#line 42 "fcobjshash.gperf" 23846bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str12,FC_SCALABLE_OBJECT}, 239f2e0b8c3Smrg#line 24 "fcobjshash.gperf" 24046bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str13,FC_SLANT_OBJECT}, 24146bb3e47Smrg#line 51 "fcobjshash.gperf" 24246bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str14,FC_LANG_OBJECT}, 24346bb3e47Smrg#line 70 "fcobjshash.gperf" 24446bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str15,FC_DESKTOP_NAME_OBJECT}, 24546bb3e47Smrg#line 30 "fcobjshash.gperf" 24646bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str16,FC_SPACING_OBJECT}, 24746bb3e47Smrg#line 32 "fcobjshash.gperf" 24846bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str17,FC_ANTIALIAS_OBJECT}, 24946bb3e47Smrg#line 63 "fcobjshash.gperf" 25046bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str18,FC_POSTSCRIPT_NAME_OBJECT}, 2517872e0a1Smrg#line 49 "fcobjshash.gperf" 25246bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str19,FC_MATRIX_OBJECT}, 2537872e0a1Smrg#line 41 "fcobjshash.gperf" 25446bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str20,FC_OUTLINE_OBJECT}, 25546bb3e47Smrg#line 33 "fcobjshash.gperf" 25646bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str21,FC_HINT_STYLE_OBJECT}, 25746bb3e47Smrg#line 38 "fcobjshash.gperf" 25846bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str22,FC_FILE_OBJECT}, 25946bb3e47Smrg#line 44 "fcobjshash.gperf" 26046bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str23,FC_RGBA_OBJECT}, 2617872e0a1Smrg#line 34 "fcobjshash.gperf" 26246bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str24,FC_HINTING_OBJECT}, 26346bb3e47Smrg#line 48 "fcobjshash.gperf" 26446bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str25,FC_CHAR_HEIGHT_OBJECT}, 26546bb3e47Smrg#line 25 "fcobjshash.gperf" 26646bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str26,FC_WEIGHT_OBJECT}, 2677872e0a1Smrg#line 36 "fcobjshash.gperf" 26846bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str27,FC_AUTOHINT_OBJECT}, 269f2e0b8c3Smrg#line 18 "fcobjshash.gperf" 27032c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str28,FC_FAMILY_OBJECT}, 27132c2f8aeSmrg#line 61 "fcobjshash.gperf" 27232c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str29,FC_PRGNAME_OBJECT}, 273f2e0b8c3Smrg#line 59 "fcobjshash.gperf" 27432c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str30,FC_NAMELANG_OBJECT}, 27532c2f8aeSmrg#line 67 "fcobjshash.gperf" 27632c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str31,FC_VARIABLE_OBJECT}, 277f2e0b8c3Smrg#line 19 "fcobjshash.gperf" 27832c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str32,FC_FAMILYLANG_OBJECT}, 27932c2f8aeSmrg#line 28 "fcobjshash.gperf" 28032c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str33,FC_ASPECT_OBJECT}, 28146bb3e47Smrg#line 68 "fcobjshash.gperf" 28246bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str34,FC_FONT_HAS_HINT_OBJECT}, 28346bb3e47Smrg#line 46 "fcobjshash.gperf" 28446bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str35,FC_MINSPACE_OBJECT}, 28546bb3e47Smrg#line 22 "fcobjshash.gperf" 28646bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str36,FC_FULLNAME_OBJECT}, 28732c2f8aeSmrg#line 58 "fcobjshash.gperf" 28832c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str37,FC_LCD_FILTER_OBJECT}, 28932c2f8aeSmrg#line 71 "fcobjshash.gperf" 29032c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str38,FC_NAMED_INSTANCE_OBJECT}, 29132c2f8aeSmrg#line 26 "fcobjshash.gperf" 29232c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str39,FC_WIDTH_OBJECT}, 29346bb3e47Smrg#line 23 "fcobjshash.gperf" 29446bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str40,FC_FULLNAMELANG_OBJECT}, 29532c2f8aeSmrg#line 57 "fcobjshash.gperf" 29632c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str41,FC_DECORATIVE_OBJECT}, 29732c2f8aeSmrg#line 35 "fcobjshash.gperf" 29832c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str42,FC_VERTICAL_LAYOUT_OBJECT}, 29932c2f8aeSmrg#line 45 "fcobjshash.gperf" 30032c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str43,FC_SCALE_OBJECT}, 30146bb3e47Smrg#line 64 "fcobjshash.gperf" 30232c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str44,FC_COLOR_OBJECT}, 30346bb3e47Smrg#line 55 "fcobjshash.gperf" 30446bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str45,FC_EMBOLDEN_OBJECT}, 30546bb3e47Smrg#line 53 "fcobjshash.gperf" 30646bb3e47Smrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str46,FC_CAPABILITY_OBJECT}, 30732c2f8aeSmrg#line 69 "fcobjshash.gperf" 30832c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str47,FC_ORDER_OBJECT}, 30932c2f8aeSmrg#line 40 "fcobjshash.gperf" 31032c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str48,FC_RASTERIZER_OBJECT}, 31132c2f8aeSmrg#line 20 "fcobjshash.gperf" 31232c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str49,FC_STYLE_OBJECT}, 31332c2f8aeSmrg#line 39 "fcobjshash.gperf" 31432c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str50,FC_INDEX_OBJECT}, 31532c2f8aeSmrg#line 29 "fcobjshash.gperf" 31632c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str51,FC_PIXEL_SIZE_OBJECT}, 31732c2f8aeSmrg#line 47 "fcobjshash.gperf" 31832c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str52,FC_CHARWIDTH_OBJECT}, 319f2e0b8c3Smrg#line 21 "fcobjshash.gperf" 32032c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str53,FC_STYLELANG_OBJECT}, 32132c2f8aeSmrg#line 56 "fcobjshash.gperf" 32232c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str54,FC_EMBEDDED_BITMAP_OBJECT}, 32346bb3e47Smrg#line 52 "fcobjshash.gperf" 32432c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str55,FC_FONTVERSION_OBJECT}, 32546bb3e47Smrg#line 65 "fcobjshash.gperf" 32632c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str56,FC_SYMBOL_OBJECT}, 3277872e0a1Smrg#line 54 "fcobjshash.gperf" 32832c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str57,FC_FONTFORMAT_OBJECT}, 32932c2f8aeSmrg#line 66 "fcobjshash.gperf" 33032c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str58,FC_FONT_VARIATIONS_OBJECT}, 3317872e0a1Smrg#line 60 "fcobjshash.gperf" 33232c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str59,FC_FONT_FEATURES_OBJECT}, 33346bb3e47Smrg#line 31 "fcobjshash.gperf" 33432c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str60,FC_FOUNDRY_OBJECT}, 33532c2f8aeSmrg#line 37 "fcobjshash.gperf" 33632c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str61,FC_GLOBAL_ADVANCE_OBJECT}, 33732c2f8aeSmrg#line 72 "fcobjshash.gperf" 33832c2f8aeSmrg {(int)(size_t)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str62,FC_FONT_WRAPPER_OBJECT} 339f2e0b8c3Smrg }; 340f2e0b8c3Smrg 341f2e0b8c3Smrg if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) 342f2e0b8c3Smrg { 343f2e0b8c3Smrg register unsigned int key = FcObjectTypeHash (str, len); 344f2e0b8c3Smrg 345f2e0b8c3Smrg if (key <= MAX_HASH_VALUE) 346f2e0b8c3Smrg { 347f2e0b8c3Smrg register int o = wordlist[key].name; 348f2e0b8c3Smrg if (o >= 0) 349f2e0b8c3Smrg { 350f2e0b8c3Smrg register const char *s = o + FcObjectTypeNamePool; 351f2e0b8c3Smrg 352f2e0b8c3Smrg if (*str == *s && !strcmp (str + 1, s + 1)) 353f2e0b8c3Smrg return &wordlist[key]; 354f2e0b8c3Smrg } 355f2e0b8c3Smrg } 356f2e0b8c3Smrg } 357f2e0b8c3Smrg return 0; 358f2e0b8c3Smrg} 359