Lines Matching refs:item_arg
301 item_uint_process(const umem_env_item_t *item, const char *item_arg)
310 if (empty(item_arg)) {
314 result = strtoul(item_arg, &endptr, 10);
340 item_size_process(const umem_env_item_t *item, const char *item_arg)
347 if (empty(item_arg))
353 result_arg = strtoul(item_arg, &endptr, 10);
409 umem_log_process(const umem_env_item_t *item, const char *item_arg)
411 if (item_arg != NULL) {
413 ret = item_size_process(item, item_arg);
427 umem_size_process(const umem_env_item_t *item, const char *item_arg)
437 if (item_arg != NULL) {
454 if (item_arg == NULL) {
460 ret = item_size_process(item, item_arg);
471 umem_backend_process(const umem_env_item_t *item, const char *item_arg)
475 if (item_arg == NULL)
478 if (strcmp(item_arg, "sbrk") == 0)
480 else if (strcmp(item_arg, "mmap") == 0)
495 umem_allocator_process(const umem_env_item_t *item, const char *item_arg)
499 if (item_arg == NULL)
502 if (strcmp(item_arg, "best") == 0)
504 else if (strcmp(item_arg, "next") == 0)
506 else if (strcmp(item_arg, "first") == 0)
508 else if (strcmp(item_arg, "instant") == 0)
524 process_item(const umem_env_item_t *item, const char *item_arg)
547 if (item_arg != NULL) {
575 if (arg_required && item_arg == NULL) {
581 if (item_arg != NULL || item->item_type == ITEM_SPECIAL) {
582 if (processor(item, item_arg) != ARG_SUCCESS)