Lines Matching defs:tok
41 std::string name, tok;
51 while (ts >> tok) {
52 if (tok == "scalar")
54 else if (tok == "global")
56 else if (tok == "local")
58 else if (tok == "constant")
60 else if (tok == "image2d_rd")
62 else if (tok == "image2d_wr")
64 else if (tok == "image3d_rd")
66 else if (tok == "image3d_wr")
68 else if (tok == "sampler")