Lines Matching refs:tmp
240 char tmp[32];
246 sprintf(tmp, "%d,%d", dup(fd), sz);
247 add_environment("ANDROID_PROPERTY_WORKSPACE", tmp);
328 char *tmp = strdup(dynamic_args);
329 char *next = tmp;
444 char *tmp = NULL;
450 tmp = strdup(name);
451 if (tmp) {
452 args = strchr(tmp, ':');
456 svc = service_find_by_name(tmp);
465 if (tmp)
466 free(tmp);
721 char tmp[PROP_VALUE_MAX];
736 ret = property_get(prop_map[i].src_prop, tmp);
738 property_set(prop_map[i].dest_prop, tmp);
743 ret = property_get("ro.boot.console", tmp);
745 strlcpy(console, tmp, sizeof(console));
748 property_get("ro.bootmode", tmp);
749 strlcpy(bootmode, tmp, sizeof(bootmode));
753 ret = property_get("ro.boot.hardware", tmp);
755 strlcpy(hardware, tmp, sizeof(hardware));
758 snprintf(tmp, PROP_VALUE_MAX, "%d", revision);
759 property_set("ro.revision", tmp);
877 char tmp[PROP_VALUE_MAX];
886 if ((property_get("ro.boot.selinux", tmp) != 0) && (strcmp(tmp, "disabled") == 0)) {
896 char tmp[PROP_VALUE_MAX];
898 if (property_get("ro.boot.selinux", tmp) == 0) {
903 if (strcmp(tmp, "permissive") == 0) {
908 if (strcmp(tmp, "enforcing") != 0) {
909 ERROR("SELinux: Unknown value of ro.boot.selinux. Got: \"%s\". Assuming enforcing.\n", tmp);
968 char tmp[32];