Home
last modified time | relevance | path

Searched full:negative (Results 1 – 25 of 6352) sorted by relevance

12345678910>>...255

/third_party/mindspore/mindspore/ops/composite/multitype_ops/
Dnegative_impl.py16 """Implementation for internal polymorphism `negative` operations."""
22 negative = base.MultitypeFuncGraph("negative", True) variable
24 `negative` is a metafuncgraph object which will give the negative of an object according to its inp…
29 @negative.register("Number")
32 Returns the negative value of scalar x.
35 Number, negative value of x.
40 @negative.register("Tensor")
43 Returns the negative value of tensor x by element-wise.
46 Tensor, negative value of x by element-wise.
/third_party/ltp/tools/sparse/sparse-src/validation/
Dshift-negative.c8 * check-name: shift-negative
12 shift-negative.c:1:48: warning: shift count is negative (-1)
13 shift-negative.c:2:48: warning: shift count is negative (-1)
14 shift-negative.c:4:59: warning: shift count is negative (-1)
15 shift-negative.c:5:59: warning: shift count is negative (-1)
Dshift-undef.c111 * check-name: shift too big or negative
118 shift-undef.c:6:19: warning: shift count is negative (-1)
119 shift-undef.c:7:19: warning: shift count is negative (-2)
120 shift-undef.c:8:19: warning: shift count is negative (-3)
124 shift-undef.c:24:29: warning: shift count is negative (-10)
125 shift-undef.c:25:29: warning: shift count is negative (-11)
126 shift-undef.c:26:29: warning: shift count is negative (-12)
130 shift-undef.c:35:16: warning: shift count is negative (-1)
131 shift-undef.c:36:16: warning: shift count is negative (-2)
132 shift-undef.c:37:16: warning: shift count is negative (-3)
[all …]
/third_party/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl07.c8 * negative key"). This is CVE-2017-12192.
28 * request_key() will result in the creation of a negative key provided in try_to_read_negative_key()
34 * instantiate random user keys). In either case a negative key should in try_to_read_negative_key()
35 * be created and we can continue on with the test. Negative keys last in try_to_read_negative_key()
48 /* Get the ID of the negative key by reading the keyring */ in try_to_read_negative_key()
59 * Now try to read the negative key. Unpatched kernels will oops trying in try_to_read_negative_key()
62 tst_res(TINFO, "trying to read from the negative key..."); in try_to_read_negative_key()
66 "KEYCTL_READ on negative key unexpectedly succeeded"); in try_to_read_negative_key()
70 "KEYCTL_READ on negative key failed with unexpected error"); in try_to_read_negative_key()
73 "KEYCTL_READ on negative key expectedly failed with ENOKEY"); in try_to_read_negative_key()
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_mpi.data25 Base test mpi_read_write_string #3 (Negative decimal)
28 Base test mpi_read_write_string #3 (Negative decimal, leading 0)
31 Base test mpi_read_write_string #3 (Negative hex -> decimal)
34 Base test mpi_read_write_string #3 (Negative hex)
37 Base test mpi_read_write_string #3 (Negative hex, leading 0)
76 Test mpi_write_string #10 (Negative hex with odd number of digits)
169 Base test mbedtls_mpi_cmp_int (Negative values) #1
172 Base test mbedtls_mpi_cmp_int (Negative values) #2
175 Base test mbedtls_mpi_cmp_int (Negative values) #3
187 Base test mbedtls_mpi_cmp_mpi (Negative values) #1
[all …]
/third_party/typescript/tests/baselines/reference/
DpropertiesAndIndexersForNumericNames.types14 public "-1": string = "negative number"; // Error
16 >"negative number" : "negative number"
18 public "-2.5": string = "negative number"; // Error
20 >"negative number" : "negative number"
34 public "-Infinity": string = "Negative-a-gillion"; // Error
36 >"Negative-a-gillion" : "Negative-a-gillion"
76 public "-NaN": string = "not a negative number"; // No error
78 >"not a negative number" : "not a negative number"
Dliterals-negative.symbols1 === tests/cases/compiler/literals-negative.ts ===
5 >n : Symbol(n, Decl(literals-negative.ts, 2, 3))
8 >s : Symbol(s, Decl(literals-negative.ts, 3, 3))
11 >b : Symbol(b, Decl(literals-negative.ts, 4, 3))
12 >n : Symbol(n, Decl(literals-negative.ts, 2, 3))
15 >isVoid : Symbol(isVoid, Decl(literals-negative.ts, 4, 21))
19 >isVoid : Symbol(isVoid, Decl(literals-negative.ts, 4, 21))
/third_party/boost/libs/math/test/
Dpow_test.cpp152 cout << "Testing with integral bases and negative small exponents" << endl; in BOOST_AUTO_TEST_CASE()
157 cout << "Testing with float precision bases and negative small exponents" << endl; in BOOST_AUTO_TEST_CASE()
162 cout << "Testing with float precision bases and negative big exponents" << endl; in BOOST_AUTO_TEST_CASE()
167 cout << "Testing with double precision bases and negative small exponents" << endl; in BOOST_AUTO_TEST_CASE()
172 cout << "Testing with double precision bases and negative big exponents" << endl; in BOOST_AUTO_TEST_CASE()
178 cout << "Testing with long double precision bases and negative small exponents" << endl; in BOOST_AUTO_TEST_CASE()
183 cout << "Testing with long double precision bases and negative big exponents" << endl; in BOOST_AUTO_TEST_CASE()
188 …cout << "Testing with concepts::real_concept precision bases and negative small exponents" << endl; in BOOST_AUTO_TEST_CASE()
193 … cout << "Testing with concepts::real_concept precision bases and negative big exponents" << endl; in BOOST_AUTO_TEST_CASE()
206 Testing with integral bases and negative small exponents
[all …]
/third_party/littlefs/
Dlfs.h70 // Possible error codes, these are negative to allow
162 // Read a region in a block. Negative error codes are propogated
168 // been erased. Negative error codes are propogated to the user.
174 // The state of an erased block is undefined. Negative error codes
179 // Sync the state of the underlying block device. Negative error codes
184 // Lock the underlying block device. Negative error codes
188 // Unlock the underlying block device. Negative error codes
431 // Returns a negative error code on failure.
442 // Returns a negative error code on failure.
448 // Returns a negative error code on failure.
[all …]
/third_party/boost/libs/date_time/test/
Dtestwrapping_int.cpp51 { // subtracting negative values in main()
53 check("subtract negative value to cause wrap", in main()
56 check("add negative value to cause wrap", in main()
86 // adding & subtracting negative values in main()
89 check("add negative value", (wi7.add(-2) == 0 && wi7 == 4)); in main()
90 check("add negative value", (wi8.add(-2) == 0 && wi8 == -2)); in main()
91 check("add negative value to cause single wrap", in main()
93 check("add negative value to cause single wrap", in main()
95 check("add negative value to cause multiple wrap", in main()
97 check("add negative value to cause multiple wrap", in main()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_validate.cpp127 // Read into the negative. in dng_validate()
129 AutoPtr<dng_negative> negative; in dng_validate() local
144 negative.Reset (host.Make_dng_negative ()); in dng_validate()
146 negative->Parse (host, stream, info); in dng_validate()
148 negative->PostParse (host, stream, info); in dng_validate()
154 negative->ReadStage1Image (host, stream, info); in dng_validate()
163 negative->ReadTransparencyMask (host, stream, info); in dng_validate()
167 negative->ValidateRawImageDigest (host); in dng_validate()
178 const dng_image &stage1 = *negative->Stage1Image (); in dng_validate()
194 negative->SynchronizeMetadata (); in dng_validate()
[all …]
Ddng_opcodes.h209 /// Is this opcode valid for the specified negative?
211 virtual bool IsValidForNegative (const dng_negative & /* negative */) const in IsValidForNegative()
222 /// specified negative. Returns true if this opcode should be applied to
223 /// the negative, false otherwise.
226 dng_negative &negative);
228 /// Apply this opcode to the specified image with associated negative.
231 dng_negative &negative,
257 dng_negative &negative,
337 /// \param negative The negative object to be processed.
358 virtual void Prepare (dng_negative & /* negative */, in Prepare()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DAdoptingModifierStore.java17 private final Modifier negative; field in AdoptingModifierStore
22 … * This constructor populates the ParameterizedModifier with a single positive and negative form.
27 …c AdoptingModifierStore(Modifier positive, Modifier posZero, Modifier negZero, Modifier negative) { in AdoptingModifierStore() argument
31 this.negative = negative; in AdoptingModifierStore()
37 … * This constructor prepares the ParameterizedModifier to be populated with a positive and negative
47 this.negative = null; in AdoptingModifierStore()
73 return negative; in getModifierWithoutPlural()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DAdoptingModifierStore.java19 private final Modifier negative; field in AdoptingModifierStore
24 … * This constructor populates the ParameterizedModifier with a single positive and negative form.
29 …c AdoptingModifierStore(Modifier positive, Modifier posZero, Modifier negZero, Modifier negative) { in AdoptingModifierStore() argument
33 this.negative = negative; in AdoptingModifierStore()
39 … * This constructor prepares the ParameterizedModifier to be populated with a positive and negative
49 this.negative = null; in AdoptingModifierStore()
75 return negative; in getModifierWithoutPlural()
/third_party/libnl/lib/route/link/
Dvxlan.c733 * @return 0 on success or a negative error code
755 * @return 0 on success or a negative error code
779 * @return 0 on success or a negative error code
810 * @return 0 on success or a negative error code
836 * @return 0 on success or a negative error code
855 * @return 0 on success or a negative error code
879 * @return 0 on success or a negative error code
910 * @return 0 on success or a negative error code
936 * @return 0 on success or a negative error code
954 * @return TTL value on success or a negative error code
[all …]
/third_party/mbedtls/include/mbedtls/
Dasn1write.h52 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
66 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
82 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
97 * It must be non-negative.
100 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
116 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
132 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
150 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
168 * \return A negative \c MBEDTLS_ERR_ASN1_XXX error code on failure.
182 * It must be non-negative.
[all …]
Dbignum.h43 /** The input arguments are negative or result in illegal output. */
191 int MBEDTLS_PRIVATE(s); /*!< Sign: -1 if the mpi is negative, 1 otherwise */
227 * \return Another negative error code on other kinds of failure.
244 * \return Another negative error code on other kinds of failure.
259 * \return Another negative error code on other kinds of failure.
293 * \return Another negative error code on other kinds of failure.
317 * \return Another negative error code on other kinds of failure.
330 * \return Another negative error code on other kinds of failure.
342 * \return A negative error code on failure.
359 * \return Another negative error code on other kinds of failure.
[all …]
/third_party/libdrm/amdgpu/
Damdgpu.h520 * <0 - Negative POSIX Error code
542 * <0 - Negative POSIX Error code
564 * <0 - Negative POSIX Error code
580 * <0 - Negative POSIX Error code
595 * <0 - Negative POSIX Error code
612 * <0 - Negative POSIX Error code
633 * <0 - Negative POSIX Error code
659 * <0 - Negative POSIX Error code
695 * <0 - Negative POSIX Error code
711 * <0 - Negative POSIX Error code
[all …]
/third_party/skia/include/core/
DSkRect.h46 may be negative.
57 Does not validate input; size.width() or size.height() may be negative.
68 negative.
93 Does not validate input; w or h may be negative.
152 result fits in 32-bit signed integer; result may be negative.
159 result fits in 32-bit signed integer; result may be negative.
166 or if result fits in 32-bit signed integer; result may be negative.
173 result may be negative. This is safer than calling width() since width() might
181 result may be negative. This is safer than calling height() since height() might
189 to or greater than fBottom. Call sort() to reverse rectangles with negative
[all …]
/third_party/ntfs-3g/include/ntfs-3g/
Dplugin.h42 * These functions should return a non-negative value when they
43 * succeed, or a negative errno value when they fail.
68 * The returned value is zero for success and a negative errno
79 * The returned value is zero for success or a negative errno
88 * or a negative errno value for failure.
102 * or a negative errno value for failure.
115 * The returned value is zero for success or a negative errno
123 * The returned value is zero for success or a negative errno
136 * The returned value is zero for success and a negative errno
148 * The returned value is zero for success and a negative errno
[all …]
/third_party/protobuf/src/google/protobuf/util/
Dtime_util.cc134 // any of the operands is negative. Here we try to enforce C++11's "rounded in RoundTowardZero()
207 bool negative = (value[0] == '-'); in FromString() local
208 int sign_length = (negative ? 1 : 0); in FromString()
230 if (negative) { in FromString()
231 // If a Duration is negative, both seconds and nanos should be negative. in FromString()
382 void ToUint128(const Duration& value, uint128* result, bool* negative) { in ToUint128() argument
384 *negative = true; in ToUint128()
388 *negative = false; in ToUint128()
394 void ToDuration(const uint128& value, bool negative, Duration* duration) { in ToDuration() argument
398 if (negative) { in ToDuration()
[all …]
/third_party/flutter/skia/include/core/
DSkRect.h45 may be negative.
56 Does not validate input; size.width() or size.height() may be negative.
80 Does not validate input; w or h may be negative.
139 result fits in 32-bit signed integer; result may be negative.
146 result fits in 32-bit signed integer; result may be negative.
153 or if result fits in 32-bit signed integer; result may be negative.
160 result may be negative. This is safer than calling width() since width() might
168 result may be negative. This is safer than calling height() since height() might
176 to or greater than fBottom. Call sort() to reverse rectangles with negative
179 @return true if width64() or height64() are zero or negative
[all …]
/third_party/node/deps/nghttp2/lib/
Dnghttp2_session.h295 WINDOW_UPDATE. This could be negative after submitting negative
302 /* The amount of recv_window_size cut using submitting negative
382 * negative error codes:
402 * negative error codes:
419 * negative error codes:
438 * negative error codes:
456 * negative error codes:
469 * negative error codes:
517 * negative error codes:
534 * negative error codes:
[all …]
/third_party/nghttp2/lib/
Dnghttp2_session.h295 WINDOW_UPDATE. This could be negative after submitting negative
302 /* The amount of recv_window_size cut using submitting negative
382 * negative error codes:
402 * negative error codes:
419 * negative error codes:
438 * negative error codes:
456 * negative error codes:
469 * negative error codes:
517 * negative error codes:
534 * negative error codes:
[all …]
/third_party/musl/libc-test/src/functional/
Dstrtol.c45 TEST(ul, strtoul(s="-1", &c, 0), -1UL, "rejected negative %lu != %lu"); in main()
48 TEST(ul, strtoul(s="-2", &c, 0), -2UL, "rejected negative %lu != %lu"); in main()
51 TEST(ul, strtoul(s="-2147483648", &c, 0), -2147483648UL, "rejected negative %lu != %lu"); in main()
54 TEST(ul, strtoul(s="-2147483649", &c, 0), -2147483649UL, "rejected negative %lu != %lu"); in main()
57 TEST(ul, strtoul(s="-4294967296", &c, 0), 4294967295UL, "uncaught negative overflow %lu != %lu"); in main()
70 TEST(ul, strtoul(s="-1", &c, 0), -1UL, "rejected negative %lu != %lu"); in main()
73 TEST(ul, strtoul(s="-2", &c, 0), -2UL, "rejected negative %lu != %lu"); in main()
76 …TEST(ul, strtoul(s="-9223372036854775808", &c, 0), -9223372036854775808UL, "rejected negative %lu … in main()
79 …TEST(ul, strtoul(s="-9223372036854775809", &c, 0), -9223372036854775809UL, "rejected negative %lu … in main()
82 …TEST(ul, strtoul(s="-18446744073709551616", &c, 0), 18446744073709551615UL, "uncaught negative ove… in main()
[all …]

12345678910>>...255