Home
last modified time | relevance | path

Searched refs:FmtStr (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp338 const char *FmtStr = (const char *)GVTOP(Args[1]); in lle_X_sprintf() local
344 GV.IntVal = APInt(32, strlen(FmtStr)); in lle_X_sprintf()
346 switch (*FmtStr) { in lle_X_sprintf()
349 sprintf(OutputBuffer++, "%c", *FmtStr++); in lle_X_sprintf()
352 sprintf(OutputBuffer, "%c%c", *FmtStr, *(FmtStr+1)); in lle_X_sprintf()
353 FmtStr += 2; OutputBuffer += 2; in lle_X_sprintf()
359 *FB++ = *FmtStr++; in lle_X_sprintf()
360 char Last = *FB++ = *FmtStr++; in lle_X_sprintf()
367 Last = *FB++ = *FmtStr++; in lle_X_sprintf()
402 errs() << "<unknown printf code '" << *FmtStr << "'!>"; in lle_X_sprintf()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp327 const char *FmtStr = (const char *)GVTOP(Args[1]); in lle_X_sprintf() local
333 GV.IntVal = APInt(32, strlen(FmtStr)); in lle_X_sprintf()
335 switch (*FmtStr) { in lle_X_sprintf()
338 sprintf(OutputBuffer++, "%c", *FmtStr++); in lle_X_sprintf()
341 sprintf(OutputBuffer, "%c%c", *FmtStr, *(FmtStr+1)); in lle_X_sprintf()
342 FmtStr += 2; OutputBuffer += 2; in lle_X_sprintf()
348 *FB++ = *FmtStr++; in lle_X_sprintf()
349 char Last = *FB++ = *FmtStr++; in lle_X_sprintf()
356 Last = *FB++ = *FmtStr++; in lle_X_sprintf()
391 errs() << "<unknown printf code '" << *FmtStr << "'!>"; in lle_X_sprintf()
/external/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp338 const char *FmtStr = (const char *)GVTOP(Args[1]); in lle_X_sprintf() local
344 GV.IntVal = APInt(32, strlen(FmtStr)); in lle_X_sprintf()
346 switch (*FmtStr) { in lle_X_sprintf()
349 sprintf(OutputBuffer++, "%c", *FmtStr++); in lle_X_sprintf()
352 sprintf(OutputBuffer, "%c%c", *FmtStr, *(FmtStr+1)); in lle_X_sprintf()
353 FmtStr += 2; OutputBuffer += 2; in lle_X_sprintf()
359 *FB++ = *FmtStr++; in lle_X_sprintf()
360 char Last = *FB++ = *FmtStr++; in lle_X_sprintf()
367 Last = *FB++ = *FmtStr++; in lle_X_sprintf()
402 errs() << "<unknown printf code '" << *FmtStr << "'!>"; in lle_X_sprintf()
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DStrToNumCheck.cpp192 StringRef FmtStr; in check() local
206 FmtStr = SL->getString(); in check()
211 if (FmtStr.empty()) in check()
216 Conversion = ClassifyFormatString(FmtStr, getLangOpts(), in check()