Home
last modified time | relevance | path

Searched refs:locInfo (Results 1 – 11 of 11) 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/llvm-project/clang/lib/ARCMigrate/
DTransforms.cpp141 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in findSemiAfterLocation() local
145 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in findSemiAfterLocation()
149 const char *tokenBegin = file.data() + locInfo.second; in findSemiAfterLocation()
152 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in findSemiAfterLocation()
389 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in rewritePropertyAttribute() local
393 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in rewritePropertyAttribute()
397 const char *tokenBegin = file.data() + locInfo.second; in rewritePropertyAttribute()
400 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in rewritePropertyAttribute()
470 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in addPropertyAttribute() local
474 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in addPropertyAttribute()
[all …]
DTransformActions.cpp426 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canReplaceText() local
430 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in canReplaceText()
434 return file.substr(locInfo.second).startswith(text); in canReplaceText()
/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/llvm-project/clang/lib/Edit/
DCommit.cpp242 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canInsert() local
243 if (locInfo.first.isInvalid()) in canInsert()
245 offs = FileOffset(locInfo.first, locInfo.second); in canInsert()
276 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canInsertAfterToken() local
277 if (locInfo.first.isInvalid()) in canInsertAfterToken()
279 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()
/external/llvm-project/clang/lib/Lex/
DLexer.cpp333 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in getSpelling() local
337 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in getSpelling()
343 const char *tokenBegin = file.data() + locInfo.second; in getSpelling()
346 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options, in getSpelling()
/external/llvm-project/clang/lib/Sema/
DSemaObjCProperty.cpp319 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(LParenLoc); in LocPropertyAttribute() local
322 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in LocPropertyAttribute()
325 const char *tokenBegin = file.data() + locInfo.second; in LocPropertyAttribute()
328 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in LocPropertyAttribute()