Searched refs:comment (Results 1 - 25 of 52) sorted by relevance

123

/frameworks/av/include/media/
H A DVorbisComment.h26 MetaDataBase *fileMeta, const char *comment, size_t commentLength);
/frameworks/av/media/libmediaextractor/include/media/
H A DVorbisComment.h26 MetaDataBase *fileMeta, const char *comment, size_t commentLength);
/frameworks/base/tools/aapt2/java/
H A DAnnotationProcessor.cpp32 StringPiece AnnotationProcessor::ExtractFirstSentence(const StringPiece& comment) { argument
33 Utf8Iterator iter(comment);
39 return comment.substr(0, current_position);
43 return comment;
63 void AnnotationProcessor::AppendCommentLine(std::string comment) { argument
66 // Treat deprecated specially, since we don't remove it from the source comment.
67 if (comment.find(sDeprecated) != std::string::npos) {
72 std::string::size_type idx = comment.find(rule.doc_str.data());
75 comment.erase(comment
97 AppendComment(const StringPiece& comment) argument
[all...]
H A DAnnotationProcessor.h29 // Builds a JavaDoc comment from a set of XML comments.
55 // Extracts the first sentence of a comment. The algorithm selects the substring starting from
58 static android::StringPiece ExtractFirstSentence(const android::StringPiece& comment);
62 void AppendComment(const android::StringPiece& comment);
H A DAnnotationProcessor_test.cpp32 const char* comment = local
33 "Some comment, and it should contain a marker word, "
38 processor.AppendComment(comment);
H A DJavaClassGenerator.cpp272 // Build the JavaDoc comment for the Styleable array. This has references to child attributes
280 // Apply a default intro comment if the styleable has no comments of its own.
309 // Only use the comment up until the first '.'. This is to stay compatible with
360 StringPiece comment = styleable_attr.attr_ref->GetComment(); local
361 if (styleable_attr.symbol.value().attribute && comment.empty()) {
362 comment = styleable_attr.symbol.value().attribute->GetComment();
365 if (comment.contains("@removed")) {
383 if (!comment.empty()) {
385 attr_processor->AppendComment(comment);
448 processor->AppendComment(entry.visibility.comment);
[all...]
/frameworks/rs/rsov/compiler/spirit/
H A Dgenerate.py62 for type, var, quantifier, comment in generate_member_list(operands):
87 for type, var, quantifier, comment in generate_member_list(operands):
105 for type, var, quantifier, comment in generate_member_list(operands):
202 comment = operand.get('name');
203 members.append((type, varName, quantifier, comment))
208 for type, var, quant, comment in member_list:
217 for type, var, quantifier, comment in member_list:
218 if comment is not None and comment.find('\n') != -1:
219 member_str += " /* %s\n */\n" % comment
[all...]
/frameworks/av/media/libmediaextractor/
H A DVorbisComment.cpp108 MetaDataBase *fileMeta, const char *comment, size_t commentLength)
134 if (!strncasecmp(kMap[j].mTag, comment, tagLen)
135 && comment[tagLen] == '=') {
139 &comment[tagLen + 1],
142 if (!strcasecmp(&comment[tagLen + 1], "true")) {
146 fileMeta->setCString(kMap[j].mKey, &comment[tagLen + 1]);
107 parseVorbisComment( MetaDataBase *fileMeta, const char *comment, size_t commentLength) argument
/frameworks/base/tools/aapt2/
H A DResourceTable_test.cpp175 const StringPiece& comment) {
187 if (visibility.comment != comment) {
188 return ::testing::AssertionFailure() << "expected visibility comment '" << comment
189 << "' but got '" << visibility.comment << "'";
202 visibility.comment = "private";
207 visibility.comment = "undefined";
212 visibility.comment = "public";
217 visibility.comment
172 VisibilityOfResource(const ResourceTable& table, const ResourceNameRef& name, Visibility::Level level, const StringPiece& comment) argument
[all...]
H A DResources.proto122 // The comment associated with the <public> tag.
123 string comment = 3;
132 // Any comment associated with the declaration.
133 string comment = 2;
141 // Any comment associated with the declaration.
142 string comment = 2;
190 // Any comment associated with the value.
191 string comment = 2;
341 string comment = 2;
394 string comment
[all...]
H A DResourceParser.cpp43 // Returns true if the element is <skip> or <eat-comment> and can be safely ignored.
45 return ns.empty() && (name == "skip" || name == "eat-comment");
103 std::string comment; member in struct:aapt::ParsedResource
110 StringPiece trimmed_comment = util::TrimWhitespace(res->comment);
111 if (trimmed_comment.size() != res->comment.size()) {
113 res->comment = trimmed_comment.to_string();
120 visibility.comment = res->comment;
129 allow_new.comment = res->comment;
415 std::string comment; local
921 std::string comment; local
1173 std::string comment; local
1550 std::string comment; local
[all...]
H A DResourceTable.h51 std::string comment; member in struct:aapt::Visibility
57 std::string comment; member in struct:aapt::AllowNew
63 std::string comment; member in struct:aapt::Overlayable
/frameworks/rs/
H A Dspec.l3 %x comment
51 "/*" BEGIN(comment);
52 <comment>[^*\n]* /* eat anything that's not a '*' */
53 <comment>"*"+[^*/\n]* /* eat up '*'s not followed by '/'s */
54 <comment>\n ++num_lines;
55 <comment>"*"+"/" BEGIN(INITIAL);
/frameworks/base/core/java/android/text/util/
H A DRfc822Token.java22 * This class stores an RFC 822-like name, address, and comment,
31 * and comment.
33 public Rfc822Token(@Nullable String name, @Nullable String address, @Nullable String comment) { argument
36 mComment = comment;
56 * Returns the comment part.
78 * Changes the comment to the specified comment.
80 public void setComment(@Nullable String comment) { argument
81 mComment = comment;
86 * the comment (i
161 quoteComment(String comment) argument
[all...]
H A DRfc822Tokenizer.java48 StringBuilder comment = new StringBuilder();
68 comment.toString()));
72 comment.toString()));
77 comment.setLength(0);
106 comment.append(c);
112 comment.append(c);
117 comment.append(text.charAt(i + 1));
121 comment.append(c);
153 comment.toString()));
157 comment
[all...]
/frameworks/base/tools/stringslint/
H A Dstringslint.py79 # We always consume comment
80 comment = last_comment
83 # Validate comment
84 if comment is None:
85 warn(child, "Missing string comment to aid translation",
88 if "do not translate" in comment.text.lower():
92 if re.search("CHAR[ _-]LIMIT=(\d+|NONE|none)", comment.text) is None:
94 repr(comment), "<!-- Description of string [CHAR LIMIT=32] -->")
/frameworks/base/tools/aapt/
H A DAaptAssets.h321 , isJavaSymbol(o.isJavaSymbol), comment(o.comment), typeComment(o.typeComment)
330 comment = o.comment;
344 String16 comment; member in class:AaptSymbolEntry
409 void appendComment(const String8& name, const String16& comment, const SourcePos& pos) { argument
410 if (comment.size() <= 0) {
414 if (sym.comment.size() == 0) {
415 sym.comment = comment;
422 appendTypeComment(const String8& name, const String16& comment) argument
[all...]
H A DResourceTable.h191 const String16& comment,
197 const String16& comment);
418 void appendComment(const String16& comment, bool onlyIfEmpty = false);
421 void appendTypeComment(const String16& comment);
460 comment(_comment), ident(_ident) { }
462 comment(o.comment), ident(o.ident) { }
467 comment = o.comment;
473 String16 comment; member in class:ResourceTable::Public
[all...]
H A DResource.cpp182 void preprocessComment(String8& comment) { argument
183 if (comment.size() > 0) {
184 if (comment.contains("@deprecated")) {
187 if (comment.removeAll("@SystemApi")) {
2247 //printf("Got attrs symbols! comment %s=%s\n",
2385 String16 comment = symbols->getComment(realClassName); local
2388 if (comment.size() > 0) {
2389 String8 cmt(comment);
2418 String16 comment(sym.comment);
[all...]
/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.h123 void comment(const std::string& s); // Outputs a multiline comment.
/frameworks/rs/script_api/
H A DUtilities.h74 void comment(const std::string& s); // Outputs a multiline comment.
H A DScanner.cpp77 // Skip the comment
78 string comment; local
79 readRestOfLine(&comment);
H A DGenerateHeaderFiles.cpp85 const vector<string>& comment, bool addDeprecatedWarning,
87 if (briefComment.empty() && comment.size() == 0) {
99 for (size_t ct = 0; ct < comment.size(); ct++) {
100 string s = stripHtml(comment[ct]);
84 writeComment(GeneratedFile* file, const string& name, const string& briefComment, const vector<string>& comment, bool addDeprecatedWarning, bool closeBlock) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/
H A DAndroid.mk25 # comment it out for now since we need use some hidden APIs
/frameworks/base/tools/aapt2/xml/
H A DXmlPullParser.cpp109 const std::string& XmlPullParser::comment() const { function in class:aapt::xml::XmlPullParser
282 const char* comment) {
287 parser->depth_, comment});
281 CommentDataHandler(void* user_data, const char* comment) argument

Completed in 340 milliseconds

123