Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp337 const char *FmtStr = (const char *)GVTOP(Args[1]); in lle_X_sprintf() local
343 GV.IntVal = APInt(32, strlen(FmtStr)); in lle_X_sprintf()
345 switch (*FmtStr) { in lle_X_sprintf()
348 sprintf(OutputBuffer++, "%c", *FmtStr++); in lle_X_sprintf()
351 sprintf(OutputBuffer, "%c%c", *FmtStr, *(FmtStr+1)); in lle_X_sprintf()
352 FmtStr += 2; OutputBuffer += 2; in lle_X_sprintf()
358 *FB++ = *FmtStr++; in lle_X_sprintf()
359 char Last = *FB++ = *FmtStr++; in lle_X_sprintf()
366 Last = *FB++ = *FmtStr++; in lle_X_sprintf()
401 errs() << "<unknown printf code '" << *FmtStr << "'!>"; in lle_X_sprintf()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp337 const char *FmtStr = (const char *)GVTOP(Args[1]); in lle_X_sprintf() local
343 GV.IntVal = APInt(32, strlen(FmtStr)); in lle_X_sprintf()
345 switch (*FmtStr) { in lle_X_sprintf()
348 sprintf(OutputBuffer++, "%c", *FmtStr++); in lle_X_sprintf()
351 sprintf(OutputBuffer, "%c%c", *FmtStr, *(FmtStr+1)); in lle_X_sprintf()
352 FmtStr += 2; OutputBuffer += 2; in lle_X_sprintf()
358 *FB++ = *FmtStr++; in lle_X_sprintf()
359 char Last = *FB++ = *FmtStr++; in lle_X_sprintf()
366 Last = *FB++ = *FmtStr++; in lle_X_sprintf()
401 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()