Lines Matching refs:comment
80 struct UString comment; member
115 …(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UErrorCode *stat…
117 static struct SResource *parseResource(ParseState* state, char *tag, const struct UString *comment,…
150 …ffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status); in initLookahead()
167 ustr_deinit(&state->lookahead[i].comment); in cleanupLookahead()
173 getToken(ParseState* state, struct UString **tokenValue, struct UString* comment, uint32_t *linenum… in getToken() argument
190 if (comment != NULL) in getToken()
192 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status); in getToken()
197 ustr_setlen(&state->lookahead[i].comment, 0, status); in getToken()
199 …ffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status); in getToken()
207 …ount, struct UString **tokenValue, uint32_t *linenumber, struct UString *comment, UErrorCode *stat… in peekToken() argument
232 if(comment != NULL){ in peekToken()
233 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status); in peekToken()
240 …m ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenu… in expect() argument
244 enum ETokenType token = getToken(state, tokenValue, comment, &line, status); in expect()
267 static char *getInvariantString(ParseState* state, uint32_t *line, struct UString *comment, UErrorC… in getInvariantString() argument
273 expect(state, TOK_STRING, &tokenValue, comment, line, status); in getInvariantString()
522 parseDependency(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UE… in parseDependency() argument
570 …result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); in parseDependency()
572 … elem = string_open(state->bundle, NULL, tokenValue->fChars, tokenValue->fLength, comment, status); in parseDependency()
584 parseString(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UError… in parseString() argument
603 …result = string_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); in parseString()
619 parseAlias(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UErrorC… in parseAlias() argument
635 … result = alias_open(state->bundle, tag, tokenValue->fChars, tokenValue->fLength, comment, status); in parseAlias()
877 struct UString comment; in addCollation() local
890 ustr_init(&comment); in addCollation()
891 token = getToken(state, &tokenValue, &comment, &line, status); in addCollation()
1104 struct UString comment; in parseCollationElements() local
1123 ustr_init(&comment); in parseCollationElements()
1124 token = getToken(state, &tokenValue, &comment, &line, status); in parseCollationElements()
1170 token = peekToken(state, 0, &tokenValue, &line, &comment, status); in parseCollationElements()
1175 token = getToken(state, &tokenValue, &comment, &line, status); in parseCollationElements()
1188 token = peekToken(state, 1, &tokenValue, &line, &comment, status); in parseCollationElements()
1231 struct UString comment; in realParseTable() local
1244 ustr_init(&comment); in realParseTable()
1245 token = getToken(state, &tokenValue, &comment, &line, status); in realParseTable()
1285 member = parseResource(state, subtag, &comment, status); in realParseTable()
1301 ustr_deinit(&comment); in realParseTable()
1311 parseTable(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UErrorC… in parseTable() argument
1327 result = table_open(state->bundle, tag, comment, status); in parseTable()
1337 parseArray(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UErrorC… in parseArray() argument
1346 result = array_open(state->bundle, tag, comment, status); in parseArray()
1431 parseIntVector(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UEr… in parseIntVector() argument
1442 result = intvector_open(state->bundle, tag, comment, status); in parseIntVector()
1519 parseBinary(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UError… in parseBinary() argument
1578 result = bin_open(state->bundle, tag, (i >> 1), value,NULL, comment, status); in parseBinary()
1592 result = bin_open(state->bundle, tag, 0, NULL, "",comment,status); in parseBinary()
1601 parseInteger(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UErro… in parseInteger() argument
1639 result = int_open(state->bundle, tag, value, comment, status); in parseInteger()
1651 parseImport(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UError… in parseImport() argument
1757 result = bin_open(state->bundle, tag, len, data, fullname, comment, status); in parseImport()
1767 parseInclude(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UErro… in parseInclude() argument
1838 result = string_open(state->bundle, tag, uBuffer, len, comment, status); in parseInclude()
1945 struct UString comment; in parseResourceType() local
1948 ustr_init(&comment); in parseResourceType()
1949 expect(state, TOK_STRING, &tokenValue, &comment, &line, status); in parseResourceType()
1985 parseResource(ParseState* state, char *tag, const struct UString *comment, UErrorCode *status) in parseResource() argument
2102 return parseFunction(state, tag, startline, comment, status); in parseResource()
2118 struct UString comment; in parse() local
2129 ustr_init(&state.lookahead[i].comment); in parse()
2142 ustr_init(&comment); in parse()
2143 expect(&state, TOK_STRING, &tokenValue, &comment, NULL, status); in parse()
2145 state.bundle = bundle_open(&comment, FALSE, status); in parse()
2225 ustr_deinit(&comment); in parse()