Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
DResourceFileWriter.cpp52 static Error checkNumberFits(uint32_t Number, size_t MaxBits, in checkNumberFits() function
63 static Error checkNumberFits(uint32_t Number, const Twine &FieldName) { in checkNumberFits() function
64 return checkNumberFits(Number, sizeof(FitType) * 8, FieldName); in checkNumberFits()
89 return checkNumberFits<uint16_t>(Number, FieldName); in checkRCInt()
95 return checkNumberFits<uint16_t>(Value.getInt(), FieldName); in checkIntOrString()
481 RETURN_IF_ERROR(checkNumberFits<uint16_t>(String.first, "String ID")); in visitStringTableResource()
518 RETURN_IF_ERROR(checkNumberFits<uint16_t>(Stmt->Size, "Font size")); in visitFontStmt()
519 RETURN_IF_ERROR(checkNumberFits<uint16_t>(Stmt->Weight, "Font weight")); in visitFontStmt()
520 RETURN_IF_ERROR(checkNumberFits<uint8_t>(Stmt->Charset, "Font charset")); in visitFontStmt()
528 RETURN_IF_ERROR(checkNumberFits(Stmt->Lang, 10, "Primary language ID")); in visitLanguageStmt()
[all …]