Lines Matching refs:nextSeparator
837 const char* nextSeparator = NULL; in uloc_getKeywordValue() local
871 nextSeparator = uprv_strchr(startSearchHere, '='); in uloc_getKeywordValue()
873 if(!nextSeparator) { in uloc_getKeywordValue()
876 if(nextSeparator - startSearchHere >= ULOC_KEYWORD_BUFFER_LEN) { in uloc_getKeywordValue()
881 for(i = 0; i < nextSeparator - startSearchHere; i++) { in uloc_getKeywordValue()
891 startSearchHere = uprv_strchr(nextSeparator, ';'); in uloc_getKeywordValue()
894 nextSeparator++; in uloc_getKeywordValue()
895 while(*nextSeparator == ' ') { in uloc_getKeywordValue()
896 nextSeparator++; in uloc_getKeywordValue()
899 if(startSearchHere && startSearchHere - nextSeparator < bufferCapacity) { in uloc_getKeywordValue()
903 uprv_strncpy(buffer, nextSeparator, startSearchHere - nextSeparator); in uloc_getKeywordValue()
904 …ult = u_terminateChars(buffer, bufferCapacity, (int32_t)(startSearchHere - nextSeparator), status); in uloc_getKeywordValue()
905 …} else if(!startSearchHere && (int32_t)uprv_strlen(nextSeparator) < bufferCapacity) { /* last item… in uloc_getKeywordValue()
906 i = (int32_t)uprv_strlen(nextSeparator); in uloc_getKeywordValue()
907 while(nextSeparator[i - 1] == ' ') { in uloc_getKeywordValue()
910 uprv_strncpy(buffer, nextSeparator, i); in uloc_getKeywordValue()
916 result = (int32_t)(startSearchHere - nextSeparator); in uloc_getKeywordValue()
918 result = (int32_t)uprv_strlen(nextSeparator); in uloc_getKeywordValue()
945 char* nextSeparator = NULL; in uloc_setKeywordValue() local
1032 nextSeparator = uprv_strchr(nextEqualsign, ';'); in uloc_setKeywordValue()
1040 if (nextSeparator) { in uloc_setKeywordValue()
1042 foundValueLen = (int32_t)(nextSeparator - nextEqualsign); in uloc_setKeywordValue()
1053 if(nextSeparator) { /* RH side */ in uloc_setKeywordValue()
1054 uprv_memmove(nextSeparator - delta, nextSeparator, bufLen-(nextSeparator-buffer)); in uloc_setKeywordValue()
1066 if(nextSeparator) { /* RH side */ in uloc_setKeywordValue()
1067 uprv_memmove(nextSeparator+delta,nextSeparator, bufLen-(nextSeparator-buffer)); in uloc_setKeywordValue()
1080 uprv_memmove(keywordStart, nextSeparator+1, bufLen-((nextSeparator+1)-buffer)); in uloc_setKeywordValue()
1081 keywordStart[bufLen-((nextSeparator+1)-buffer)]=0; in uloc_setKeywordValue()
1082 return (int32_t)(bufLen-((nextSeparator+1)-keywordStart)); in uloc_setKeywordValue()
1089 keywordStart = nextSeparator; in uloc_setKeywordValue()