Lines Matching defs:tokenValue
151 getToken(ParseState* state, struct UString **tokenValue, struct UString* comment, uint32_t *linenumber, UErrorCode *status)
158 if (tokenValue != NULL)
160 *tokenValue = &state->lookahead[state->lookaheadPosition].value;
185 peekToken(ParseState* state, uint32_t lookaheadCount, struct UString **tokenValue, uint32_t *linenumber, struct UString *comment, UErrorCode *status)
200 if (tokenValue != NULL)
202 *tokenValue = &state->lookahead[i].value;
218 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenumber, UErrorCode *status)
222 enum ETokenType token = getToken(state, tokenValue, comment, &line, status);
247 struct UString *tokenValue;
251 expect(state, TOK_STRING, &tokenValue, comment, line, status);
258 count = u_strlen(tokenValue->fChars);
259 if(!uprv_isInvariantUString(tokenValue->fChars, count)) {
273 u_UCharsToChars(tokenValue->fChars, result, count+1);
281 struct UString *tokenValue;
295 expect(state, TOK_STRING, &tokenValue, NULL, &line, status);
316 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength);
425 struct UString *tokenValue;
436 expect(state, TOK_STRING, &tokenValue, NULL, &line, status);
457 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength);
504 struct UString *tokenValue;
509 expect(state, TOK_STRING, &tokenValue, NULL, &line, status);
530 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength);
548 result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status);
550 elem = string_open(state->bundle, NULL, tokenValue->fChars, tokenValue->fLength, comment, status);
564 struct UString *tokenValue;
574 expect(state, TOK_STRING, &tokenValue, NULL, NULL, status);
578 /* create the string now - tokenValue doesn't survive a call to getToken (and therefore
581 result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status);
599 struct UString *tokenValue;
602 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 = alias_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status);
831 struct UString *tokenValue;
844 token = getToken(state, &tokenValue, &comment, &line, status);
868 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1);
1035 struct UString *tokenValue;
1056 token = getToken(state, &tokenValue, &comment, &line, status);
1080 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1);
1102 token = peekToken(state, 0, &tokenValue, &line, &comment, status);
1107 token = getToken(state, &tokenValue, &comment, &line, status);
1115 token = peekToken(state, 1, &tokenValue, &line, &comment, status);
1116 u_UCharsToChars(tokenValue->fChars, typeKeyword, u_strlen(tokenValue->fChars) + 1);
1138 /*member = string_open(bundle, subtag, tokenValue->fChars, tokenValue->fLength, status);*/
1157 struct UString *tokenValue=NULL;
1172 token = getToken(state, &tokenValue, &comment, &line, status);
1198 if(uprv_isInvariantUString(tokenValue->fChars, -1)) {
1199 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1);
1268 struct UString *tokenValue;
1292 token = peekToken(state, 0, &tokenValue, NULL, &memberComments, status);
1315 getToken(state, &tokenValue, &memberComments, NULL, status);
1316 member = string_open(state->bundle, NULL, tokenValue->fChars, tokenValue->fLength, &memberComments, status);
1873 struct UString *tokenValue;
1878 expect(state, TOK_STRING, &tokenValue, &comment, &line, status);
1890 if (u_strcmp(tokenValue->fChars, gResourceTypes[result].nameUChars) == 0) {
1895 if (u_strcmp(tokenValue->fChars, k_type_int) == 0) {
1898 else if (u_strcmp(tokenValue->fChars, k_type_bin) == 0) {
1903 u_austrncpy(tokenBuffer, tokenValue->fChars, sizeof(tokenBuffer));
1919 struct UString *tokenValue;
1924 token = getToken(state, &tokenValue, NULL, &startline, status);
1947 expect(state, TOK_OPEN_BRACE, &tokenValue, NULL, &startline, status);
2046 struct UString *tokenValue;
2070 expect(&state, TOK_STRING, &tokenValue, &comment, NULL, status);
2080 bundle_setlocale(state.bundle, tokenValue->fChars, status);