Lines Matching defs:str
68 my_policy_type_t parse_thread_policy(const char *str);
111 parse_thread_policy(const char *str)
113 if (strcmp(str, "timeshare") == 0) {
115 } else if (strcmp(str, "realtime") == 0) {
117 } else if (strcmp(str, "fixed") == 0) {
120 printf("Invalid thread policy %s\n", str);
129 parse_wakeup_pattern(const char *str)
131 if (strcmp(str, "chain") == 0) {
133 } else if (strcmp(str, "broadcast-single-sem") == 0) {
135 } else if (strcmp(str, "broadcast-per-thread") == 0) {