Esempio n. 1
0
 def encoding(self, encoding):
     utils._check_int(encoding)
     ret = native_bt.field_class_string_set_encoding(self._ptr, encoding)
     utils._handle_ret(ret, "cannot set string field class object's encoding")
Esempio n. 2
0
 def native_byte_order(self, native_byte_order):
     utils._check_int(native_byte_order)
     ret = native_bt.trace_set_native_byte_order(self._ptr, native_byte_order)
     utils._handle_ret(ret, "cannot set trace class object's native byte order")
Esempio n. 3
0
 def byte_order(self, byte_order):
     utils._check_int(byte_order)
     ret = native_bt.field_class_set_byte_order(self._ptr, byte_order)
     utils._handle_ret(ret, "cannot set field class object's byte order")
Esempio n. 4
0
 def base(self, base):
     utils._check_int(base)
     ret = native_bt.field_class_integer_set_base(self._ptr, base)
     utils._handle_ret(ret, "cannot set integer field class object's base")
Esempio n. 5
0
 def base(self, base):
     utils._check_int(base)
     ret = native_bt.field_class_integer_set_base(self._ptr, base)
     utils._handle_ret(ret, "cannot set integer field class object's base")
Esempio n. 6
0
 def encoding(self, encoding):
     utils._check_int(encoding)
     ret = native_bt.field_class_string_set_encoding(self._ptr, encoding)
     utils._handle_ret(ret,
                       "cannot set string field class object's encoding")
Esempio n. 7
0
 def encoding(self, encoding):
     utils._check_int(encoding)
     ret = native_bt.field_type_integer_set_encoding(self._ptr, encoding)
     utils._handle_ret(ret,
                       "cannot set integer field type object's encoding")
Esempio n. 8
0
 def byte_order(self, byte_order):
     utils._check_int(byte_order)
     ret = native_bt.field_class_set_byte_order(self._ptr, byte_order)
     utils._handle_ret(ret, "cannot set field class object's byte order")
Esempio n. 9
0
 def encoding(self, encoding):
     utils._check_int(encoding)
     ret = native_bt.field_type_integer_set_encoding(self._ptr, encoding)
     utils._handle_ret(ret, "cannot set integer field type object's encoding")
Esempio n. 10
0
 def native_byte_order(self, native_byte_order):
     utils._check_int(native_byte_order)
     ret = native_bt.trace_set_native_byte_order(self._ptr, native_byte_order)
     utils._handle_ret(ret, "cannot set trace class object's native byte order")
Esempio n. 11
0
 def encoding(self, encoding):
     utils._check_int(encoding)
     ret = native_bt.ctf_field_type_string_set_encoding(self._ptr, encoding)
     utils._handle_ret(ret, "cannot set string field type object's encoding")
Esempio n. 12
0
 def base(self, base):
     utils._check_int(base)
     ret = native_bt.ctf_field_type_integer_set_base(self._ptr, base)
     utils._handle_ret(ret, "cannot set integer field type object's base")
Esempio n. 13
0
 def byte_order(self, byte_order):
     utils._check_int(byte_order)
     ret = native_bt.ctf_field_type_set_byte_order(self._ptr, byte_order)
     utils._handle_ret(ret, "cannot set field type object's byte order")