| /third_party/typescript/tests/cases/compiler/ |
| D | spliceTuples.ts | 1 declare const sb: [string, boolean]; constant 3 let k1: [number, string, boolean]; variable 6 let k2: [number, string, boolean, number]; variable 14 declare const sbb_: [string, boolean, ...boolean[]]; constant 19 let k5: [number, string, boolean, ...boolean[]]; variable 22 let k6: [number, string, boolean, boolean, ...boolean[]]; variable
|
| D | strictOptionalProperties1.ts | 108 const t1: [number, string?, boolean?] = [1]; constant 109 const t2: [number, string?, boolean?] = [1, undefined]; constant 110 const t3: [number, string?, boolean?] = [1, "string", undefined]; constant 111 const t4: [number, string?, boolean?] = [1, undefined, undefined]; constant
|
| /third_party/selinux/libsepol/src/ |
| D | boolean_record.c | 53 const sepol_bool_t * boolean, in sepol_bool_key_extract() 74 int sepol_bool_compare(const sepol_bool_t * boolean, in sepol_bool_compare() 81 int sepol_bool_compare2(const sepol_bool_t * boolean, in sepol_bool_compare2() 89 const char *sepol_bool_get_name(const sepol_bool_t * boolean) in sepol_bool_get_name() 97 sepol_bool_t * boolean, const char *name) in sepol_bool_set_name() 112 int sepol_bool_get_value(const sepol_bool_t * boolean) in sepol_bool_get_value() 119 void sepol_bool_set_value(sepol_bool_t * boolean, int value) in sepol_bool_set_value() 130 sepol_bool_t *boolean = (sepol_bool_t *) malloc(sizeof(sepol_bool_t)); in sepol_bool_create() local 148 const sepol_bool_t * boolean, sepol_bool_t ** bool_ptr) in sepol_bool_clone() 171 void sepol_bool_free(sepol_bool_t * boolean) in sepol_bool_free()
|
| /third_party/typescript/tests/baselines/reference/ |
| D | typeGuardsInIfStatement.js | 60 function foo7(x: number | string | boolean) { 71 function foo8(x: number | string | boolean) { 96 function foo10(x: number | string | boolean) { 109 function foo11(x: number | string | boolean) { 129 function foo12(x: number | string | boolean) {
|
| D | typeGuardsInConditionalExpression.js | 40 function foo7(x: number | string | boolean) { 47 function foo8(x: number | string | boolean) { 63 function foo10(x: number | string | boolean) { 72 function foo11(x: number | string | boolean) { 82 function foo12(x: number | string | boolean) {
|
| D | typeGuardsInRightOperandOfOrOrOperator.js | 16 function foo4(x: number | string | boolean) { 21 function foo5(x: number | string | boolean) { 28 function foo6(x: number | string | boolean) { 35 function foo7(x: number | string | boolean) {
|
| D | typeGuardsInRightOperandOfAndAndOperator.js | 15 function foo4(x: number | string | boolean) { 20 function foo5(x: number | string | boolean) { 27 function foo6(x: number | string | boolean) { 34 function foo7(x: number | string | boolean) {
|
| D | typeGuardsInFunctionAndModuleBlock.js | 4 function foo(x: number | string | boolean) { 14 function foo2(x: number | string | boolean) { 24 function foo3(x: number | string | boolean) { 34 function foo4(x: number | string | boolean) { 45 function foo5(x: number | string | boolean) {
|
| D | classWithPredefinedTypesAsNames.js | 6 class boolean { } class 21 var boolean = /** @class */ (function () { function 22 function boolean() { function
|
| D | objectTypesWithPredefinedTypesAsName.js | 8 class boolean { } class 28 var boolean = /** @class */ (function () { function 29 function boolean() { function
|
| D | restParameterWithBindingPattern3.js | 6 function c(...{0: a, length, 3: d}: [boolean, string, number]) { } 8 function d(...[a, , , d]: [boolean, string, number]) { } function 10 function e(...{0: a = 1, 1: b = true, ...rest: rest}: [boolean, string, number]) { }
|
| D | typeGuardsInDoStatement.js | 3 function a(x: string | number | boolean) { 11 function b(x: string | number | boolean) {
|
| D | parserErrorRecovery_Block3.js | 3 private a(): boolean { field in C 5 private b(): boolean { field in C
|
| D | getSetEnumerable.js | 7 set prop(value: boolean) { } 12 set prop(value: boolean) { } 20 set prop(value: boolean) { } 25 set prop(value: boolean) { }
|
| D | optionalArgsWithDefaultValues.js | 2 function foo(x: number, y?:boolean=false, z?=0) {} 5 public foo(x: number, y?:boolean=false, z?=0) {} 6 static foo2(x: number, y?:boolean=false, z?=0) {}
|
| D | declarationEmitDestructuringWithOptionalBindingParameters.js | 2 function foo([x,y,z]?: [string, number, boolean]) { argument 4 function foo1( { x, y, z }?: { x: string; y: number; z: boolean }) {
|
| D | promiseIdentityWithAny2.js | 11 var x: Promise<string, boolean>; variable 23 var y: Promise2<string, boolean>; variable
|
| D | doesNotNarrowUnionOfConstructorsWithInstanceof.js | 16 function getTypedArray(flag: boolean) { 19 function getTypedArrayConstructor(flag: boolean) {
|
| D | literalTypeWidening.js | 15 function f2(cond: boolean) { 39 function f4(cond: boolean) { 66 function f6(cond: boolean) {
|
| D | metadataOfUnion.js | 12 y: true | boolean; field in B 15 z: "foo" | boolean; field in B
|
| D | numericStringLiteralTypes.js | 8 function f1(a: boolean[], x: `${number}`) { 12 function f2(a: boolean[], x: number | `${number}`) {
|
| D | booleanLiteralTypes1.js | 12 function f2(a: true | false, b: boolean) { 36 function f5(b: boolean) {
|
| /third_party/typescript/tests/cases/conformance/types/rest/ |
| D | genericRestParameters3.ts | 9 declare const t1: [string] | [number, boolean]; constant 10 declare const t2: readonly [string] | [number, boolean]; constant 11 declare const t3: [string] | readonly [number, boolean]; constant 12 declare const t4: readonly [string] | readonly [number, boolean]; constant
|
| D | restTuplesFromContextualTypes.ts | 4 declare const t1: [number, boolean, string]; constant 20 declare const t2: [number, boolean, ...string[]]; constant
|
| /third_party/typescript/tests/ts_extra_tests/test_ts_cases/4.2/leading_middle_rest_elements_in_tuple_types/ |
| D | leading_middle_rest_elements_in_tuple_types3.ts | 34 let tup1: [...myType[], boolean]; variable 39 let tup2: [string, ...myType[], boolean]; variable 44 let tup3: [string, boolean, ...myType[]]; variable
|