Lines Matching defs:temp2
315 char temp2[PATH_SIZE];
437 sprintf(temp2, "%d", major(udev->devt));
438 strlcat(string, temp2, maxsize);
439 dbg("substitute major number '%s'", temp2);
442 sprintf(temp2, "%d", minor(udev->devt));
443 strlcat(string, temp2, maxsize);
444 dbg("substitute minor number '%s'", temp2);
466 strlcpy(temp2, cpos, sizeof(temp2));
469 cpos = strchr(temp2, ' ');
473 strlcat(string, temp2, maxsize);
474 dbg("substitute part of result string '%s'", temp2);
508 strlcpy(temp2, value, sizeof(temp2));
519 size = strlcpy(temp2, value, sizeof(temp2));
520 if (size >= sizeof(temp2))
521 size = sizeof(temp2)-1;
522 while (size > 0 && isspace(temp2[size-1]))
523 temp2[--size] = '\0';
524 count = replace_chars(temp2, ALLOWED_CHARS_INPUT);
527 strlcat(string, temp2, maxsize);
528 dbg("substitute sysfs value '%s'", temp2);