• Home
  • Raw
  • Download

Lines Matching refs:nextSeparator

830     const char* nextSeparator = NULL;  in uloc_getKeywordValue()  local
864 nextSeparator = uprv_strchr(startSearchHere, '='); in uloc_getKeywordValue()
866 if(!nextSeparator) { in uloc_getKeywordValue()
869 if(nextSeparator - startSearchHere >= ULOC_KEYWORD_BUFFER_LEN) { in uloc_getKeywordValue()
874 for(i = 0; i < nextSeparator - startSearchHere; i++) { in uloc_getKeywordValue()
883 startSearchHere = uprv_strchr(nextSeparator, ';'); in uloc_getKeywordValue()
886 nextSeparator++; in uloc_getKeywordValue()
887 while(*nextSeparator == ' ') { in uloc_getKeywordValue()
888 nextSeparator++; in uloc_getKeywordValue()
891 if(startSearchHere && startSearchHere - nextSeparator < bufferCapacity) { in uloc_getKeywordValue()
895 uprv_strncpy(buffer, nextSeparator, startSearchHere - nextSeparator); in uloc_getKeywordValue()
896 …ult = u_terminateChars(buffer, bufferCapacity, (int32_t)(startSearchHere - nextSeparator), status); in uloc_getKeywordValue()
897 …} else if(!startSearchHere && (int32_t)uprv_strlen(nextSeparator) < bufferCapacity) { /* last item… in uloc_getKeywordValue()
898 i = (int32_t)uprv_strlen(nextSeparator); in uloc_getKeywordValue()
899 while(nextSeparator[i - 1] == ' ') { in uloc_getKeywordValue()
902 uprv_strncpy(buffer, nextSeparator, i); in uloc_getKeywordValue()
908 result = (int32_t)(startSearchHere - nextSeparator); in uloc_getKeywordValue()
910 result = (int32_t)uprv_strlen(nextSeparator); in uloc_getKeywordValue()
937 char* nextSeparator = NULL; in uloc_setKeywordValue() local
1023 nextSeparator = uprv_strchr(nextEqualsign, ';'); in uloc_setKeywordValue()
1031 if (nextSeparator) { in uloc_setKeywordValue()
1033 foundValueLen = (int32_t)(nextSeparator - nextEqualsign); in uloc_setKeywordValue()
1044 if(nextSeparator) { /* RH side */ in uloc_setKeywordValue()
1045 uprv_memmove(nextSeparator - delta, nextSeparator, bufLen-(nextSeparator-buffer)); in uloc_setKeywordValue()
1057 if(nextSeparator) { /* RH side */ in uloc_setKeywordValue()
1058 uprv_memmove(nextSeparator+delta,nextSeparator, bufLen-(nextSeparator-buffer)); in uloc_setKeywordValue()
1071 uprv_memmove(keywordStart, nextSeparator+1, bufLen-((nextSeparator+1)-buffer)); in uloc_setKeywordValue()
1072 keywordStart[bufLen-((nextSeparator+1)-buffer)]=0; in uloc_setKeywordValue()
1073 return (int32_t)(bufLen-((nextSeparator+1)-keywordStart)); in uloc_setKeywordValue()
1080 keywordStart = nextSeparator; in uloc_setKeywordValue()