Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp356 char FmtBuf[100] = "", Buffer[1000] = ""; in lle_X_sprintf() local
357 char *FB = FmtBuf; in lle_X_sprintf()
374 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf()
385 unsigned Size = strlen(FmtBuf); in lle_X_sprintf()
386 FmtBuf[Size] = FmtBuf[Size-1]; in lle_X_sprintf()
387 FmtBuf[Size+1] = 0; in lle_X_sprintf()
388 FmtBuf[Size-1] = 'l'; in lle_X_sprintf()
390 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue()); in lle_X_sprintf()
392 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf()
395 sprintf(Buffer, FmtBuf, Args[ArgNo++].DoubleVal); break; in lle_X_sprintf()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp356 char FmtBuf[100] = "", Buffer[1000] = ""; in lle_X_sprintf() local
357 char *FB = FmtBuf; in lle_X_sprintf()
374 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf()
385 unsigned Size = strlen(FmtBuf); in lle_X_sprintf()
386 FmtBuf[Size] = FmtBuf[Size-1]; in lle_X_sprintf()
387 FmtBuf[Size+1] = 0; in lle_X_sprintf()
388 FmtBuf[Size-1] = 'l'; in lle_X_sprintf()
390 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue()); in lle_X_sprintf()
392 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf()
395 sprintf(Buffer, FmtBuf, Args[ArgNo++].DoubleVal); break; in lle_X_sprintf()
[all …]
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp346 char FmtBuf[100] = "", Buffer[1000] = ""; in lle_X_sprintf() local
347 char *FB = FmtBuf; in lle_X_sprintf()
364 sprintf(Buffer, FmtBuf, uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf()
375 unsigned Size = strlen(FmtBuf); in lle_X_sprintf()
376 FmtBuf[Size] = FmtBuf[Size-1]; in lle_X_sprintf()
377 FmtBuf[Size+1] = 0; in lle_X_sprintf()
378 FmtBuf[Size-1] = 'l'; in lle_X_sprintf()
380 sprintf(Buffer, FmtBuf, Args[ArgNo++].IntVal.getZExtValue()); in lle_X_sprintf()
382 sprintf(Buffer, FmtBuf,uint32_t(Args[ArgNo++].IntVal.getZExtValue())); in lle_X_sprintf()
385 sprintf(Buffer, FmtBuf, Args[ArgNo++].DoubleVal); break; in lle_X_sprintf()
[all …]