Lines Matching refs:nextSeparator
833 const char* nextSeparator = NULL; in uloc_getKeywordValue() local
867 nextSeparator = uprv_strchr(startSearchHere, '='); in uloc_getKeywordValue()
869 if(!nextSeparator) { in uloc_getKeywordValue()
872 if(nextSeparator - startSearchHere >= ULOC_KEYWORD_BUFFER_LEN) { in uloc_getKeywordValue()
877 for(i = 0; i < nextSeparator - startSearchHere; i++) { in uloc_getKeywordValue()
887 startSearchHere = uprv_strchr(nextSeparator, ';'); in uloc_getKeywordValue()
890 nextSeparator++; in uloc_getKeywordValue()
891 while(*nextSeparator == ' ') { in uloc_getKeywordValue()
892 nextSeparator++; in uloc_getKeywordValue()
895 if(startSearchHere && startSearchHere - nextSeparator < bufferCapacity) { in uloc_getKeywordValue()
899 uprv_strncpy(buffer, nextSeparator, startSearchHere - nextSeparator); in uloc_getKeywordValue()
900 …ult = u_terminateChars(buffer, bufferCapacity, (int32_t)(startSearchHere - nextSeparator), status); in uloc_getKeywordValue()
901 …} else if(!startSearchHere && (int32_t)uprv_strlen(nextSeparator) < bufferCapacity) { /* last item… in uloc_getKeywordValue()
902 i = (int32_t)uprv_strlen(nextSeparator); in uloc_getKeywordValue()
903 while(nextSeparator[i - 1] == ' ') { in uloc_getKeywordValue()
906 uprv_strncpy(buffer, nextSeparator, i); in uloc_getKeywordValue()
912 result = (int32_t)(startSearchHere - nextSeparator); in uloc_getKeywordValue()
914 result = (int32_t)uprv_strlen(nextSeparator); in uloc_getKeywordValue()
941 char* nextSeparator = NULL; in uloc_setKeywordValue() local
1028 nextSeparator = uprv_strchr(nextEqualsign, ';'); in uloc_setKeywordValue()
1036 if (nextSeparator) { in uloc_setKeywordValue()
1038 foundValueLen = (int32_t)(nextSeparator - nextEqualsign); in uloc_setKeywordValue()
1049 if(nextSeparator) { /* RH side */ in uloc_setKeywordValue()
1050 uprv_memmove(nextSeparator - delta, nextSeparator, bufLen-(nextSeparator-buffer)); in uloc_setKeywordValue()
1062 if(nextSeparator) { /* RH side */ in uloc_setKeywordValue()
1063 uprv_memmove(nextSeparator+delta,nextSeparator, bufLen-(nextSeparator-buffer)); in uloc_setKeywordValue()
1076 uprv_memmove(keywordStart, nextSeparator+1, bufLen-((nextSeparator+1)-buffer)); in uloc_setKeywordValue()
1077 keywordStart[bufLen-((nextSeparator+1)-buffer)]=0; in uloc_setKeywordValue()
1078 return (int32_t)(bufLen-((nextSeparator+1)-keywordStart)); in uloc_setKeywordValue()
1085 keywordStart = nextSeparator; in uloc_setKeywordValue()