Searched refs:nProps (Results 1 - 15 of 15) sorted by relevance

/xsrc/external/mit/libXfont/dist/src/bitmap/
H A Dsnfstr.h82 * 4) nProps font properties
117 #define BYTESOFPROPINFO(pfi) (sizeof(snfFontPropRec) * (pfi)->nProps)
164 unsigned int nProps; member in struct:_snfFontInfo
H A Dsnfread.c133 pFontInfo->nprops = snfInfo->nProps;
146 bytestoalloc = snfInfo->nProps * sizeof(snfFontPropRec) +
162 for (i = 0, pfp = pFontInfo->props; i < snfInfo->nProps; i++, pfp++, psnfp++) {
259 bytestoalloc += fi.nProps * sizeof(FontPropRec); /* props */
261 bytestoalloc += fi.nProps * sizeof(char); /* isStringProp */
455 pFontInfo->props = malloc(fi.nProps * sizeof(FontPropRec));
458 fi.nProps, (int) sizeof(FontPropRec));
461 pFontInfo->isStringProp = malloc(fi.nProps * sizeof(char));
464 fi.nProps, (int) sizeof(char));
H A Dbdfread.c616 int nProps, props_left, local in function:bdfReadProperties
632 if ((sscanf((char *) line, "STARTPROPERTIES %d", &nProps) != 1) ||
633 (nProps <= 0) ||
634 (nProps > (signed) ((INT32_MAX / sizeof(FontPropRec)) - BDF_GENPROPS))) {
642 stringProps = malloc((nProps + BDF_GENPROPS) * sizeof(char));
646 (nProps + BDF_GENPROPS), (int) sizeof(Bool));
649 pFont->info.props = props = calloc(nProps + BDF_GENPROPS,
652 bdfError("Couldn't allocate props (%d*%d)\n", nProps + BDF_GENPROPS,
658 props_left = nProps;
663 nProps, nProp
[all...]
H A Dbitscale.c582 int nProps; local in function:ComputeScaledProperties
588 nProps = NPROPS + 1 + sizeof(fontPropTable) / sizeof(fontProp) +
590 fp = malloc(sizeof(FontPropRec) * nProps);
594 (unsigned long)sizeof(FontPropRec), nProps);
597 isStringProp = malloc (nProps);
601 fprintf(stderr, "Error: Couldn't allocate isStringProp (%d)\n", nProps);
/xsrc/external/mit/libXfont2/dist/src/bitmap/
H A Dsnfstr.h82 * 4) nProps font properties
117 #define BYTESOFPROPINFO(pfi) (sizeof(snfFontPropRec) * (pfi)->nProps)
164 unsigned int nProps; member in struct:_snfFontInfo
H A Dsnfread.c135 pFontInfo->nprops = snfInfo->nProps;
148 bytestoalloc = snfInfo->nProps * sizeof(snfFontPropRec) +
164 for (i = 0, pfp = pFontInfo->props; i < snfInfo->nProps; i++, pfp++, psnfp++) {
261 bytestoalloc += fi.nProps * sizeof(FontPropRec); /* props */
263 bytestoalloc += fi.nProps * sizeof(char); /* isStringProp */
457 pFontInfo->props = mallocarray(fi.nProps, sizeof(FontPropRec));
460 fi.nProps, (int) sizeof(FontPropRec));
463 pFontInfo->isStringProp = mallocarray(fi.nProps, sizeof(char));
466 fi.nProps, (int) sizeof(char));
H A Dbdfread.c618 int nProps, props_left, local in function:bdfReadProperties
634 if ((sscanf((char *) line, "STARTPROPERTIES %d", &nProps) != 1) ||
635 (nProps <= 0) ||
636 (nProps > (signed) ((INT32_MAX / sizeof(FontPropRec)) - BDF_GENPROPS))) {
644 stringProps = mallocarray((nProps + BDF_GENPROPS), sizeof(char));
648 (nProps + BDF_GENPROPS), (int) sizeof(Bool));
651 pFont->info.props = props = calloc(nProps + BDF_GENPROPS,
654 bdfError("Couldn't allocate props (%d*%d)\n", nProps + BDF_GENPROPS,
660 props_left = nProps;
665 nProps, nProp
[all...]
H A Dbitscale.c577 int nProps; local in function:ComputeScaledProperties
583 nProps = NPROPS + 1 + sizeof(fontPropTable) / sizeof(fontProp) +
585 fp = mallocarray(sizeof(FontPropRec), nProps);
589 (unsigned long)sizeof(FontPropRec), nProps);
592 isStringProp = malloc (nProps);
596 fprintf(stderr, "Error: Couldn't allocate isStringProp (%d)\n", nProps);
/xsrc/external/mit/bdftopcf/dist/
H A Dbdfread.c611 int nProps, props_left, nextProp; local in function:bdfReadProperties
624 if ((sscanf((char *) line, "STARTPROPERTIES %d", &nProps) != 1) ||
625 (nProps <= 0) ||
626 (nProps >
635 stringProps = malloc((nProps + BDF_GENPROPS) * sizeof(char));
639 (nProps + BDF_GENPROPS), (int) sizeof(Bool));
642 pFont->info.props = props = calloc(nProps + BDF_GENPROPS,
645 bdfError("Couldn't allocate props (%d*%d)\n", nProps + BDF_GENPROPS,
651 props_left = nProps;
656 nProps, nProp
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/glxProxy/
H A Dglxcmds.c3033 int nProps; local in function:__glXQueryContext
3045 nProps = 3;
3047 reply.length = nProps << 1;
3050 reply.n = nProps;
3079 int nProps; local in function:__glXQueryContextInfoEXT
3093 nProps = 4;
3095 reply.length = nProps << 1;
3098 reply.n = nProps;
/xsrc/external/mit/xorg-server.old/dist/xkb/
H A DXKBGAlloc.c511 XkbAllocGeomProps(XkbGeometryPtr geom,int nProps) argument
513 return _XkbAllocProps(geom,nProps);
/xsrc/external/mit/libX11/dist/src/xkb/
H A DXKBGAlloc.c523 XkbAllocGeomProps(XkbGeometryPtr geom, int nProps) argument
525 return _XkbAllocProps(geom, nProps);
/xsrc/external/mit/xorg-server/dist/glx/
H A Dglxcmds.c1666 int nProps = 5; local in function:DoQueryContext
1667 int sendBuf[nProps * 2];
1677 .length = nProps << 1,
1678 .n = nProps
/xsrc/external/mit/xorg-server.old/dist/glx/
H A Dglxcmds.c1608 int nProps; local in function:DoQueryContext
1616 nProps = 3;
1617 reply.length = nProps << 1;
1620 reply.n = nProps;
/xsrc/external/mit/xkbcomp/dist/
H A Dgeometry.c223 int nProps; member in struct:_GeometryInfo
290 info->nProps = 0;
708 info->nProps++;
3655 .num_properties = info.nProps,

Completed in 29 milliseconds