コード例 #1
0
 public static int createSetKernelRequest(
     FlatBufferBuilder builder, int rom_id, int boot_blockdev) {
   builder.startObject(2);
   SetKernelRequest.addBootBlockdev(builder, boot_blockdev);
   SetKernelRequest.addRomId(builder, rom_id);
   return SetKernelRequest.endSetKernelRequest(builder);
 }
コード例 #2
0
 public static int createFileCloseResponse(
     FlatBufferBuilder builder, boolean success, int error_msg) {
   builder.startObject(2);
   FileCloseResponse.addErrorMsg(builder, error_msg);
   FileCloseResponse.addSuccess(builder, success);
   return FileCloseResponse.endFileCloseResponse(builder);
 }
コード例 #3
0
 public static int createPathChmodResponse(
     FlatBufferBuilder builder, boolean success, int error_msg) {
   builder.startObject(2);
   PathChmodResponse.addErrorMsg(builder, error_msg);
   PathChmodResponse.addSuccess(builder, success);
   return PathChmodResponse.endPathChmodResponse(builder);
 }
コード例 #4
0
 public static int createPathSELinuxGetLabelRequest(
     FlatBufferBuilder builder, int pathOffset, boolean follow_symlinks) {
   builder.startObject(2);
   PathSELinuxGetLabelRequest.addPath(builder, pathOffset);
   PathSELinuxGetLabelRequest.addFollowSymlinks(builder, follow_symlinks);
   return PathSELinuxGetLabelRequest.endPathSELinuxGetLabelRequest(builder);
 }
コード例 #5
0
ファイル: Stat.java プロジェクト: CadeLaRen/flatbuffers
 public static int createStat(FlatBufferBuilder builder, int idOffset, long val, int count) {
   builder.startObject(3);
   Stat.addVal(builder, val);
   Stat.addId(builder, idOffset);
   Stat.addCount(builder, count);
   return Stat.endStat(builder);
 }
コード例 #6
0
 public static int createFileReadResponse(
     FlatBufferBuilder builder, boolean success, int error_msg, long bytes_read, int data) {
   builder.startObject(4);
   FileReadResponse.addBytesRead(builder, bytes_read);
   FileReadResponse.addData(builder, data);
   FileReadResponse.addErrorMsg(builder, error_msg);
   FileReadResponse.addSuccess(builder, success);
   return FileReadResponse.endFileReadResponse(builder);
 }
コード例 #7
0
 public static int createPathSELinuxGetLabelResponse(
     FlatBufferBuilder builder,
     boolean success,
     int error_msgOffset,
     int labelOffset,
     int errorOffset) {
   builder.startObject(4);
   PathSELinuxGetLabelResponse.addError(builder, errorOffset);
   PathSELinuxGetLabelResponse.addLabel(builder, labelOffset);
   PathSELinuxGetLabelResponse.addErrorMsg(builder, error_msgOffset);
   PathSELinuxGetLabelResponse.addSuccess(builder, success);
   return PathSELinuxGetLabelResponse.endPathSELinuxGetLabelResponse(builder);
 }
コード例 #8
0
 public static void startFileCloseResponse(FlatBufferBuilder builder) {
   builder.startObject(2);
 }
コード例 #9
0
 public static void startPathChmodResponse(FlatBufferBuilder builder) {
   builder.startObject(2);
 }
コード例 #10
0
 public static void startPathSELinuxGetLabelRequest(FlatBufferBuilder builder) {
   builder.startObject(2);
 }
コード例 #11
0
ファイル: Stat.java プロジェクト: CadeLaRen/flatbuffers
 public static void startStat(FlatBufferBuilder builder) {
   builder.startObject(3);
 }
コード例 #12
0
 public static void startTableInFirstNS(FlatBufferBuilder builder) {
   builder.startObject(3);
 }
コード例 #13
0
 public static void startMonster(FlatBufferBuilder builder) {
   builder.startObject(9);
 }
コード例 #14
0
 public static void startSetKernelRequest(FlatBufferBuilder builder) {
   builder.startObject(2);
 }
コード例 #15
0
 public static void startPathSELinuxGetLabelResponse(FlatBufferBuilder builder) {
   builder.startObject(4);
 }
コード例 #16
0
 public static int createMbGetInstalledRomsResponse(FlatBufferBuilder builder, int romsOffset) {
   builder.startObject(1);
   MbGetInstalledRomsResponse.addRoms(builder, romsOffset);
   return MbGetInstalledRomsResponse.endMbGetInstalledRomsResponse(builder);
 }
コード例 #17
0
 public static void startMbGetInstalledRomsResponse(FlatBufferBuilder builder) {
   builder.startObject(1);
 }
コード例 #18
0
 public static void startFileReadResponse(FlatBufferBuilder builder) {
   builder.startObject(4);
 }