Home
last modified time | relevance | path

Searched refs:defaultval (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Ddef.c30 } defaultval; member
78 int32_t defaultval; member
271 UPB_ASSERT(upb_enumdef_iton(e, e->defaultval)); in upb_enumdef_default()
272 return e->defaultval; in upb_enumdef_default()
417 return f->defaultval.sint; in upb_fielddef_defaultint64()
422 return (int32_t)f->defaultval.sint; in upb_fielddef_defaultint32()
427 return f->defaultval.uint; in upb_fielddef_defaultuint64()
432 return (uint32_t)f->defaultval.uint; in upb_fielddef_defaultuint32()
437 return f->defaultval.boolean; in upb_fielddef_defaultbool()
442 return f->defaultval.flt; in upb_fielddef_defaultfloat()
[all …]
/external/python/cpython3/Python/
Dbltinmodule.c1588 PyObject *emptytuple, *defaultval = NULL; in min_max() local
1609 kwlist, &keyfunc, &defaultval); in min_max()
1614 if (positional && defaultval != NULL) { in min_max()
1671 if (defaultval != NULL) { in min_max()
1672 Py_INCREF(defaultval); in min_max()
1673 maxitem = defaultval; in min_max()
/external/protobuf/php/ext/google/protobuf/
Dupb.c1129 } defaultval; member
1173 int32_t defaultval; member
1458 UPB_ASSERT(upb_enumdef_iton(e, e->defaultval)); in upb_enumdef_default()
1459 return e->defaultval; in upb_enumdef_default()
1630 return f->defaultval.sint; in upb_fielddef_defaultint64()
1635 return f->defaultval.sint; in upb_fielddef_defaultint32()
1640 return f->defaultval.uint; in upb_fielddef_defaultuint64()
1645 return f->defaultval.uint; in upb_fielddef_defaultuint32()
1650 return f->defaultval.boolean; in upb_fielddef_defaultbool()
1655 return f->defaultval.flt; in upb_fielddef_defaultfloat()
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c1669 UPB_ASSERT(upb_enumdef_iton(e, e->defaultval)); in upb_enumdef_default()
1670 return e->defaultval; in upb_enumdef_default()
1679 e->defaultval = val; in upb_enumdef_setdefault()
1725 if (f->type_is_set_ && f->default_is_string && f->defaultval.bytes) in upb_fielddef_uninit_default()
1726 freestr(f->defaultval.bytes); in upb_fielddef_uninit_default()
1766 if (f->default_is_string && f->defaultval.bytes) { in enumdefaultstr()
1768 str_t *s = f->defaultval.bytes; in enumdefaultstr()
1773 const char *name = upb_enumdef_iton(e, f->defaultval.sint); in enumdefaultstr()
1795 *val = f->defaultval.sint; in enumdefaultint32()
1798 if (f->defaultval.bytes) { in enumdefaultint32()
[all …]
Dupb.h2333 } defaultval;
2366 index, defaultval, refs, ref2s) \
2369 defaultval, {msgdef}, {subdef}, NULL, false, false, \
2946 int32_t defaultval;
2954 #define UPB_ENUMDEF_INIT(name, ntoi, iton, defaultval, refs, ref2s) \
2956 iton, defaultval }
/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h2434 template<typename T> T GetField(voffset_t field, T defaultval) const {
2436 return field_offset ? ReadScalar<T>(data_ + field_offset) : defaultval;
/external/python/cpython2/Misc/
Dcheatsheet410 d.get(k,defaultval) the item of d with key k (4)
422 d.setdefault(k,defaultval) the item of d with key k (5)