Lines Matching refs:startSearchHere

824     const char* startSearchHere = NULL;  in uloc_getKeywordValue()  local
841startSearchHere = uprv_strchr(tmpLocaleID, '@'); /* TODO: REVISIT: shouldn't this be locale_getKey… in uloc_getKeywordValue()
842 if(startSearchHere == NULL) { in uloc_getKeywordValue()
853 while(startSearchHere) { in uloc_getKeywordValue()
854 startSearchHere++; in uloc_getKeywordValue()
856 while(*startSearchHere == ' ') { in uloc_getKeywordValue()
857 startSearchHere++; in uloc_getKeywordValue()
859 nextSeparator = uprv_strchr(startSearchHere, '='); 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()
870 localeKeywordNameBuffer[i] = uprv_tolower(startSearchHere[i]); in uloc_getKeywordValue()
873 while(startSearchHere[i-1] == ' ') { in uloc_getKeywordValue()
879 startSearchHere = uprv_strchr(nextSeparator, ';'); in uloc_getKeywordValue()
887 if(startSearchHere && startSearchHere - nextSeparator < bufferCapacity) { in uloc_getKeywordValue()
888 while(*(startSearchHere-1) == ' ') { in uloc_getKeywordValue()
889 startSearchHere--; in uloc_getKeywordValue()
891 uprv_strncpy(buffer, nextSeparator, startSearchHere - nextSeparator); in uloc_getKeywordValue()
892 …result = u_terminateChars(buffer, bufferCapacity, (int32_t)(startSearchHere - nextSeparator), stat… in uloc_getKeywordValue()
893 …} else if(!startSearchHere && (int32_t)uprv_strlen(nextSeparator) < bufferCapacity) { /* last item… in uloc_getKeywordValue()
903 if(startSearchHere) { in uloc_getKeywordValue()
904 result = (int32_t)(startSearchHere - nextSeparator); in uloc_getKeywordValue()
935 char* startSearchHere = NULL; in uloc_setKeywordValue() local
964 startSearchHere = (char*)locale_getKeywordsStart(buffer); in uloc_setKeywordValue()
965 if(startSearchHere == NULL || (startSearchHere[1]==0)) { in uloc_setKeywordValue()
971 if(startSearchHere) { /* had a single @ */ in uloc_setKeywordValue()
975 startSearchHere=buffer+bufLen; in uloc_setKeywordValue()
981 *startSearchHere = '@'; in uloc_setKeywordValue()
982 startSearchHere++; in uloc_setKeywordValue()
983 uprv_strcpy(startSearchHere, keywordNameBuffer); in uloc_setKeywordValue()
984 startSearchHere += keywordNameLen; in uloc_setKeywordValue()
985 *startSearchHere = '='; in uloc_setKeywordValue()
986 startSearchHere++; in uloc_setKeywordValue()
987 uprv_strcpy(startSearchHere, keywordValue); in uloc_setKeywordValue()
988 startSearchHere+=keywordValueLen; in uloc_setKeywordValue()
992 keywordStart = startSearchHere; in uloc_setKeywordValue()