Home
last modified time | relevance | path

Searched full:assertion (Results 1 – 25 of 649) sorted by relevance

12345678910>>...26

/OK3568_Linux_fs/kernel/include/kunit/
H A Dassert.h3 * Assertion and expectation serialization API.
19 * enum kunit_assert_type - Type of expectation/assertion.
20 * @KUNIT_ASSERTION: Used to denote that a kunit_assert represents an assertion.
24 * represents an expectation or an assertion.
32 * struct kunit_assert - Data for printing a failed assertion or expectation.
33 * @test: the test case this expectation/assertion is associated with.
34 * @type: the type (either an expectation or an assertion) of this kunit_assert.
35 * @line: the source code line number that the expectation/assertion is at.
36 * @file: the file path of the source file that the expectation/assertion is in.
40 * Represents a failed expectation/assertion. Contains all the data necessary to
[all …]
H A Dtest.h670 * @fmt: an informational message to be printed when the assertion is made.
1472 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1480 * this is otherwise known as an *assertion failure*.
1493 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1497 * Sets an assertion that the value that @condition evaluates to is false. This
1498 * is the same as KUNIT_EXPECT_FALSE(), except it causes an assertion failure
1499 * (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1512 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1517 * Sets an assertion that the values that @left and @right evaluate to are
1518 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/expression/
H A Dassertion.cpp1 #include <mbgl/style/expression/assertion.hpp>
10 Assertion::Assertion(type::Type type_, std::vector<std::unique_ptr<Expression>> inputs_) : in Assertion() function in mbgl::style::expression::Assertion
11 Expression(Kind::Assertion, type_), in Assertion()
17 ParseResult Assertion::parse(const Convertible& value, ParsingContext& ctx) { in parse()
43 return ParseResult(std::make_unique<Assertion>(it->second, std::move(parsed))); in parse()
46 std::string Assertion::getOperator() const { in getOperator()
50 EvaluationResult Assertion::evaluate(const EvaluationContext& params) const { in evaluate()
68 void Assertion::eachChild(const std::function<void(const Expression&)>& visit) const { in eachChild()
74 bool Assertion::operator==(const Expression& e) const { in operator ==()
75 if (e.getKind() == Kind::Assertion) { in operator ==()
[all …]
H A Dparsing_context.cpp10 #include <mbgl/style/expression/assertion.hpp>
48 expression.getKind() == Kind::Assertion || in isConstant()
104 {"boolean", Assertion::parse}, in getExpressionRegistry()
113 {"number", Assertion::parse}, in getExpressionRegistry()
114 {"object", Assertion::parse}, in getExpressionRegistry()
116 {"string", Assertion::parse}, in getExpressionRegistry()
170 parsed = { std::make_unique<Assertion>(*expected, array(std::move(*parsed))) }; in parse()
H A Ddsl.cpp4 #include <mbgl/style/expression/assertion.hpp>
57 return std::make_unique<Assertion>(type::Number, vec(std::move(value))); in number()
61 return std::make_unique<Assertion>(type::String, vec(std::move(value))); in string()
65 return std::make_unique<Assertion>(type::Boolean, vec(std::move(value))); in boolean()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/os_test/include/
H A Dtb_asserts.h19 EMSG("Assertion failed at line %d in file:\n%s\n", \
32 EMSG("Assertion failed at line %d in file:\n%s\n", \
44 EMSG("Assertion failed at line %d in file:\n%s\n", \
49 EMSG("Assertion failed at line %d in file:\n%s\n", \
56 EMSG("Assertion failed at line %d in file:\n%s\n", \
71 EMSG("Assertion failed %s != %s\n", (a), (b)); \
94 EMSG("Assertion failed, pointer was not null.\n"); \
105 EMSG("Assertion failed, pointers are not equal.\n"); \
116 EMSG("Assertion failed, pointers are equal.\n"); \
127 EMSG("Assertion failed, numbers are not equal.\n"); \
[all …]
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Dutil.h30 #define gfs2_assert(sdp, assertion) \ argument
32 if (unlikely(!(assertion))) { \
39 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion,
43 #define gfs2_assert_withdraw(sdp, assertion) \ argument
45 bool _bool = (assertion); \
47 gfs2_assert_withdraw_i((sdp), #assertion, \
52 #define gfs2_assert_withdraw_delayed(sdp, assertion) \ argument
54 bool _bool = (assertion); \
56 gfs2_assert_withdraw_i((sdp), #assertion, \
61 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion,
[all …]
H A Dutil.c40 fs_emerg(sdp, "fatal assertion failed\n"); in gfs2_assert_i()
366 * gfs2_assert_withdraw_i - Cause the machine to withdraw if @assertion is false
369 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_withdraw_i() argument
377 "fatal: assertion \"%s\" failed\n" in gfs2_assert_withdraw_i()
379 assertion, function, file, line); in gfs2_assert_withdraw_i()
396 * gfs2_assert_warn_i - Print a message to the console if @assertion is false
399 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_warn_i() argument
408 fs_warn(sdp, "warning: assertion \"%s\" failed at function = %s, file = %s, line = %u\n", in gfs2_assert_warn_i()
409 assertion, function, file, line); in gfs2_assert_warn_i()
417 panic("GFS2: fsid=%s: warning: assertion \"%s\" failed\n" in gfs2_assert_warn_i()
[all …]
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dgpmc-omap.h35 u32 cs_on; /* Assertion time */
40 u32 adv_on; /* Assertion time */
43 u32 adv_aad_mux_on; /* ADV assertion time for AAD */
48 u32 we_on; /* WE assertion time */
52 u32 oe_on; /* OE assertion time */
54 u32 oe_aad_mux_on; /* OE assertion time for AAD */
91 u32 t_aa; /* access time from ADV assertion */
93 u32 t_oe; /* access time from OE assertion */
100 u32 t_wpl; /* write assertion time */
120 u8 cyc_oe; /* access time from OE assertion in cycles */
/OK3568_Linux_fs/u-boot/board/d-link/dns325/
H A Dkwbimage.cfg130 # bit7-4: 2, 2 cycles from read command to assertion of M_ODT signal
131 # bit11-8: 5, 5 cycles from read command to de-assertion of M_ODT signal
132 # bit15-12: 5, 5 cycles from read command to assertion of internal ODT signal
133 # bit19-16: 8, 8 cycles from read command to de-assertion of internal ODT signal
137 # bit3-0: 2, 2 cycles from write comand to assertion of M_ODT signal
138 # bit7-4: 5, 5 cycles from write command to de-assertion of M_ODT signal
139 # bit15-12: 5, 5 cycles from write command to assertion of internal ODT signal
140 # bit19-16: 8, 8 cycles from write command to de-assertion of internal ODT signal
171 # bit1-0: 0, M_ODT[0] assertion is controlled by ODT Control Low register
172 # bit3-2: 0, M_ODT[1] assertion is controlled by ODT Control Low register
[all …]
/OK3568_Linux_fs/u-boot/board/buffalo/lsxl/
H A Dkwbimage-lschl.cfg141 # bit7-4: 2, 2 cycles from read command to assertion of M_ODT signal
142 # bit11-8: 5, 5 cycles from read command to de-assertion of M_ODT signal
143 # bit15-12: 5, 5 cycles from read command to assertion of internal ODT signal
144 # bit19-16: 8, 8 cycles from read command to de-assertion of internal ODT signal
149 # bit3-0: 2, 2 cycles from write comand to assertion of M_ODT signal
150 # bit7-4: 5, 5 cycles from write command to de-assertion of M_ODT signal
151 # bit15-12: 5, 5 cycles from write command to assertion of internal ODT signal
152 # bit19-16: 8, 8 cycles from write command to de-assertion of internal ODT signal
190 # bit1-0: 0, M_ODT[0] assertion is controlled by ODT Control Low register
191 # bit3-2: 0, M_ODT[1] assertion is controlled by ODT Control Low register
[all …]
H A Dkwbimage-lsxhl.cfg141 # bit7-4: 2, 2 cycles from read command to assertion of M_ODT signal
142 # bit11-8: 5, 5 cycles from read command to de-assertion of M_ODT signal
143 # bit15-12: 5, 5 cycles from read command to assertion of internal ODT signal
144 # bit19-16: 8, 8 cycles from read command to de-assertion of internal ODT signal
149 # bit3-0: 2, 2 cycles from write comand to assertion of M_ODT signal
150 # bit7-4: 5, 5 cycles from write command to de-assertion of M_ODT signal
151 # bit15-12: 5, 5 cycles from write command to assertion of internal ODT signal
152 # bit19-16: 8, 8 cycles from write command to de-assertion of internal ODT signal
190 # bit1-0: 0, M_ODT[0] assertion is controlled by ODT Control Low register
191 # bit3-2: 0, M_ODT[1] assertion is controlled by ODT Control Low register
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/
H A Dgpmc-nor.txt14 - gpmc,cs-on-ns: Chip-select assertion time
15 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads
16 - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes
17 - gpmc,oe-on-ns: Output-enable assertion time
18 - gpmc,oe-off-ns: Output-enable de-assertion time
19 - gpmc,we-on-ns Write-enable assertion time
20 - gpmc,we-off-ns: Write-enable de-assertion time
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/
H A Dgpmc-eth.txt29 - gpmc,cs-on-ns: Chip-select assertion time
30 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads
31 - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes
32 - gpmc,oe-on-ns: Output-enable assertion time
33 - gpmc,oe-off-ns: Output-enable de-assertion time
34 - gpmc,we-on-ns: Write-enable assertion time
35 - gpmc,we-off-ns: Write-enable de-assertion time
/OK3568_Linux_fs/u-boot/board/keymile/km_arm/
H A Dkwbimage-memphis.cfg135 # bit7-4 : 0010, M_ODT assertion 2 cycles after read
136 # bit11-8 : 0101, M_ODT de-assertion 5 cycles after read
137 # bit15-12: 0100, internal ODT assertion 4 cycles after read
138 # bit19-16: 1000, internal ODT de-assertion 8 cycles after read
142 # bit3-0 : 0001, M_ODT assertion same cycle as write
143 # bit7-4 : 0101, M_ODT de-assertion x cycles after write
144 # bit11-8 : 0100, internal ODT assertion x cycles after write
145 # bit15-12: 1000, internal ODT de-assertion x cycles after write
H A Dkwbimage_128M16_1.cfg196 # bit 7-4: 2, M_ODT assertion 2 cycles after read start command
197 # bit 11-8: 5, M_ODT de-assertion 5 cycles after read start command
201 # bit 19-16: 8, internal ODT de-assertion based on bit 11-8
206 # bit 3-0: 2, M_ODT assertion same as bit 11-8
207 # bit 7-4: 5, M_ODT de-assertion same as bit 15-12
208 # bit 11-8: 4, internal ODT assertion 2 cycles after write start command
210 # bit 15-12: 8, internal ODT de-assertion 5 cycles after write start command
H A Dkwbimage_256M8_1.cfg198 # bit 7-4: 2, M_ODT assertion 2 cycles after read start command
199 # bit 11-8: 5, M_ODT de-assertion 5 cycles after read start command
203 # bit 19-16: 8, internal ODT de-assertion based on bit 11-8
208 # bit 3-0: 2, M_ODT assertion same as bit 11-8
209 # bit 7-4: 5, M_ODT de-assertion same as bit 15-12
210 # bit 11-8: 4, internal ODT assertion 2 cycles after write start command
212 # bit 15-12: 8, internal ODT de-assertion 5 cycles after write start command
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/memory-controllers/
H A Domap-gpmc.txt58 - gpmc,cs-on-ns: Assertion time
63 - gpmc,adv-on-ns: Assertion time
66 - gpmc,adv-aad-mux-on-ns: Assertion time for AAD
71 - gpmc,we-on-ns Assertion time
75 - gpmc,oe-on-ns: Assertion time
77 - gpmc,oe-aad-mux-on-ns: Assertion time for AAD
H A Dmvebu-devbus.txt62 - devbus,rd-setup-ps: Defines the time delay between DEV_CSn assertion to
63 DEV_OEn assertion. If set to 0 (default),
72 de-assertion of DEV_CSn. If set to 0 (default),
75 This parameter has no affect on DEV_OEn de-assertion.
86 to the DEV_WEn assertion.
H A Darm,pl172.txt67 - mpmc,write-enable-delay: Delay from chip select assertion to write
70 - mpmc,output-enable-delay: Delay from chip select assertion to output
73 - mpmc,write-access-delay: Delay from chip select assertion to write
76 - mpmc,read-access-delay: Delay from chip select assertion to read
/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A Dbbc.h184 * the detection of FREEZE_ACK being asserted and the assertion of
191 * the assertion of the CLK_CHANGE_L[2:0] signals and the assertion of
198 * de-assertion of CLK_CHANGE_L[2:0] and the de-assertion of the FREEZE_L
204 * BBC clocks between the de-assertion of CLK_CHANGE_L[2:0] and the first
/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Ddz.h72 #define DZ_BRK0 0x0100 /* Break assertion for line 0 */
73 #define DZ_BRK1 0x0200 /* Break assertion for line 1 */
74 #define DZ_BRK2 0x0400 /* Break assertion for line 2 */
75 #define DZ_BRK3 0x0800 /* Break assertion for line 3 */
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/
H A Ddct_assert.h14 * This file defines the API for the assertion facility of the embedded lib.
51 * assertion failed. If no handler is registered, which is the
76 * @param file Filename where assertion occured.
77 * @param line Linenumber where assertion occured.
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/bus/
H A Dqcom,ebi2.txt98 with ADV assertion.
100 assertion, with respect to the cycle where ADV (address valid) is asserted.
104 assertion to OE assertion. Valid values 0 thru 15.
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/style/expression/
H A Dassertion.hpp14 class Assertion : public Expression { class
16 Assertion(type::Type type_, std::vector<std::unique_ptr<Expression>> inputs_);

12345678910>>...26