Lines Matching defs:table
1075 upb_strtable_begin(&i, &map->table);
1352 upb_strtable_init2(&map->table, UPB_CTYPE_INT32, upb_arena_alloc(a));
1376 /* The minimum utilization of the array part of a mixed hash/array table. This
1437 /* Base table (shared code) ***************************************************/
1513 /* The given key must not already exist in the table. */
1542 * chain). This implies that no existing ent in the table has our hash.
1578 * table. */
1592 /* Element to remove is not in the table. */
1680 /* Need to resize. New table of double the size, add old elements to it. */
1763 * array and large keys are put in the hash table. */
1941 /* A power-of-two histogram of the table keys. */
1978 /* Insert all elements into new, perfectly-sized table. */
3011 uint32_t selector_base; /* Used to index into a upb::Handlers table. */
3088 /* Only inside symtab table. */
3092 /* Only inside message table. */
3197 /* ENDSUBMSG (STARTSUBMSG is at table beginning) */
3358 /* We iterate over the ntoi table, to account for duplicate numbers. */
3975 * output of upbc, and to improve search speed for the table parser. */
3986 * table. This wastes one hasbit, but we don't worry about it for now. */
4879 /* Now that all names are in the table, build layouts and resolve refs. */
5394 i.t = &map->table;
5403 i.t = &map->table;
5425 upb_handlers_tabent table[1]; /* Dynamically-sized field handler array. */
5469 return &h->table[handlers_getsel(h, f, type)].attr.return_closure_type;
5479 UPB_ASSERT(!h->table[sel].func);
5511 const void *table_return_type = h->table[sel].attr.return_closure_type;
5521 h->table[sel].func = (upb_func*)func;
5522 h->table[sel].attr = set_attr;
5543 h->table[sel = handlers_getsel(h, f, UPB_HANDLER_STARTSEQ)].func) {
5544 ret = h->table[sel].attr.return_closure_type;
5548 h->table[sel = handlers_getsel(h, f, UPB_HANDLER_STARTSTR)].func) {
5549 ret = h->table[sel].attr.return_closure_type;
5554 * h->table[sel = handlers_getsel(h, f, UPB_HANDLER_STARTSUBMSG)].func) {
5555 * ret = h->table[sel].attr.return_closure_type;
5572 if (h->table[sel].func) return true;
5574 attr = &h->table[sel].attr;
5674 upb_func *ret = (upb_func *)h->table[s].func;
5676 *handler_data = h->table[s].attr.handler_data;
5685 *attr = h->table[sel].attr;
5764 /* Selectors for STARTSUBMSG are at the beginning of the table so that the
5767 * same, except that in the handler table the static selectors come first. */
5862 h->table[UPB_STARTSTR_SELECTOR].func = (upb_func*)func;
5863 h->table[UPB_STARTSTR_SELECTOR].attr.handler_data = d;
5869 h->table[UPB_STRING_SELECTOR].func = (upb_func*)func;
5870 h->table[UPB_STRING_SELECTOR].attr.handler_data = d;
5876 h->table[UPB_ENDSTR_SELECTOR].func = (upb_func*)func;
5877 h->table[UPB_ENDSTR_SELECTOR].attr.handler_data = d;
6467 /* Takes an existing, primary dispatch table entry and repacks it with a
6469 * dispatch table entry for an alternate wire type. */
6711 * while adding all dispatch targets to this message's dispatch table. */
6721 /* Clear all entries in the dispatch table. */
6763 /* Insert both a label and a dispatch table entry for this end-of-msg. */
9142 /* The table mapping json name to fielddef for this message. */
9440 /* Returns the table value sign-extended to 32 bits. Knowing that the upper
9536 * example, to look up a member name in a hash table, or to turn a string into