Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Ddef.c76 upb_strtable ntoi; member
276 return (int)upb_strtable_count(&e->ntoi); in upb_enumdef_numvals()
281 upb_strtable_begin(i, &e->ntoi); in upb_enum_begin()
290 if (!upb_strtable_lookup2(&def->ntoi, name, len, &v)) { in upb_enumdef_ntoi()
1736 CHK_OOM(upb_strtable_init2(&e->ntoi, UPB_CTYPE_INT32, n, ctx->alloc)); in create_enumdef()
1759 if (upb_strtable_lookup(&e->ntoi, name2, NULL)) { in create_enumdef()
1765 upb_strtable_insert3(&e->ntoi, name2, strlen(name2), v, ctx->alloc)); in create_enumdef()
/external/protobuf/php/ext/google/protobuf/
Dupb.c1171 upb_strtable ntoi; member
1463 return upb_strtable_count(&e->ntoi); in upb_enumdef_numvals()
1468 upb_strtable_begin(i, &e->ntoi); in upb_enum_begin()
1477 if (!upb_strtable_lookup2(&def->ntoi, name, len, &v)) { in upb_enumdef_ntoi()
2319 CHK_OOM(upb_strtable_init2(&e->ntoi, UPB_CTYPE_INT32, ctx->alloc)); in create_enumdef()
2348 if (upb_strtable_lookup(&e->ntoi, name2, NULL)) { in create_enumdef()
2355 upb_strtable_insert3(&e->ntoi, name2, strlen(name2), v, ctx->alloc)); in create_enumdef()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c1587 upb_strtable_uninit(&e->ntoi); in freeenum()
1604 if (!upb_strtable_init(&e->ntoi, UPB_CTYPE_INT32)) goto err2; in upb_enumdef_new()
1609 upb_strtable_uninit(&e->ntoi); in upb_enumdef_new()
1646 if (!upb_strtable_insert(&e->ntoi, name, upb_value_int32(num))) { in upb_enumdef_addval()
1655 upb_strtable_remove(&e->ntoi, name, NULL); in upb_enumdef_addval()
1684 return upb_strtable_count(&e->ntoi); in upb_enumdef_numvals()
1689 upb_strtable_begin(i, &e->ntoi); in upb_enum_begin()
1698 if (!upb_strtable_lookup2(&def->ntoi, name, len, &v)) { in upb_enumdef_ntoi()
Dupb.h2944 upb_strtable ntoi;
2954 #define UPB_ENUMDEF_INIT(name, ntoi, iton, defaultval, refs, ref2s) \
2955 { UPB_DEF_INIT(name, UPB_DEF_ENUM, &upb_enumdef_vtbl, refs, ref2s), ntoi, \