Home
last modified time | relevance | path

Searched +full:- +full:- +full:fail +full:- +full:at +full:- +full:end (Results 1 – 25 of 1127) sorted by relevance

12345678910>>...46

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java5 * Copyright (C) 2007-2011, International Business Machines Corporation and *
54 SimpleTimeZone stz = new SimpleTimeZone(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone()
55 Calendar.SEPTEMBER, -30, -Calendar.SATURDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone()
66 -1*HOUR, // Raw offset in TestSimpleRuleBasedTimeZone()
72 1*HOUR, DateTimeRule.WALL_TIME); // SUN<=30 in September, at 1AM wall time in TestSimpleRuleBasedTimeZone()
74 -1*HOUR /* rawOffset */, 1*HOUR /* dstSavings */, dtr, in TestSimpleRuleBasedTimeZone()
78 1*HOUR, DateTimeRule.WALL_TIME); // 2nd Sunday in February, at 1AM wall time in TestSimpleRuleBasedTimeZone()
80 -1*HOUR /* rawOffset */, 0 /* dstSavings */, dtr, in TestSimpleRuleBasedTimeZone()
86 dtr = new DateTimeRule(Calendar.SEPTEMBER, -1, Calendar.SATURDAY, in TestSimpleRuleBasedTimeZone()
87 1*HOUR, DateTimeRule.WALL_TIME); // Last Sunday in September at 1AM wall time in TestSimpleRuleBasedTimeZone()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java6 * Copyright (C) 2007-2011, International Business Machines Corporation and *
57 SimpleTimeZone stz = new SimpleTimeZone(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone()
58 Calendar.SEPTEMBER, -30, -Calendar.SATURDAY, 1*HOUR, SimpleTimeZone.WALL_TIME, in TestSimpleRuleBasedTimeZone()
69 -1*HOUR, // Raw offset in TestSimpleRuleBasedTimeZone()
75 1*HOUR, DateTimeRule.WALL_TIME); // SUN<=30 in September, at 1AM wall time in TestSimpleRuleBasedTimeZone()
77 -1*HOUR /* rawOffset */, 1*HOUR /* dstSavings */, dtr, in TestSimpleRuleBasedTimeZone()
81 1*HOUR, DateTimeRule.WALL_TIME); // 2nd Sunday in February, at 1AM wall time in TestSimpleRuleBasedTimeZone()
83 -1*HOUR /* rawOffset */, 0 /* dstSavings */, dtr, in TestSimpleRuleBasedTimeZone()
89 dtr = new DateTimeRule(Calendar.SEPTEMBER, -1, Calendar.SATURDAY, in TestSimpleRuleBasedTimeZone()
90 1*HOUR, DateTimeRule.WALL_TIME); // Last Sunday in September at 1AM wall time in TestSimpleRuleBasedTimeZone()
[all …]
/external/deqp/modules/gles31/functional/
Des31fInfoLogQueryShared.cpp1 /*-------------------------------------------------------------------------
3 * -------------------------------------------------
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
22 *//*--------------------------------------------------------------------*/
54 if (logLen > 0 && buf[logLen-1] != '\0') in verifyInfoLogQuery()
55 result.fail("Return buffer was not INFO_LOG_LENGTH sized and null-terminated"); in verifyInfoLogQuery()
57 result.fail("Buffer end guard modified, query wrote over the end of the buffer."); in verifyInfoLogQuery()
63 int written = -1; in verifyInfoLogQuery()
69 if (written == -1) in verifyInfoLogQuery()
[all …]
/external/python/cpython3/Modules/
Dbinascii.c2 ** Routines to represent binary data in ASCII and vice-versa
11 ** ASCII encoding method is "excess-space": 000000 is encoded as ' ', etc.
12 ** short binary data is zero-extended (so the bits are always in the
15 ** Line breaks are insignificant, but lines are at most 76 chars
23 ** Each part is protected (at the end) with a 16-bit crc
24 ** The binary data is run-length encoded, and then ascii-fied:
27 ** ASCII encoding is table-driven, see the code.
28 ** Short binary data results in the runt ascii-byte being output with
32 ** here (documentation? hihi:-) I have formulated Jansen's Observation:
38 ** using seemingly-descriptive variable names for different purposes,
[all …]
/external/cronet/third_party/icu/source/test/intltest/
Dtzrulets.cpp5 * Copyright (C) 2007-2016, International Business Machines Corporation and
33 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)"…
53 UDate start, UDate end,
87 len = tzenum->count(status); in TestZIDEnumeration()
103 return tzenum->snext(status); in snext()
114 tzenum->reset(status); in reset()
155 SimpleTimeZone stz(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone()
156 UCAL_SEPTEMBER, -30, -UCAL_SATURDAY, 1*HOUR, SimpleTimeZone::WALL_TIME, in TestSimpleRuleBasedTimeZone()
160 errln("FAIL: Couldn't create SimpleTimezone."); in TestSimpleRuleBasedTimeZone()
169 -1*HOUR, // Raw offset in TestSimpleRuleBasedTimeZone()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp5 * Copyright (C) 2007-2016, International Business Machines Corporation and
33 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)"…
53 UDate start, UDate end,
87 len = tzenum->count(status); in TestZIDEnumeration()
103 return tzenum->snext(status); in snext()
114 tzenum->reset(status); in reset()
155 SimpleTimeZone stz(-1*HOUR, "TestSTZ", in TestSimpleRuleBasedTimeZone()
156 UCAL_SEPTEMBER, -30, -UCAL_SATURDAY, 1*HOUR, SimpleTimeZone::WALL_TIME, in TestSimpleRuleBasedTimeZone()
160 errln("FAIL: Couldn't create SimpleTimezone."); in TestSimpleRuleBasedTimeZone()
169 -1*HOUR, // Raw offset in TestSimpleRuleBasedTimeZone()
[all …]
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DFlexBuffers.kt6 * You may obtain a copy of the License at in <lambda>()
8 * http://www.apache.org/licenses/LICENSE-2.0 in <lambda>()
29 var end: Int = buffer.limit in <lambda>() variable
30 val byteWidth = buffer[--end].toInt() in <lambda>()
31 val packetType = buffer[--end].toInt() in <lambda>()
32 end -= byteWidth // The root data item. in <lambda>()
33 return Reference(buffer, end, ByteWidth(byteWidth), packetType) in <lambda>()
43 internal val end: Int, constant in com.google.flatbuffers.kotlin.Reference
49 internal constructor(bb: ReadBuffer, end: Int, parentWidth: ByteWidth, packedType: Int) :
50 …this(bb, end, parentWidth, ByteWidth(1 shl (packedType and 3)), FlexBufferType((packedType shr 2)))
[all …]
/external/junit/src/main/java/org/junit/rules/
DErrorCollector.java18 * table, and report them all at once):
30 * // all lines will run, and then a combined failure logged at the end.
46 * Adds a Throwable to the table. Execution continues, but the test will fail at the end.
52 // BEGIN Android-changed: Don't convert assumption failures to errors. b/181123057 in addError()
53 // Submitted upstream: https://github.com/junit-team/junit4/issues/1703 in addError()
63 // END Android-changed: Don't convert assumption failures to errors. b/181123057 in addError()
69 * Execution continues, but the test will fail at the end if the match fails.
78 * Execution continues, but the test will fail at the end if the match fails.
91 * Execution continues, but the test will fail at the end if
111 * Execution continues, but the test will fail at the end if the runnable
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractIteratorTest.java6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
39 // second, then signals that it's reached the end of the data in testDefaultBehaviorOfNextAndHasNext()
54 fail("Should not have been invoked again"); in testDefaultBehaviorOfNextAndHasNext()
76 fail("no exception thrown"); in testDefaultBehaviorOfNextAndHasNext()
84 * second, then signals that it's reached the end of the data in testDefaultBehaviorOfPeek()
100 fail("Should not have been invoked again"); in testDefaultBehaviorOfPeek()
117 fail("peek() should throw NoSuchElementException at end"); in testDefaultBehaviorOfPeek()
123 fail("peek() should continue to throw NoSuchElementException at end"); in testDefaultBehaviorOfPeek()
129 fail("next() should throw NoSuchElementException as usual"); in testDefaultBehaviorOfPeek()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DAbstractIteratorTest.java6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
39 // second, then signals that it's reached the end of the data in testDefaultBehaviorOfNextAndHasNext()
54 fail("Should not have been invoked again"); in testDefaultBehaviorOfNextAndHasNext()
76 fail("no exception thrown"); in testDefaultBehaviorOfNextAndHasNext()
84 * second, then signals that it's reached the end of the data in testDefaultBehaviorOfPeek()
100 fail("Should not have been invoked again"); in testDefaultBehaviorOfPeek()
117 fail("peek() should throw NoSuchElementException at end"); in testDefaultBehaviorOfPeek()
123 fail("peek() should continue to throw NoSuchElementException at end"); in testDefaultBehaviorOfPeek()
129 fail("next() should throw NoSuchElementException as usual"); in testDefaultBehaviorOfPeek()
[all …]
/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/
DVelocimacroTestCase.java10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
40 …emplate1 = "#macro(foo $a)$a#end #macro(bar $b)#foo($b)#end #foreach($i in [1..3])#if($i == 3)#foo…
42 private String template2 = "#macro(bar $a)#set($a = $a + 1)$a#bar($a)#end#bar(0)";
43 …ing template3 = "#macro(baz $a)#set($a = $a + 1)$a#inner($a)#end#macro(inner $b)#baz($b)#end#baz(0…
44 …"#macro(bad $a)#set($a = $a + 1)$a#inside($a)#end#macro(inside $b)#loop($b)#end#macro(loop $c)#bad…
86 fail("output incorrect."); in testVelociMacro()
102 fail("Did not exceed max macro call depth as expected"); in testVelociMacroCallMax()
107 … " with Call Stack:bar->bar->bar->bar->bar at vm_chain2[line 1, column 15]", in testVelociMacroCallMax()
114 fail("Did not exceed max macro call depth as expected"); in testVelociMacroCallMax()
[all …]
DIfEmptyTestCase.java10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
43 assertEvalEquals("", "#if( $obj )fail#end"); in assertEmpty()
49 assertEvalEquals("", "#if( !$obj )fail#end"); in assertNotEmpty()
105 assertEvalEquals("", "#if( 0 )fail#end"); in testLiterals()
106 assertEvalEquals("", "#if( 0.0 )fail#end"); in testLiterals()
107 assertEvalEquals("", "#if( '' )fail#end"); in testLiterals()
108 assertEvalEquals("", "#if( \"\" )fail#end"); in testLiterals()
109 assertEvalEquals("", "#if( [] )fail#end"); in testLiterals()
110 assertEvalEquals("", "#if( {} )fail#end"); in testLiterals()
[all …]
/external/python/cpython2/Lib/test/
Dtest_xrange.py1 # Python test set -- built-in functions
14 if (start - stop) // step < 0:
17 stop += (start - stop) % step
23 stop += (start - stop) % step
24 return pyrange(stop - step, start - step, -step)
40 self.fail('{}: iterator ended unexpectedly '
41 'at position {}; expected {}'.format(test_id, i, y))
43 self.fail('{}: unexpected excess element {} at '
46 self.fail('{}: wrong element at position {};'
55 self.fail('{} and {} have different '
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
Dassertions.xml4 the process at an address pa for len bytes to the memory object represented
5 by the file descriptor fildes at offset off for len bytes.
25 The prot shall be either PROT_NONE or the bitwise-
37 has been set. The implementation shall support at least the following values of prot:
38 PROT_NONE, PROT_READ, PROT_WRITE, and the bitwise-inclusive OR of PROT_READ and
47 It is implementation-defined whether MAP_FIXED shall be supported. MAP_FIXED shall be
48 supported on XSI-conformant systems.
74 When MAP_FIXED is not set, the implementation uses addr in an implementation-defined
75 manner to arrive at pa. The pa so chosen shall be an area of the address space that the
78 subject to constraints described below. A non-zero value of addr is taken to be a suggestion of a
[all …]
/external/wpa_supplicant_8/src/common/
Ddpp_backup.c3 * Copyright (c) 2019-2020, The Linux Foundation
23 struct dpp_asymmetric_key *next = key->next; in dpp_free_asymmetric_key()
25 crypto_ec_key_deinit(key->csign); in dpp_free_asymmetric_key()
26 crypto_ec_key_deinit(key->pp_key); in dpp_free_asymmetric_key()
27 str_clear_free(key->config_template); in dpp_free_asymmetric_key()
28 str_clear_free(key->connector_template); in dpp_free_asymmetric_key()
40 …const char *conf_template = "{\"wi-fi_tech\":\"infra\",\"discovery\":{\"ssid\":\"test\"},\"cred\":… in dpp_build_conf_params()
43 if (!conf->pp_key) in dpp_build_conf_params()
46 priv_key = crypto_ec_key_get_ecprivate_key(conf->pp_key, false); in dpp_build_conf_params()
57 goto fail; in dpp_build_conf_params()
[all …]
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/draft/
DidnaContextRules.txt3 # Provides a table-based mechanism for determining whether a label is a U-Label or not.
9 # If any of the following regex expressions is found in the label, then the label is not a valid U-
10 # These rules provide a machine-readable way to test that. This is intended for a reference (test) …
11 # implementations would typically use hand-coded versions that would be much more optimized.
12 …e context rules are derived from http://tools.ietf.org/html/draft-ietf-idnabis-tables-05#appendix-A
17 # Everything at and after # is a comment, and ignored.
27 # <before>; <at>; <result>
30 # <before> and <at> are both regex expressions
31 # <result> is either "fail" or "next"
39 # If <before> and <at> both match, then the result is applied as follows:
[all …]
/external/tcpdump/
Dnetdissect.c2 * Copyright (c) 1988-1997
5 * Copyright (c) 1998-2012 Michael Richardson <mcr@tcpdump.org>
29 #include "netdissect-stdinc.h"
43 * This should be called at the beginning of the program; it does
63 return (-1); in nd_init()
69 * XXX - should we just fail if this fails? Some of the in nd_init()
70 * libsmi calls may fail. in nd_init()
77 * "unused argument" warnings at compile time. in nd_init()
128 return (-1); in nd_load_smi_module()
135 return (-1); in nd_load_smi_module()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate_shaders.c30 * general-purpose DMA mode) or reading system memory it shouldn't
49 /* IP at the end of the BO, do not read shader[max_ip] */
69 * Used for validation that the uniform stream is updated at the right
90 * - only write the lower half of the register space
91 * - last thread switch signaled at the end
106 return 64 + waddr - QPU_W_ACC0; in waddr_to_live_reg_index()
155 uint32_t s = validated_shader->num_texture_samples; in record_texture_sample()
159 temp_samples = krealloc(validated_shader->texture_samples, in record_texture_sample()
166 &validation_state->tmu_setup[tmu], in record_texture_sample()
169 validated_shader->num_texture_samples = s + 1; in record_texture_sample()
[all …]
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTimeTest.java7 * the License. You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
34 static long TIME_TEST3 = -38720000; // 13:14:40 GMT
46 static String STRING_INVALID3 = "21-43-48";
65 static String TZ_PACIFIC = "America/Los_Angeles"; // GMT - 8
80 } // end method testTimeintintint() in testTimeintintint()
87 } // end method testTime() in testTime()
93 } // end for in testToString()
95 } // end method test in testToString()
108 } // end for in testToString()
[all …]
DDateTest.java7 * the License. You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
42 static long TIME_NEGATIVE = -3600001;
56 static String SQL_DATESTRING1 = "1999-12-31";
58 static String SQL_DATESTRING2 = "2010-06-10";
60 static String SQL_DATESTRING3 = "1931-04-21";
62 static String SQL_EPOCHSTRING = "1970-01-01";
64 static String SQL_DATEDAY1 = "1970-01-02";
66 static String SQL_NEGATIVE = "1969-12-31";
75 // Date string array for New York - sometimes a day earlier than London
[all …]
/external/python/cpython2/Modules/
Dbinascii.c2 ** Routines to represent binary data in ASCII and vice-versa
11 ** ASCII encoding method is "excess-space": 000000 is encoded as ' ', etc.
12 ** short binary data is zero-extended (so the bits are always in the
15 ** Line breaks are insignificant, but lines are at most 76 chars
23 ** Each part is protected (at the end) with a 16-bit crc
24 ** The binary data is run-length encoded, and then ascii-fied:
27 ** ASCII encoding is table-driven, see the code.
28 ** Short binary data results in the runt ascii-byte being output with
32 ** here (documentation? hihi:-) I have formulated Jansen's Observation:
38 ** using seemingly-descriptive variable names for different purposes,
[all …]
/external/mesa3d/src/amd/compiler/tests/
Dcheck_output.py50 insert_code(f'success = {name}0 + {size - 1} == {name}{size - 1}')
52 return f'{prefix}[#{name}0:#{name}{size - 1}]'
79 indent_amount = len(first_line) - len(first_line.lstrip())
143 return self.data.split('\n')[num - 1].rstrip()
171 def format_error_lines(at, line_num, column_num, ctx, line): argument
172 pred = '%s line %d, column %d of %s: "' % (at, line_num, column_num, ctx)
174 '-' * (column_num - 1 + len(pred)) + '^']
191 def fail(self, msg): member in MatchResult
198 res = format_error_lines('at', pat_pos.line, pat_pos.column, 'pattern', pat_line)
222 fail = False
[all …]
/external/bazel-skylib/docs/
Dunittest_doc.md1 <!-- Generated with Stardoc: http://skydoc.bazel.build -->
15-name">name</a>, <a href="#unittest_toolchain-escape_chars_with">escape_chars_with</a>, <a href="#…
16 …<a href="#unittest_toolchain-join_on">join_on</a>, <a href="#unittest_toolchain-success_templ">suc…
25 | :------------- | :------------- | :------------- | :------------- | :------------- |
26 | <a id="unittest_toolchain-name"></a>name | A unique name for this target. | <a href="https://b…
27-escape_chars_with"></a>escape_chars_with | Dictionary of characters that need escaping in test f…
28 | <a id="unittest_toolchain-escape_other_chars_with"></a>escape_other_chars_with | String to prefi…
29-failure_templ"></a>failure_templ | Test script template with a single <code>%s</code>. That plac…
30 | <a id="unittest_toolchain-file_ext"></a>file_ext | File extension for test script, including lea…
31 | <a id="unittest_toolchain-join_on"></a>join_on | String used to join the lines in the failure me…
[all …]
/external/bazel-skylib/tests/
Danalysis_test_test.sh7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
17 # End to end tests for analysis_test.bzl.
19 # End to end tests of analysis_test.bzl cover verification that
20 # analysis_test tests fail when their underlying test targets fail analysis.
22 # --- begin runfiles.bash initialization ---
23 set -euo pipefail
24 if [[ ! -d "${RUNFILES_DIR:-/dev/null}" && ! -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then
25 if [[ -f "$0.runfiles_manifest" ]]; then
27 elif [[ -f "$0.runfiles/MANIFEST" ]]; then
[all …]
/external/elfutils/libdwfl/
Dgzip.c9 Software Foundation; either version 3 of the License, or (at
15 Software Foundation; either version 2 of the License, or (at
93 size_t more = state->size ? state->size * 2 : start; in bigger_buffer()
94 char *b = realloc (state->buffer, more); in bigger_buffer()
95 while (unlikely (b == NULL) && more >= state->size + 1024) in bigger_buffer()
96 b = realloc (state->buffer, more -= 1024); in bigger_buffer()
99 state->buffer = b; in bigger_buffer()
100 state->size = more; in bigger_buffer()
105 smaller_buffer (struct unzip_state *state, size_t end) in smaller_buffer() argument
107 state->buffer = in smaller_buffer()
[all …]

12345678910>>...46