Lines Matching refs:REPLY_MAX

46 #define REPLY_MAX     256   /* largest reply allowed */  macro
186 static int do_ping(char **arg ATTRIBUTE_UNUSED, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_ping()
191 static int do_create_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { in do_create_app_data()
198 static int do_restorecon_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { in do_restorecon_app_data()
204 static int do_migrate_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { in do_migrate_app_data()
209 static int do_clear_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { in do_clear_app_data()
214 static int do_destroy_app_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { in do_destroy_app_data()
222 static int do_ota_dexopt(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { in do_ota_dexopt()
255 static int do_dexopt(char **arg, char reply[REPLY_MAX]) in do_dexopt() argument
273 static int do_merge_profiles(char **arg, char reply[REPLY_MAX]) in do_merge_profiles() argument
278 strncpy(reply, "true", REPLY_MAX); in do_merge_profiles()
280 strncpy(reply, "false", REPLY_MAX); in do_merge_profiles()
285 static int do_dump_profiles(char **arg, char reply[REPLY_MAX]) in do_dump_profiles() argument
291 strncpy(reply, "true", REPLY_MAX); in do_dump_profiles()
293 strncpy(reply, "false", REPLY_MAX); in do_dump_profiles()
298 static int do_mark_boot_complete(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_mark_boot_complete()
303 static int do_rm_dex(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_rm_dex()
308 static int do_free_cache(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) /* TODO int:free_size … in do_free_cache()
313 static int do_get_app_size(char **arg, char reply[REPLY_MAX]) { in do_get_app_size() argument
329 snprintf(reply, REPLY_MAX, "%" PRId64 " %" PRId64 " %" PRId64 " %" PRId64, in do_get_app_size()
334 static int do_get_app_data_inode(char **arg, char reply[REPLY_MAX]) { in do_get_app_data_inode() argument
341 snprintf(reply, REPLY_MAX, "%" PRId64, (int64_t) inode); in do_get_app_data_inode()
345 static int do_move_complete_app(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { in do_move_complete_app()
353 static int do_create_user_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_create_user_data()
359 static int do_destroy_user_data(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_destroy_user_data()
365 static int do_linklib(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_linklib()
370 static int do_idmap(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_idmap()
375 static int do_create_oat_dir(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_create_oat_dir()
381 static int do_rm_package_dir(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_rm_package_dir()
387 static int do_clear_app_profiles(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_clear_app_profiles()
393 static int do_destroy_app_profiles(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_destroy_app_profiles()
399 static int do_link_file(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) in do_link_file()
405 static int do_move_ab(char **arg, char reply[REPLY_MAX] ATTRIBUTE_UNUSED) { in do_move_ab()
413 int (*func)(char **arg, char reply[REPLY_MAX]);
492 char reply[REPLY_MAX]; in execute()