Home | History | Annotate | Download | only in system

Lines Matching defs:MojoResult

35 // |MojoResult|: Result codes for Mojo operations. Non-negative values are
38 // |MojoResult|s may also be used to indicate success.
91 typedef int32_t MojoResult;
94 const MojoResult MOJO_RESULT_OK = 0;
95 const MojoResult MOJO_RESULT_CANCELLED = -1;
96 const MojoResult MOJO_RESULT_UNKNOWN = -2;
97 const MojoResult MOJO_RESULT_INVALID_ARGUMENT = -3;
98 const MojoResult MOJO_RESULT_DEADLINE_EXCEEDED = -4;
99 const MojoResult MOJO_RESULT_NOT_FOUND = -5;
100 const MojoResult MOJO_RESULT_ALREADY_EXISTS = -6;
101 const MojoResult MOJO_RESULT_PERMISSION_DENIED = -7;
102 const MojoResult MOJO_RESULT_RESOURCE_EXHAUSTED = -8;
103 const MojoResult MOJO_RESULT_FAILED_PRECONDITION = -9;
104 const MojoResult MOJO_RESULT_ABORTED = -10;
105 const MojoResult MOJO_RESULT_OUT_OF_RANGE = -11;
106 const MojoResult MOJO_RESULT_UNIMPLEMENTED = -12;
107 const MojoResult MOJO_RESULT_INTERNAL = -13;
108 const MojoResult MOJO_RESULT_UNAVAILABLE = -14;
109 const MojoResult MOJO_RESULT_DATA_LOSS = -15;
110 const MojoResult MOJO_RESULT_BUSY = -16;
111 const MojoResult MOJO_RESULT_SHOULD_WAIT = -17;
113 #define MOJO_RESULT_OK ((MojoResult) 0)
114 #define MOJO_RESULT_CANCELLED ((MojoResult) -1)
115 #define MOJO_RESULT_UNKNOWN ((MojoResult) -2)
116 #define MOJO_RESULT_INVALID_ARGUMENT ((MojoResult) -3)
117 #define MOJO_RESULT_DEADLINE_EXCEEDED ((MojoResult) -4)
118 #define MOJO_RESULT_NOT_FOUND ((MojoResult) -5)
119 #define MOJO_RESULT_ALREADY_EXISTS ((MojoResult) -6)
120 #define MOJO_RESULT_PERMISSION_DENIED ((MojoResult) -7)
121 #define MOJO_RESULT_RESOURCE_EXHAUSTED ((MojoResult) -8)
122 #define MOJO_RESULT_FAILED_PRECONDITION ((MojoResult) -9)
123 #define MOJO_RESULT_ABORTED ((MojoResult) -10)
124 #define MOJO_RESULT_OUT_OF_RANGE ((MojoResult) -11)
125 #define MOJO_RESULT_UNIMPLEMENTED ((MojoResult) -12)
126 #define MOJO_RESULT_INTERNAL ((MojoResult) -13)
127 #define MOJO_RESULT_UNAVAILABLE ((MojoResult) -14)
128 #define MOJO_RESULT_DATA_LOSS ((MojoResult) -15)
129 #define MOJO_RESULT_BUSY ((MojoResult) -16)
130 #define MOJO_RESULT_SHOULD_WAIT ((MojoResult) -17)