Home
last modified time | relevance | path

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

/bionic/benchmarks/
Dproperty_benchmark.cpp50 name_lens = new int[nprops]; in LocalPropertyTestState()
59 name_lens[i] = (random() % (PROP_NAME_MAX - 10)) + 10; in LocalPropertyTestState()
62 for (int j = 0; j < name_lens[i]; j++) { in LocalPropertyTestState()
63 if (j == 0 || names[i][j-1] == '.' || j == name_lens[i] - 1) { in LocalPropertyTestState()
75 names[i][name_lens[i]] = 0; in LocalPropertyTestState()
84 if (system_properties_.Add(names[i], name_lens[i], values[i], value_lens[i]) < 0) { in LocalPropertyTestState()
113 delete[] name_lens; in ~LocalPropertyTestState()
121 int* name_lens; member