Home | History | Annotate | Download | only in urlhandlers

Lines Matching refs:commands

24     SkTArray<SkString> commands;
25 SkStrSplit(url, "/", &commands);
27 if (!request->hasPicture() || commands.count() > 3) {
34 if (commands.count() == 1) {
37 sscanf(commands[1].c_str(), "%d", &n);
45 if (commands.count() == 2 && 0 == strcmp(method, MHD_HTTP_METHOD_DELETE)) {
47 sscanf(commands[1].c_str(), "%d", &n);
53 if (commands.count() == 3 && 0 == strcmp(method, MHD_HTTP_METHOD_POST)) {
55 sscanf(commands[1].c_str(), "%d", &n);
56 sscanf(commands[2].c_str(), "%d", &toggle);