Lines Matching refs:currentIndex
159 static int16_t currentIndex = 0; /* the current index into the data trie */
273 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex;
278 limitIndex = currentIndex;
286 trieWord = currentIndex << 2;
320 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){
322 currentIndex+value->length, _SPREP_MAX_INDEX_VALUE);
330 mappingData[currentIndex++] = (uint16_t) mappingLength;
333 u_memmove(mappingData+currentIndex, value->mapping, value->length);
334 currentIndex += value->length;
335 if (currentIndex > mappingDataCapacity) {
347 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex+1;
584 printf("Number of code units in mappingData (currentIndex) are: %i \n", currentIndex);