Searched refs:fmtNum (Results 1 - 3 of 3) sorted by relevance
/third_party/spirv-headers/tools/buildHeaders/ |
H A D | header.cpp | 138 static std::string fmtNum(const char* fmt, unsigned val) { in fmtNum() function in __anon26546::TPrinter 163 return fmtNum("0x%08x", 1<<v); in fmtStyleVal() 165 return fmtNum("0x%08x", v); in fmtStyleVal() 404 return indent(3) + '"' + name + "\": " + fmtNum("%d", val) + (isLast ? "\n" : ",\n"); 463 return indent(5) + '"' + prependIfDigit(s, v.second) + "\": " + fmtNum("%d", v.first) + 497 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); 698 return indent() + name + " = " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); 727 return indent() + "'" + name + "'" + " : " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); 763 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); 797 " = " + fmtNum(fm [all...] |
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/ |
H A D | header.cpp | 138 static std::string fmtNum(const char* fmt, unsigned val) { in fmtNum() function in __anon21776::TPrinter 163 return fmtNum("0x%08x", 1<<v); in fmtStyleVal() 165 return fmtNum("0x%08x", v); in fmtStyleVal() 402 return indent(3) + '"' + name + "\": " + fmtNum("%d", val) + (isLast ? "\n" : ",\n"); 461 return indent(5) + '"' + prependIfDigit(s, v.second) + "\": " + fmtNum("%d", v.first) + 495 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); 676 return indent() + name + " = " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); 705 return indent() + "'" + name + "'" + " : " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); 741 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); 775 " = " + fmtNum(fm [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/ |
H A D | header.cpp | 138 static std::string fmtNum(const char* fmt, unsigned val) { in fmtNum() function in __anon23033::TPrinter 163 return fmtNum("0x%08x", 1<<v); in fmtStyleVal() 165 return fmtNum("0x%08x", v); in fmtStyleVal() 402 return indent(3) + '"' + name + "\": " + fmtNum("%d", val) + (isLast ? "\n" : ",\n"); 461 return indent(5) + '"' + prependIfDigit(s, v.second) + "\": " + fmtNum("%d", v.first) + 495 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); 676 return indent() + name + " = " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); 705 return indent() + "'" + name + "'" + " : " + fmtNum(fmt, val) + (isLast ? ",\n\n" : ",\n"); 741 " = " + fmtNum(fmt, val) + (isLast ? ";\n\n" : ";\n"); 775 " = " + fmtNum(fm [all...] |
Completed in 5 milliseconds