Home
last modified time | relevance | path

Searched refs:locInfo (Results 1 – 6 of 6) sorted by relevance

/external/apache-xml/src/main/java/org/apache/xml/dtm/
DDTMException.java315 String locInfo = getLocationAsString(); in printStackTrace() local
317 if (null != locInfo) { in printStackTrace()
318 s.println(locInfo); in printStackTrace()
343 String locInfo = in printStackTrace() local
347 if (null != locInfo) { in printStackTrace()
348 s.println(locInfo); in printStackTrace()
/external/clang/lib/ARCMigrate/
DTransforms.cpp146 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in findSemiAfterLocation() local
150 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in findSemiAfterLocation()
154 const char *tokenBegin = file.data() + locInfo.second; in findSemiAfterLocation()
157 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in findSemiAfterLocation()
393 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in rewritePropertyAttribute() local
397 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in rewritePropertyAttribute()
401 const char *tokenBegin = file.data() + locInfo.second; in rewritePropertyAttribute()
404 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in rewritePropertyAttribute()
474 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in addPropertyAttribute() local
478 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in addPropertyAttribute()
[all …]
DTransformActions.cpp425 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canReplaceText() local
429 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in canReplaceText()
433 return file.substr(locInfo.second).startswith(text); in canReplaceText()
/external/clang/lib/Edit/
DCommit.cpp238 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canInsert() local
239 if (locInfo.first.isInvalid()) in canInsert()
241 offs = FileOffset(locInfo.first, locInfo.second); in canInsert()
273 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canInsertAfterToken() local
274 if (locInfo.first.isInvalid()) in canInsertAfterToken()
276 offs = FileOffset(locInfo.first, locInfo.second); in canInsertAfterToken()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp318 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(LParenLoc); in LocPropertyAttribute() local
321 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in LocPropertyAttribute()
324 const char *tokenBegin = file.data() + locInfo.second; in LocPropertyAttribute()
327 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in LocPropertyAttribute()
/external/clang/lib/Lex/
DLexer.cpp291 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in getSpelling() local
295 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in getSpelling()
301 const char *tokenBegin = file.data() + locInfo.second; in getSpelling()
304 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options, in getSpelling()