Home
last modified time | relevance | path

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

/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/
Dperfect.c313 ub4 nkeys, /* total number of keys */ in initkey() argument
334 finished = inithex(keys, nkeys, alen, blen, smax, salt, final, form); in initkey()
343 if (nkeys <= 1) in initkey()
460 ub4 nkeys, /* final hash must be in 0..nkeys-1 */ in augment() argument
467 ub4 highhash = ((form->perfect == MINIMAL_HP) ? nkeys : smax); in augment()
543 ub4 nkeys, in perfect() argument
552 ((form->perfect == MINIMAL_HP) ? nkeys : smax))); in perfect()
563 if (!augment(tabb, tabh, tabq, blen, scramble, smax, &tabb[i], nkeys, in perfect()
588 ub4 nkeys, /* input, number of keys being hashed */ in hash_ab() argument
598 *smax = ((ub4)1<<phash_log2(nkeys)); in hash_ab()
[all …]
Dgenperf.c154 ub4 nkeys; in perfect_gen() local
184 nkeys = 0; in perfect_gen()
193 nkeys++; in perfect_gen()
198 scramble, &smax, keys, nkeys, &form); in perfect_gen()
208 fprintf(out, " static const struct %s pd[%lu] = {\n", struct_name, nkeys); in perfect_gen()
209 for (i=0; i<nkeys; i++) { in perfect_gen()
225 if (i < nkeys-1) in perfect_gen()
238 fprintf(out, " if (rsl >= %lu) return NULL;\n", nkeys); in perfect_gen()
Dperfect.h125 gencode *final, ub4 *scramble, ub4 *smax, key *keys, ub4 nkeys,
129 int inithex(key *keys, ub4 nkeys, ub4 alen, ub4 blen, ub4 smax, ub4 salt,
/external/smali/util/src/main/java/org/jf/util/
DSparseArray.java164 int[] nkeys = new int[n]; in put() local
168 System.arraycopy(mKeys, 0, nkeys, 0, mKeys.length); in put()
171 mKeys = nkeys; in put()
304 int[] nkeys = new int[n]; in append() local
308 System.arraycopy(mKeys, 0, nkeys, 0, mKeys.length); in append()
311 mKeys = nkeys; in append()
331 int[] nkeys = new int[capacity]; in ensureCapacity() local
334 System.arraycopy(mKeys, 0, nkeys, 0, mKeys.length); in ensureCapacity()
337 mKeys = nkeys; in ensureCapacity()
DSparseIntArray.java134 int[] nkeys = new int[n]; in put() local
138 System.arraycopy(mKeys, 0, nkeys, 0, mKeys.length); in put()
141 mKeys = nkeys; in put()
229 int[] nkeys = new int[n]; in append() local
233 System.arraycopy(mKeys, 0, nkeys, 0, mKeys.length); in append()
236 mKeys = nkeys; in append()
/external/smack/src/org/xbill/DNS/
DClient.java37 int nkeys = 0; in blockUntil() local
39 nkeys = key.selector().select(timeout); in blockUntil()
41 nkeys = key.selector().selectNow(); in blockUntil()
42 if (nkeys == 0) in blockUntil()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSparseArray.java172 int[] nkeys = new int[n]; in put() local
176 System.arraycopy(mKeys, 0, nkeys, 0, mKeys.length); in put()
179 mKeys = nkeys; in put()
321 int[] nkeys = new int[n]; in append() local
325 System.arraycopy(mKeys, 0, nkeys, 0, mKeys.length); in append()
328 mKeys = nkeys; in append()
/external/iproute2/tc/
Df_flow.c63 static int flow_parse_keys(__u32 *keys, __u32 *nkeys, char *argv) in flow_parse_keys() argument
69 *nkeys = 0; in flow_parse_keys()
79 (*nkeys)++; in flow_parse_keys()
140 __u32 keys = 0, nkeys = 0; in flow_parse_opt() local
163 if (flow_parse_keys(&keys, &nkeys, *argv)) in flow_parse_opt()
254 if (nkeys > 1 && mode != FLOW_MODE_HASH) { in flow_parse_opt()
Dm_pedit.c124 int hwm = sel->nkeys; in pack_key()
140 sel->nkeys++; in pack_key()
543 …addattr_l(n, MAX_MSG, TCA_PEDIT_PARMS,&sel, sizeof(sel.sel)+sel.sel.nkeys*sizeof(struct tc_pedit_k… in parse_pedit()
569 fprintf(f, " pedit action %s keys %d\n ", action_n2a(sel->action, b1, sizeof (b1)),sel->nkeys); in print_pedit()
578 if (sel->nkeys) { in print_pedit()
582 for (i=0; i<sel->nkeys; i++, key++) { in print_pedit()
590 fprintf(f, "\npedit %x keys %d is not LEGIT", sel->index,sel->nkeys); in print_pedit()
Df_u32.c121 int hwm = sel->nkeys; in pack_key()
145 sel->nkeys++; in pack_key()
1092 if (sel2.sel.nkeys != 1) { in u32_parse_opt()
1168 sizeof(sel.sel)+sel.sel.nkeys*sizeof(struct tc_u32_key)); in u32_parse_opt()
1247 if (sel->nkeys) { in u32_print_opt()
1249 for (i=0; i<sel->nkeys; i++) { in u32_print_opt()
/external/libnl/lib/route/cls/
Du32.c129 (sel->nkeys * sizeof(uint64_t)); in u32_msg_parser()
236 for (i = 0; i < sel->nkeys; i++) { in print_selector()
268 nl_dump(p, "nkeys %u ", s->nkeys); in u32_dump_details()
415 sel->keys[sel->nkeys].mask = mask; in rtnl_u32_add_key()
416 sel->keys[sel->nkeys].val = val & mask; in rtnl_u32_add_key()
417 sel->keys[sel->nkeys].off = off; in rtnl_u32_add_key()
418 sel->keys[sel->nkeys].offmask = offmask; in rtnl_u32_add_key()
419 sel->nkeys++; in rtnl_u32_add_key()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DFieldArray.java145 int[] nkeys = new int[n]; in put() local
148 System.arraycopy(mFieldNumbers, 0, nkeys, 0, mFieldNumbers.length); in put()
151 mFieldNumbers = nkeys; in put()
/external/iproute2/include/linux/tc_act/
Dtc_pedit.h28 unsigned char nkeys; member
/external/kernel-headers/original/uapi/linux/tc_act/
Dtc_pedit.h28 unsigned char nkeys; member
/external/clang/test/CodeGen/
Ddesignated-initializers.c162 int nkeys; member
/external/chromium_org/chrome/browser/policy/test/
Dpolicy_testserver.py736 nkeys = len(self.server.keys)
738 current_key_index in range(nkeys)):
740 if msg.public_key_version in range(1, nkeys + 1):
/external/kernel-headers/original/uapi/linux/
Dpkt_cls.h206 unsigned char nkeys; member
/external/libnl/include/linux/
Dpkt_cls.h215 unsigned char nkeys; member
/external/iproute2/include/linux/
Dpkt_cls.h206 unsigned char nkeys; member
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DACBTree.m480 NSInteger j, k, nkeys;
495 nkeys = t0.numkeys - 1;
496 keys[i] = t0.keys[nkeys]; /* update key to point to new high key */
/external/chromium_org/third_party/ply/
Dyacc.py2521 nkeys = { }
2525 nkeys[s] = None
2526 for n in nkeys: