Home
last modified time | relevance | path

Searched refs:var (Results 1 – 4 of 4) sorted by relevance

/system/core/fastbootd/
Dprotocol.c79 struct fastboot_var *var; in fastboot_publish() local
80 var = malloc(sizeof(*var)); in fastboot_publish()
81 if (var) { in fastboot_publish()
82 var->name = name; in fastboot_publish()
83 var->value = value; in fastboot_publish()
84 var->next = varlist; in fastboot_publish()
85 varlist = var; in fastboot_publish()
91 struct fastboot_var *var; in fastboot_getvar() local
93 for (var = varlist; var; var = var->next) { in fastboot_getvar()
94 if (!strcmp(var->name, name)) { in fastboot_getvar()
[all …]
/system/core/fastboot/
Dfastboot.h53 void fb_queue_require(const char *prod, const char *var, int invert,
55 void fb_queue_display(const char *var, const char *prettyname);
56 void fb_queue_query_save(const char *var, char *dest, unsigned dest_size);
Dengine.c278 void fb_queue_require(const char *prod, const char *var, in fb_queue_require() argument
282 a = queue_action(OP_QUERY, "getvar:%s", var); in fb_queue_require()
286 a->msg = mkmsg("checking %s", var); in fb_queue_require()
301 void fb_queue_display(const char *var, const char *prettyname) in fb_queue_display() argument
304 a = queue_action(OP_QUERY, "getvar:%s", var); in fb_queue_display()
320 void fb_queue_query_save(const char *var, char *dest, unsigned dest_size) in fb_queue_query_save() argument
323 a = queue_action(OP_QUERY, "getvar:%s", var); in fb_queue_query_save()
/system/core/toolbox/
Dvmstat.c222 #define NORM(var) ((var) = (((var) > 99) ? (99) : (var))) argument