Lines Matching defs:str
495 char *str = strdup(getattrib(db, file, node->line, attr));
496 char *tok, *save, *tmp = str;
497 while ((tok = strtok_r(str, ",", &save))) {
500 str = NULL;
502 if (str)
503 fprintf(stderr, "%s:%d: invalid offsets: %s\n", file, node->line, str);
510 char *str = strdup(getattrib(db, file, node->line, attr));
511 char *tok, *save, *tmp = str;
512 while ((tok = strtok_r(str, ",", &save))) {
515 str = NULL;
517 if (str)
518 fprintf(stderr, "%s:%d: invalid offsets: %s\n", file, node->line, str);
595 char *str = getattrib(db, file, node->line, attr);
596 if (!strcmp(str, "r"))
598 else if (!strcmp(str, "w"))
600 else if (!strcmp(str, "rw"))
603 fprintf (stderr, "%s:%d: wrong access type \"%s\" for register\n", file, node->line, str);