Lines Matching refs:comment
88 struct UString comment; member
123 …(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UErrorCode *stat…
125 static struct SResource *parseResource(ParseState* state, char *tag, const struct UString *comment,…
158 …ffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status); in initLookahead()
175 ustr_deinit(&state->lookahead[i].comment); in cleanupLookahead()
181 getToken(ParseState* state, struct UString **tokenValue, struct UString* comment, uint32_t *linenum… in getToken() argument
198 if (comment != NULL) in getToken()
200 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status); in getToken()
205 ustr_setlen(&state->lookahead[i].comment, 0, status); in getToken()
207 …ffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status); in getToken()
215 …ount, struct UString **tokenValue, uint32_t *linenumber, struct UString *comment, UErrorCode *stat… in peekToken() argument
240 if(comment != NULL){ in peekToken()
241 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status); in peekToken()
248 …m ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenu… in expect() argument
252 enum ETokenType token = getToken(state, tokenValue, comment, &line, status); in expect()
275 static char *getInvariantString(ParseState* state, uint32_t *line, struct UString *comment, UErrorC… in getInvariantString() argument
281 expect(state, TOK_STRING, &tokenValue, comment, line, status); in getInvariantString()
530 parseDependency(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UE… in parseDependency() argument
578 …result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); in parseDependency()
580 … elem = string_open(state->bundle, NULL, tokenValue->fChars, tokenValue->fLength, comment, status); in parseDependency()
592 parseString(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UError… in parseString() argument
611 …result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); in parseString()
627 parseAlias(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UErrorC… in parseAlias() argument
643 … result = alias_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); in parseAlias()
817 struct UString comment; in addCollation() local
830 ustr_init(&comment); in addCollation()
831 token = getToken(state, &tokenValue, &comment, &line, status); in addCollation()
1045 struct UString comment; in parseCollationElements() local
1064 ustr_init(&comment); in parseCollationElements()
1065 token = getToken(state, &tokenValue, &comment, &line, status); in parseCollationElements()
1111 token = peekToken(state, 0, &tokenValue, &line, &comment, status); in parseCollationElements()
1116 token = getToken(state, &tokenValue, &comment, &line, status); in parseCollationElements()
1130 token = peekToken(state, 1, &tokenValue, &line, &comment, status); in parseCollationElements()
1173 struct UString comment; in realParseTable() local
1186 ustr_init(&comment); in realParseTable()
1187 token = getToken(state, &tokenValue, &comment, &line, status); in realParseTable()
1227 member = parseResource(state, subtag, &comment, status); in realParseTable()
1243 ustr_deinit(&comment); in realParseTable()
1253 parseTable(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UErrorC… in parseTable() argument
1267 TableResource *result = table_open(state->bundle, tag, comment, status); in parseTable()
1277 parseArray(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UErrorC… in parseArray() argument
1285 ArrayResource *result = array_open(state->bundle, tag, comment, status); in parseArray()
1364 parseIntVector(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UEr… in parseIntVector() argument
1374 IntVectorResource *result = intvector_open(state->bundle, tag, comment, status); in parseIntVector()
1451 parseBinary(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UError… in parseBinary() argument
1497 … return bin_open(state->bundle, tag, count >> 1, value.getAlias(), NULL, comment, status); in parseBinary()
1509 return bin_open(state->bundle, tag, 0, NULL, "", comment, status); in parseBinary()
1514 parseInteger(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UErro… in parseInteger() argument
1552 result = int_open(state->bundle, tag, value, comment, status); in parseInteger()
1564 parseImport(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UError… in parseImport() argument
1614 return bin_open(state->bundle, tag, len, data.getAlias(), fullname.data(), comment, status); in parseImport()
1618 parseInclude(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UErro… in parseInclude() argument
1689 result = string_open(state->bundle, tag, uBuffer, len, comment, status); in parseInclude()
1796 struct UString comment; in parseResourceType() local
1799 ustr_init(&comment); in parseResourceType()
1800 expect(state, TOK_STRING, &tokenValue, &comment, &line, status); in parseResourceType()
1836 parseResource(ParseState* state, char *tag, const struct UString *comment, UErrorCode *status) in parseResource() argument
1953 return parseFunction(state, tag, startline, comment, status); in parseResource()
1969 struct UString comment; in parse() local
1980 ustr_init(&state.lookahead[i].comment); in parse()
1993 ustr_init(&comment); in parse()
1994 expect(&state, TOK_STRING, &tokenValue, &comment, NULL, status); in parse()
1996 state.bundle = new SRBRoot(&comment, FALSE, *status); in parse()
2079 ustr_deinit(&comment); in parse()