Home
last modified time | relevance | path

Searched refs:setProperty (Results 1 – 25 of 45) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DkeyofAndIndexedAccessErrors.js58 function setProperty<T, K extends keyof T>(obj: T, key: K, value: T[K]) {
66 setProperty(shape, "name", "rectangle");
67 setProperty(shape, "size", 10); // Error
68 setProperty(shape, cond ? "name" : "size", 10); // Error
166 function setProperty(obj, key, value) { function
173 setProperty(shape, "name", "rectangle");
174 setProperty(shape, "size", 10); // Error
175 setProperty(shape, cond ? "name" : "size", 10); // Error
DkeyofAndIndexedAccess.js84 function setProperty<T, K extends keyof T>(obj: T, key: K, value: T[K]) {
92 setProperty(shape, "name", "rectangle");
93 setProperty(shape, cond ? "width" : "height", 10);
94 setProperty(shape, cond ? "name" : "visible", true); // Technically not safe
99 setProperty(a, "length", len);
119 setProperty<K extends keyof PropType>(key: K, value: PropType[K]) {
128 component.setProperty("name", "rectangle");
129 component.setProperty(cond ? "width" : "height", 10)
130 component.setProperty(cond ? "name" : "visible", true); // Technically not safe
294 setProperty(this, "x", 42);
[all …]
DkeyofAndIndexedAccessErrors.types139 function setProperty<T, K extends keyof T>(obj: T, key: K, value: T[K]) {
140 >setProperty : <T, K extends keyof T>(obj: T, key: K, value: T[K]) => void
181 setProperty(shape, "name", "rectangle");
182 >setProperty(shape, "name", "rectangle") : void
183 >setProperty : <T, K extends keyof T>(obj: T, key: K, value: T[K]) => void
188 setProperty(shape, "size", 10); // Error
189 >setProperty(shape, "size", 10) : void
190 >setProperty : <T, K extends keyof T>(obj: T, key: K, value: T[K]) => void
195 setProperty(shape, cond ? "name" : "size", 10); // Error
196 >setProperty(shape, cond ? "name" : "size", 10) : void
[all …]
DkeyofAndIndexedAccessErrors.symbols169 function setProperty<T, K extends keyof T>(obj: T, key: K, value: T[K]) {
170 >setProperty : Symbol(setProperty, Decl(keyofAndIndexedAccessErrors.ts, 54, 1))
209 setProperty(shape, "name", "rectangle");
210 >setProperty : Symbol(setProperty, Decl(keyofAndIndexedAccessErrors.ts, 54, 1))
213 setProperty(shape, "size", 10); // Error
214 >setProperty : Symbol(setProperty, Decl(keyofAndIndexedAccessErrors.ts, 54, 1))
217 setProperty(shape, cond ? "name" : "size", 10); // Error
218 >setProperty : Symbol(setProperty, Decl(keyofAndIndexedAccessErrors.ts, 54, 1))
DkeyofAndIndexedAccess.types198 function setProperty<T, K extends keyof T>(obj: T, key: K, value: T[K]) {
199 >setProperty : <T, K extends keyof T>(obj: T, key: K, value: T[K]) => void
243 setProperty(shape, "name", "rectangle");
244 >setProperty(shape, "name", "rectangle") : void
245 >setProperty : <T, K extends keyof T>(obj: T, key: K, value: T[K]) => void
250 setProperty(shape, cond ? "width" : "height", 10);
251 >setProperty(shape, cond ? "width" : "height", 10) : void
252 >setProperty : <T, K extends keyof T>(obj: T, key: K, value: T[K]) => void
260 setProperty(shape, cond ? "name" : "visible", true); // Technically not safe
261 >setProperty(shape, cond ? "name" : "visible", true) : void
[all …]
DkeyofAndIndexedAccess.errors.txt99 function setProperty<T, K extends keyof T>(obj: T, key: K, value: T[K]) {
107 setProperty(shape, "name", "rectangle");
108 setProperty(shape, cond ? "width" : "height", 10);
109 setProperty(shape, cond ? "name" : "visible", true); // Technically not safe
114 setProperty(a, "length", len);
134 setProperty<K extends keyof PropType>(key: K, value: PropType[K]) {
143 component.setProperty("name", "rectangle");
144 component.setProperty(cond ? "width" : "height", 10)
145 component.setProperty(cond ? "name" : "visible", true); // Technically not safe
318 setProperty(this, "x", 42);
[all …]
DkeyofAndIndexedAccess.symbols244 function setProperty<T, K extends keyof T>(obj: T, key: K, value: T[K]) {
245 >setProperty : Symbol(setProperty, Decl(keyofAndIndexedAccess.ts, 80, 1))
285 setProperty(shape, "name", "rectangle");
286 >setProperty : Symbol(setProperty, Decl(keyofAndIndexedAccess.ts, 80, 1))
289 setProperty(shape, cond ? "width" : "height", 10);
290 >setProperty : Symbol(setProperty, Decl(keyofAndIndexedAccess.ts, 80, 1))
294 setProperty(shape, cond ? "name" : "visible", true); // Technically not safe
295 >setProperty : Symbol(setProperty, Decl(keyofAndIndexedAccess.ts, 80, 1))
310 setProperty(a, "length", len);
311 >setProperty : Symbol(setProperty, Decl(keyofAndIndexedAccess.ts, 80, 1))
[all …]
DkeyofAndIndexedAccessErrors.errors.txt164 function setProperty<T, K extends keyof T>(obj: T, key: K, value: T[K]) {
177 setProperty(shape, "name", "rectangle");
178 setProperty(shape, "size", 10); // Error
181 setProperty(shape, cond ? "name" : "size", 10); // Error
/third_party/typescript/tests/cases/conformance/types/keyof/
DkeyofAndIndexedAccess.ts86 function setProperty<T, K extends keyof T>(obj: T, key: K, value: T[K]) { function
94 setProperty(shape, "name", "rectangle");
95 setProperty(shape, cond ? "width" : "height", 10);
96 setProperty(shape, cond ? "name" : "visible", true); // Technically not safe
101 setProperty(a, "length", len);
121 setProperty<K extends keyof PropType>(key: K, value: PropType[K]) { method in Component
130 component.setProperty("name", "rectangle");
131 component.setProperty(cond ? "width" : "height", 10)
132 component.setProperty(cond ? "name" : "visible", true); // Technically not safe
296 setProperty(this, "x", 42);
[all …]
DkeyofAndIndexedAccessErrors.ts57 function setProperty<T, K extends keyof T>(obj: T, key: K, value: T[K]) { function
65 setProperty(shape, "name", "rectangle");
66 setProperty(shape, "size", 10); // Error
67 setProperty(shape, cond ? "name" : "size", 10); // Error
/third_party/libdrm/tests/proptest/
Dproptest.c233 static int setProperty(char *argv[]) in setProperty() function
315 ret = setProperty(&argv[optind]); in main()
/third_party/node/test/js-native-api/test_object/
Dtest_null.js14 assert.deepStrictEqual(testNull.setProperty(), expectedForProperty);
/third_party/icu/tools/unicodetools/com/ibm/rbm/
DRBPropertiesExporter.java71 prop.setProperty(item.getKey(), item.getTranslation()); in export()
/third_party/python/Lib/xml/sax/
Dsaxutils.py325 def setProperty(self, name, value): member in XMLFilterBase
326 self._parent.setProperty(name, value)
Dxmlreader.py87 def setProperty(self, name, value): member in XMLReader
Dexpatreader.py190 def setProperty(self, name, value): member in ExpatParser
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_pasteboard.js85 setProperty: function () { method
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestFmwk.java370 System.setProperty("java.security.policy", policyFileName); in parseProperties()
373 …System.setProperty("java.security.policy", originalPolicyFileName==null ? "" : originalPolicyFileN… in parseProperties()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DTestFmwk.java395 System.setProperty("java.security.policy", policyFileName); in parseProperties()
398 …System.setProperty("java.security.policy", originalPolicyFileName==null ? "" : originalPolicyFileN… in parseProperties()
/third_party/node/deps/v8/tools/system-analyzer/view/timeline/
Dtimeline-track-stacked-base.mjs86 this.style.setProperty('--txt-scale', `scale(${1 / ratio}, 1)`);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DCLCommandQueueImpl.h24 virtual cl_int setProperty(cl::CommandQueueProperties properties, cl_bool enable) = 0;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
DCLCommandQueueCL.h25 cl_int setProperty(cl::CommandQueueProperties properties, cl_bool enable) override;
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLCommandQueue.h32 cl_int setProperty(CommandQueueProperties properties,
DCLCommandQueue.cpp111 cl_int CommandQueue::setProperty(CommandQueueProperties properties, in setProperty() function in cl::CommandQueue
121 ANGLE_CL_TRY(mImpl->setProperty(properties, enable)); in setProperty()
/third_party/icu/icu4c/source/test/intltest/
Dintltest.h286 virtual void setProperty(const char* propline);

12