Home | History | Annotate | Download | only in common

Lines Matching refs:row

32     int32_t prevRow;  /* search optimization: remember last row seen */
43 uint32_t *v, *row;
69 /* set the all-Unicode row and the special-value rows */
70 row=pv->v;
71 uprv_memset(row, 0, pv->rows*columns*4);
72 row[0]=0;
73 row[1]=0x110000;
74 row+=columns;
76 row[0]=cp;
77 row[1]=cp+1;
78 row+=columns;
93 uint32_t *row;
100 /* check the vicinity of the last-seen row (start searching with an unrolled loop) */
101 row=pv->v+prevRow*columns;
102 if(rangeStart>=(UChar32)row[0]) {
103 if(rangeStart<(UChar32)row[1]) {
104 /* same row as last seen */
105 return row;
106 } else if(rangeStart<(UChar32)(row+=columns)[1]) {
107 /* next row after the last one */
109 return row;
110 } else if(rangeStart<(UChar32)(row+=columns)[1]) {
111 /* second row after the last one */
113 return row;
114 } else if((rangeStart-(UChar32)row[1])<10) {
119 row+=columns;
120 } while(rangeStart>=(UChar32)row[1]);
122 return row;
125 /* the very first row */
134 row=pv->v+i*columns;
135 if(rangeStart<(UChar32)row[0]) {
137 } else if(rangeStart<(UChar32)row[1]) {
139 return row;
228 /* count the number of row cells to move after the last row, and move them */
238 /* split the first row, and move the firstRow pointer to the second part */
250 /* split the last row */
252 /* copy the last row data */
260 /* set the "row last seen" to the last row for the range */
278 uint32_t *row;
285 row=_findRow(ncpv, c);
286 return row[2+column];
292 uint32_t *row;
300 row=pv->v+rowIndex*columns;
302 *pRangeStart=(UChar32)row[0];
305 *pRangeEnd=(UChar32)row[1]-1;
307 return row+2;
334 uint32_t *row;
369 row=pv->v;
372 start=(UChar32)row[0];
375 if(count<0 || 0!=uprv_memcmp(row+2, row-valueColumns, valueColumns*4)) {
380 handler(context, start, start, count, row+2, valueColumns, pErrorCode);
386 row+=columns;
394 count, row-valueColumns, valueColumns, pErrorCode);
406 row=pv->v;
410 start=(UChar32)row[0];
411 limit=(UChar32)row[1];
414 if(count<0 || 0!=uprv_memcmp(row+2, pv->v+count, valueColumns*4)) {
416 uprv_memmove(pv->v+count, row+2, valueColumns*4);
426 row+=columns;
496 int32_t rowIndex, uint32_t *row, int32_t columns,