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.java43 null, SourcePositionInfo.UNKNOWN)); in classAuxTags()
46 SourcePositionInfo.UNKNOWN)); in classAuxTags()
59 null, SourcePositionInfo.UNKNOWN)); in classAuxTags()
63 null, SourcePositionInfo.UNKNOWN)); in classAuxTags()
71 tags.add(new AuxTagInfo("@service", "@service", SourcePositionInfo.UNKNOWN, args, in classAuxTags()
168 SourcePositionInfo.UNKNOWN)); in auxTags()
175 tags.add(new AuxTagInfo("@permission", "@permission", SourcePositionInfo.UNKNOWN, args, in auxTags()
198 tags.add(new AuxTagInfo("@range", "@range", SourcePositionInfo.UNKNOWN, args, in auxTags()
239 SourcePositionInfo.UNKNOWN)); in auxTags()
246 tags.add(new AuxTagInfo("@intDef", "@intDef", SourcePositionInfo.UNKNOWN, args, in auxTags()
DDocInfo.java26 public DocInfo(String rawCommentText, SourcePositionInfo sp) { in DocInfo()
84 public SourcePositionInfo position() { in position()
88 public void setPosition(SourcePositionInfo position) { in setPosition()
158 SourcePositionInfo mPosition;
DComment.java50 public Comment(String text, ContainerInfo base, SourcePositionInfo sp) { in Comment()
54 mPosition = SourcePositionInfo.findBeginning(sp, text); in Comment()
127 SourcePositionInfo pos = SourcePositionInfo.add(mPosition, mText, 0); in parseMainDescription()
186 private void parseInlineTag(String text, int start, int end, SourcePositionInfo pos) { in parseInlineTag()
283 SourcePositionInfo pos = SourcePositionInfo.add(mPosition, mText, startOfBlock); in parseBlock()
322 private void tag(String name, String text, boolean isInline, SourcePositionInfo pos) { in tag()
388 Errors.error(Errors.UNKNOWN_TAG, pos == null ? null : new SourcePositionInfo(pos), in tag()
561 SourcePositionInfo.add(mPosition, mText, 0))); in initImpl()
604 SourcePositionInfo mPosition;
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()
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()
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()
DAndroidLinter.java117 public void lintParameter(MethodInfo method, ParameterInfo param, SourcePositionInfo position, in lintParameter()
126 private static void lintVariable(SourcePositionInfo pos, String ident, TypeInfo type, in lintVariable()
160 private static void lintCommon(SourcePositionInfo pos, TagInfo... tags) { in lintCommon()
DThrowsTagInfo.java36 SourcePositionInfo sp) { in ThrowsTagInfo()
53 String exceptionComment, ContainerInfo base, SourcePositionInfo sp) { in ThrowsTagInfo()
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()
DArtifactTagger.java78 Errors.error(Errors.BROKEN_ARTIFACT_FILE, (SourcePositionInfo) null, in tagAll()
126 Errors.error(Errors.BROKEN_ARTIFACT_FILE, (SourcePositionInfo) null, "Class " in applyArtifactsFromSpec()
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()
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()
DFederationTagger.java102 Errors.error(Errors.NO_FEDERATION_DATA, (SourcePositionInfo) null, in initialize()
120 Errors.error(Errors.NO_FEDERATION_DATA, (SourcePositionInfo) null, error); in initialize()
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()
DSeeTagInfo.java31 …SeeTagInfo(String name, String kind, String text, ContainerInfo base, SourcePositionInfo position)… in SeeTagInfo()
/external/v8/src/
Dsource-position.cc12 std::ostream& operator<<(std::ostream& out, const SourcePositionInfo& pos) { in operator <<()
32 const std::vector<SourcePositionInfo>& stack) { in operator <<()
34 for (const SourcePositionInfo& pos : stack) { in operator <<()
52 std::vector<SourcePositionInfo> SourcePosition::InliningStack( in InliningStack()
55 std::vector<SourcePositionInfo> stack; in InliningStack()
58 stack.push_back(SourcePositionInfo(pos, inl.shared_info)); in InliningStack()
61 stack.push_back(SourcePositionInfo(pos, cinfo->shared_info())); in InliningStack()
65 std::vector<SourcePositionInfo> SourcePosition::InliningStack( in InliningStack()
70 std::vector<SourcePositionInfo> stack; in InliningStack()
76 stack.push_back(SourcePositionInfo(pos, function)); in InliningStack()
[all …]
Dsource-position.h22 struct SourcePositionInfo;
47 std::vector<SourcePositionInfo> InliningStack(Handle<Code> code) const;
48 std::vector<SourcePositionInfo> InliningStack(CompilationInfo* cinfo) const;
104 struct SourcePositionInfo { struct
105 SourcePositionInfo(SourcePosition pos, Handle<SharedFunctionInfo> f);
115 std::ostream& operator<<(std::ostream& out, const SourcePositionInfo& pos); argument
117 const std::vector<SourcePositionInfo>& stack);
Dperf-jit.cc268 SourcePositionInfo GetSourcePositionInfo(Handle<Code> code, in GetSourcePositionInfo()
275 return SourcePositionInfo(pos, function); in GetSourcePositionInfo()
307 SourcePositionInfo info(GetSourcePositionInfo(code_handle, function_handle, in LogWriteDebugInfo()
322 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