Home
last modified time | relevance | path

Searched refs:SourcePositionInfo (Results 1 – 25 of 43) sorted by relevance

12

/external/doclava/src/com/google/doclava/
DSourcePositionInfo.java19 public class SourcePositionInfo implements Comparable { class
20 public static final SourcePositionInfo UNKNOWN = new SourcePositionInfo("(unknown)", 0, 0);
22 public SourcePositionInfo(String file, int line, int column) { in SourcePositionInfo() method in SourcePositionInfo
28 public SourcePositionInfo(SourcePositionInfo that) { in SourcePositionInfo() method in SourcePositionInfo
40 public static SourcePositionInfo add(SourcePositionInfo that, String str, int index) { in add()
53 return new SourcePositionInfo(that.file, line, 0); in add()
56 public static SourcePositionInfo findBeginning(SourcePositionInfo that, String str) { in findBeginning()
69 return new SourcePositionInfo(that.file, line, 0); in findBeginning()
78 SourcePositionInfo that = (SourcePositionInfo) o; in compareTo()
87 public static SourcePositionInfo fromXml(String source) { in fromXml()
[all …]
DAndroidAuxSource.java44 null, SourcePositionInfo.UNKNOWN)); in classAuxTags()
47 SourcePositionInfo.UNKNOWN)); in classAuxTags()
60 null, SourcePositionInfo.UNKNOWN)); in classAuxTags()
64 null, SourcePositionInfo.UNKNOWN)); in classAuxTags()
72 tags.add(new AuxTagInfo("@service", "@service", SourcePositionInfo.UNKNOWN, args, in classAuxTags()
176 SourcePositionInfo.UNKNOWN)); in auxTags()
183 tags.add(new AuxTagInfo("@permission", "@permission", SourcePositionInfo.UNKNOWN, args, in auxTags()
208 SourcePositionInfo.UNKNOWN)); in auxTags()
215 null, SourcePositionInfo.UNKNOWN)); in auxTags()
218 tags.add(new AuxTagInfo("@feature", "@feature", SourcePositionInfo.UNKNOWN, args, in auxTags()
[all …]
DDocInfo.java26 public DocInfo(String rawCommentText, SourcePositionInfo sp) { in DocInfo()
84 public SourcePositionInfo position() { in position()
88 public void setPosition(SourcePositionInfo position) { in setPosition()
169 SourcePositionInfo mPosition;
DComment.java55 public Comment(String text, ContainerInfo base, SourcePositionInfo sp) { in Comment()
59 mPosition = SourcePositionInfo.findBeginning(sp, text); in Comment()
132 SourcePositionInfo pos = SourcePositionInfo.add(mPosition, mText, 0); in parseMainDescription()
191 private void parseInlineTag(String text, int start, int end, SourcePositionInfo pos) { in parseInlineTag()
288 SourcePositionInfo pos = SourcePositionInfo.add(mPosition, mText, startOfBlock); in parseBlock()
325 private void tag(String name, String text, boolean isInline, SourcePositionInfo pos) { in tag()
395 Errors.error(Errors.UNKNOWN_TAG, pos == null ? null : new SourcePositionInfo(pos), in tag()
591 SourcePositionInfo.add(mPosition, mText, 0))); in initImpl()
636 SourcePositionInfo mPosition;
DParameterInfo.java28 SourcePositionInfo position, List<AnnotationInstanceInfo> annotationInstanceInfos) { in ParameterInfo()
58 SourcePositionInfo position() { in position()
109 SourcePositionInfo mPosition;
DParamTagInfo.java38 ParamTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo sp) { in ParamTagInfo()
42 ParamTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo sp, in ParamTagInfo()
63 String parameterComment, String parameterName, ContainerInfo base, SourcePositionInfo sp) { in ParamTagInfo()
DTagInfo.java45 private SourcePositionInfo mPosition;
47 TagInfo(String n, String k, String t, SourcePositionInfo sp) { in TagInfo()
66 SourcePositionInfo position() { in position()
DLinter.java22 public void lintParameter(MethodInfo method, ParameterInfo param, SourcePositionInfo position, in lintParameter()
36 public void lintParameter(MethodInfo method, ParameterInfo param, SourcePositionInfo position, in lintParameter()
DAndroidLinter.java119 public void lintParameter(MethodInfo method, ParameterInfo param, SourcePositionInfo position, in lintParameter()
128 private static void lintVariable(SourcePositionInfo pos, String ident, TypeInfo type, in lintVariable()
162 private static void lintCommon(SourcePositionInfo pos, TagInfo... tags) { in lintCommon()
DParsedTagInfo.java33 ParsedTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo sp) { in ParsedTagInfo()
34 super(name, kind, text, SourcePositionInfo.findBeginning(sp, text)); in ParsedTagInfo()
DErrors.java33 final SourcePositionInfo pos;
36 ErrorMessage(int r, Error e, SourcePositionInfo p, String m) { in ErrorMessage()
104 public static void error(Error error, SourcePositionInfo where, String text) { in error()
118 where = new SourcePositionInfo("unknown", 0, 0); in error()
DThrowsTagInfo.java36 SourcePositionInfo sp) { in ThrowsTagInfo()
53 String exceptionComment, ContainerInfo base, SourcePositionInfo sp) { in ThrowsTagInfo()
DSampleTagInfo.java74 SourcePositionInfo position) { in SampleTagInfo()
122 static String loadInclude(SourcePositionInfo pos, String filename, String id, boolean trim) { in loadInclude()
211 static String readFile(SourcePositionInfo pos, String filename, String id, boolean trim, in readFile()
DArtifactTagger.java79 Errors.error(Errors.BROKEN_ARTIFACT_FILE, (SourcePositionInfo) null, in tagAll()
128 Errors.error(Errors.BROKEN_ARTIFACT_FILE, (SourcePositionInfo) null, "Class " in applyArtifactsFromSpec()
DFederationTagger.java104 Errors.error(Errors.NO_FEDERATION_DATA, (SourcePositionInfo) null, in initialize()
122 Errors.error(Errors.NO_FEDERATION_DATA, (SourcePositionInfo) null, error); in initialize()
DAttrTagInfo.java50 …AttrTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo position… in AttrTagInfo()
57 void parse(String text, ContainerInfo base, SourcePositionInfo position) { in parse()
DTextTagInfo.java26 TextTagInfo(String n, String k, String t, SourcePositionInfo p) { in TextTagInfo()
DCodeTagInfo.java33 public CodeTagInfo(String text, SourcePositionInfo sp) { in CodeTagInfo()
DLiteralTagInfo.java33 public LiteralTagInfo(String text, SourcePositionInfo sp) { in LiteralTagInfo()
DAuxTagInfo.java33 AuxTagInfo(String name, String kind, SourcePositionInfo position, Map<String, String> args, in AuxTagInfo()
DStubs.java74 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(apiFile, 0, 0), in writeStubsAndApi()
84 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(dexApiFile, 0, 0), in writeStubsAndApi()
94 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(keepListFile, 0, 0), in writeStubsAndApi()
105 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(removedApiFile, 0, 0), in writeStubsAndApi()
116 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(removedDexApiFile, 0, 0), in writeStubsAndApi()
127 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(exactApiFile, 0, 0), in writeStubsAndApi()
138 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(privateApiFile, 0, 0), in writeStubsAndApi()
149 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(privateDexApiFile, 0, 0), in writeStubsAndApi()
160 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(apiMappingFile, 0, 0), in writeStubsAndApi()
633 private static String parseLicenseHeader(/* @Nonnull */ SourcePositionInfo positionInfo) { in parseLicenseHeader()
[all …]
/external/v8/src/
Dsource-position.cc12 std::ostream& operator<<(std::ostream& out, const SourcePositionInfo& pos) { in operator <<()
24 const std::vector<SourcePositionInfo>& stack) { in operator <<()
26 for (const SourcePositionInfo& pos : stack) { in operator <<()
44 std::vector<SourcePositionInfo> SourcePosition::InliningStack( in InliningStack()
47 std::vector<SourcePositionInfo> stack; in InliningStack()
50 stack.push_back(SourcePositionInfo(pos, inl.shared_info)); in InliningStack()
53 stack.push_back(SourcePositionInfo(pos, cinfo->shared_info())); in InliningStack()
57 std::vector<SourcePositionInfo> SourcePosition::InliningStack( in InliningStack()
63 std::vector<SourcePositionInfo> stack; in InliningStack()
69 stack.push_back(SourcePositionInfo(pos, function)); in InliningStack()
[all …]
Dsource-position.h22 struct SourcePositionInfo;
46 std::vector<SourcePositionInfo> InliningStack(Handle<Code> code) const;
47 std::vector<SourcePositionInfo> InliningStack(
105 struct SourcePositionInfo { struct
106 SourcePositionInfo(SourcePosition pos, Handle<SharedFunctionInfo> f);
116 std::ostream& operator<<(std::ostream& out, const SourcePositionInfo& pos); argument
118 const std::vector<SourcePositionInfo>& stack);
Dperf-jit.cc279 size_t GetScriptNameLength(const SourcePositionInfo& info) { in GetScriptNameLength()
293 Vector<const char> GetScriptName(const SourcePositionInfo& info, in GetScriptName()
312 SourcePositionInfo GetSourcePositionInfo(Handle<Code> code, in GetSourcePositionInfo()
319 return SourcePositionInfo(pos, function); in GetSourcePositionInfo()
354 SourcePositionInfo info(GetSourcePositionInfo(code_handle, function_handle, in LogWriteDebugInfo()
367 SourcePositionInfo info(GetSourcePositionInfo(code_handle, function_handle, in LogWriteDebugInfo()
/external/doclava/src/com/google/doclava/apicheck/
DXmlApiFile.java26 import com.google.doclava.SourcePositionInfo;
75 new PackageInfo(attributes.getValue("name"), SourcePositionInfo.fromXml(attributes in startElement()
84 SourcePositionInfo position = SourcePositionInfo.fromXml(attributes.getValue("source")); in startElement()
150 SourcePositionInfo position = SourcePositionInfo.fromXml(attributes.getValue("source")); in startElement()
173 SourcePositionInfo.fromXml(attributes.getValue("source")), in startElement()
197 type, "", value, SourcePositionInfo.fromXml(attributes.getValue("source")), in startElement()
207 SourcePositionInfo position = null; in startElement()

12