Home | History | Annotate | Download | only in common

Lines Matching refs:row

33     int32_t prevRow;  /* search optimization: remember last row seen */
44 uint32_t *v, *row;
70 /* set the all-Unicode row and the special-value rows */
71 row=pv->v;
72 uprv_memset(row, 0, pv->rows*columns*4);
73 row[0]=0;
74 row[1]=0x110000;
75 row+=columns;
77 row[0]=cp;
78 row[1]=cp+1;
79 row+=columns;
94 uint32_t *row;
101 /* check the vicinity of the last-seen row (start searching with an unrolled loop) */
102 row=pv->v+prevRow*columns;
103 if(rangeStart>=(UChar32)row[0]) {
104 if(rangeStart<(UChar32)row[1]) {
105 /* same row as last seen */
106 return row;
107 } else if(rangeStart<(UChar32)(row+=columns)[1]) {
108 /* next row after the last one */
110 return row;
111 } else if(rangeStart<(UChar32)(row+=columns)[1]) {
112 /* second row after the last one */
114 return row;
115 } else if((rangeStart-(UChar32)row[1])<10) {
120 row+=columns;
121 } while(rangeStart>=(UChar32)row[1]);
123 return row;
126 /* the very first row */
135 row=pv->v+i*columns;
136 if(rangeStart<(UChar32)row[0]) {
138 } else if(rangeStart<(UChar32)row[1]) {
140 return row;
229 /* count the number of row cells to move after the last row, and move them */
239 /* split the first row, and move the firstRow pointer to the second part */
251 /* split the last row */
253 /* copy the last row data */
261 /* set the "row last seen" to the last row for the range */
279 uint32_t *row;
286 row=_findRow(ncpv, c);
287 return row[2+column];
293 uint32_t *row;
301 row=pv->v+rowIndex*columns;
303 *pRangeStart=(UChar32)row[0];
306 *pRangeEnd=(UChar32)row[1]-1;
308 return row+2;
335 uint32_t *row;
371 row=pv->v;
374 start=(UChar32)row[0];
377 if(count<0 || 0!=uprv_memcmp(row+2, row-valueColumns, valueColumns*4)) {
382 handler(context, start, start, count, row+2, valueColumns, pErrorCode);
388 row+=columns;
396 count, row-valueColumns, valueColumns, pErrorCode);
408 row=pv->v;
412 start=(UChar32)row[0];
413 limit=(UChar32)row[1];
416 if(count<0 || 0!=uprv_memcmp(row+2, pv->v+count, valueColumns*4)) {
418 uprv_memmove(pv->v+count, row+2, valueColumns*4);
428 row+=columns;
498 int32_t rowIndex, uint32_t *row, int32_t columns,