Home | History | Annotate | Download | only in genrb

Lines Matching defs:tokenValue

183 getToken(ParseState* state, struct UString **tokenValue, struct UString* comment, uint32_t *linenumber, UErrorCode *status)
190 if (tokenValue != NULL)
192 *tokenValue = &state->lookahead[state->lookaheadPosition].value;
217 peekToken(ParseState* state, uint32_t lookaheadCount, struct UString **tokenValue, uint32_t *linenumber, struct UString *comment, UErrorCode *status)
232 if (tokenValue != NULL)
234 *tokenValue = &state->lookahead[i].value;
250 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenumber, UErrorCode *status)
254 enum ETokenType token = getToken(state, tokenValue, comment, &line, status);
279 struct UString *tokenValue;
283 expect(state, TOK_STRING, &tokenValue, comment, line, status);
290 count = u_strlen(tokenValue->fChars);
291 if(!uprv_isInvariantUString(tokenValue->fChars, count)) {
305 u_UCharsToChars(tokenValue->fChars, result, count+1);
313 struct UString *tokenValue;
327 expect(state, TOK_STRING, &tokenValue, NULL, &line, status);
348 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength);
457 struct UString *tokenValue;
468 expect(state, TOK_STRING, &tokenValue, NULL, &line, status);
489 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength);
536 struct UString *tokenValue;
541 expect(state, TOK_STRING, &tokenValue, NULL, &line, status);
562 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength);
580 result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status);
582 elem = string_open(state->bundle, NULL, tokenValue->fChars, tokenValue->fLength, comment, status);
596 struct UString *tokenValue;
606 expect(state, TOK_STRING, &tokenValue, NULL, NULL, status);
610 /* create the string now - tokenValue doesn't survive a call to getToken (and therefore
613 result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status);
631 struct UString *tokenValue;
634 expect(state, TOK_STRING, &tokenValue, NULL, NULL, status);
642 /* create the string now - tokenValue doesn't survive a call to getToken (and therefore
645 result = alias_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status);
818 struct UString *tokenValue;
833 token = getToken(state, &tokenValue, &comment, &line, status);
857 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1);
1046 struct UString *tokenValue;
1067 token = getToken(state, &tokenValue, &comment, &line, status);
1091 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1);
1113 token = peekToken(state, 0, &tokenValue, &line, &comment, status);
1118 token = getToken(state, &tokenValue, &comment, &line, status);
1132 token = peekToken(state, 1, &tokenValue, &line, &comment, status);
1133 u_UCharsToChars(tokenValue->fChars, typeKeyword, u_strlen(tokenValue->fChars) + 1);
1155 /*member = string_open(bundle, subtag, tokenValue->fChars, tokenValue->fLength, status);*/
1174 struct UString *tokenValue=NULL;
1189 token = getToken(state, &tokenValue, &comment, &line, status);
1215 if(uprv_isInvariantUString(tokenValue->fChars, -1)) {
1216 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1);
1282 struct UString *tokenValue;
1306 token = peekToken(state, 0, &tokenValue, NULL, &memberComments, status);
1329 getToken(state, &tokenValue, &memberComments, NULL, status);
1330 member = string_open(state->bundle, NULL, tokenValue->fChars, tokenValue->fLength, &memberComments, status);
1797 struct UString *tokenValue;
1802 expect(state, TOK_STRING, &tokenValue, &comment, &line, status);
1814 if (u_strcmp(tokenValue->fChars, gResourceTypes[result].nameUChars) == 0) {
1819 if (u_strcmp(tokenValue->fChars, k_type_int) == 0) {
1822 else if (u_strcmp(tokenValue->fChars, k_type_bin) == 0) {
1827 u_austrncpy(tokenBuffer, tokenValue->fChars, sizeof(tokenBuffer));
1843 struct UString *tokenValue;
1848 token = getToken(state, &tokenValue, NULL, &startline, status);
1871 expect(state, TOK_OPEN_BRACE, &tokenValue, NULL, &startline, status);
1970 struct UString *tokenValue;
1996 expect(&state, TOK_STRING, &tokenValue, &comment, NULL, status);
2006 state.bundle->setLocale(tokenValue->fChars, *status);