Home
last modified time | relevance | path

Searched refs:one (Results 1 - 25 of 2382) sorted by relevance

12345678910>>...96

/third_party/musl/libc-test/src/functionalext/supplement/string/
H A Dmemmove.c19 char one[50]; variable
29 memset(one, 0, sizeof(one)); in memmove_0100()
31 strcpy(one, "abcdefgh"); in memmove_0100()
32 memmove(one, one, 9); in memmove_0100()
33 if (strcmp(one, "abcdefgh")) { in memmove_0100()
45 memset(one, 0, sizeof(one)); in memmove_0200()
48 strcpy(one, "helloWorl in memmove_0200()
[all...]
/third_party/protobuf/src/google/protobuf/stubs/
H A Dint128_unittest.cc47 uint128 one(1); in TEST()
57 EXPECT_LT(one, two); in TEST()
58 EXPECT_GT(two, one); in TEST()
59 EXPECT_LT(one, big); in TEST()
60 EXPECT_LT(one, big); in TEST()
61 EXPECT_EQ(one, one_2arg); in TEST()
62 EXPECT_NE(one, two); in TEST()
63 EXPECT_GT(big, one); in TEST()
75 EXPECT_EQ(one, one | on in TEST()
438 constexpr uint128 one = 1; TEST() local
[all...]
/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/
H A Dhcodec_list_unit_test.cpp64 for (const int32_t& one : obj) { in GetPrintInfo()
66 (void)sprintf_s(tmp, sizeof(tmp), "%d,", one); in GetPrintInfo()
111 for (const CapabilityData& one : capData) { in HWTEST_F()
119 one.codecName.c_str(), one.codecType, one.mimeType.c_str(), one.isVendor, one.maxInstance, in HWTEST_F()
120 GetPrintInfo(one.bitrate).c_str(), GetPrintInfo(one in HWTEST_F()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DreadonlyPropertySubtypeRelationDirected.js3 //// [one.ts]
7 const one: { readonly a: string } = { a: 'one' };
10 // when `one` comes first in the conditional check, the return type of `doSomething` is inferred as `a` is readonly, but `a` is
11 // only treated as readonly (i.e. it will produce a diagnostic if you try to assign to it) based on the order of declarations of `one` and `two` above
12 const three = (condition) ? one : two;
16 // the inferred (displayed?) type of `a` also depends on the order of the condition above. When `one` comes first, the displayed type is `any`
26 const one: { readonly a: string } = { a: 'one' };
30 // based on the declaration order of `one` an
[all...]
H A DassignmentCompatability40.js3 export interface interfaceWithPublicAndOptional<T,U> { one: T; two?: U; }; var obj4: interfaceWithPublicAndOptional<number,string> = { one: 1 };;
7 export class classWithPrivate<T> { constructor(private one: T) {} } var x5 = new classWithPrivate(1);;
16 var obj4 = { one: 1 };
23 function classWithPrivate(one) {
24 this.one = one;
H A DassignmentCompatability8.js3 export interface interfaceWithPublicAndOptional<T,U> { one: T; two?: U; }; var obj4: interfaceWithPublicAndOptional<number,string> = { one: 1 };;
7 export class classWithPublic<T> { constructor(public one: T) {} } var x1 = new classWithPublic(1);;
16 var obj4 = { one: 1 };
23 function classWithPublic(one) {
24 this.one = one;
H A DassignmentCompatability9.js3 export interface interfaceWithPublicAndOptional<T,U> { one: T; two?: U; }; var obj4: interfaceWithPublicAndOptional<number,string> = { one: 1 };;
7 export class classWithOptional<T> { constructor(public one?: T) {} } var x3 = new classWithOptional<number>();;
16 var obj4 = { one: 1 };
23 function classWithOptional(one) {
24 this.one = one;
/kernel/linux/linux-5.10/lib/
H A Datomic64_test.c95 i, (i) + one, (i) + one); \
101 i, (i) - one, (i) - one); \
109 int one = 1; in test_atomic() local
115 TEST(, add, +=, -one); in test_atomic()
117 TEST(, sub, -=, -one); in test_atomic()
124 RETURN_FAMILY_TEST(, add_return, +=, -one); in test_atomic()
126 RETURN_FAMILY_TEST(, sub_return, -=, -one); in test_atomic()
129 FETCH_FAMILY_TEST(, fetch_add, +=, -one); in test_atomic()
154 long long one = 1LL; test_atomic64() local
[all...]
/kernel/linux/linux-6.6/lib/
H A Datomic64_test.c95 i, (i) + one, (i) + one); \
101 i, (i) - one, (i) - one); \
109 int one = 1; in test_atomic() local
115 TEST(, add, +=, -one); in test_atomic()
117 TEST(, sub, -=, -one); in test_atomic()
124 RETURN_FAMILY_TEST(, add_return, +=, -one); in test_atomic()
126 RETURN_FAMILY_TEST(, sub_return, -=, -one); in test_atomic()
129 FETCH_FAMILY_TEST(, fetch_add, +=, -one); in test_atomic()
154 long long one = 1LL; test_atomic64() local
[all...]
/third_party/skia/docs/examples/
H A DPath_equal_operator.cpp8 SkDebugf("%s one %c= two\n", prefix, a == b ? '=' : '!'); in REG_FIDDLE()
10 SkPath one; in REG_FIDDLE() local
12 debugster("empty", one, two); in REG_FIDDLE()
13 one.moveTo(0, 0); in REG_FIDDLE()
14 debugster("moveTo", one, two); in REG_FIDDLE()
15 one.rewind(); in REG_FIDDLE()
16 debugster("rewind", one, two); in REG_FIDDLE()
17 one.moveTo(0, 0); in REG_FIDDLE()
18 one.reset(); in REG_FIDDLE()
19 debugster("reset", one, tw in REG_FIDDLE()
[all...]
H A Dpathops.cpp11 SkColor blend(SkColor one, SkColor two) { in REG_FIDDLE() argument
15 canvas.drawColor(one); in REG_FIDDLE()
40 SkPath one, two; in REG_FIDDLE() local
48 one.reset(); in REG_FIDDLE()
49 one.setFillType(oneF); in REG_FIDDLE()
51 one.moveTo(10, 10); in REG_FIDDLE()
52 one.conicTo(0, 90, 50, 50, 3); in REG_FIDDLE()
53 one.conicTo(90, 0, 90, 90, 2); in REG_FIDDLE()
54 one.close(); in REG_FIDDLE()
62 canvas->drawPath(one, fOnePain in REG_FIDDLE()
[all...]
/third_party/skia/src/pathops/
H A DSkIntersections.cpp34 int SkIntersections::insert(double one, double two, const SkDPoint& pt) { in insert() argument
35 if (fIsCoincident[0] == 3 && between(fT[0][0], one, fT[0][1])) { in insert()
44 if (one == oldOne && two == oldTwo) { in insert()
47 if (more_roughly_equal(oldOne, one) && more_roughly_equal(oldTwo, two)) { in insert()
48 if ((!precisely_zero(one) || precisely_zero(oldOne)) in insert()
49 && (!precisely_equal(one, 1) || precisely_equal(oldOne, 1)) in insert()
54 SkASSERT(one >= 0 && one <= 1); in insert()
69 SkDebugf("%s t=%1.9g pts roughly equal\n", __FUNCTION__, one); in insert()
74 if (fT[0][index] > one) { in insert()
107 insertNear(double one, double two, const SkDPoint& pt1, const SkDPoint& pt2) insertNear() argument
116 insertCoincident(double one, double two, const SkDPoint& pt) insertCoincident() argument
[all...]
/third_party/python/Lib/test/test_importlib/
H A Dtest_namespace_pkgs.py75 import foo.one namespace
76 self.assertEqual(foo.one.attr, 'portion1 foo one')
83 import foo.one namespace
94 # Make sure only 'foo.one' can be imported
95 import foo.one namespace
96 self.assertEqual(foo.one.attr, 'portion1 foo one')
113 import foo.one namespace
115 self.assertEqual(foo.one
123 import foo.one global() namespace
138 import foo.one global() namespace
167 import foo.one global() namespace
174 import foo.one global() namespace
181 import foo.one global() namespace
190 import foo.one global() namespace
202 import foo.one global() namespace
214 import foo.one global() namespace
226 import foo.one global() namespace
239 import foo.one global() namespace
250 import parent.child.one global() namespace
267 import parent.child.one global() namespace
308 import foo.one global() namespace
330 import foo.one global() namespace
343 import foo.one global() namespace
[all...]
/third_party/skia/gm/
H A Darithmode.cpp93 constexpr SkScalar one = SK_Scalar1; variable
96 0, 0, 0, one,
97 0, one, 0, 0,
98 0, 0, one, 0,
99 0, one, one, 0,
100 0, one, -one, 0,
101 0, one/2, one/
[all...]
/third_party/jerryscript/jerry-libm/
H A Dtanh.c41 * 2. 0 <= x <= 2**-55 : tanh(x) := x * (one + x)
57 #define one 1.0 macro
77 return one / x + one; in tanh()
82 return one / x - one; in tanh()
93 return x * (one + x); in tanh()
99 z = one - two / (t + two); in tanh()
110 z = one - tiny; /* raised inexact flag */ in tanh()
115 #undef one macro
[all...]
/third_party/mesa3d/src/compiler/nir/tests/
H A Dcore_tests.cpp96 nir_ssa_def *one = nir_imm_int(b, 1); in TEST_F() local
97 nir_ssa_def *add01 = nir_iadd(b, zero, one); in TEST_F()
98 nir_ssa_def *add11 = nir_iadd(b, one, one); in TEST_F()
104 ASSERT_TRUE(shader_contains_def(one)); in TEST_F()
113 nir_ssa_def *one = nir_imm_int(b, 1); in TEST_F() local
114 nir_ssa_def *add = nir_iadd(b, one, one); in TEST_F()
118 ASSERT_FALSE(shader_contains_def(one)); in TEST_F()
127 nir_ssa_def *one in TEST_F() local
[all...]
H A Dcomparison_pre_tests.cpp96 nir_ssa_def *one = nir_imm_float(&bld, 1.0f); in TEST_F() local
99 nir_ssa_def *flt = nir_flt(&bld, a, one); in TEST_F()
103 nir_fadd(&bld, nir_fneg(&bld, a), one); in TEST_F()
148 nir_ssa_def *one = nir_imm_float(&bld, 1.0f); in TEST_F() local
151 nir_ssa_def *flt = nir_flt(&bld, one, b); in TEST_F()
155 nir_fadd(&bld, one, nir_fneg(&bld, b)); in TEST_F()
201 nir_ssa_def *one = nir_imm_float(&bld, 1.0f); in TEST_F() local
204 nir_ssa_def *flt = nir_flt(&bld, nir_fneg(&bld, a), one); in TEST_F()
208 nir_fadd(&bld, a, one); in TEST_F()
253 nir_ssa_def *one in TEST_F() local
305 nir_ssa_def *one = nir_imm_float(&bld, 1.0f); TEST_F() local
358 nir_ssa_def *one = nir_imm_float(&bld, 1.0f); TEST_F() local
412 nir_ssa_def *one = nir_imm_float(&bld, 1.0f); TEST_F() local
465 nir_ssa_def *one = nir_imm_float(&bld, 1.0f); TEST_F() local
[all...]
/third_party/gn/src/gn/
H A Dmetadata_walk_unittest.cc16 TestTarget one(setup, "//foo:one", Target::SOURCE_SET); in TEST()
19 one.metadata().contents().insert( in TEST()
24 one.metadata().contents().insert( in TEST()
27 one.metadata().set_source_dir(SourceDir("/usr/home/files/")); in TEST()
43 targets.push_back(&one); in TEST()
66 expected_walked_targets.insert(&one); in TEST()
74 TestTarget one(setup, "//foo:one", Target::SOURCE_SET); in TEST()
77 one in TEST()
[all...]
/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dvirtual_input_device_test.cpp38 static bool CmpInputDevice(std::shared_ptr<InputDevice> one, std::shared_ptr<InputDevice> other);
82 bool VirtualInputDeviceTest::CmpInputDevice(std::shared_ptr<InputDevice> one, std::shared_ptr<InputDevice> other) in CmpInputDevice() argument
84 if (one == nullptr && other == nullptr) { in CmpInputDevice()
87 if (one == nullptr || other == nullptr) { in CmpInputDevice()
90 return one->GetName() == other->GetName() && one->GetType() == other->GetType() && in CmpInputDevice()
91 one->GetBus() == other->GetBus() && one->GetVersion() == other->GetVersion() && in CmpInputDevice()
92 one->GetProduct() == other->GetProduct() && one in CmpInputDevice()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/examples/calculator/src/main/js/default/common/
H A Dcalculator.js23 '+': (one, other) => one + other,
24 '-': (one, other) => one - other,
25 '*': (one, other) => one * other,
26 '/': (one, other) => one / other,
37 const one = numberStack.pop();
39 const result = OperatorHandlers[element](other, one);
[all...]
/third_party/python/Lib/distutils/tests/
H A Dtest_dep_util.py37 one = os.path.join(sources, 'one')
41 self.write_file(one)
45 self.assertEqual(newer_pairwise([one, two], [three, four]),
46 ([one],[three]))
52 one = os.path.join(sources, 'one')
59 self.write_file(one)
62 self.assertTrue(newer_group([one, two, three], old_file))
63 self.assertFalse(newer_group([one, tw
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dlistformattertest.cpp114 one("Alice", -1, US_INV), two("Bob", -1, US_INV), in ListFormatterTest()
129 void ListFormatterTest::CheckFourCases(const char* locale_string, UnicodeString one, UnicodeString two, in CheckFourCases() argument
137 UnicodeString input1[] = {one}; in CheckFourCases()
140 UnicodeString input2[] = {one, two}; in CheckFourCases()
143 UnicodeString input3[] = {one, two, three}; in CheckFourCases()
146 UnicodeString input4[] = {one, two, three, four}; in CheckFourCases()
150 UBool ListFormatterTest::RecordFourCases(const Locale& locale, UnicodeString one, UnicodeString two, in RecordFourCases() argument
158 UnicodeString input1[] = {one}; in RecordFourCases()
160 UnicodeString input2[] = {one, two}; in RecordFourCases()
162 UnicodeString input3[] = {one, tw in RecordFourCases()
[all...]
/third_party/node/deps/v8/src/base/numbers/
H A Dfast-dtoa.cc88 // and v (the input number). They are guaranteed to be precise up to one unit. in RoundWeed()
89 // In fact the error is guaranteed to be strictly less than one unit. in RoundWeed()
101 // representations, and one is closer to both w_low and w_high, then we know in RoundWeed()
129 // representations close to w, but we cannot decide which one is closer. in RoundWeed()
335 // * if more than one decimal representation gives the minimal number of
336 // decimal digits then the one closest to W (where W is the correct value
362 // low, w and high are imprecise, but by less than one ulp (unit in the last
386 DiyFp one = DiyFp(static_cast<uint64_t>(1) << -w.e(), w.e()); local
387 // Division by one is a shift.
388 uint32_t integrals = static_cast<uint32_t>(too_high.f() >> -one
489 DiyFp one = DiyFp(static_cast<uint64_t>(1) << -w.e(), w.e()); global() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dconnect4_prog.c113 int zero = 0, one = 1; in set_keepalive() local
115 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_KEEPALIVE, &one, sizeof(one))) in set_keepalive()
118 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPIDLE, &one, sizeof(one))) in set_keepalive()
120 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPINTVL, &one, sizeof(one))) in set_keepalive()
122 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPCNT, &one, sizeof(one))) in set_keepalive()
124 if (bpf_setsockopt(ctx, SOL_TCP, TCP_SYNCNT, &one, sizeo in set_keepalive()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dconnect4_prog.c112 int zero = 0, one = 1; in set_keepalive() local
114 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_KEEPALIVE, &one, sizeof(one))) in set_keepalive()
117 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPIDLE, &one, sizeof(one))) in set_keepalive()
119 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPINTVL, &one, sizeof(one))) in set_keepalive()
121 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPCNT, &one, sizeof(one))) in set_keepalive()
123 if (bpf_setsockopt(ctx, SOL_TCP, TCP_SYNCNT, &one, sizeo in set_keepalive()
[all...]

Completed in 10 milliseconds

12345678910>>...96