Lines Matching refs:nextSeparator
825 const char* nextSeparator = NULL; in uloc_getKeywordValue() local
859 nextSeparator = uprv_strchr(startSearchHere, '='); in uloc_getKeywordValue()
861 if(!nextSeparator) { in uloc_getKeywordValue()
864 if(nextSeparator - startSearchHere >= ULOC_KEYWORD_BUFFER_LEN) { in uloc_getKeywordValue()
869 for(i = 0; i < nextSeparator - startSearchHere; i++) { in uloc_getKeywordValue()
879 startSearchHere = uprv_strchr(nextSeparator, ';'); in uloc_getKeywordValue()
882 nextSeparator++; in uloc_getKeywordValue()
883 while(*nextSeparator == ' ') { in uloc_getKeywordValue()
884 nextSeparator++; in uloc_getKeywordValue()
887 if(startSearchHere && startSearchHere - nextSeparator < bufferCapacity) { in uloc_getKeywordValue()
891 uprv_strncpy(buffer, nextSeparator, startSearchHere - nextSeparator); in uloc_getKeywordValue()
892 …ult = u_terminateChars(buffer, bufferCapacity, (int32_t)(startSearchHere - nextSeparator), status); in uloc_getKeywordValue()
893 …} else if(!startSearchHere && (int32_t)uprv_strlen(nextSeparator) < bufferCapacity) { /* last item… in uloc_getKeywordValue()
894 i = (int32_t)uprv_strlen(nextSeparator); in uloc_getKeywordValue()
895 while(nextSeparator[i - 1] == ' ') { in uloc_getKeywordValue()
898 uprv_strncpy(buffer, nextSeparator, i); in uloc_getKeywordValue()
904 result = (int32_t)(startSearchHere - nextSeparator); in uloc_getKeywordValue()
906 result = (int32_t)uprv_strlen(nextSeparator); in uloc_getKeywordValue()
933 char* nextSeparator = NULL; in uloc_setKeywordValue() local
1020 nextSeparator = uprv_strchr(nextEqualsign, ';'); in uloc_setKeywordValue()
1028 if (nextSeparator) { in uloc_setKeywordValue()
1030 foundValueLen = (int32_t)(nextSeparator - nextEqualsign); in uloc_setKeywordValue()
1041 if(nextSeparator) { /* RH side */ in uloc_setKeywordValue()
1042 uprv_memmove(nextSeparator - delta, nextSeparator, bufLen-(nextSeparator-buffer)); in uloc_setKeywordValue()
1054 if(nextSeparator) { /* RH side */ in uloc_setKeywordValue()
1055 uprv_memmove(nextSeparator+delta,nextSeparator, bufLen-(nextSeparator-buffer)); in uloc_setKeywordValue()
1068 uprv_memmove(keywordStart, nextSeparator+1, bufLen-((nextSeparator+1)-buffer)); in uloc_setKeywordValue()
1069 keywordStart[bufLen-((nextSeparator+1)-buffer)]=0; in uloc_setKeywordValue()
1070 return (int32_t)(bufLen-((nextSeparator+1)-keywordStart)); in uloc_setKeywordValue()
1077 keywordStart = nextSeparator; in uloc_setKeywordValue()