• Home
  • Raw
  • Download

Lines Matching refs:startSearchHere

829     const char* startSearchHere = NULL;  in uloc_getKeywordValue()  local
846startSearchHere = uprv_strchr(tmpLocaleID, '@'); /* TODO: REVISIT: shouldn't this be locale_getKey… in uloc_getKeywordValue()
847 if(startSearchHere == NULL) { in uloc_getKeywordValue()
858 while(startSearchHere) { in uloc_getKeywordValue()
859 startSearchHere++; in uloc_getKeywordValue()
861 while(*startSearchHere == ' ') { in uloc_getKeywordValue()
862 startSearchHere++; in uloc_getKeywordValue()
864 nextSeparator = uprv_strchr(startSearchHere, '='); 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()
875 localeKeywordNameBuffer[i] = uprv_tolower(startSearchHere[i]); in uloc_getKeywordValue()
878 while(startSearchHere[i-1] == ' ') { in uloc_getKeywordValue()
883 startSearchHere = uprv_strchr(nextSeparator, ';'); in uloc_getKeywordValue()
891 if(startSearchHere && startSearchHere - nextSeparator < bufferCapacity) { in uloc_getKeywordValue()
892 while(*(startSearchHere-1) == ' ') { in uloc_getKeywordValue()
893 startSearchHere--; in uloc_getKeywordValue()
895 uprv_strncpy(buffer, nextSeparator, startSearchHere - nextSeparator); in uloc_getKeywordValue()
896 …result = u_terminateChars(buffer, bufferCapacity, (int32_t)(startSearchHere - nextSeparator), stat… in uloc_getKeywordValue()
897 …} else if(!startSearchHere && (int32_t)uprv_strlen(nextSeparator) < bufferCapacity) { /* last item… in uloc_getKeywordValue()
907 if(startSearchHere) { in uloc_getKeywordValue()
908 result = (int32_t)(startSearchHere - nextSeparator); in uloc_getKeywordValue()
939 char* startSearchHere = NULL; in uloc_setKeywordValue() local
968 startSearchHere = (char*)locale_getKeywordsStart(buffer); in uloc_setKeywordValue()
969 if(startSearchHere == NULL || (startSearchHere[1]==0)) { in uloc_setKeywordValue()
975 if(startSearchHere) { /* had a single @ */ in uloc_setKeywordValue()
979 startSearchHere=buffer+bufLen; in uloc_setKeywordValue()
985 *startSearchHere = '@'; in uloc_setKeywordValue()
986 startSearchHere++; in uloc_setKeywordValue()
987 uprv_strcpy(startSearchHere, keywordNameBuffer); in uloc_setKeywordValue()
988 startSearchHere += keywordNameLen; in uloc_setKeywordValue()
989 *startSearchHere = '='; in uloc_setKeywordValue()
990 startSearchHere++; in uloc_setKeywordValue()
991 uprv_strcpy(startSearchHere, keywordValue); in uloc_setKeywordValue()
992 startSearchHere+=keywordValueLen; in uloc_setKeywordValue()
996 keywordStart = startSearchHere; in uloc_setKeywordValue()