Searched refs:base_name_end (Results 1 – 2 of 2) sorted by relevance
549 const char *base_name_end; in search_resource_hash() local550 long index = parse_program_resource_name(name, &base_name_end); in search_resource_hash()555 name_copy = (char *) malloc(base_name_end - name + 1); in search_resource_hash()556 memcpy(name_copy, name, base_name_end - name); in search_resource_hash()557 name_copy[base_name_end - name] = '\0'; in search_resource_hash()
1011 const char *base_name_end; in init() local1012 long subscript = parse_program_resource_name(input, &base_name_end); in init()1013 this->var_name = ralloc_strndup(mem_ctx, input, base_name_end - input); in init()