Lines Matching defs:tmp
27 char *tmp = NULL;
29 tmp = strchrnul(str, 'w');
30 if (tmp == NULL) {
31 t_error("%s tmp is NULL", __func__);
34 if (strcmp(tmp, "world")) {
35 t_error("%s tmp is %s, not world", __func__, tmp);
47 char *tmp = NULL;
49 tmp = strchrnul(str, '\0');
50 if (tmp == NULL) {
51 t_error("%s tmp is NULL", __func__);
54 if (strcmp(tmp, "")) {
55 t_error("%s tmp is %s, not 0", __func__, tmp);
67 char *tmp = NULL;
69 tmp = strchrnul(str, 'a');
70 if (tmp == NULL) {
71 t_error("%s tmp is NULL", __func__);
74 if (strcmp(tmp, "")) {
75 t_error("%s tmp is %s, not NULL", __func__, tmp);