| /plan9/sys/src/cmd/gs/src/ |
| H A D | zchar32.c | 119 const font_cid_range_t *range = range_ptr; in select_cid_range() local 121 return (cc->code >= range->cid_min && in select_cid_range() 122 cc->code <= range->cid_max && in select_cid_range() 123 cc->pair->font == range->font); in select_cid_range() 130 font_cid_range_t range; in zremoveglyphs() local 134 code = font_param(op, &range.font); in zremoveglyphs() 137 if (range.font->FontType != ft_CID_bitmap) in zremoveglyphs() 139 range.cid_min = gs_min_cid_glyph + op[-2].value.intval; in zremoveglyphs() 140 range.cid_max = gs_min_cid_glyph + op[-1].value.intval; in zremoveglyphs() 141 gx_purge_selected_cached_chars(range.font->dir, select_cid_range, in zremoveglyphs() [all …]
|
| H A D | ttobjs.c | 73 TT_Error Goto_CodeRange( PExecution_Context exec, Int range, Int IP ) in Goto_CodeRange() argument 78 if ( range < 1 || range > 3 ) in Goto_CodeRange() 81 cr = &exec->codeRangeTable[range - 1]; in Goto_CodeRange() 96 exec->curRange = range; in Goto_CodeRange() 137 PCodeRange Get_CodeRange( PExecution_Context exec, Int range ) in Get_CodeRange() argument 139 if ( range < 1 || range > 3 ) in Get_CodeRange() 142 return &exec->codeRangeTable[range - 1]; in Get_CodeRange() 162 Int range, in Set_CodeRange() argument 166 if ( range < 1 || range > 3 ) in Set_CodeRange() 169 exec->codeRangeTable[range - 1].Base = (unsigned char*)base; in Set_CodeRange() [all …]
|
| H A D | gsfcid2.c | 156 penum->range.first[0] = penum->range.first[1] = 0; in tt_16bit_format4_next_range() 157 penum->range.last[0] = penum->range.last[1] = 0xff; in tt_16bit_format4_next_range() 158 penum->range.size = 2; in tt_16bit_format4_next_range()
|
| H A D | ttobjs.h | 711 TT_Error Goto_CodeRange( PExecution_Context exec, Int range, Int IP ); 717 PCodeRange Get_CodeRange( PExecution_Context exec, Int range ); 721 Int range, 726 TT_Error Clear_CodeRange( PExecution_Context exec, Int range );
|
| H A D | gsfcmap.c | 86 memset(penum->range.first, 0, pcimap->num_bytes); in identity_next_range() 87 memset(penum->range.last, 0xff, pcimap->num_bytes); in identity_next_range() 429 memset(penum->range.first, 0, cmap->key_size); in gs_cmap_ToUnicode_next_range() 430 memset(penum->range.last, 0xff, cmap->key_size); in gs_cmap_ToUnicode_next_range() 431 penum->range.size = cmap->key_size; in gs_cmap_ToUnicode_next_range()
|
| H A D | gscrdp.c | 390 const gs_range * range) in encode_from_data() argument 392 return (v <= range->rmin ? values[0] : in encode_from_data() 393 v >= range->rmax ? values[gx_cie_cache_size - 1] : in encode_from_data() 394 values[(int)((v - range->rmin) / (range->rmax - range->rmin) * in encode_from_data()
|
| H A D | gdevpdfk.c | 388 cache_arg(int i, int denom, const gs_range_t *range) in cache_arg() argument 392 if (range) { in cache_arg() 394 arg = arg * (range->rmax - range->rmin) + range->rmin; in cache_arg()
|
| H A D | gdevwpr2.c | 1296 gs_param_int_array range; in win_pr2_write_user_settings() local 1310 range.data = array; in win_pr2_write_user_settings() 1311 range.size = 2; in win_pr2_write_user_settings() 1312 range.persistent = false; in win_pr2_write_user_settings() 1313 code = param_write_int_array(dict.list, "DocumentRange", &range); in win_pr2_write_user_settings() 1318 range.data = array; in win_pr2_write_user_settings() 1319 range.size = 2; in win_pr2_write_user_settings() 1320 range.persistent = false; in win_pr2_write_user_settings() 1321 code = param_write_int_array(dict.list, "SelectedRange", &range); in win_pr2_write_user_settings()
|
| H A D | gscie.c | 354 cie_restrict(float *pv, const gs_range *range) in cie_restrict() argument 356 if (*pv <= range->rmin) in cie_restrict() 357 *pv = range->rmin; in cie_restrict() 358 else if (*pv >= range->rmax) in cie_restrict() 359 *pv = range->rmax; in cie_restrict() 497 gs_cie_defx_scale(float *values, const gs_range *range, int dim) in gs_cie_defx_scale() argument 499 double scale = (dim - 1.0) / (range->rmax - range->rmin); in gs_cie_defx_scale() 506 (value <= range->rmin ? 0 : in gs_cie_defx_scale() 507 value >= range->rmax ? dim - 1 : in gs_cie_defx_scale() 508 (value - range->rmin) * scale); in gs_cie_defx_scale()
|
| H A D | gsciemap.c | 139 #define SCALE_TO_RANGE(range, frac) ( \ in gx_concretize_CIEDEFG() argument 140 float2cie_cached(((range).rmax - (range).rmin) * frac2float(frac) + \ in gx_concretize_CIEDEFG() 141 (range).rmin) \ in gx_concretize_CIEDEFG()
|
| /plan9/sys/src/cmd/grap/ |
| H A D | plot.c | 13 range(p1); in line() 14 range(p2); in line() 23 range(pt); in circle() 86 range(pt); in plot() 102 range(pt); in plotnum() 131 range(pt); in next()
|
| /plan9/sys/src/cmd/diff/ |
| H A D | diffio.c | 218 range(int a, int b, char *separator) in range() function 285 range(a, b, ","); in change() 289 range(a, b, ","); in change() 291 range(c, d, ","); in change() 295 range(a, b, ","); in change() 298 range(c, d, ","); in change() 302 range(a, b, " "); in change() 372 range(a, b, ","); in flushchanges() 375 range(c, d, ","); in flushchanges()
|
| /plan9/sys/src/cmd/ |
| H A D | unicode.c | 12 char *range(char*[]); 33 exits(range(argv)); in main() 40 range(char *argv[]) in range() function
|
| /plan9/sys/src/cmd/ip/httpd/ |
| H A D | sendfd.c | 78 if(c->head.range == nil in sendfd() 81 c->head.range = nil; in sendfd() 86 if(c->head.range != nil){ in sendfd() 87 c->head.range = fixrange(c->head.range, length); in sendfd() 88 if(c->head.range == nil){ in sendfd() 112 if(c->head.range == nil) in sendfd() 125 r = c->head.range; in sendfd() 151 if(c->head.range == nil) in sendfd()
|
| /plan9/sys/src/cmd/page/ |
| H A D | rotate.c | 47 Rectangle range; in moveup() local 58 range = Rect(a, im->r.min.y, c, im->r.max.y); in moveup() 59 dr0 = range; in moveup() 63 dr1 = range; in moveup() 68 range = Rect(im->r.min.x, a, im->r.max.x, c); in moveup() 69 dr0 = range; in moveup() 73 dr1 = range; in moveup()
|
| /plan9/sys/src/cmd/gs/ |
| H A D | 9fixes | 1 gdevpsft.c: limit range of doubles before converting to integers.
|
| /plan9/lib/ |
| H A D | vgadb | 646 # Allowable frequency range: 30-93KHz 648 # Allowable frequency range: 50-152Hz 703 # Allowable frequency range: 31-100 kHz 709 # Allowable frequency range: 50-160Hz 725 # Allowable frequency range: 31-96KHz 727 # Allowable frequency range: 50-160Hz 779 # Allowable frequency range: 23.5-86.0KHz 781 # Allowable frequency range: 50-120Hz 792 # Allowable frequency range: 24.8-94.0KHz 794 # Allowable frequency range: 50-160Hz [all …]
|
| /plan9/sys/src/ape/cmd/diff/ |
| H A D | regex.c | 3657 re_search (bufp, string, size, startpos, range, regs) in re_search() argument 3660 int size, startpos, range; 3663 return re_search_2 (bufp, NULL, 0, string, size, startpos, range, 3697 re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop) in re_search_2() argument 3702 int range; 3710 int endpos = startpos + range; 3724 range = 0 - startpos; 3726 range = total_size - startpos; 3730 if (bufp->used > 0 && (re_opcode_t) bufp->buffer[0] == begbuf && range > 0) 3735 range = 0; [all …]
|
| H A D | regex.h | 444 int length, int start, int range, struct re_registers *regs)); 452 int start, int range, struct re_registers *regs, int stop));
|
| /plan9/sys/src/cmd/plot/ |
| H A D | plot.h | 25 void range(double, double, double, double);
|
| /plan9/sys/src/cmd/plot/libplot/ |
| H A D | range.c | 2 void range(double x0, double y0, double x1, double y1){ in range() function
|
| H A D | mkfile | 25 range.$O\
|
| /plan9/sys/src/cmd/map/ |
| H A D | iplot.h | 18 #define range(_x,_y,_X,_Y) print("ra %d %d %d %d\n", _x,_y,_X,_Y) macro
|
| /plan9/sys/src/cmd/venti/srv/ |
| H A D | mirrorarenas.c | 406 mirrormany(ArenaPart *sp, ArenaPart *dp, char *range) in mirrormany() argument 412 if(range == nil){ in mirrormany() 420 if(strcmp(range, "none") == 0) in mirrormany() 423 for(s=range; *s; s=t){ in mirrormany()
|
| /plan9/sys/src/cmd/aux/ |
| H A D | msexceltables.c | 91 wanted(char *range, int here) in wanted() argument 96 if (! range) in wanted() 100 p = range; in wanted() 125 sysfatal("%s malformed range spec", range); in wanted()
|