Home | History | Annotate | Download | only in tests

Lines Matching full:nprops

32     LocalPropertyTestState(int nprops) : nprops(nprops), valid(false) {
51 names = new char* [nprops];
52 name_lens = new int[nprops];
53 values = new char* [nprops];
54 value_lens = new int[nprops];
56 srandom(nprops);
58 for (int i = 0; i < nprops; i++) {
86 for (int i = 0; i < nprops; i++) {
96 const int nprops;
109 static void BM_property_get(int iters, int nprops)
113 LocalPropertyTestState pa(nprops);
119 srandom(iters * nprops);
124 __system_property_get(pa.names[random() % nprops], value);
130 static void BM_property_find(int iters, int nprops)
134 LocalPropertyTestState pa(nprops);
139 srandom(iters * nprops);
144 __system_property_find(pa.names[random() % nprops]);