• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ICU-531.30/icuSources/tools/genrb/

Lines Matching defs:tokenValue

173 getToken(ParseState* state, struct UString **tokenValue, struct UString* comment, uint32_t *linenumber, UErrorCode *status)
180 if (tokenValue != NULL)
182 *tokenValue = &state->lookahead[state->lookaheadPosition].value;
207 peekToken(ParseState* state, uint32_t lookaheadCount, struct UString **tokenValue, uint32_t *linenumber, struct UString *comment, UErrorCode *status)
222 if (tokenValue != NULL)
224 *tokenValue = &state->lookahead[i].value;
240 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenumber, UErrorCode *status)
244 enum ETokenType token = getToken(state, tokenValue, comment, &line, status);
269 struct UString *tokenValue;
273 expect(state, TOK_STRING, &tokenValue, comment, line, status);
280 count = u_strlen(tokenValue->fChars);
281 if(!uprv_isInvariantUString(tokenValue->fChars, count)) {
295 u_UCharsToChars(tokenValue->fChars, result, count+1);
303 struct UString *tokenValue;
317 expect(state, TOK_STRING, &tokenValue, NULL, &line, status);
338 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength);
447 struct UString *tokenValue;
458 expect(state, TOK_STRING, &tokenValue, NULL, &line, status);
479 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength);
526 struct UString *tokenValue;
531 expect(state, TOK_STRING, &tokenValue, NULL, &line, status);
552 u_UCharsToChars(tokenValue->fChars, cs, tokenValue->fLength);
570 result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status);
572 elem = string_open(state->bundle, NULL, tokenValue->fChars, tokenValue->fLength, comment, status);
586 struct UString *tokenValue;
596 expect(state, TOK_STRING, &tokenValue, NULL, NULL, status);
600 /* create the string now - tokenValue doesn't survive a call to getToken (and therefore
603 result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status);
621 struct UString *tokenValue;
624 expect(state, TOK_STRING, &tokenValue, NULL, NULL, status);
632 /* create the string now - tokenValue doesn't survive a call to getToken (and therefore
635 result = alias_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status);
873 struct UString *tokenValue;
888 token = getToken(state, &tokenValue, &comment, &line, status);
912 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1);
1082 struct UString *tokenValue;
1103 token = getToken(state, &tokenValue, &comment, &line, status);
1127 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1);
1149 token = peekToken(state, 0, &tokenValue, &line, &comment, status);
1154 token = getToken(state, &tokenValue, &comment, &line, status);
1167 token = peekToken(state, 1, &tokenValue, &line, &comment, status);
1168 u_UCharsToChars(tokenValue->fChars, typeKeyword, u_strlen(tokenValue->fChars) + 1);
1190 /*member = string_open(bundle, subtag, tokenValue->fChars, tokenValue->fLength, status);*/
1209 struct UString *tokenValue=NULL;
1224 token = getToken(state, &tokenValue, &comment, &line, status);
1250 if(uprv_isInvariantUString(tokenValue->fChars, -1)) {
1251 u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1);
1320 struct UString *tokenValue;
1344 token = peekToken(state, 0, &tokenValue, NULL, &memberComments, status);
1367 getToken(state, &tokenValue, &memberComments, NULL, status);
1368 member = string_open(state->bundle, NULL, tokenValue->fChars, tokenValue->fLength, &memberComments, status);
1923 struct UString *tokenValue;
1928 expect(state, TOK_STRING, &tokenValue, &comment, &line, status);
1940 if (u_strcmp(tokenValue->fChars, gResourceTypes[result].nameUChars) == 0) {
1945 if (u_strcmp(tokenValue->fChars, k_type_int) == 0) {
1948 else if (u_strcmp(tokenValue->fChars, k_type_bin) == 0) {
1953 u_austrncpy(tokenBuffer, tokenValue->fChars, sizeof(tokenBuffer));
1969 struct UString *tokenValue;
1974 token = getToken(state, &tokenValue, NULL, &startline, status);
1997 expect(state, TOK_OPEN_BRACE, &tokenValue, NULL, &startline, status);
2096 struct UString *tokenValue;
2122 expect(&state, TOK_STRING, &tokenValue, &comment, NULL, status);
2132 bundle_setlocale(state.bundle, tokenValue->fChars, status);