Lines Matching refs:tmp
256 char tmp[32]; in service_start() local
262 sprintf(tmp, "%d,%d", dup(fd), sz); in service_start()
263 add_environment("ANDROID_PROPERTY_WORKSPACE", tmp); in service_start()
341 char *tmp = strdup(dynamic_args); in service_start() local
342 char *next = tmp; in service_start()
457 char *tmp = NULL; in msg_start() local
463 tmp = strdup(name); in msg_start()
464 if (tmp) { in msg_start()
465 args = strchr(tmp, ':'); in msg_start()
469 svc = service_find_by_name(tmp); in msg_start()
478 if (tmp) in msg_start()
479 free(tmp); in msg_start()
744 char tmp[PROP_VALUE_MAX]; in export_kernel_boot_props() local
759 ret = property_get(prop_map[i].src_prop, tmp); in export_kernel_boot_props()
761 property_set(prop_map[i].dest_prop, tmp); in export_kernel_boot_props()
766 ret = property_get("ro.boot.console", tmp); in export_kernel_boot_props()
768 strlcpy(console, tmp, sizeof(console)); in export_kernel_boot_props()
771 property_get("ro.bootmode", tmp); in export_kernel_boot_props()
772 strlcpy(bootmode, tmp, sizeof(bootmode)); in export_kernel_boot_props()
776 ret = property_get("ro.boot.hardware", tmp); in export_kernel_boot_props()
778 strlcpy(hardware, tmp, sizeof(hardware)); in export_kernel_boot_props()
781 snprintf(tmp, PROP_VALUE_MAX, "%d", revision); in export_kernel_boot_props()
782 property_set("ro.revision", tmp); in export_kernel_boot_props()
892 char tmp[PROP_VALUE_MAX]; in selinux_is_disabled() local
901 if ((property_get("ro.boot.selinux", tmp) != 0) && (strcmp(tmp, "disabled") == 0)) { in selinux_is_disabled()
913 char tmp[PROP_VALUE_MAX]; in selinux_is_enforcing() local
915 if (property_get("ro.boot.selinux", tmp) == 0) { in selinux_is_enforcing()
920 if (strcmp(tmp, "permissive") == 0) { in selinux_is_enforcing()
925 if (strcmp(tmp, "enforcing") != 0) { in selinux_is_enforcing()
926 ERROR("SELinux: Unknown value of ro.boot.selinux. Got: \"%s\". Assuming enforcing.\n", tmp); in selinux_is_enforcing()
1007 char tmp[32]; in main() local