Lines Matching defs:item_arg
296 item_uint_process(const umem_env_item_t *item, const char *item_arg)
305 if (empty(item_arg)) {
309 result = strtoul(item_arg, &endptr, 10);
335 item_size_process(const umem_env_item_t *item, const char *item_arg)
342 if (empty(item_arg))
348 result_arg = strtoul(item_arg, &endptr, 10);
404 umem_log_process(const umem_env_item_t *item, const char *item_arg)
406 if (item_arg != NULL) {
408 ret = item_size_process(item, item_arg);
422 umem_size_process(const umem_env_item_t *item, const char *item_arg)
432 if (item_arg != NULL) {
449 if (item_arg == NULL) {
455 ret = item_size_process(item, item_arg);
466 umem_backend_process(const umem_env_item_t *item, const char *item_arg)
470 if (item_arg == NULL)
473 if (strcmp(item_arg, "sbrk") == 0)
475 else if (strcmp(item_arg, "mmap") == 0)
490 umem_allocator_process(const umem_env_item_t *item, const char *item_arg)
494 if (item_arg == NULL)
497 if (strcmp(item_arg, "best") == 0)
499 else if (strcmp(item_arg, "next") == 0)
501 else if (strcmp(item_arg, "first") == 0)
503 else if (strcmp(item_arg, "instant") == 0)
519 process_item(const umem_env_item_t *item, const char *item_arg)
542 if (item_arg != NULL) {
570 if (arg_required && item_arg == NULL) {
576 if (item_arg != NULL || item->item_type == ITEM_SPECIAL) {
577 if (processor(item, item_arg) != ARG_SUCCESS)