Home
last modified time | relevance | path

Searched defs:one (Results 1 – 25 of 2469) sorted by relevance

12345678910>>...99

/aosp_15_r20/external/crcalc/tests/src/com/hp/creals/
H A DCRTest.java70 CR one = CR.valueOf(1); in testCR() local
81 check_eq(one.min(two),one, "min failed"); in testCR() local
82 check_eq(one.abs(),one, "abs failed 1"); in testCR() local
83 check_eq(one.negate().abs(),one, "abs failed 2"); in testCR() local
88 check_eq(one.negate().add(two), one, "negate failed"); in testCR() local
94 check_eq(one.divide(thirteen).multiply(thirteen), one, in testCR() local
100 check_eq(zero.exp(), one, "exp(0) failed"); in testCR() local
105 check_eq(e.ln(), one, "ln(e) failed"); in testCR() local
115 check_eq(half_pi.sin(), one, "sin(pi/2) failed"); in testCR() local
126 check_eq(asin.execute(one.sin()), one, "asin(sin(1) failed"); in testCR() local
[all …]
/aosp_15_r20/frameworks/base/core/tests/timetests/src/android/app/timezonedetector/
H A DTelephonyTimeZoneSuggestionTest.java50 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
57 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
66 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
76 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
85 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
92 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
100 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
107 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
116 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
124 TelephonyTimeZoneSuggestion one = builder1.build(); in testEquals() local
[all …]
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/util/
DConditionPriorityBlockingQueueTest.java51 Integer one = Integer.valueOf(1); in testTake() local
63 Integer one = Integer.valueOf(1); in testTake_priority() local
77 Integer one = Integer.valueOf(1); in testTake_fifo() local
92 Integer one = Integer.valueOf(1); in testTake_priorityReverse() local
104 final Integer one = Integer.valueOf(1); in testTake_delayedAdd() local
127 final Integer one = Integer.valueOf(1); in testTake_matcher_delayedAdd() local
152 final Integer one = Integer.valueOf(1); in testTake_multiple_matchers() local
231 Integer one = Integer.valueOf(1); in testPoll_condition() local
245 Integer one = Integer.valueOf(1); in testPoll_time_condition() local
261 Integer one = Integer.valueOf(1); in testPoll_fifo_condition() local
[all …]
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DSerializationTestClass.java100 public int one; field in SerializationTestClass.TestFieldsOnePublic
104 public int one; field in SerializationTestClass.TestFieldsTwoPublic
110 private int one; field in SerializationTestClass.TestFieldsOnePrivate
115 private int one; field in SerializationTestClass.TestFieldsTwoPrivate
120 protected int one; field in SerializationTestClass.TestFieldsOneProtected
124 protected int one; field in SerializationTestClass.TestFieldsTwoProtected
129 static int one; field in SerializationTestClass.TestFieldsOneStatic
133 static int one; field in SerializationTestClass.TestFieldsTwoStatic
138 final int one = 0; field in SerializationTestClass.TestFieldsOneFinal
142 final int one = 0; field in SerializationTestClass.TestFieldsTwoFinal
[all …]
/aosp_15_r20/frameworks/base/core/tests/timetests/src/android/app/time/
H A DTimeZoneCapabilitiesTest.java58 TimeZoneCapabilities one = builder1.build(); in testEquals() local
65 TimeZoneCapabilities one = builder1.build(); in testEquals() local
72 TimeZoneCapabilities one = builder1.build(); in testEquals() local
79 TimeZoneCapabilities one = builder1.build(); in testEquals() local
86 TimeZoneCapabilities one = builder1.build(); in testEquals() local
93 TimeZoneCapabilities one = builder1.build(); in testEquals() local
100 TimeZoneCapabilities one = builder1.build(); in testEquals() local
107 TimeZoneCapabilities one = builder1.build(); in testEquals() local
114 TimeZoneCapabilities one = builder1.build(); in testEquals() local
H A DTimeCapabilitiesTest.java59 TimeCapabilities one = builder1.build(); in testEquals() local
66 TimeCapabilities one = builder1.build(); in testEquals() local
73 TimeCapabilities one = builder1.build(); in testEquals() local
80 TimeCapabilities one = builder1.build(); in testEquals() local
87 TimeCapabilities one = builder1.build(); in testEquals() local
/aosp_15_r20/external/rust/android-crates-io/crates/axum/src/routing/tests/
Dmerge.rs8 let one = Router::new() in basic() localVariable
31 let one = Router::new().route("/one", get(|| async { "one" })); in multiple_ors_balanced_differently() localVariable
92 let one = Router::new().route("/one", get(|| async { "one" })); in or_with_route_following() localVariable
110 let one = Router::new().route("/foo", get(|| async {})); in layer() localVariable
127 let one = Router::new().route("/foo", get(|| async {})); in layer_and_handle_error() localVariable
147 let one = Router::new().route("/foo", get(|| async {})); in nesting() localVariable
159 let one = Router::new().route("/foo", get(|| async {})); in boxed() localVariable
232 let one = Router::new().nest("/foo/", Router::new().route("/bar", get(all_the_uris))); in nesting_and_seeing_the_right_uri() localVariable
262 let one = Router::new().nest( in nesting_and_seeing_the_right_uri_at_more_levels_of_nesting() localVariable
295 let one = Router::new().nest( in nesting_and_seeing_the_right_uri_ors_with_nesting() localVariable
[all …]
/aosp_15_r20/cts/tests/tests/time/src/android/app/time/cts/
H A DTimeZoneConfigurationTest.java55 TimeZoneConfiguration one = builder1.build(); in testEquals() local
62 TimeZoneConfiguration one = builder1.build(); in testEquals() local
70 TimeZoneConfiguration one = builder1.build(); in testEquals() local
77 TimeZoneConfiguration one = builder1.build(); in testEquals() local
84 TimeZoneConfiguration one = builder1.build(); in testEquals() local
91 TimeZoneConfiguration one = builder1.build(); in testEquals() local
98 TimeZoneConfiguration one = builder1.build(); in testEquals() local
105 TimeZoneConfiguration one = builder1.build(); in testEquals() local
/aosp_15_r20/external/rust/android-crates-io/crates/num_enum/tests/
Dtry_from_primitive.rs44 let one: Result<Enum, _> = 1u8.try_into(); in even() localVariable
77 let one: Result<Enum, _> = 1u8.try_into(); in skipped_value() localVariable
107 let one: Result<Enum, _> = 1u8.try_into(); in wrong_order() localVariable
144 let one: Result<Enum, _> = 1i8.try_into(); in negative_values() localVariable
169 let one: Result<Enum, _> = 1u8.try_into(); in discriminant_expressions() localVariable
215 let one: Result<Enum, _> = 1u8.try_into(); in different_values() localVariable
253 let one: Result<EnumWithExclusiveRange, _> = 1u8.try_into(); in different_values_with_exclusive_range() localVariable
282 let one: Result<EnumWithInclusiveRange, _> = 1u8.try_into(); in different_values_with_inclusive_range() localVariable
312 let one: Result<Enum, _> = 1u8.try_into(); in missing_trailing_comma() localVariable
336 let one: Result<Enum, _> = 1u8.try_into(); in ignores_extra_attributes() localVariable
[all …]
Dfrom_primitive.rs25 let one = Enum::from_primitive(1 as $type); localVariable
62 let one = Enum::from_primitive(1_u8); in has_from_primitive_number_standard_default_attribute() localVariable
110 let one = Enum::from_primitive(1_u8); in from_primitive_number_catch_all() localVariable
131 let one = Enum::from_primitive(1_u8); in from_primitive_number_catch_all_in_middle() localVariable
155 let one = Enum::from_primitive(1_u8); in from_primitive_number_with_inclusive_range() localVariable
/aosp_15_r20/external/pytorch/test/jit/
H A Dtest_module_interface.py26 def one(self, inp1: Tensor, inp2: Tensor) -> Tensor: member in OrigModule
37 def one(self, inp1: Tensor, inp2: Tensor) -> Tensor: member in NewModule
48 def one(self, inp1: Tensor, inp2: Tensor) -> Tensor: member in TestModuleInterface.test_not_submodule_interface_call.ModuleInterface
69 def one(self, x: Tensor, y: Tensor) -> Tensor: member in TestModuleInterface.test_module_interface.OneTwoModule
80 def one(self, x: Tensor, y: Tensor) -> Tensor: member in TestModuleInterface.test_module_interface.OneTwoClass
87 def one(self, x: Tensor, y: Tensor) -> Tensor: member in TestModuleInterface.test_module_interface.FooMod
97 def one(self, x: Tensor, y: Tensor) -> Tensor: member in TestModuleInterface.test_module_interface.BarMod
155 def one(self, inp1, inp2): member in TestModuleInterface.test_module_doc_string.TestInterface
183 def one(self, x: Tensor, y: Tensor) -> Tensor: member in TestModuleInterface.test_module_interface_subtype.OneTwoModule
200 def one(self, x: Tensor, y: Tensor) -> Tensor: member in TestModuleInterface.test_module_interface_subtype.Foo
[all …]
/aosp_15_r20/dalvik/dx/src/com/android/dx/merge/
H A DInstructionTransformer.java67 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit()
74 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit()
85 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit()
96 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit()
107 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit()
118 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit()
128 public void visit(DecodedInstruction[] all, DecodedInstruction one) { in visit()
/aosp_15_r20/cts/tests/tests/time/src/android/service/timezone/cts/
H A DTimeZoneProviderSuggestionTest.java60 TimeZoneProviderSuggestion one = builder1.build(); in testEquals() local
67 TimeZoneProviderSuggestion one = builder1.build(); in testEquals() local
75 TimeZoneProviderSuggestion one = builder1.build(); in testEquals() local
83 TimeZoneProviderSuggestion one = builder1.build(); in testEquals() local
91 TimeZoneProviderSuggestion one = builder1.build(); in testEquals() local
99 TimeZoneProviderSuggestion one = builder1.build(); in testEquals() local
/aosp_15_r20/frameworks/base/core/tests/timetests/src/android/app/timedetector/
H A DTelephonyTimeSuggestionTest.java46 TelephonyTimeSuggestion one = builder1.build(); in testEquals() local
52 TelephonyTimeSuggestion one = builder1.build(); in testEquals() local
60 TelephonyTimeSuggestion one = builder1.build(); in testEquals() local
66 TelephonyTimeSuggestion one = builder1.build(); in testEquals() local
76 TelephonyTimeSuggestion one = builder1.build(); in testEquals() local
86 TelephonyTimeSuggestion one = builder1.build(); in testEquals() local
/aosp_15_r20/external/mesa3d/src/compiler/nir/tests/
H A Dcomparison_pre_tests.cpp96 nir_def *one = nir_imm_float(&bld, 1.0f); in TEST_F() local
148 nir_def *one = nir_imm_float(&bld, 1.0f); in TEST_F() local
201 nir_def *one = nir_imm_float(&bld, 1.0f); in TEST_F() local
253 nir_def *one = nir_imm_float(&bld, 1.0f); in TEST_F() local
305 nir_def *one = nir_imm_float(&bld, 1.0f); in TEST_F() local
358 nir_def *one = nir_imm_float(&bld, 1.0f); in TEST_F() local
412 nir_def *one = nir_imm_float(&bld, 1.0f); in TEST_F() local
465 nir_def *one = nir_imm_float(&bld, 1.0f); in TEST_F() local
/aosp_15_r20/external/tensorflow/tensorflow/core/kernels/special_math/
H A Dspecial_math_op_misc_impl.h85 const Scalar one = Scalar(1); in generic_dawsn_interval_2() local
113 const Scalar one = Scalar(1); in generic_dawsn_interval_3() local
208 const Scalar one = Scalar(1.0); in generic_expint_interval_2() local
240 const Scalar one = Scalar(1.0); in generic_expint_interval_3() local
274 const Scalar one = Scalar(1.0); in generic_expint_interval_4() local
306 const Scalar one = Scalar(1.0); in generic_expint_interval_5() local
334 const Scalar one = Scalar(1.0); in generic_expint_interval_6() local
368 const Scalar one = Scalar(1.0); in generic_expint_interval_7() local
506 const Scalar one = Scalar(1); in generic_fresnel_asymp() local
616 const Scalar one = Scalar(1.0); in operator() local
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/net/sntp/
H A DDuration64Test.java128 Instant one = utcInstant(arbitraryEra0Year, 1, 1, 0, 0, 0, 500); in testBetween_sameEra0() local
143 Instant one = utcInstant(arbitraryEra1Year, 1, 1, 0, 0, 0, 500); in testBetween_sameEra1() local
167 Instant one = utcInstant(arbitraryYearInEra0, 1, 1, 0, 0, 0, 500); in testBetween_adjacentEras() local
196 Instant one = utcInstant(2021, 1, 1, 0, 0, 0, 500); in testBetween_tooFarApart() local
205 private static void checkDuration64Behavior(Instant one, Instant two) { in checkDuration64Behavior()
223 private static void checkDuration64OverflowBehavior(Instant one, Instant two) { in checkDuration64OverflowBehavior()
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheLoadingTest.java162 final Object one = new Object(); in testReload() local
209 final Object one = new Object(); in testRefresh() local
271 final Object one = new Object(); in testRefresh_getIfPresent() local
643 final Object one = new Object(); in testReloadNull() local
689 final Object one = new Object(); in testReloadNullFuture() local
735 final Object one = new Object(); in testRefreshNull() local
908 final Object one = new Object(); in testReloadError() local
955 final Object one = new Object(); in testReloadFutureError() local
1002 final Object one = new Object(); in testRefreshError() local
1204 final Object one = new Object(); in testReloadCheckedException() local
[all …]
H A DLocalLoadingCacheTest.java79 Object one = new Object(); in testStats() local
137 Object one = new Object(); in testStatsNoops() local
179 Object one = new Object(); in testNoStats() local
202 Object one = new Object(); in testRecordStats() local
229 Object one = new Object(); in testAsMap() local
286 Object one = new Object(); in testAsMapRecency() local
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/cache/
H A DCacheLoadingTest.java162 final Object one = new Object(); in testReload() local
209 final Object one = new Object(); in testRefresh() local
271 final Object one = new Object(); in testRefresh_getIfPresent() local
643 final Object one = new Object(); in testReloadNull() local
689 final Object one = new Object(); in testReloadNullFuture() local
735 final Object one = new Object(); in testRefreshNull() local
908 final Object one = new Object(); in testReloadError() local
955 final Object one = new Object(); in testReloadFutureError() local
1002 final Object one = new Object(); in testRefreshError() local
1204 final Object one = new Object(); in testReloadCheckedException() local
[all …]
H A DLocalLoadingCacheTest.java79 Object one = new Object(); in testStats() local
137 Object one = new Object(); in testStatsNoops() local
179 Object one = new Object(); in testNoStats() local
202 Object one = new Object(); in testRecordStats() local
229 Object one = new Object(); in testAsMap() local
286 Object one = new Object(); in testAsMapRecency() local
/aosp_15_r20/external/rust/android-crates-io/crates/rand/src/distributions/
Dfloat.rs188 let mut one = StepRng::new(1 << 8 | 1 << (8 + 32), 0); localVariable
196 let mut one = StepRng::new(1 << 8 | 1 << (8 + 32), 0); localVariable
204 let mut one = StepRng::new(1 << 9 | 1 << (9 + 32), 0); localVariable
228 let mut one = StepRng::new(1 << 11, 0); localVariable
236 let mut one = StepRng::new(1 << 11, 0); localVariable
244 let mut one = StepRng::new(1 << 12, 0); localVariable
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/rand-0.8.5/src/distributions/
H A Dfloat.rs188 let mut one = StepRng::new(1 << 8 | 1 << (8 + 32), 0); localVariable
196 let mut one = StepRng::new(1 << 8 | 1 << (8 + 32), 0); localVariable
204 let mut one = StepRng::new(1 << 9 | 1 << (9 + 32), 0); localVariable
228 let mut one = StepRng::new(1 << 11, 0); localVariable
236 let mut one = StepRng::new(1 << 11, 0); localVariable
244 let mut one = StepRng::new(1 << 12, 0); localVariable
/aosp_15_r20/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/
H A DFormEditRecordTest.java176 FormEditRecord one = new FormEditRecord.Builder( in equalsHashCode_textType_matchingProperties() local
192 FormEditRecord one = new FormEditRecord.Builder( in equalsHashCode_clickType_matchingProperties() local
208 FormEditRecord one = new FormEditRecord.Builder( in equalsHashCode_indicesType_matchingProperties() local
223 FormEditRecord one = new FormEditRecord.Builder( in equalsHashCode_clickType_notMatchingProperties() local
238 FormEditRecord one = new FormEditRecord.Builder( in equalsHashCode_indicesType_notMatchingProperties() local
253 FormEditRecord one = new FormEditRecord.Builder( in equalsHashCode_textType_notMatchingProperties() local
/aosp_15_r20/external/mesa3d/src/mesa/main/
H A Dformat_utils.c855 const float one = 1.0f; in convert_float() local
917 const uint16_t one = _mesa_float_to_half(1.0f); in convert_half_float() local
978 const uint8_t one = normalized ? UINT8_MAX : 1; in convert_ubyte() local
1044 const int8_t one = normalized ? INT8_MAX : 1; in convert_byte() local
1110 const uint16_t one = normalized ? UINT16_MAX : 1; in convert_ushort() local
1176 const int16_t one = normalized ? INT16_MAX : 1; in convert_short() local
1241 const uint32_t one = normalized ? UINT32_MAX : 1; in convert_uint() local
1307 const int32_t one = normalized ? INT32_MAX : 1; in convert_int() local

12345678910>>...99