Lines Matching refs:piece
49 static uint32_t ParseFormatTypeNoEnumsOrFlags(const StringPiece& piece) { in ParseFormatTypeNoEnumsOrFlags() argument
50 if (piece == "reference") { in ParseFormatTypeNoEnumsOrFlags()
52 } else if (piece == "string") { in ParseFormatTypeNoEnumsOrFlags()
54 } else if (piece == "integer") { in ParseFormatTypeNoEnumsOrFlags()
56 } else if (piece == "boolean") { in ParseFormatTypeNoEnumsOrFlags()
58 } else if (piece == "color") { in ParseFormatTypeNoEnumsOrFlags()
60 } else if (piece == "float") { in ParseFormatTypeNoEnumsOrFlags()
62 } else if (piece == "dimension") { in ParseFormatTypeNoEnumsOrFlags()
64 } else if (piece == "fraction") { in ParseFormatTypeNoEnumsOrFlags()
70 static uint32_t ParseFormatType(const StringPiece& piece) { in ParseFormatType() argument
71 if (piece == "enum") { in ParseFormatType()
73 } else if (piece == "flags") { in ParseFormatType()
76 return ParseFormatTypeNoEnumsOrFlags(piece); in ParseFormatType()