Searched refs:tbl (Results 1 - 25 of 102) sorted by relevance

12345

/freebsd-9.3-release/contrib/ntp/libparse/
H A Dtrim_info.c43 cmd_info_t *tbl
48 for (i = 0; tbl[i].cmd != 0xFF; i++)
50 if (tbl[i].cmd == cmd)
51 return &tbl[i];
/freebsd-9.3-release/usr.bin/grep/regex/
H A Dhashtable.c64 hashtable *tbl; local
69 tbl = malloc(sizeof(hashtable));
70 if (tbl == NULL)
73 tbl->entries = calloc(sizeof(hashtable_entry *), table_size);
74 if (tbl->entries == NULL)
77 tbl->table_size = table_size;
78 tbl->usage = 0;
79 tbl->key_size = key_size;
80 tbl->value_size = value_size;
82 return (tbl);
105 hashtable_put(hashtable *tbl, const void *key, const void *value) argument
179 hashtable_lookup(const hashtable *tbl, const void *key) argument
207 hashtable_get(hashtable *tbl, const void *key, void *value) argument
229 hashtable_remove(hashtable *tbl, const void *key) argument
254 hashtable_free(hashtable *tbl) argument
[all...]
H A Dxmalloc.c55 hashTable *tbl;
57 tbl = malloc(sizeof(*tbl));
59 if (tbl != NULL)
61 tbl->table = calloc(TABLE_SIZE, sizeof(*tbl->table));
63 if (tbl->table == NULL)
65 free(tbl);
70 return tbl;
92 hash_table_add(hashTable *tbl, voi
54 hashTable *tbl; local
91 hash_table_add(hashTable *tbl, void *ptr, int bytes, const char *file, int line, const char *func) argument
126 hash_table_del(hashTable *tbl, void *ptr) argument
[all...]
/freebsd-9.3-release/lib/libc/string/
H A Dstrcspn.c46 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT]; local
53 tbl[0] = 1;
54 tbl[3] = tbl[2] = tbl[1] = 0;
56 for (tbl[0] = idx = 1; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
57 tbl[idx] = 0;
62 tbl[id
[all...]
H A Dstrspn.c46 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT]; local
53 tbl[3] = tbl[2] = tbl[1] = tbl[0] = 0;
55 for (idx = 0; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
56 tbl[idx] = 0;
61 tbl[idx] |= bit;
67 if ((tbl[id
[all...]
/freebsd-9.3-release/sys/libkern/
H A Dstrcspn.c46 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT]; local
53 tbl[0] = 1;
54 tbl[3] = tbl[2] = tbl[1] = 0;
56 for (tbl[0] = idx = 1; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
57 tbl[idx] = 0;
62 tbl[id
[all...]
H A Dstrspn.c46 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT]; local
53 tbl[3] = tbl[2] = tbl[1] = tbl[0] = 0;
55 for (idx = 0; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
56 tbl[idx] = 0;
61 tbl[idx] |= bit;
67 if ((tbl[id
[all...]
/freebsd-9.3-release/games/fortune/unstr/
H A Dunstr.c82 static STRFILE tbl; /* description table */ local
95 fread((char *)&tbl, sizeof(tbl), 1, Dataf);
96 tbl.str_version = be32toh(tbl.str_version);
97 tbl.str_numstr = be32toh(tbl.str_numstr);
98 tbl.str_longlen = be32toh(tbl.str_longlen);
99 tbl
111 order_unstr(STRFILE *tbl) argument
[all...]
/freebsd-9.3-release/sys/netpfil/ipfw/
H A Dip_fw_table.c139 ipfw_add_table_entry(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, argument
152 if (tbl >= V_fw_tables_max)
173 rnh_ptr = &ch->tables[tbl];
194 rnh_ptr = &ch->xtables[tbl];
230 rnh_ptr = &ch->xtables[tbl];
243 if ((ch->tabletype[tbl] != 0) && (ch->tabletype[tbl] != type)) {
264 if (ch->tabletype[tbl] != type) {
276 ch->tabletype[tbl] = type;
291 ipfw_del_table_entry(struct ip_fw_chain *ch, uint16_t tbl, voi argument
409 ipfw_flush_table(struct ip_fw_chain *ch, uint16_t tbl) argument
449 uint16_t tbl; local
477 unsigned int ntables_old, tbl; local
534 ipfw_lookup_table(struct ip_fw_chain *ch, uint16_t tbl, in_addr_t addr, uint32_t *val) argument
556 ipfw_lookup_table_extended(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, uint32_t *val, int type) argument
605 ipfw_count_table(struct ip_fw_chain *ch, uint32_t tbl, uint32_t *cnt) argument
622 ipfw_table * const tbl = arg; local
640 ipfw_dump_table(struct ip_fw_chain *ch, ipfw_table *tbl) argument
663 ipfw_count_xtable(struct ip_fw_chain *ch, uint32_t tbl, uint32_t *cnt) argument
685 ipfw_xtable * const tbl = arg; local
709 ipfw_xtable * const tbl = arg; local
749 ipfw_dump_xtable(struct ip_fw_chain *ch, ipfw_xtable *tbl) argument
[all...]
H A Dip_fw_sockopt.c1129 error = ipfw_add_table_entry(chain, ent.tbl,
1143 error = ipfw_del_table_entry(chain, ent.tbl,
1168 ipfw_add_table_entry(chain, xent->tbl, &xent->k,
1170 ipfw_del_table_entry(chain, xent->tbl, &xent->k,
1177 u_int16_t tbl; local
1179 error = sooptcopyin(sopt, &tbl,
1180 sizeof(tbl), sizeof(tbl));
1183 error = ipfw_flush_table(chain, tbl);
1189 u_int32_t tbl, cn local
1205 ipfw_table *tbl; local
1234 uint32_t *tbl; local
1254 ipfw_xtable *tbl; local
[all...]
H A Dip_fw_private.h309 int ipfw_lookup_table(struct ip_fw_chain *ch, uint16_t tbl, in_addr_t addr,
311 int ipfw_lookup_table_extended(struct ip_fw_chain *ch, uint16_t tbl, void *paddr,
315 int ipfw_flush_table(struct ip_fw_chain *ch, uint16_t tbl);
316 int ipfw_add_table_entry(struct ip_fw_chain *ch, uint16_t tbl, void *paddr,
318 int ipfw_del_table_entry(struct ip_fw_chain *ch, uint16_t tbl, void *paddr,
320 int ipfw_count_table(struct ip_fw_chain *ch, uint32_t tbl, uint32_t *cnt);
322 int ipfw_dump_table(struct ip_fw_chain *ch, ipfw_table *tbl);
323 int ipfw_count_xtable(struct ip_fw_chain *ch, uint32_t tbl, uint32_t *cnt);
324 int ipfw_dump_xtable(struct ip_fw_chain *ch, ipfw_xtable *tbl);
/freebsd-9.3-release/crypto/openssl/crypto/asn1/
H A Dt_bitst.c66 BIT_STRING_BITNAME *tbl, int indent)
71 for (bnam = tbl; bnam->lname; bnam++) {
84 BIT_STRING_BITNAME *tbl)
87 bitnum = ASN1_BIT_STRING_num_asc(name, tbl);
97 int ASN1_BIT_STRING_num_asc(char *name, BIT_STRING_BITNAME *tbl) argument
100 for (bnam = tbl; bnam->lname; bnam++) {
65 ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, BIT_STRING_BITNAME *tbl, int indent) argument
83 ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, BIT_STRING_BITNAME *tbl) argument
H A Da_strnid.c67 static void st_free(ASN1_STRING_TABLE *tbl);
134 ASN1_STRING_TABLE *tbl; local
140 tbl = ASN1_STRING_TABLE_get(nid);
141 if (tbl) {
142 mask = tbl->mask;
143 if (!(tbl->flags & STABLE_NO_MASK))
146 tbl->minsize, tbl->maxsize);
277 static void st_free(ASN1_STRING_TABLE *tbl) argument
279 if (tbl
[all...]
/freebsd-9.3-release/gnu/usr.bin/groff/src/preproc/
H A DMakefile3 SUBDIR= eqn grn html pic refer soelim tbl
/freebsd-9.3-release/contrib/libucl/uthash/
H A Duthash.h81 #define uthash_noexpand_fyi(tbl) /* can be defined to log noexpand */
84 #define uthash_expand_fyi(tbl) /* can be defined to log expands */
93 #define ELMT_FROM_HH(tbl,hhp) ((void*)(((char*)(hhp)) - ((tbl)->hho)))
100 HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \
101 if (HASH_BLOOM_TEST((head)->hh.tbl, _hf_hashv)) { \
102 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \
111 #define HASH_BLOOM_MAKE(tbl) \
113 (tbl)
710 struct UT_hash_table *tbl; member in struct:UT_hash_handle
[all...]
/freebsd-9.3-release/contrib/nvi/docs/USD.doc/edit/
H A DMakefile4 TBL= tbl
/freebsd-9.3-release/gnu/usr.bin/groff/src/preproc/tbl/
H A DMakefile3 PROG_CXX= tbl
/freebsd-9.3-release/games/fortune/strfile/
H A Dstrfile.h38 #define STR_ENDSTRING(line,tbl) \
39 (((unsigned char)(line)[0]) == (tbl).str_delim && (line)[1] == '\n')
/freebsd-9.3-release/contrib/pf/pfctl/
H A Dpfctl_radix.c77 pfr_add_tables(struct pfr_table *tbl, int size, int *nadd, int flags) argument
81 if (size < 0 || (size && tbl == NULL)) {
87 io.pfrio_buffer = tbl;
88 io.pfrio_esize = sizeof(*tbl);
98 pfr_del_tables(struct pfr_table *tbl, int size, int *ndel, int flags) argument
102 if (size < 0 || (size && tbl == NULL)) {
108 io.pfrio_buffer = tbl;
109 io.pfrio_esize = sizeof(*tbl);
119 pfr_get_tables(struct pfr_table *filter, struct pfr_table *tbl, int *size, argument
124 if (size == NULL || *size < 0 || (*size && tbl
142 pfr_get_tstats(struct pfr_table *filter, struct pfr_tstats *tbl, int *size, int flags) argument
165 pfr_clr_addrs(struct pfr_table *tbl, int *ndel, int flags) argument
184 pfr_add_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size, int *nadd, int flags) argument
207 pfr_del_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size, int *ndel, int flags) argument
230 pfr_set_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size, int *size2, int *nadd, int *ndel, int *nchange, int flags) argument
260 pfr_get_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int *size, int flags) argument
283 pfr_get_astats(struct pfr_table *tbl, struct pfr_astats *addr, int *size, int flags) argument
306 pfr_clr_tstats(struct pfr_table *tbl, int size, int *nzero, int flags) argument
327 pfr_tst_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size, int *nmatch, int flags) argument
350 pfr_ina_define(struct pfr_table *tbl, struct pfr_addr *addr, int size, int *nadd, int *naddr, int ticket, int flags) argument
[all...]
/freebsd-9.3-release/share/doc/papers/kernmalloc/
H A DMakefile7 EXTRA= alloc.fig usage.tbl
/freebsd-9.3-release/tools/tools/iwi/
H A Diwistats.c53 } tbl[] = { variable in typeref:struct:statistic
127 for (stat = tbl; stat->index != -1; stat++)
/freebsd-9.3-release/contrib/nvi/docs/USD.doc/exref/
H A DMakefile4 TBL= tbl
/freebsd-9.3-release/games/fortune/fortune/
H A Dfortune.c94 STRFILE tbl; member in struct:fd
230 !STR_ENDSTRING(line, fp->tbl); Fort_len++) {
231 if (fp->tbl.str_flags & STR_ROTATED)
240 if (fp->tbl.str_flags & STR_COMMENTS
241 && line[0] == fp->tbl.str_delim
242 && line[1] == fp->tbl.str_delim)
259 if (!(Fortfile->tbl.str_flags & (STR_RANDOM | STR_ORDERED)))
266 !STR_ENDSTRING(line, Fortfile->tbl))
987 while ((unsigned int)choice >= fp->tbl.str_numstr) {
988 choice -= fp->tbl
[all...]
/freebsd-9.3-release/lib/libdisk/
H A Dwrite_ia64_disk.c152 struct gpt_ent *tbl)
194 bzero(&tbl[i], sizeof(struct gpt_ent));
195 uuid_create(&tbl[i].ent_uuid, NULL);
211 memcpy(tbl, buffer, sizeof(struct gpt_ent) * disk->gpt_size);
227 struct gpt_ent *tbl)
255 save[sav] = tbl[idx];
268 uuid_create_nil(&tbl[idx].ent_type, NULL);
269 tbl[idx].ent_lba_start = 0;
270 tbl[idx].ent_lba_end = 0;
271 tbl[id
151 read_gpt(int fd, const struct disk *disk, struct gpt_hdr *hdr, struct gpt_ent *tbl) argument
226 update_gpt(int fd, const struct disk *disk, struct gpt_hdr *hdr, struct gpt_ent *tbl) argument
376 struct gpt_ent *tbl; local
[all...]
/freebsd-9.3-release/sys/dev/uart/
H A Duart_cpu_ia64.c60 struct dig64_hcdp_table *tbl; local
76 tbl = (void*)IA64_PHYS_TO_RR7(hcdp);
77 for (i = 0; i < tbl->entries; i++) {
78 ent = tbl->entry + i;

Completed in 304 milliseconds

12345