Home
last modified time | relevance | path

Searched refs:val_size (Results 1 – 3 of 3) sorted by relevance

/external/qemu/android/utils/
Dmisc.c221 get_token_value(const char* params, const char* name, char* value, int val_size) in get_token_value() argument
257 if ((len + 1) <= val_size) { in get_token_value()
273 const int val_size = get_token_value(params, name, &tmp, 0); in get_token_value_alloc() local
274 if (val_size < 0) { in get_token_value_alloc()
276 return val_size; in get_token_value_alloc()
280 *value = (char*)malloc(val_size); in get_token_value_alloc()
283 __FUNCTION__, val_size); in get_token_value_alloc()
286 res = get_token_value(params, name, *value, val_size); in get_token_value_alloc()
Dmisc.h95 extern int get_token_value(const char* params, const char* name, char* value, int val_size);
/external/tcpdump/
Dprint-ppp.c801 int val_size, name_size, msg_size; in handle_chap() local
843 val_size = *p; /* value size */ in handle_chap()
845 if (length - (p - p0) < val_size) in handle_chap()
848 for (i = 0; i < val_size; i++) { in handle_chap()