/third_party/typescript/tests/cases/conformance/types/keyof/ |
D | keyofAndIndexedAccess.ts | 82 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 …]
|
D | keyofAndIndexedAccessErrors.ts | 53 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/ |
D | keyofAndIndexedAccess.js | 80 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 …]
|
D | keyofAndIndexedAccessErrors.js | 54 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
|
D | keyofAndIndexedAccess.types | 187 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 …]
|
D | keyofAndIndexedAccess.errors.txt | 95 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 …]
|
D | unspecializedConstraints.js | 24 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
|
D | keyofAndIndexedAccess.symbols | 229 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 …]
|
D | keyofAndIndexedAccessErrors.types | 128 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/ |
D | fixPropertyAssignment.ts | 13 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/ |
D | ICUConfig.java | 70 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/ |
D | ICUConfig.java | 68 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/ |
D | labeledelementdeclarations_may_hold_undefined_elements_10.ts | 58 getProperty() { return undefined }, 108 getProperty() { return undefined }, 135 getProperty() { return undefined },
|
D | labeledelementdeclarations_may_hold_undefined_elements_6.ts | 58 getProperty() { return undefined }, 109 getProperty() { return undefined }, 136 getProperty() { return undefined },
|
D | labeledelementdeclarations_may_hold_undefined_elements_7.ts | 58 getProperty() { return undefined }, 108 getProperty() { return undefined }, 135 getProperty() { return undefined },
|
D | labeledelementdeclarations_may_hold_undefined_elements_8.ts | 58 getProperty() { return undefined }, 108 getProperty() { return undefined }, 135 getProperty() { return undefined },
|
D | labeledelementdeclarations_may_hold_undefined_elements_2.ts | 58 getProperty() { return undefined }, 108 getProperty() { return undefined }, 135 getProperty() { return undefined },
|
D | labeledelementdeclarations_may_hold_undefined_elements_5.ts | 58 getProperty() { return undefined }, 108 getProperty() { return undefined }, 135 getProperty() { return undefined },
|
D | labeledelementdeclarations_may_hold_undefined_elements_9.ts | 58 getProperty() { return undefined }, 108 getProperty() { return undefined }, 135 getProperty() { return undefined },
|
D | labeledelementdeclarations_may_hold_undefined_elements_4.ts | 58 getProperty() { return undefined }, 108 getProperty() { return undefined }, 135 getProperty() { return undefined },
|
D | labeledelementdeclarations_may_hold_undefined_elements_3.ts | 58 getProperty() { return undefined }, 108 getProperty() { return undefined }, 135 getProperty() { return undefined },
|
D | labeledelementdeclarations_may_hold_undefined_elements_1.ts | 60 getProperty() { return undefined }, 110 getProperty() { return undefined }, 137 getProperty() { return undefined },
|
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | TestFmwk.java | 205 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/ |
D | TestFmwk.java | 231 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/ |
D | unspecializedConstraints.ts | 23 var thisProp = this.getProperty(i); 36 getProperty(index: number): Property { method in Type 118 function getProperty<T>(map: Map<T>, key: string): T { function
|