• Home
  • Raw
  • Download

Lines Matching refs:binn_object_set

293 BOOL binn_object_set(binn *obj, const char *key, int type, void *pvalue, int size);
754 return binn_object_set(obj, key, BINN_INT8, &value, 0); in binn_object_set_int8()
758 return binn_object_set(obj, key, BINN_INT16, &value, 0); in binn_object_set_int16()
762 return binn_object_set(obj, key, BINN_INT32, &value, 0); in binn_object_set_int32()
766 return binn_object_set(obj, key, BINN_INT64, &value, 0); in binn_object_set_int64()
770 return binn_object_set(obj, key, BINN_UINT8, &value, 0); in binn_object_set_uint8()
774 return binn_object_set(obj, key, BINN_UINT16, &value, 0); in binn_object_set_uint16()
778 return binn_object_set(obj, key, BINN_UINT32, &value, 0); in binn_object_set_uint32()
782 return binn_object_set(obj, key, BINN_UINT64, &value, 0); in binn_object_set_uint64()
786 return binn_object_set(obj, key, BINN_FLOAT32, &value, 0); in binn_object_set_float()
790 return binn_object_set(obj, key, BINN_FLOAT64, &value, 0); in binn_object_set_double()
794 return binn_object_set(obj, key, BINN_BOOL, &value, 0); in binn_object_set_bool()
798 return binn_object_set(obj, key, BINN_NULL, NULL, 0); in binn_object_set_null()
802 return binn_object_set(obj, key, BINN_STRING, (char*) str, 0); // todo in binn_object_set_str()
806 return binn_object_set(obj, key, BINN_BLOB, ptr, size); in binn_object_set_blob()
810 return binn_object_set(obj, key, BINN_LIST, binn_ptr(list), binn_size(list)); in binn_object_set_list()
814 return binn_object_set(obj, key, BINN_MAP, binn_ptr(map), binn_size(map)); in binn_object_set_map()
818 return binn_object_set(obj, key, BINN_OBJECT, binn_ptr(obj2), binn_size(obj2)); in binn_object_set_object()
822 return binn_object_set(obj, key, value->type, binn_ptr(value), binn_size(value)); in binn_object_set_value()