示例#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")
示例#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")
示例#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")
示例#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")
示例#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")
示例#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")
示例#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")
示例#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")
示例#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")
示例#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")
示例#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")
示例#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")
示例#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")