/external/mesa3d/src/glsl/ |
H A D | lower_if_to_cond_assign.cpp | 124 /* If the LHS of the assignment is a condition variable that was 131 if (!assign->condition) { 139 assign->condition = cond_expr->clone(mem_ctx, NULL); 142 assign->condition = 146 assign->condition); 190 /* Store the condition to a variable. Move all of the instructions from 191 * the then-clause of the if-statement. Use the condition variable as a 192 * condition for all assignments. 203 assign = new(mem_ctx) ir_assignment(then_cond, ir->condition); 210 /* Add the new condition variabl [all...] |
H A D | lower_vec_index_to_cond_assign.cpp | 103 /* Generate a single comparison condition "mask" for all of the components 170 if (ir->condition) 171 ir->condition = convert_vec_index_to_cond_assign(ir->condition); 203 /* Generate a single comparison condition "mask" for all of the components 229 /* If the original assignment has a condition, respect that original 230 * condition! This is acomplished by wrapping the new conditional 231 * assignments in an if-statement that uses the original condition. 233 if (ir->condition != NULL) { 234 /* No need to clone the condition becaus [all...] |
/external/autotest/client/deps/lansim/src/py/ |
H A D | simulator_unittest.py | 116 """Tests that the Simulator can start run until a condition is met.""" 235 """Main thread can wait until a condition is met on the simulator.""" 238 # Wait for an always False condition. 239 condition = lambda: False 240 ret = self._sim.wait_for_condition(condition, timeout=1.5) 243 # Wait for a trivially True condition. 244 condition = lambda: True 245 ret = self._sim.wait_for_condition(condition, timeout=10.) 249 ret = self._sim.wait_for_condition(condition, timeout=None) 252 # Wait for a condition tha [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
H A D | timeout_retry.py | 74 def WaitFor(condition, wait_period=5, max_tries=None): 75 """Wait for a condition to become true. 77 Repeatedly call the function condition(), with no arguments, until it returns 83 condition: function with the condition to check 85 condition 90 The true value returned by the condition, or None if the condition was 97 condition_name = condition.__name__ 100 result = condition() [all...] |
/external/libmojo/third_party/catapult/devil/devil/utils/ |
H A D | timeout_retry.py | 72 def WaitFor(condition, wait_period=5, max_tries=None): 73 """Wait for a condition to become true. 75 Repeatedly call the function condition(), with no arguments, until it returns 81 condition: function with the condition to check 83 condition 88 The true value returned by the condition, or None if the condition was 95 condition_name = condition.__name__ 98 result = condition() [all...] |
/external/pcre/pcrecpp/ |
H A D | pcre_stringpiece_unittest.cc | 15 // CHECK dies with a fatal error if condition is not true. It is *not* 19 #define CHECK(condition) do { \ 20 if (!(condition)) { \ 22 __FILE__, __LINE__, #condition); \
|
/external/toolchain-utils/cros_utils/ |
H A D | logger.py | 172 def LogFatalIf(self, condition, msg): 173 if condition: 176 def LogErrorIf(self, condition, msg): 177 if condition: 180 def LogWarningIf(self, condition, msg): 181 if condition: 309 def LogFatalIf(self, condition, msg): 310 if condition: 313 def LogErrorIf(self, condition, msg): 314 if condition [all...] |
/external/autotest/frontend/client/src/autotest/tko/ |
H A D | SpreadsheetView.java | 220 final JSONObject condition = getFullConditionArgs(); 222 contentSelect.addToCondition(condition); 233 spreadsheetProcessor.refresh(condition, new Command() { 235 condition.put("extra_info", null); 237 if (isJobFilteringCondition(condition)) { 238 showCompletionPercentage(condition); 255 String condition = TkoUtils.getSqlCondition(args); 256 if (!condition.equals("")) { 257 condition = "(" + condition 288 showCompletionPercentage(JSONObject condition) argument 334 isJobFilteringCondition(JSONObject condition) argument [all...] |
/external/autotest/client/site_tests/desktopui_CameraApp/ |
H A D | desktopui_CameraApp.py | 46 condition=lambda: extension.EvaluateJavaScript(js_is_capturing),
|
/external/clang/test/SemaCXX/ |
H A D | conversion.cpp | 267 #define test13(condition) if (condition) return; 269 #define CHECK13(condition) test13(identity13(!(condition)))
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | cintltst.h | 130 * NOTE: Use 'int condition' rather than 'UBool condition' so the 134 U_CFUNC UBool assertTrue(const char* msg, int condition);
|
/external/icu/icu4c/source/test/intltest/ |
H A D | apicoll.h | 27 void doAssert(UBool condition, const char *message);
|
/external/libcxx/src/ |
H A D | system_error.cpp | 49 error_category::equivalent(int code, const error_condition& condition) const _NOEXCEPT 51 return default_error_condition(code) == condition; 55 error_category::equivalent(const error_code& code, int condition) const _NOEXCEPT 57 return *this == code.category() && code.value() == condition;
|
/external/selinux/restorecond/ |
H A D | user.c | 112 GIOCondition condition, 120 if (condition & G_IO_IN) { 149 if (condition & G_IO_NVAL) 155 if (condition & G_IO_HUP) { 110 io_channel_callback(GIOChannel *source, GIOCondition condition, gpointer data __attribute__((__unused__))) argument
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/ |
H A D | GeneticAlgorithm.java | 101 * Evolve the given population. Evolution stops when the stopping condition 107 * @param condition the stopping condition used to stop evolution. 108 * @return the population that satisfies the stopping condition. 110 public Population evolve(Population initial, StoppingCondition condition) { argument 113 while (!condition.isSatisfied(current)) {
|
/external/autotest/cli/ |
H A D | compose_query | 3 Selects all rows and columns that satisfy the condition specified 17 parser.add_option('-c', '--condition', action='store', dest='condition') 20 if options.condition: 22 options.condition, frontend.test_view_field_dict)
|
/external/autotest/client/site_tests/desktopui_HangDetector/ |
H A D | desktopui_HangDetector.py | 63 condition=lambda: reader.can_find('Aborting browser process.'), 75 condition= lambda: utils.pid_is_alive(browser_pid),
|
/external/google-breakpad/src/testing/gtest/test/ |
H A D | gtest_environment_test.cc | 115 // Prints the message and aborts the program if condition is false. 116 void Check(bool condition, const char* msg) { argument 117 if (!condition) {
|
/external/google-breakpad/src/testing/include/gmock/internal/ |
H A D | gmock-internal-utils.h | 183 // implementation-defined when the above pre-condition is violated. 251 // implementation-defined when the above pre-condition is violated. 276 // Asserts that condition is true; aborts the process with the given 277 // message if condition is false. We cannot use LOG(FATAL) or CHECK() 281 inline void Assert(bool condition, const char* file, int line, 283 if (!condition) { 288 inline void Assert(bool condition, const char* file, int line) { 289 Assert(condition, file, line, "Assertion failed."); 292 // Verifies that condition is true; generates a non-fatal failure if 293 // condition i [all...] |
/external/googletest/googlemock/include/gmock/internal/ |
H A D | gmock-internal-utils.h | 183 // implementation-defined when the above pre-condition is violated. 251 // implementation-defined when the above pre-condition is violated. 276 // Asserts that condition is true; aborts the process with the given 277 // message if condition is false. We cannot use LOG(FATAL) or CHECK() 281 inline void Assert(bool condition, const char* file, int line, 283 if (!condition) { 288 inline void Assert(bool condition, const char* file, int line) { 289 Assert(condition, file, line, "Assertion failed."); 292 // Verifies that condition is true; generates a non-fatal failure if 293 // condition i [all...] |
/external/googletest/googletest/test/ |
H A D | gtest_environment_test.cc | 115 // Prints the message and aborts the program if condition is false. 116 void Check(bool condition, const char* msg) { argument 117 if (!condition) {
|
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | TestInputStream.java | 92 private static void throwIf(boolean condition) throws IOException { argument 93 if (condition) {
|
/external/llvm/lib/Support/ |
H A D | Error.cpp | 32 std::string message(int condition) const override { 33 switch (static_cast<ErrorErrorCode>(condition)) {
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_flow.h | 46 * the execution mask becomes zero or when there is an error condition. 168 LLVMValueRef condition; member in struct:lp_build_if_state 179 LLVMValueRef condition);
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_syncobj.c | 69 GLenum condition, GLbitfield flags) 74 assert(condition == GL_SYNC_GPU_COMMANDS_COMPLETE); 68 intel_fence_sync(struct gl_context *ctx, struct gl_sync_object *s, GLenum condition, GLbitfield flags) argument
|