/frameworks/base/tools/aapt2/java/ |
D | AnnotationProcessor.cpp | 33 StringPiece AnnotationProcessor::ExtractFirstSentence(const StringPiece& comment) { in ExtractFirstSentence() argument 34 Utf8Iterator iter(comment); in ExtractFirstSentence() 40 return comment.substr(0, current_position); in ExtractFirstSentence() 44 return comment; in ExtractFirstSentence() 64 void AnnotationProcessor::AppendCommentLine(std::string comment) { in AppendCommentLine() argument 68 if (comment.find(sDeprecated) != std::string::npos) { in AppendCommentLine() 73 std::string::size_type idx = comment.find(rule.doc_str.data()); in AppendCommentLine() 79 const bool is_match = std::regex_search(comment, match_result, re); in AppendCommentLine() 83 comment.erase(comment.begin() + match_result.position(), in AppendCommentLine() 84 comment.begin() + match_result.position() + match_result.length()); in AppendCommentLine() [all …]
|
D | AnnotationProcessor.h | 59 static android::StringPiece ExtractFirstSentence(const android::StringPiece& comment); 63 void AppendComment(const android::StringPiece& comment);
|
D | AnnotationProcessor_test.cpp | 32 const char* comment = in TEST() local 38 processor.AppendComment(comment); in TEST()
|
D | JavaClassGenerator.cpp | 395 StringPiece comment = styleable_attr.attr_ref->GetComment(); in ProcessStyleable() local 396 if (styleable_attr.symbol.value().attribute && comment.empty()) { in ProcessStyleable() 397 comment = styleable_attr.symbol.value().attribute->GetComment(); in ProcessStyleable() 400 if (comment.contains("@removed")) { in ProcessStyleable() 418 if (!comment.empty()) { in ProcessStyleable() 420 attr_processor->AppendComment(comment); in ProcessStyleable() 471 processor->AppendComment(entry.visibility.comment); in ProcessResource()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | RawPrintVisitor.cpp | 149 std::string comment; in print() local 150 base::StringAppendV(&comment, fmt, ap); in print() 153 stream_ << base::StringPrintf("%08zx: %02x", offset_, value) << " " << comment in print() 162 std::string comment; in print() local 163 base::StringAppendV(&comment, fmt, ap); in print() 166 stream_ << base::StringPrintf("%08zx: %04x", offset_, value) << " " << comment << std::endl; in print() 174 std::string comment; in print() local 175 base::StringAppendV(&comment, fmt, ap); in print() 178 stream_ << base::StringPrintf("%08zx: %08x", offset_, value) << " " << comment << std::endl; in print() 186 std::string comment; in print() local [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Tokenizer.java | 48 StringBuilder comment = new StringBuilder(); in tokenize() local 68 comment.toString())); in tokenize() 72 comment.toString())); in tokenize() 77 comment.setLength(0); in tokenize() 106 comment.append(c); in tokenize() 112 comment.append(c); in tokenize() 117 comment.append(text.charAt(i + 1)); in tokenize() 121 comment.append(c); in tokenize() 153 comment.toString())); in tokenize() 157 comment.toString())); in tokenize()
|
D | Rfc822Token.java | 33 public Rfc822Token(@Nullable String name, @Nullable String address, @Nullable String comment) { in Rfc822Token() argument 36 mComment = comment; in Rfc822Token() 80 public void setComment(@Nullable String comment) { in setComment() argument 81 mComment = comment; in setComment() 161 public static String quoteComment(String comment) { in quoteComment() argument 162 int len = comment.length(); in quoteComment() 166 char c = comment.charAt(i); in quoteComment()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenerServiceTest.java | 429 private void detailedAssertEquals(String comment, Ranking a, Ranking b) { in detailedAssertEquals() argument 430 assertEquals(comment, a.getKey(), b.getKey()); in detailedAssertEquals() 431 assertEquals(comment, a.getRank(), b.getRank()); in detailedAssertEquals() 432 assertEquals(comment, a.matchesInterruptionFilter(), b.matchesInterruptionFilter()); in detailedAssertEquals() 433 … assertEquals(comment, a.getLockscreenVisibilityOverride(), b.getLockscreenVisibilityOverride()); in detailedAssertEquals() 434 assertEquals(comment, a.getSuppressedVisualEffects(), b.getSuppressedVisualEffects()); in detailedAssertEquals() 435 assertEquals(comment, a.getImportance(), b.getImportance()); in detailedAssertEquals() 436 assertEquals(comment, a.getImportanceExplanation(), b.getImportanceExplanation()); in detailedAssertEquals() 437 assertEquals(comment, a.getOverrideGroupKey(), b.getOverrideGroupKey()); in detailedAssertEquals() 438 assertEquals(comment, a.getChannel(), b.getChannel()); in detailedAssertEquals() [all …]
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.h | 321 , isJavaSymbol(o.isJavaSymbol), comment(o.comment), typeComment(o.typeComment) in AaptSymbolEntry() 330 comment = o.comment; 344 String16 comment; variable 409 void appendComment(const String8& name, const String16& comment, const SourcePos& pos) { in appendComment() argument 410 if (comment.size() <= 0) { in appendComment() 414 if (sym.comment.size() == 0) { in appendComment() 415 sym.comment = comment; in appendComment() 417 sym.comment.append(String16("\n")); in appendComment() 418 sym.comment.append(comment); in appendComment() 422 void appendTypeComment(const String8& name, const String16& comment) { in appendTypeComment() argument [all …]
|
D | ResourceTable.h | 191 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) { } in Public() 462 comment(o.comment), ident(o.ident) { } in Public() 467 comment = o.comment; 473 String16 comment; variable 590 const String16& comment,
|
D | Resource.cpp | 182 void preprocessComment(String8& comment) { in preprocessComment() argument 183 if (comment.size() > 0) { in preprocessComment() 184 if (comment.contains("@deprecated")) { in preprocessComment() 187 if (comment.removeAll("@SystemApi")) { in preprocessComment() 2385 String16 comment = symbols->getComment(realClassName); in writeLayoutClasses() local 2388 if (comment.size() > 0) { in writeLayoutClasses() 2389 String8 cmt(comment); in writeLayoutClasses() 2418 String16 comment(sym.comment); in writeLayoutClasses() local 2419 if (comment.size() <= 0) { in writeLayoutClasses() 2420 comment = getAttributeComment(assets, name8); in writeLayoutClasses() [all …]
|
/frameworks/rs/ |
D | spec.l | 3 %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/packages/SystemUI/scripts/token_alignment/helpers/ |
D | DOMFuncs.ts | 26 comment?: string; property 48 const { attrs, comment, content, tagName } = tagOptions; constant 50 if (comment) { 51 const commentNode = doc.createComment(comment); 178 const { comment, attrs, content } = updateOptions; constant 180 if (comment) { 183 commentNode.textContent = comment; 277 case 8: // comment
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable_test.cpp | 189 const StringPiece& comment) { in VisibilityOfResource() argument 201 if (visibility.comment != comment) { in VisibilityOfResource() 202 return ::testing::AssertionFailure() << "expected visibility comment '" << comment in VisibilityOfResource() 203 << "' but got '" << visibility.comment << "'"; in VisibilityOfResource() 216 visibility.comment = "private"; in TEST() 222 visibility.comment = "undefined"; in TEST() 228 visibility.comment = "public"; in TEST() 234 visibility.comment = "private"; in TEST() 247 allow_new.comment = "first"; in TEST() 253 ASSERT_THAT(result.value().entry->allow_new.value().comment, StrEq("first")); in TEST() [all …]
|
D | ResourceParser.cpp | 114 std::string comment; member 121 StringPiece trimmed_comment = util::TrimWhitespace(res->comment); in AddResourcesToTable() 122 if (trimmed_comment.size() != res->comment.size()) { in AddResourcesToTable() 124 res->comment = trimmed_comment.to_string(); in AddResourcesToTable() 133 visibility.comment = res->comment; in AddResourcesToTable() 144 allow_new.comment = res->comment; in AddResourcesToTable() 154 res->value->SetComment(std::move(res->comment)); in AddResourcesToTable() 429 std::string comment; in ParseResources() local 434 comment = parser->comment(); in ParseResources() 456 comment = ""; in ParseResources() [all …]
|
D | Resources.proto | 133 // The comment associated with the <public> tag. 134 string comment = 3; field 148 // Any comment associated with the declaration. 149 string comment = 2; field 182 // Any comment associated with the declaration. 183 string comment = 2; field 247 // Any comment associated with the value. 248 string comment = 2; field 414 string comment = 2; field 470 string comment = 2; field [all …]
|
/frameworks/av/media/libstagefright/ |
D | MetaDataUtils.cpp | 309 AMediaFormat *fileMeta, const char *comment, size_t commentLength) { in parseVorbisComment() argument 336 if (!strncasecmp(kMap[j].mTag, comment, tagLen) in parseVorbisComment() 337 && comment[tagLen] == '=') { in parseVorbisComment() 341 &comment[tagLen + 1], in parseVorbisComment() 344 if (!strcasecmp(&comment[tagLen + 1], "true")) { in parseVorbisComment() 350 const int hapticChannelCount = strtol(&comment[tagLen + 1], &end, 10); in parseVorbisComment() 357 AMediaFormat_setString(fileMeta, kMap[j].mKey, &comment[tagLen + 1]); in parseVorbisComment()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagLDScript.inc | 3 "%0:%1:%2: error: unterminated comment\n", 4 "%0:%1:%2: error: unterminated comment\n")
|
/frameworks/layoutlib/delegates/src/com/android/tools/layoutlib/java/util/zip/ |
D | ZipEntry_Delegate.java | 28 public ZipEntry_Delegate(String name, String comment, long crc, long compressedSize, long size, in ZipEntry_Delegate() argument 31 setComment(comment); in ZipEntry_Delegate()
|
/frameworks/base/tools/stringslint/ |
D | stringslint.py | 129 comment = last_comment 137 if comment is None: 141 if "do not translate" in comment.text.lower(): 153 limit = re.search("CHAR[ _-]LIMIT=(\d+|NONE|none)", comment.text) 156 repr(comment), "<!-- Description of string [CHAR LIMIT=32] -->")
|
/frameworks/base/packages/SystemUI/scripts/token_alignment/ |
D | index.ts | 43 ? { comment: `${newComment} @hide ` } 45 ? { comment: hidden ? currentComment : `${currentComment} @hide ` } 57 comment: `${newComment} @hide `,
|
/frameworks/av/media/libaaudio/scripts/ |
D | measure_device_power.py | 238 comment = "" 247 comment = command[1:].strip() # remove leading '#' 253 finalReport += comment + ", " + command + ", " + formatEnergyData(report) + "\n"
|
/frameworks/rs/script_api/ |
D | GenerateHeaderFiles.cpp | 85 const vector<string>& comment, bool addDeprecatedWarning, in writeComment() argument 87 if (briefComment.empty() && comment.size() == 0) { in writeComment() 99 for (size_t ct = 0; ct < comment.size(); ct++) { in writeComment() 100 string s = stripHtml(comment[ct]); in writeComment()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlSerializerWrapper.java | 125 public void comment(String text) throws IOException { in comment() method in XmlSerializerWrapper 126 mWrapped.comment(text); in comment()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | XmlFlattener.cpp | 100 flat_node->comment.index = util::HostToDevice32(-1); in Visit() 120 flat_node->comment.index = util::HostToDevice32(-1); in Visit() 144 flat_end_node->comment.index = util::HostToDevice32(-1); in Visit() 191 flatNode->comment.index = util::HostToDevice32(-1); in WriteNamespace()
|