Lines Matching full:tokenizer
310 StringTokenizer tokenizer(xdg_data_dirs, ":");
311 while (tokenizer.GetNext()) {
312 FilePath data_dir(tokenizer.token());
375 StringTokenizer tokenizer(template_contents, "\n");
376 while (tokenizer.GetNext()) {
377 if (tokenizer.token().substr(0, 5) == "Exec=") {
378 std::string exec_path = tokenizer.token().substr(5);
400 } else if (tokenizer.token().substr(0, 5) == "Name=") {
411 } else if (tokenizer.token().substr(0, 11) == "GenericName" ||
412 tokenizer.token().substr(0, 7) == "Comment" ||
413 tokenizer.token().substr(0, 1) == "#") {
415 } else if (tokenizer.token().substr(0, 9) == "MimeType=") {
418 } else if (tokenizer.token().substr(0, 15) == "StartupWMClass=") {
421 } else if (tokenizer.token().substr(0, 5) == "Icon=" &&
425 output_buffer += tokenizer.token() + "\n";