Searched refs:ntoi (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/php/ext/google/protobuf/ |
D | upb.c | 389 upb_strtable_uninit(&e->ntoi); in upb_enumdef_free() 401 if (!upb_strtable_init(&e->ntoi, UPB_CTYPE_INT32)) goto err2; in upb_enumdef_new() 406 upb_strtable_uninit(&e->ntoi); in upb_enumdef_new() 450 if (!upb_strtable_insert(&e->ntoi, name, upb_value_int32(num))) { in upb_enumdef_addval() 457 upb_strtable_remove(&e->ntoi, name, NULL); in upb_enumdef_addval() 483 return upb_strtable_count(&e->ntoi); in upb_enumdef_numvals() 488 upb_strtable_begin(i, &e->ntoi); in upb_enum_begin() 497 if (!upb_strtable_lookup2(&def->ntoi, name, len, &v)) { in upb_enumdef_ntoi()
|
D | upb.h | 3129 upb_strtable ntoi; member 3134 #define UPB_ENUMDEF_INIT(name, ntoi, iton, defaultval, refs, ref2s) \ argument 3135 { UPB_DEF_INIT(name, UPB_DEF_ENUM, refs, ref2s), ntoi, iton, defaultval }
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 449 upb_strtable_uninit(&e->ntoi); in upb_enumdef_free() 466 if (!upb_strtable_init(&e->ntoi, UPB_CTYPE_INT32)) goto err2; in upb_enumdef_new() 471 upb_strtable_uninit(&e->ntoi); in upb_enumdef_new() 523 if (!upb_strtable_insert(&e->ntoi, name, upb_value_int32(num))) { in upb_enumdef_addval() 532 upb_strtable_remove(&e->ntoi, name, NULL); in upb_enumdef_addval() 561 return upb_strtable_count(&e->ntoi); in upb_enumdef_numvals() 566 upb_strtable_begin(i, &e->ntoi); in upb_enum_begin() 575 if (!upb_strtable_lookup2(&def->ntoi, name, len, &v)) { in upb_enumdef_ntoi()
|
D | upb.h | 3810 upb_strtable ntoi; 3817 #define UPB_ENUMDEF_INIT(name, ntoi, iton, defaultval, refs, ref2s) \ 3818 { UPB_DEF_INIT(name, UPB_DEF_ENUM, &upb_enumdef_vtbl, refs, ref2s), ntoi, \
|