/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-sdl/ |
H A D | gui_string.c | 166 if (!ptsize) { in create_string16() 169 str->ptsize = ptsize; in create_string16() 413 int ptsize = pString->ptsize; 439 if(pString->ptsize != ptsize) { 545 int ptsize; in create_text_surf_smaller_that_w() local 550 ptsize = pString->ptsize; in create_text_surf_smaller_that_w() 553 if(pString->ptsize != ptsize) { in create_text_surf_smaller_that_w() 576 unload_font(pString->ptsize); in change_ptsize16() 594 if (Font_TAB_TMP->ptsize == ptsize) { in load_font() 631 Font_TAB_TMP->ptsize = ptsize; in load_font() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-sdl/ |
H A D | gui_string.c | 166 if (!ptsize) { in create_string16() 169 str->ptsize = ptsize; in create_string16() 413 int ptsize = pString->ptsize; 439 if(pString->ptsize != ptsize) { 545 int ptsize; in create_text_surf_smaller_that_w() local 550 ptsize = pString->ptsize; in create_text_surf_smaller_that_w() 553 if(pString->ptsize != ptsize) { in create_text_surf_smaller_that_w() 576 unload_font(pString->ptsize); in change_ptsize16() 594 if (Font_TAB_TMP->ptsize == ptsize) { in load_font() 631 Font_TAB_TMP->ptsize = ptsize; in load_font() [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-sdl2/ |
H A D | gui_string.c | 167 if (!ptsize) { in create_utf8_str() 170 str->ptsize = ptsize; in create_utf8_str() 462 if (pstr->ptsize > 8) { in convert_utf8_str_to_const_surface_width() 483 int ptsize; in create_text_surf_smaller_than_w() local 488 ptsize = pstr->ptsize; in create_text_surf_smaller_than_w() 491 if (pstr->ptsize != ptsize) { in create_text_surf_smaller_than_w() 514 unload_font(pstr->ptsize); in change_ptsize_utf8() 515 pstr->ptsize = new_ptsize; in change_ptsize_utf8() 532 if (Font_TAB_TMP->ptsize == ptsize) { in load_font() 571 Font_TAB_TMP->ptsize = ptsize; in load_font() [all …]
|
H A D | gui_string.h | 55 Uint16 ptsize; member 63 utf8_str *create_utf8_str(char *in_text, size_t n_alloc, Uint16 ptsize); 74 void unload_font(Uint16 ptsize); 92 unload_font(pstr->ptsize); \ 98 #define create_utf8_from_char(string_in, ptsize) \ argument 100 create_utf8_str(NULL, 0, ptsize) : \ 101 copy_chars_to_utf8_str(create_utf8_str(NULL, 0, ptsize), string_in)
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-sdl2/ |
H A D | gui_string.c | 167 if (!ptsize) { in create_utf8_str() 170 str->ptsize = ptsize; in create_utf8_str() 462 if (pstr->ptsize > 8) { in convert_utf8_str_to_const_surface_width() 483 int ptsize; in create_text_surf_smaller_than_w() local 488 ptsize = pstr->ptsize; in create_text_surf_smaller_than_w() 491 if (pstr->ptsize != ptsize) { in create_text_surf_smaller_than_w() 514 unload_font(pstr->ptsize); in change_ptsize_utf8() 515 pstr->ptsize = new_ptsize; in change_ptsize_utf8() 532 if (Font_TAB_TMP->ptsize == ptsize) { in load_font() 571 Font_TAB_TMP->ptsize = ptsize; in load_font() [all …]
|
H A D | gui_string.h | 55 Uint16 ptsize; member 63 utf8_str *create_utf8_str(char *in_text, size_t n_alloc, Uint16 ptsize); 74 void unload_font(Uint16 ptsize); 92 unload_font(pstr->ptsize); \ 98 #define create_utf8_from_char(string_in, ptsize) \ argument 100 create_utf8_str(NULL, 0, ptsize) : \ 101 copy_chars_to_utf8_str(create_utf8_str(NULL, 0, ptsize), string_in)
|
/dports/x11/virtualgl/virtualgl-3.0/server/fltk/src/ |
H A D | fl_font_x.cxx | 142 if (!found_encoding) ptsize = 0; // force it to choose this in find() 153 ptsize = size; in find() 155 } else if (!thissize && ptsize!=size) { in find() 163 ptsize = size; in find() 164 } else if (!ptsize || // no fonts yet in find() 165 thissize < ptsize && ptsize > size || // current font too big in find() 166 thissize > ptsize && thissize <= size // current too small in find() 168 name = thisname; ptsize = thissize; in find() 175 if (f->minsize <= ptsize && f->maxsize >= ptsize) { in find() 185 if (ptsize < size) {f->minsize = ptsize; f->maxsize = size;} in find() [all …]
|
/dports/print/freetype/freetype-1.3.1/test/ |
H A D | ftview.c | 100 int ptsize; variable 255 ptsize += event->info; in Process_Event() 256 if ( ptsize < 1 ) ptsize = 1; in Process_Event() 257 if ( ptsize > MAXPTSIZE ) ptsize = MAXPTSIZE; in Process_Event() 363 ptsize = orig_ptsize; in main() 455 Reset_Scale( ptsize ); in main() 457 old_ptsize = ptsize; in main() 477 Render_All( Num, ptsize ); in main() 517 if ( ptsize != old_ptsize ) in main() 519 if ( Reset_Scale( ptsize ) ) in main() [all …]
|
H A D | ftstring.c | 60 int ptsize; variable 259 ptsize += event->info; in Process_Event() 260 if ( ptsize < 1 ) ptsize = 1; in Process_Event() 261 if ( ptsize > MAXPTSIZE ) ptsize = MAXPTSIZE; in Process_Event() 346 ptsize = orig_ptsize; in main() 427 Reset_Scale( ptsize ); in main() 429 old_ptsize = ptsize; in main() 448 ft_basename( filename ), ptsize, in main() 463 if ( ptsize != old_ptsize ) in main() 465 if ( Reset_Scale( ptsize ) ) in main() [all …]
|
/dports/print/tex-dvipdfmx/texlive-20150521-source/texk/dvipdfm-x/ |
H A D | vf.c | 68 spt_t ptsize; member 185 sqxfw (vf_fonts[thisfont].ptsize, in read_a_font_def() 247 int vf_locate_font (const char *tex_name, spt_t ptsize) in vf_locate_font() argument 255 vf_fonts[i].ptsize == ptsize) in vf_locate_font() 283 vf_fonts[thisfont].ptsize = ptsize; in vf_locate_font() 353 dvi_rule (sqxfw (ptsize, width), sqxfw (ptsize, height)); in vf_putrule() 360 dvi_rule (s_width, sqxfw (ptsize, height)); in vf_setrule() 413 spt_t ptsize; in vf_set_char() local 417 ptsize = vf_fonts[vf_font].ptsize; in vf_set_char() 445 vf_setrule(&start, end, ptsize); in vf_set_char() [all …]
|
/dports/databases/postgis31/postgis-3.1.4/liblwgeom/ |
H A D | lwcircstring.c | 147 size_t ptsize, size; in lwcircstring_from_lwpointarray() local 165 if (zmflag == 0) ptsize = 2 * sizeof(double); in lwcircstring_from_lwpointarray() 167 else ptsize = 3 * sizeof(double); in lwcircstring_from_lwpointarray() 172 size = ptsize * npoints; in lwcircstring_from_lwpointarray() 181 ptr += ptsize; in lwcircstring_from_lwpointarray() 197 size_t ptsize, size; in lwcircstring_from_lwmpoint() local 200 if (zmflag == 0) ptsize = 2 * sizeof(double); in lwcircstring_from_lwmpoint() 202 else ptsize = 3 * sizeof(double); in lwcircstring_from_lwmpoint() 205 size = ptsize * mpoint->ngeoms; in lwcircstring_from_lwmpoint() 214 ptsize); in lwcircstring_from_lwmpoint() [all …]
|
/dports/databases/postgis30/postgis-3.0.4/liblwgeom/ |
H A D | lwcircstring.c | 147 size_t ptsize, size; in lwcircstring_from_lwpointarray() local 165 if (zmflag == 0) ptsize = 2 * sizeof(double); in lwcircstring_from_lwpointarray() 167 else ptsize = 3 * sizeof(double); in lwcircstring_from_lwpointarray() 172 size = ptsize * npoints; in lwcircstring_from_lwpointarray() 181 ptr += ptsize; in lwcircstring_from_lwpointarray() 197 size_t ptsize, size; in lwcircstring_from_lwmpoint() local 200 if (zmflag == 0) ptsize = 2 * sizeof(double); in lwcircstring_from_lwmpoint() 202 else ptsize = 3 * sizeof(double); in lwcircstring_from_lwmpoint() 205 size = ptsize * mpoint->ngeoms; in lwcircstring_from_lwmpoint() 214 ptsize); in lwcircstring_from_lwmpoint() [all …]
|
/dports/databases/postgis25/postgis-2.5.5/liblwgeom/ |
H A D | lwcircstring.c | 147 size_t ptsize, size; in lwcircstring_from_lwpointarray() local 165 if (zmflag == 0) ptsize = 2 * sizeof(double); in lwcircstring_from_lwpointarray() 167 else ptsize = 3 * sizeof(double); in lwcircstring_from_lwpointarray() 172 size = ptsize * npoints; in lwcircstring_from_lwpointarray() 181 ptr += ptsize; in lwcircstring_from_lwpointarray() 197 size_t ptsize, size; in lwcircstring_from_lwmpoint() local 200 if (zmflag == 0) ptsize = 2 * sizeof(double); in lwcircstring_from_lwmpoint() 202 else ptsize = 3 * sizeof(double); in lwcircstring_from_lwmpoint() 205 size = ptsize * mpoint->ngeoms; in lwcircstring_from_lwmpoint() 214 ptsize); in lwcircstring_from_lwmpoint() [all …]
|
/dports/databases/postgis32/postgis-3.2.0/liblwgeom/ |
H A D | lwcircstring.c | 147 size_t ptsize, size; in lwcircstring_from_lwpointarray() local 165 if (zmflag == 0) ptsize = 2 * sizeof(double); in lwcircstring_from_lwpointarray() 167 else ptsize = 3 * sizeof(double); in lwcircstring_from_lwpointarray() 172 size = ptsize * npoints; in lwcircstring_from_lwpointarray() 181 ptr += ptsize; in lwcircstring_from_lwpointarray() 197 size_t ptsize, size; in lwcircstring_from_lwmpoint() local 200 if (zmflag == 0) ptsize = 2 * sizeof(double); in lwcircstring_from_lwmpoint() 202 else ptsize = 3 * sizeof(double); in lwcircstring_from_lwmpoint() 205 size = ptsize * mpoint->ngeoms; in lwcircstring_from_lwmpoint() 214 ptsize); in lwcircstring_from_lwmpoint() [all …]
|
/dports/security/sudo/sudo-1.9.8p2/lib/util/ |
H A D | getcwd.c | 69 size_t ptsize, upsize; in sudo_getcwd() local 79 ptsize = 0; in sudo_getcwd() 86 if ((pt = malloc(ptsize = 1024 - 4)) == NULL) in sudo_getcwd() 88 ept = pt + ptsize; in sudo_getcwd() 201 if (!ptsize) { in sudo_getcwd() 207 if ((npt = reallocarray(pt, ptsize, 2)) == NULL) in sudo_getcwd() 209 ptsize *= 2; in sudo_getcwd() 212 ept = pt + ptsize; in sudo_getcwd() 236 if (ptsize) in sudo_getcwd()
|
/dports/textproc/htdig/htdig-3.2.0b6/htlib/ |
H A D | getcwd.c | 107 size_t ptsize, upsize; local 117 ptsize = 0; 128 if ((ret = __os_malloc(ptsize = 1024 - 4, NULL, &pt)) != 0) { 132 ept = pt + ptsize; 240 if (!ptsize) { 246 if (__os_realloc(ptsize *= 2, NULL, &pt) != 0) 249 ept = pt + ptsize; 273 if (ptsize) 274 __os_free(pt, ptsize);
|
/dports/textproc/mifluz/mifluz-0.26.0/clib/ |
H A D | getcwd2.c | 98 size_t ptsize, upsize; local 108 ptsize = 0; 119 if ((ret = __os_malloc(ptsize = 1024 - 4, NULL, &pt)) != 0) { 123 ept = pt + ptsize; 231 if (!ptsize) { 237 if (__os_realloc(ptsize *= 2, NULL, &pt) != 0) 240 ept = pt + ptsize; 264 if (ptsize) 265 __os_free(pt, ptsize);
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/unix/ |
H A D | getcwd.c | 70 size_t ptsize, upsize; local 82 ptsize = 0; 92 if (!(pt = (char *) malloc (ptsize = 1024 - 4))) 96 ept = pt + ptsize; 221 if (!ptsize) 228 if (!(pt = (char *) realloc (pt, ptsize *= 2))) 233 ept = pt + ptsize; 259 if (ptsize)
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/unix/ |
H A D | getcwd.c | 70 size_t ptsize, upsize; local 82 ptsize = 0; 92 if (!(pt = (char *) malloc (ptsize = 1024 - 4))) 96 ept = pt + ptsize; 221 if (!ptsize) 228 if (!(pt = (char *) realloc (pt, ptsize *= 2))) 233 ept = pt + ptsize; 259 if (ptsize)
|
/dports/x11-servers/Xfstt/xfstt-1.11/src/ |
H A D | perftest.cc | 125 int ptsize = 0; in main() local 127 ptsize = atoi(argv[1]); in main() 128 if (ptsize <= 0) in main() 129 ptsize = 12; in main() 131 printf("perftest(ptsize = %d, resolution = 96)\n", ptsize); in main() 140 nfonts += ttPerfDir(&raster, ptsize, &fe, "."); in main() 145 nfonts += ttPerfDir(&raster, ptsize, &fe, de->d_name); in main()
|
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libc/unix/ |
H A D | getcwd.c | 68 size_t ptsize, upsize; local 80 ptsize = 0; 90 if (!(pt = (char *) malloc (ptsize = 1024 - 4))) 94 ept = pt + ptsize; 219 if (!ptsize) 226 if (!(pt = (char *) realloc (pt, ptsize *= 2))) 231 ept = pt + ptsize; 258 if (ptsize)
|
/dports/security/gnome-ssh-askpass/openssh-6.6p1/openbsd-compat/ |
H A D | getcwd.c | 63 size_t ptsize, upsize; in getcwd() local 73 ptsize = 0; in getcwd() 80 if ((pt = malloc(ptsize = MAXPATHLEN)) == NULL) in getcwd() 82 ept = pt + ptsize; in getcwd() 194 if (!ptsize) { in getcwd() 199 if ((npt = realloc(pt, ptsize *= 2)) == NULL) in getcwd() 203 ept = pt + ptsize; in getcwd() 229 if (ptsize) in getcwd()
|
/dports/security/pam_ssh_agent_auth/pam_ssh_agent_auth-7ff7858/openbsd-compat/ |
H A D | getcwd.c | 63 size_t ptsize, upsize; in getcwd() local 73 ptsize = 0; in getcwd() 80 if ((pt = malloc(ptsize = MAXPATHLEN)) == NULL) in getcwd() 82 ept = pt + ptsize; in getcwd() 194 if (!ptsize) { in getcwd() 199 if ((npt = realloc(pt, ptsize *= 2)) == NULL) in getcwd() 203 ept = pt + ptsize; in getcwd() 229 if (ptsize) in getcwd()
|
/dports/security/openssh-portable/openssh-8.8p1/openbsd-compat/ |
H A D | getcwd.c | 63 size_t ptsize, upsize; in getcwd() local 73 ptsize = 0; in getcwd() 80 if ((pt = malloc(ptsize = MAXPATHLEN)) == NULL) in getcwd() 82 ept = pt + ptsize; in getcwd() 194 if (!ptsize) { in getcwd() 199 if ((npt = realloc(pt, ptsize *= 2)) == NULL) in getcwd() 203 ept = pt + ptsize; in getcwd() 229 if (ptsize) in getcwd()
|
/dports/databases/db5/db-5.3.28/src/clib/ |
H A D | getcwd.c | 90 size_t ptsize, upsize; local 100 ptsize = 0; 112 __os_malloc(NULL, ptsize = 1024 - 4, &pt)) != 0) { 116 ept = pt + ptsize; 224 if (!ptsize) { 230 if (__os_realloc(NULL, ptsize *= 2, &pt) != 0) 233 ept = pt + ptsize; 257 if (ptsize)
|