Home
last modified time | relevance | path

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

/tools/vm/
Dpage_owner_sort.c28 static int list_size; variable
64 if (list_size != 0 && in add_list()
65 len == list[list_size-1].len && in add_list()
66 memcmp(buf, list[list_size-1].txt, len) == 0) { in add_list()
67 list[list_size-1].num++; in add_list()
70 if (list_size == max_size) { in add_list()
74 list[list_size].txt = malloc(len+1); in add_list()
75 list[list_size].len = len; in add_list()
76 list[list_size].num = 1; in add_list()
77 memcpy(list[list_size].txt, buf, len); in add_list()
[all …]