Home
last modified time | relevance | path

Searched refs:getProperty (Results 1 – 25 of 127) sorted by relevance

123456

/third_party/typescript/tests/cases/conformance/types/keyof/
DkeyofAndIndexedAccess.ts82 function getProperty<T, K extends keyof T>(obj: T, key: K) { function
91 let name = getProperty(shape, "name"); // string
92 let widthOrHeight = getProperty(shape, cond ? "width" : "height"); // number
93 let nameOrVisible = getProperty(shape, cond ? "name" : "visible"); // string | boolean
100 let len = getProperty(a, "length"); // number
105 let len = getProperty(t, "length");
106 let s2 = getProperty(t, "0"); // Shape
107 let b2 = getProperty(t, "1"); // boolean
111 let x = getProperty(foo, "x"); // any
112 let y = getProperty(foo, "100"); // any
[all …]
DkeyofAndIndexedAccessErrors.ts53 function getProperty<T, K extends keyof T>(obj: T, key: K) { function
62 let x1 = getProperty(shape, "name");
63 let x2 = getProperty(shape, "size"); // Error
64 let x3 = getProperty(shape, cond ? "name" : "size"); // Error
/third_party/typescript/tests/baselines/reference/
DkeyofAndIndexedAccess.js80 function getProperty<T, K extends keyof T>(obj: T, key: K) {
89 let name = getProperty(shape, "name"); // string
90 let widthOrHeight = getProperty(shape, cond ? "width" : "height"); // number
91 let nameOrVisible = getProperty(shape, cond ? "name" : "visible"); // string | boolean
98 let len = getProperty(a, "length"); // number
103 let len = getProperty(t, "length");
104 let s2 = getProperty(t, "0"); // Shape
105 let b2 = getProperty(t, "1"); // boolean
109 let x = getProperty(foo, "x"); // any
110 let y = getProperty(foo, "100"); // any
[all …]
DkeyofAndIndexedAccessErrors.js54 function getProperty<T, K extends keyof T>(obj: T, key: K) {
63 let x1 = getProperty(shape, "name");
64 let x2 = getProperty(shape, "size"); // Error
65 let x3 = getProperty(shape, cond ? "name" : "size"); // Error
163 function getProperty(obj, key) { function
170 var x1 = getProperty(shape, "name");
171 var x2 = getProperty(shape, "size"); // Error
172 var x3 = getProperty(shape, cond ? "name" : "size"); // Error
DkeyofAndIndexedAccess.types187 function getProperty<T, K extends keyof T>(obj: T, key: K) {
188 >getProperty : <T, K extends keyof T>(obj: T, key: K) => T[K]
216 let name = getProperty(shape, "name"); // string
218 >getProperty(shape, "name") : string
219 >getProperty : <T, K extends keyof T>(obj: T, key: K) => T[K]
223 let widthOrHeight = getProperty(shape, cond ? "width" : "height"); // number
225 >getProperty(shape, cond ? "width" : "height") : number
226 >getProperty : <T, K extends keyof T>(obj: T, key: K) => T[K]
233 let nameOrVisible = getProperty(shape, cond ? "name" : "visible"); // string | boolean
235 >getProperty(shape, cond ? "name" : "visible") : string | boolean
[all …]
DkeyofAndIndexedAccess.errors.txt95 function getProperty<T, K extends keyof T>(obj: T, key: K) {
104 let name = getProperty(shape, "name"); // string
105 let widthOrHeight = getProperty(shape, cond ? "width" : "height"); // number
106 let nameOrVisible = getProperty(shape, cond ? "name" : "visible"); // string | boolean
113 let len = getProperty(a, "length"); // number
118 let len = getProperty(t, "length");
119 let s2 = getProperty(t, "0"); // Shape
120 let b2 = getProperty(t, "1"); // boolean
124 let x = getProperty(foo, "x"); // any
125 let y = getProperty(foo, "100"); // any
[all …]
DunspecializedConstraints.js24 var thisProp = this.getProperty(i);
37 getProperty(index: number): Property {
119 function getProperty<T>(map: Map<T>, key: string): T {
197 var thisProp = this.getProperty(i);
212 Type.prototype.getProperty = function (index) { method in Type
307 function getProperty(map, key) { function
DkeyofAndIndexedAccess.symbols229 function getProperty<T, K extends keyof T>(obj: T, key: K) {
230 >getProperty : Symbol(getProperty, Decl(keyofAndIndexedAccess.ts, 76, 26))
268 let name = getProperty(shape, "name"); // string
270 >getProperty : Symbol(getProperty, Decl(keyofAndIndexedAccess.ts, 76, 26))
273 let widthOrHeight = getProperty(shape, cond ? "width" : "height"); // number
275 >getProperty : Symbol(getProperty, Decl(keyofAndIndexedAccess.ts, 76, 26))
279 let nameOrVisible = getProperty(shape, cond ? "name" : "visible"); // string | boolean
281 >getProperty : Symbol(getProperty, Decl(keyofAndIndexedAccess.ts, 76, 26))
305 let len = getProperty(a, "length"); // number
307 >getProperty : Symbol(getProperty, Decl(keyofAndIndexedAccess.ts, 76, 26))
[all …]
DkeyofAndIndexedAccessErrors.types128 function getProperty<T, K extends keyof T>(obj: T, key: K) {
129 >getProperty : <T, K extends keyof T>(obj: T, key: K) => T[K]
157 let x1 = getProperty(shape, "name");
159 >getProperty(shape, "name") : string
160 >getProperty : <T, K extends keyof T>(obj: T, key: K) => T[K]
164 let x2 = getProperty(shape, "size"); // Error
166 >getProperty(shape, "size") : string | number | boolean
167 >getProperty : <T, K extends keyof T>(obj: T, key: K) => T[K]
171 let x3 = getProperty(shape, cond ? "name" : "size"); // Error
173 >getProperty(shape, cond ? "name" : "size") : string | number | boolean
[all …]
/third_party/typescript/src/services/codefixes/
DfixPropertyAssignment.ts13 const property = getProperty(sourceFile, span.start);
18 …l(context, errorCodes, (changes, diag) => doChange(changes, diag.file, getProperty(diag.file, diag…
25 function getProperty(sourceFile: SourceFile, pos: number): ShorthandPropertyAssignment { function
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICUConfig.java70 return System.getProperty(fname); in get()
78 val = System.getProperty(name); in get()
82 val = CONFIG_PROPS.getProperty(name, def); in get()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUConfig.java68 return System.getProperty(fname); in get()
76 val = System.getProperty(name); in get()
80 val = CONFIG_PROPS.getProperty(name, def); in get()
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/5.2/labeledelementdeclarations_may_hold_undefined_elements/
Dlabeledelementdeclarations_may_hold_undefined_elements_10.ts58 getProperty() { return undefined },
108 getProperty() { return undefined },
135 getProperty() { return undefined },
Dlabeledelementdeclarations_may_hold_undefined_elements_6.ts58 getProperty() { return undefined },
109 getProperty() { return undefined },
136 getProperty() { return undefined },
Dlabeledelementdeclarations_may_hold_undefined_elements_7.ts58 getProperty() { return undefined },
108 getProperty() { return undefined },
135 getProperty() { return undefined },
Dlabeledelementdeclarations_may_hold_undefined_elements_8.ts58 getProperty() { return undefined },
108 getProperty() { return undefined },
135 getProperty() { return undefined },
Dlabeledelementdeclarations_may_hold_undefined_elements_2.ts58 getProperty() { return undefined },
108 getProperty() { return undefined },
135 getProperty() { return undefined },
Dlabeledelementdeclarations_may_hold_undefined_elements_5.ts58 getProperty() { return undefined },
108 getProperty() { return undefined },
135 getProperty() { return undefined },
Dlabeledelementdeclarations_may_hold_undefined_elements_9.ts58 getProperty() { return undefined },
108 getProperty() { return undefined },
135 getProperty() { return undefined },
Dlabeledelementdeclarations_may_hold_undefined_elements_4.ts58 getProperty() { return undefined },
108 getProperty() { return undefined },
135 getProperty() { return undefined },
Dlabeledelementdeclarations_may_hold_undefined_elements_3.ts58 getProperty() { return undefined },
108 getProperty() { return undefined },
135 getProperty() { return undefined },
Dlabeledelementdeclarations_may_hold_undefined_elements_1.ts60 getProperty() { return undefined },
110 getProperty() { return undefined },
137 getProperty() { return undefined },
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestFmwk.java205 protected static String getProperty(String key) { in getProperty() method in TestFmwk
206 return getParams().getProperty(key); in getProperty()
366 policyFileName = getProperty(SECURITY_POLICY); in parseProperties()
368 String originalPolicyFileName = System.getProperty("java.security.policy"); in parseProperties()
377 public String getProperty(String key) { in getProperty() method in TestFmwk.TestParams
380 val = props.getProperty(key); in getProperty()
390 String s = getProperty(key); in getBooleanProperty()
405 String s = getProperty(key); in getIntProperty()
413 String s = getProperty(key); in getLongProperty()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DTestFmwk.java231 protected static String getProperty(String key) { in getProperty() method in TestFmwk
232 return getParams().getProperty(key); in getProperty()
391 policyFileName = getProperty(SECURITY_POLICY); in parseProperties()
393 String originalPolicyFileName = System.getProperty("java.security.policy"); in parseProperties()
402 public String getProperty(String key) { in getProperty() method in TestFmwk.TestParams
405 val = props.getProperty(key); in getProperty()
415 String s = getProperty(key); in getBooleanProperty()
430 String s = getProperty(key); in getIntProperty()
438 String s = getProperty(key); in getLongProperty()
/third_party/typescript/tests/cases/compiler/
DunspecializedConstraints.ts23 var thisProp = this.getProperty(i);
36 getProperty(index: number): Property { method in Type
118 function getProperty<T>(map: Map<T>, key: string): T { function

123456