Exemple #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")
Exemple #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")
Exemple #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")
Exemple #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")
Exemple #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")
Exemple #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")
 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")
Exemple #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")
Exemple #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")
Exemple #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")
Exemple #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")
Exemple #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")
Exemple #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")