Lines Matching defs:range
986 const uint32_t *range;
989 range=gb18030Ranges[0];
990 for(i=0; i<sizeof(gb18030Ranges)/sizeof(gb18030Ranges[0]); range+=4, ++i) {
991 if(range[0]<=(uint32_t)cp && (uint32_t)cp<=range[1]) {
996 /* get the linear value of the first GB 18030 code in this range */
997 linear=range[2]-LINEAR_18030_BASE;
999 /* add the offset from the beginning of the range */
1000 linear+=((uint32_t)cp-range[0]);
1051 const uint32_t *range;
1056 range=gb18030Ranges[0];
1057 for(i=0; i<sizeof(gb18030Ranges)/sizeof(gb18030Ranges[0]); range+=4, ++i) {
1058 if(range[2]<=linear && linear<=range[3]) {
1063 linear=range[0]+(linear-range[2]);