Searched defs:comment (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/tools/aapt2/java/
H A DAnnotationProcessor_test.cpp23 const char* comment = "Some comment, and it should contain a marker word, " local
28 processor.appendComment(comment);
H A DAnnotationProcessor.cpp24 void AnnotationProcessor::appendCommentLine(std::string& comment) { argument
28 if (comment.find(sDeprecated) != std::string::npos) {
32 std::string::size_type idx = comment.find(sSystemApi);
35 comment.erase(comment.begin() + idx, comment.begin() + idx + sSystemApi.size());
38 if (util::trimWhitespace(comment).empty()) {
47 mComment << "\n * " << std::move(comment);
50 void AnnotationProcessor::appendComment(const StringPiece16& comment) { argument
52 for (StringPiece16 line : util::tokenize(comment,
61 appendComment(const StringPiece& comment) argument
[all...]
H A DJavaClassGenerator.cpp260 // Build the comment string for the Styleable. It includes details about the
306 // Only use the comment up until the first '.'. This is to stay compatible with
357 StringPiece16 comment = styleableAttr.attrRef->getComment(); local
358 if (styleableAttr.symbol->attribute && comment.empty()) {
359 comment = styleableAttr.symbol->attribute->getComment();
362 if (comment.contains(StringPiece16(u"@removed"))) {
380 if (!comment.empty()) {
382 attrProcessor->appendComment(comment);
462 processor->appendComment(entry->symbolStatus.comment);
/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...]
/frameworks/base/tools/aapt/
H A DZipEntry.cpp108 * Initialize a new entry. Pass in the file name and an optional comment.
112 void ZipEntry::initNew(const char* fileName, const char* comment) argument
121 if (comment != NULL)
122 mCDE.mFileCommentLength = strlen(comment);
132 strcpy((char*) mCDE.mFileComment, comment);
587 /* grab comment, if any */
646 /* write comment */
676 ALOGD(" comment: '%s'\n", mFileComment);
H A DResourceTable.h191 const String16& comment,
197 const String16& comment);
415 void appendComment(const String16& comment, bool onlyIfEmpty = false);
418 void appendTypeComment(const String16& comment);
453 comment(_comment), ident(_ident) { }
455 comment(o.comment), ident(o.ident) { }
460 comment = o.comment;
466 String16 comment; member in class:ResourceTable::Public
[all...]
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 DResource.cpp186 void preprocessComment(String8& comment) { argument
187 if (comment.size() > 0) {
188 if (comment.contains("@deprecated")) {
191 if (comment.removeAll("@SystemApi")) {
2083 //printf("Got attrs symbols! comment %s=%s\n",
2221 String16 comment = symbols->getComment(realClassName); local
2224 if (comment.size() > 0) {
2225 String8 cmt(comment);
2254 String16 comment(sym.comment);
[all...]
H A DResourceTable.cpp289 String16 comment;
311 if (!outTable->makeAttribute(myPackage, ident, sourcePos, type, comment, appendComment)) {
350 attr.comment = String16(
808 const String16 eat_comment16("eat-comment");
988 String16 comment(
990 symbols->appendComment(String8(name), comment, srcPos); local
1070 String16 comment(
1100 symbols->appendComment(String8(curName), comment, srcPos); local
1171 String16 comment(
1173 symbols->appendComment(String8(name), comment, srcPo local
1246 styleSymbols->appendComment(String8(ident), comment, srcPos); local
1291 symbols->appendComment(String8(itemIdent), comment, srcPos); local
2053 appendComment(const String16& package, const String16& type, const String16& name, const String16& comment, bool onlyIfEmpty) argument
2077 appendTypeComment(const String16& package, const String16& type, const String16& name, const String16& comment) argument
2100 makeAttribute(const String16& package, const String16& name, const SourcePos& source, int32_t format, const String16& comment, bool shouldAppendComment) argument
3812 appendComment(const String16& comment, bool onlyIfEmpty) argument
3827 appendTypeComment(const String16& comment) argument
[all...]
/frameworks/base/tools/aapt2/
H A DResourceTable.h50 std::u16string comment; member in struct:aapt::Symbol
H A DResourceParser.cpp34 * Returns true if the element is <skip> or <eat-comment> and can be safely ignored.
37 return ns.empty() && (name == u"skip" || name == u"eat-comment");
77 std::u16string comment; member in struct:aapt::ParsedResource
84 StringPiece16 trimmedComment = util::trimWhitespace(res->comment);
85 if (trimmedComment.size() != res->comment.size()) {
87 res->comment = trimmedComment.toString();
94 symbol.comment = res->comment;
101 // Attach the comment, source and config to the value.
102 res->value->setComment(std::move(res->comment));
239 std::u16string comment; local
646 std::u16string comment; local
812 std::u16string comment; local
1189 std::u16string comment; local
[all...]
/frameworks/rs/api/
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
H A DSpecification.cpp420 string comment; local
421 scanner->parseDocumentation(&s, &comment);
423 spec->mFieldComments.push_back(comment);
431 string comment; local
432 scanner->parseDocumentation(&s, &comment);
434 spec->mValueComments.push_back(comment);
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java188 public void comment(String text) throws IOException, IllegalArgumentException, method in class:FastXmlSerializer
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.h44 std::u16string comment; member in struct:aapt::xml::Node
H A DXmlPullParser.cpp277 void XMLCALL XmlPullParser::commentDataHandler(void* userData, const char* comment) { argument
284 util::utf8ToUtf16(comment)
H A DXmlDom.cpp120 el->comment = std::move(stack->pendingComment);
129 //stack->nodeStack.top()->comment = std::move(stack->pendingComment);
158 static void XMLCALL commentDataHandler(void* userData, const char* comment) { argument
165 stack->pendingComment += util::utf8ToUtf16(comment);
/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.cpp399 void GeneratedFile::comment(const std::string &s) { function in class:slang::GeneratedFile
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
H A DExprModelTest.java492 final Expr uComment = parse(lb, "u.comment", FieldAccessExpr.class);
493 final TernaryExpr uTernary = parse(lb, "u.getUseComment ? u.comment : `xx`", TernaryExpr.class);
1043 public String comment; field in class:ExprModelTest.User
/frameworks/av/media/libstagefright/
H A DOggExtractor.cpp142 // 3 - comment header
1165 const char *comment = mVc.user_comments[i]; local
1167 parseVorbisComment(mFileMeta, comment, commentLength);
1168 //ALOGI("comment #%d: '%s'", i + 1, mVc.user_comments[i]);
1173 const sp<MetaData> &fileMeta, const char *comment, size_t commentLength)
1199 if (!strncasecmp(kMap[j].mTag, comment, tagLen)
1200 && comment[tagLen] == '=') {
1204 &comment[tagLen + 1],
1207 if (!strcasecmp(&comment[tagLen + 1], "true")) {
1211 fileMeta->setCString(kMap[j].mKey, &comment[tagLe
1172 parseVorbisComment( const sp<MetaData> &fileMeta, const char *comment, size_t commentLength) argument
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h590 // Optional XML comment that was associated with this element; -1 if none.
591 struct ResStringPool_ref comment; member in struct:android::ResXMLTree_node
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jar ... .sax.SAXException String prefix String uri public void comment (char[], int, int) throws org.xml.sax. ...
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...

Completed in 182 milliseconds