Home
last modified time | relevance | path

Searched full:original (Results 1 – 25 of 19914) sorted by relevance

12345678910>>...797

/aosp_15_r20/external/sdv/vsomeip/third_party/boost/atomic/include/boost/atomic/detail/
Dcore_arch_ops_gcc_aarch64.hpp115 storage_type original; in exchange() local
120 "swp" ld_mo st_mo "b %w[value], %w[original], %[storage]\n\t"\ in exchange()
121 : [storage] "+Q" (storage), [original] "=r" (original)\ in exchange()
132 "ld" ld_mo "xrb %w[original], %[storage]\n\t"\ in exchange()
135 : [tmp] "=&r" (tmp), [storage] "+Q" (storage), [original] "=&r" (original)\ in exchange()
144 return original; in exchange()
150 storage_type original; in compare_exchange_weak() local
152 original = expected; in compare_exchange_weak()
157 "cas" ld_mo st_mo "b %w[original], %w[desired], %[storage]\n\t"\ in compare_exchange_weak()
158 : [storage] "+Q" (storage), [original] "+r" (original)\ in compare_exchange_weak()
[all …]
Dcore_arch_ops_gcc_arm.hpp87 storage_type original; in exchange() local
93 "ldrex %[original], %[storage]\n\t" // load the original value in exchange()
98 : [tmp] "=&l" (tmp), [original] "=&r" (original), [storage] "+Q" (storage) in exchange()
103 return original; in exchange()
114 storage_type original; in compare_exchange_weak() local
118 "ldrex %[original], %[storage]\n\t" // original = *(&storage) in compare_exchange_weak()
119 "cmp %[original], %[expected]\n\t" // flags = original==expected in compare_exchange_weak()
124 : [original] "=&r" (original), in compare_exchange_weak()
138 expected = original; in compare_exchange_weak()
150 storage_type original; in compare_exchange_strong() local
[all …]
Dextra_ops_gcc_arm.hpp108 extended_storage_type original, result; in fetch_negate() local
113 "ldrexb %[original], %[storage]\n\t" // original = zero_extend(*(&storage)) in fetch_negate()
114 "rsb %[result], %[original], #0\n\t" // result = 0 - original in fetch_negate()
119 : [original] "=&r" (original), // %0 in fetch_negate()
127 return static_cast< storage_type >(original); in fetch_negate()
134 extended_storage_type original, result; in negate() local
139 "ldrexb %[original], %[storage]\n\t" // original = zero_extend(*(&storage)) in negate()
140 "rsb %[result], %[original], #0\n\t" // result = 0 - original in negate()
145 : [original] "=&r" (original), // %0 in negate()
160 extended_storage_type original, result; in add() local
[all …]
Dcore_arch_ops_gcc_aarch32.hpp104 storage_type original; in exchange() local
110 "ld" ld_mo "exb %[original], %[storage]\n\t"\ in exchange()
114 : [tmp] "=&r" (tmp), [original] "=&r" (original), [storage] "+Q" (storage)\ in exchange()
122 return original; in exchange()
128 storage_type original; in compare_exchange_weak() local
135 "ld" ld_mo "exb %[original], %[storage]\n\t"\ in compare_exchange_weak()
136 "cmp %[original], %[expected]\n\t"\ in compare_exchange_weak()
141 : [original] "=&r" (original), [success] "=&r" (success), [storage] "+Q" (storage)\ in compare_exchange_weak()
149 expected = original; in compare_exchange_weak()
156 storage_type original; in compare_exchange_strong() local
[all …]
Dextra_ops_gcc_ppc.hpp103 storage_type original, result; in fetch_negate() local
111 : "=&b" (original), "=&b" (result), "+Z" (storage) in fetch_negate()
116 return original; in fetch_negate()
122 storage_type original, result; in negate() local
130 : "=&b" (original), "=&b" (result), "+Z" (storage) in negate()
140 storage_type original, result; in add() local
149 : "=&b" (original), "=&b" (result), "+Z" (storage) in add()
159 storage_type original, result; in sub() local
168 : "=&b" (original), "=&b" (result), "+Z" (storage) in sub()
178 storage_type original, result; in bitwise_and() local
[all …]
Dcore_arch_ops_gcc_ppc.hpp138 storage_type original; in exchange() local
146 : "=&b" (original), "+Z" (storage) in exchange()
151 return original; in exchange()
208 storage_type original, result; in fetch_add() local
217 : "=&b" (original), "=&b" (result), "+Z" (storage) in fetch_add()
222 return original; in fetch_add()
227 storage_type original, result; in fetch_sub() local
236 : "=&b" (original), "=&b" (result), "+Z" (storage) in fetch_sub()
241 return original; in fetch_sub()
246 storage_type original, result; in fetch_and() local
[all …]
Dcore_arch_ops_gcc_alpha.hpp117 storage_type original, tmp; in exchange() local
131 : "=&r" (original), // %0 in exchange()
138 return original; in exchange()
211 storage_type original, modified; in fetch_add() local
225 : "=&r" (original), // %0 in fetch_add()
232 return original; in fetch_add()
237 storage_type original, modified; in fetch_sub() local
251 : "=&r" (original), // %0 in fetch_sub()
258 return original; in fetch_sub()
263 storage_type original, modified; in fetch_and() local
[all …]
/aosp_15_r20/libcore/ojluni/src/test/java/util/SequencedCollection/
H A DBasic.java52 static final List<String> ORIGINAL = List.of("a", "b", "c", "d", "e", "f", "g"); field in Basic
110 new Object[] { "ArrayDeque", new ArrayDeque<>(ORIGINAL), ORIGINAL }, in populated()
111 new Object[] { "ArrayList", new ArrayList<>(ORIGINAL), ORIGINAL }, in populated()
112 new Object[] { "AsList", Arrays.asList(ORIGINAL.toArray()), ORIGINAL }, in populated()
113 new Object[] { "COWAL", new CopyOnWriteArrayList<>(ORIGINAL), ORIGINAL }, in populated()
114 new Object[] { "LinkedHashSet", new LinkedHashSet<>(ORIGINAL), ORIGINAL }, in populated()
115 new Object[] { "LinkedList", new LinkedList<>(ORIGINAL), ORIGINAL }, in populated()
116 new Object[] { "ListOf", ORIGINAL, ORIGINAL }, in populated()
117 new Object[] { "SetFromMap", setFromMap(ORIGINAL), ORIGINAL }, in populated()
118 new Object[] { "SimpleDeque", new SimpleDeque<>(ORIGINAL), ORIGINAL }, in populated()
[all …]
/aosp_15_r20/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSoftApConfigurationTest.java106 SoftApConfiguration original = new SoftApConfiguration.Builder() in testBasicSettings() local
109 assertThat(original.getSsid()).isEqualTo(utf8Ssid); in testBasicSettings()
110 assertThat(original.getWifiSsid()).isEqualTo(WifiSsid.fromUtf8Text(utf8Ssid)); in testBasicSettings()
111 assertThat(original.getPassphrase()).isNull(); in testBasicSettings()
112 assertThat(original.getSecurityType()).isEqualTo(SoftApConfiguration.SECURITY_TYPE_OPEN); in testBasicSettings()
113 assertThat(original.getBand()).isEqualTo(SoftApConfiguration.BAND_2GHZ); in testBasicSettings()
114 assertThat(original.getChannel()).isEqualTo(0); in testBasicSettings()
115 assertThat(original.isHiddenSsid()).isEqualTo(false); in testBasicSettings()
116 assertThat(original.getMaxNumberOfClients()).isEqualTo(0); in testBasicSettings()
117 assertThat(original.getPersistentRandomizedMacAddress()).isNull(); in testBasicSettings()
[all …]
/aosp_15_r20/external/cronet/net/url_request/
H A Dredirect_info_unittest.cc35 const GURL kOriginalUrl = GURL("https://foo.test/original"); in TEST()
73 {true, "http://foo.test/original", "http://foo.test/redirected", in TEST()
75 {true, "http://foo.test/original#1", "http://foo.test/redirected", in TEST()
77 {true, "http://foo.test/original#1", "http://foo.test/redirected#2", in TEST()
79 {false, "http://foo.test/original", "http://foo.test/redirected", in TEST()
81 {false, "http://foo.test/original#1", "http://foo.test/redirected", in TEST()
83 {false, "http://foo.test/original#1", "http://foo.test/redirected#2", in TEST()
167 {"http://foo.test/one" /* original url */, in TEST()
168 "http://foo.test/one" /* original referrer */, in TEST()
171 // original policy in TEST()
[all …]
/aosp_15_r20/external/angle/src/tests/compiler_tests/
H A DIntermNode_test.cpp79 void checkTypeEqualWithQualifiers(const TType &original, const TType &copy) in checkTypeEqualWithQualifiers() argument
81 ASSERT_EQ(original, copy); in checkTypeEqualWithQualifiers()
82 ASSERT_EQ(original.getPrecision(), copy.getPrecision()); in checkTypeEqualWithQualifiers()
83 ASSERT_EQ(original.getQualifier(), copy.getQualifier()); in checkTypeEqualWithQualifiers()
90 TIntermSymbol *original = aOriginal->getAsSymbolNode(); in checkSymbolCopy() local
92 ASSERT_NE(nullptr, original); in checkSymbolCopy()
93 ASSERT_NE(original, copy); in checkSymbolCopy()
94 ASSERT_EQ(&original->variable(), &copy->variable()); in checkSymbolCopy()
95 ASSERT_EQ(original->uniqueId(), copy->uniqueId()); in checkSymbolCopy()
96 ASSERT_EQ(original->getName(), copy->getName()); in checkSymbolCopy()
[all …]
/aosp_15_r20/external/python/python-api-core/tests/unit/
Dtest_protobuf_helpers.py275 original = struct_pb2.Value(number_value=1.0)
277 assert protobuf_helpers.field_mask(original, modified).paths == []
279 original = color_pb2.Color(alpha=wrappers_pb2.FloatValue(value=1.0))
281 assert protobuf_helpers.field_mask(original, modified).paths == []
283 original = struct_pb2.ListValue(values=[struct_pb2.Value(number_value=1.0)])
285 assert protobuf_helpers.field_mask(original, modified).paths == []
287 original = struct_pb2.Struct(fields={"bar": struct_pb2.Value(number_value=1.0)})
289 assert protobuf_helpers.field_mask(original, modified).paths == []
294 original = color_pb2.Color(red=0.0)
296 assert protobuf_helpers.field_mask(original, modified).paths == []
[all …]
/aosp_15_r20/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DExerciseCompletionGoalInternalTest.java42 DistanceGoalInternal original = new DistanceGoalInternal(Length.fromMeters(800)); in distanceGoal_writeToParcelThenRestore_objectsAreIdentical() local
44 Parcel parcel = writeToParcel(original); in distanceGoal_writeToParcelThenRestore_objectsAreIdentical()
49 assertThat(restored.getDistance()).isEqualTo(original.getDistance()); in distanceGoal_writeToParcelThenRestore_objectsAreIdentical()
55 DistanceGoalInternal original = new DistanceGoalInternal(Length.fromMeters(800)); in distanceGoal_convertToExternalAndBack_objectsAreIdentical() local
60 original.toExternalObject())) in distanceGoal_convertToExternalAndBack_objectsAreIdentical()
62 .isEqualTo(original.getDistance()); in distanceGoal_convertToExternalAndBack_objectsAreIdentical()
67 StepsGoalInternal original = new StepsGoalInternal(500); in stepsGoal_writeToParcelThenRestore_objectsAreIdentical() local
69 Parcel parcel = writeToParcel(original); in stepsGoal_writeToParcelThenRestore_objectsAreIdentical()
74 assertThat(restored.getSteps()).isEqualTo(original.getSteps()); in stepsGoal_writeToParcelThenRestore_objectsAreIdentical()
80 StepsGoalInternal original = new StepsGoalInternal(100); in stepsGoal_convertToExternalAndBack_objectsAreIdentical() local
[all …]
DExercisePerformanceGoalInternalTest.java43 PowerGoalInternal original = in powerGoal_writeToParcelThenRestore_objectsAreIdentical() local
46 Parcel parcel = writeToParcel(original); in powerGoal_writeToParcelThenRestore_objectsAreIdentical()
52 assertThat(restored.getMinPower()).isEqualTo(original.getMinPower()); in powerGoal_writeToParcelThenRestore_objectsAreIdentical()
53 assertThat(restored.getMaxPower()).isEqualTo(original.getMaxPower()); in powerGoal_writeToParcelThenRestore_objectsAreIdentical()
59 ExercisePerformanceGoalInternal.PowerGoalInternal original = in powerGoal_convertToExternalAndBack_objectsAreIdentical() local
66 original.toExternalObject())) in powerGoal_convertToExternalAndBack_objectsAreIdentical()
68 .isEqualTo(original.getMinPower()); in powerGoal_convertToExternalAndBack_objectsAreIdentical()
72 original.toExternalObject())) in powerGoal_convertToExternalAndBack_objectsAreIdentical()
74 .isEqualTo(original.getMaxPower()); in powerGoal_convertToExternalAndBack_objectsAreIdentical()
79 SpeedGoalInternal original = in speedGoal_writeToParcelThenRestore_objectsAreIdentical() local
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
H A Dimage-inl.h230 void Image<T>::DownsampleAveraged(const T* const original, const int stride, in DownsampleAveraged() argument
234 DownsampleAveragedNeon(original, stride, factor); in DownsampleAveraged()
247 // Sum up the original pixels. in DownsampleAveraged()
257 const T* p = original + curr_y * stride + orig_x; in DownsampleAveraged()
270 void Image<T>::DownsampleInterpolateNearest(const Image<T>& original) { in DownsampleInterpolateNearest() argument
272 const float factor_x = static_cast<float>(original.GetWidth()) / in DownsampleInterpolateNearest()
274 const float factor_y = static_cast<float>(original.GetHeight()) / in DownsampleInterpolateNearest()
278 const float offset_x = 0.5f * (original.GetWidth() - width_) / width_; in DownsampleInterpolateNearest()
281 const float offset_y = 0.5f * (original.GetHeight() - height_) / height_; in DownsampleInterpolateNearest()
291 const T* row_data = original[nearest_y]; in DownsampleInterpolateNearest()
[all …]
/aosp_15_r20/external/cronet/base/android/junit/src/org/chromium/base/
H A DPiiEliderTest.java23 String original = "email me at [email protected]"; in testElideEmail() local
25 assertEquals(expected, PiiElider.elideEmail(original)); in testElideEmail()
30 String original = "file bugs at crbug.com"; in testElideUrl() local
32 assertEquals(expected, PiiElider.elideUrl(original)); in testElideUrl()
37 String original = "exception at org.chromium.base.PiiEliderTest"; in testElideUrl2() local
38 assertEquals(original, PiiElider.elideUrl(original)); in testElideUrl2()
43 String original = "file bugs at crbug.com or code.google.com"; in testElideUrl3() local
45 assertEquals(expected, PiiElider.elideUrl(original)); in testElideUrl3()
50 String original = "test shorturl.com !!!"; in testElideUrl4() local
52 assertEquals(expected, PiiElider.elideUrl(original)); in testElideUrl4()
[all …]
/aosp_15_r20/external/cronet/base/apple/
H A Dscoped_cftyperef_unittest.cc60 ScopedCFTypeRef<CFMutableArrayRef> original( in TEST() local
62 EXPECT_EQ(1, CFGetRetainCount(original.get())); in TEST()
64 ScopedCFTypeRef<CFMutableArrayRef> copy(original); in TEST()
65 EXPECT_EQ(original.get(), copy.get()); in TEST()
66 EXPECT_EQ(2, CFGetRetainCount(original.get())); in TEST()
70 ScopedCFTypeRef<CFMutableArrayRef> original( in TEST() local
72 EXPECT_EQ(1, CFGetRetainCount(original.get())); in TEST()
74 ScopedCFTypeRef<CFArrayRef> copy(original); in TEST()
75 EXPECT_EQ(original.get(), copy.get()); in TEST()
76 EXPECT_EQ(2, CFGetRetainCount(original.get())); in TEST()
[all …]
/aosp_15_r20/packages/modules/HealthFitness/tests/cts/phr/src/android/healthconnect/cts/phr/
DDeleteMedicalResourcesRequestTest.java140 DeleteMedicalResourcesRequest.Builder original = in testRequestBuilder_fromExistingBuilder() local
143 new DeleteMedicalResourcesRequest.Builder(original).build(); in testRequestBuilder_fromExistingBuilder()
145 assertThat(request).isEqualTo(original.build()); in testRequestBuilder_fromExistingBuilder()
150 DeleteMedicalResourcesRequest.Builder original = in testRequestBuilder_fromExistingBuilder_changeIndependently() local
153 new DeleteMedicalResourcesRequest.Builder(original); in testRequestBuilder_fromExistingBuilder_changeIndependently()
154 original.addDataSourceId(DIFFERENT_DATA_SOURCE_ID); in testRequestBuilder_fromExistingBuilder_changeIndependently()
156 assertThat(original.build().getDataSourceIds()) in testRequestBuilder_fromExistingBuilder_changeIndependently()
163 DeleteMedicalResourcesRequest.Builder original = in testRequestBuilder_fromExistingBuilderResourceType() local
168 new DeleteMedicalResourcesRequest.Builder(original).build(); in testRequestBuilder_fromExistingBuilderResourceType()
170 assertThat(request).isEqualTo(original.build()); in testRequestBuilder_fromExistingBuilderResourceType()
[all …]
/aosp_15_r20/external/licenseclassifier/licenses/
H A DOSL-3.0.txt3 This Open Software License (the "License") applies to any original work of
4 authorship (the "Original Work") whose owner (the "Licensor") has placed the
5 following licensing notice adjacent to the copyright notice for the Original
14 a) to reproduce the Original Work in copies, either alone or as part of a
17 b) to translate, adapt, alter, transform, modify, or arrange the Original
19 Original Work;
21 c) to distribute or communicate copies of the Original Work and Derivative
22 Works to the public, with the proviso that copies of Original Work or
26 d) to perform the Original Work publicly; and
28 e) to display the Original Work publicly.
[all …]
H A DAFL-3.0.txt3 This Academic Free License (the "License") applies to any original work of
4 authorship (the "Original Work") whose owner (the "Licensor") has placed the
5 following licensing notice adjacent to the copyright notice for the Original
14 a) to reproduce the Original Work in copies, either alone or as part of a
17 b) to translate, adapt, alter, transform, modify, or arrange the Original
19 Original Work;
21 c) to distribute or communicate copies of the Original Work and Derivative
26 d) to perform the Original Work publicly; and
28 e) to display the Original Work publicly.
32 by the Licensor that are embodied in the Original Work as furnished by the
[all …]
H A DOSL-2.1.txt3 This Open Software License (the "License") applies to any original work of
4 authorship (the "Original Work") whose owner (the "Licensor") has placed the
5 following notice immediately following the copyright notice for the Original
14 a) to reproduce the Original Work in copies;
16 b) to prepare derivative works ("Derivative Works") based upon the Original
19 c) to distribute copies of the Original Work and Derivative Works to the
20 public, with the proviso that copies of Original Work or Derivative Works that
23 d) to perform the Original Work publicly; and
25 e) to display the Original Work publicly.
29 owned or controlled by the Licensor that are embodied in the Original Work as
[all …]
/aosp_15_r20/external/licenseclassifier/v2/assets/License/OSL-3.0/
H A Dlicense.txt3 This Open Software License (the "License") applies to any original work of
4 authorship (the "Original Work") whose owner (the "Licensor") has placed the
5 following licensing notice adjacent to the copyright notice for the Original
14 a) to reproduce the Original Work in copies, either alone or as part of a
17 b) to translate, adapt, alter, transform, modify, or arrange the Original
19 Original Work;
21 c) to distribute or communicate copies of the Original Work and Derivative
22 Works to the public, with the proviso that copies of Original Work or
26 d) to perform the Original Work publicly; and
28 e) to display the Original Work publicly.
[all …]
/aosp_15_r20/external/pytorch/torch/nn/utils/
H A Dparametrize.py93 …r"""A sequential container that holds and manages the original parameters or buffers of a parametr…
100 it will hold the tensor under the name ``original``.
110 original (Parameter or Tensor): parameter or buffer that is parametrized
117 original: Tensor
123 original: Union[Tensor, Parameter],
137 # this should be of the same dtype as the original tensor
148 # # move data to/from the original tensor without changing its id (which is what the
152 # Below we use original = X, new = Y
154 original_shape = original.shape
155 original_dtype = original.dtype
[all …]
/aosp_15_r20/external/licenseclassifier/v2/assets/License/AFL-3.0/
H A Dlicense.txt3 This Academic Free License (the "License") applies to any original work of
4 authorship (the "Original Work") whose owner (the "Licensor") has placed the
5 following licensing notice adjacent to the copyright notice for the Original
14 a) to reproduce the Original Work in copies, either alone or as part of a
17 b) to translate, adapt, alter, transform, modify, or arrange the Original
19 Original Work;
21 c) to distribute or communicate copies of the Original Work and Derivative
26 d) to perform the Original Work publicly; and
28 e) to display the Original Work publicly.
32 by the Licensor that are embodied in the Original Work as furnished by the
[all …]
/aosp_15_r20/external/licenseclassifier/v2/assets/License/OSL-2.1/
H A Dlicense.txt3 This Open Software License (the "License") applies to any original work of
4 authorship (the "Original Work") whose owner (the "Licensor") has placed the
5 following notice immediately following the copyright notice for the Original
14 a) to reproduce the Original Work in copies;
16 b) to prepare derivative works ("Derivative Works") based upon the Original
19 c) to distribute copies of the Original Work and Derivative Works to the
20 public, with the proviso that copies of Original Work or Derivative Works that
23 d) to perform the Original Work publicly; and
25 e) to display the Original Work publicly.
29 owned or controlled by the Licensor that are embodied in the Original Work as
[all …]

12345678910>>...797