Home | History | Annotate | Download | only in common

Lines Matching refs:startSearchHere

811     const char* startSearchHere = NULL;
828 startSearchHere = uprv_strchr(tmpLocaleID, '@'); /* TODO: REVISIT: shouldn't this be locale_getKeywordsStart ? */
829 if(startSearchHere == NULL) {
840 while(startSearchHere) {
841 startSearchHere++;
843 while(*startSearchHere == ' ') {
844 startSearchHere++;
846 nextSeparator = uprv_strchr(startSearchHere, '=');
851 if(nextSeparator - startSearchHere >= ULOC_KEYWORD_BUFFER_LEN) {
856 for(i = 0; i < nextSeparator - startSearchHere; i++) {
857 localeKeywordNameBuffer[i] = uprv_tolower(startSearchHere[i]);
860 while(startSearchHere[i-1] == ' ') {
866 startSearchHere = uprv_strchr(nextSeparator, ';');
874 if(startSearchHere && startSearchHere - nextSeparator < bufferCapacity) {
875 while(*(startSearchHere-1) == ' ') {
876 startSearchHere--;
878 uprv_strncpy(buffer, nextSeparator, startSearchHere - nextSeparator);
879 result = u_terminateChars(buffer, bufferCapacity, (int32_t)(startSearchHere - nextSeparator), status);
880 } else if(!startSearchHere && (int32_t)uprv_strlen(nextSeparator) < bufferCapacity) { /* last item in string */
890 if(startSearchHere) {
891 result = (int32_t)(startSearchHere - nextSeparator);
922 char* startSearchHere = NULL;
951 startSearchHere = (char*)locale_getKeywordsStart(buffer);
952 if(startSearchHere == NULL || (startSearchHere[1]==0)) {
958 if(startSearchHere) { /* had a single @ */
960 /* startSearchHere points at the @ */
962 startSearchHere=buffer+bufLen;
968 *startSearchHere = '@';
969 startSearchHere++;
970 uprv_strcpy(startSearchHere, keywordNameBuffer);
971 startSearchHere += keywordNameLen;
972 *startSearchHere = '=';
973 startSearchHere++;
974 uprv_strcpy(startSearchHere, keywordValue);
975 startSearchHere+=keywordValueLen;
979 keywordStart = startSearchHere;
1051 /* zero out the ';' or '@' just before startSearchhere */