/third_party/typescript/tests/baselines/reference/ |
D | templateStringBinaryOperations.types | 3 >a : string 4 >1 + `${ 3 }` : string 6 >`${ 3 }` : string 10 >b : string 11 >1 + `2${ 3 }` : string 13 >`2${ 3 }` : string 17 >c : string 18 >1 + `${ 3 }4` : string 20 >`${ 3 }4` : string 24 >d : string [all …]
|
D | templateStringBinaryOperationsES6.types | 3 >a : string 4 >1 + `${ 3 }` : string 6 >`${ 3 }` : string 10 >b : string 11 >1 + `2${ 3 }` : string 13 >`2${ 3 }` : string 17 >c : string 18 >1 + `${ 3 }4` : string 20 >`${ 3 }4` : string 24 >d : string [all …]
|
D | partialOfLargeAPIIsAbleToBeWorkedWith.types | 3 0: (x: 0) => string; 4 >0 : (x: 0) => string 7 1: (x: 1) => string; 8 >1 : (x: 1) => string 11 2: (x: 2) => string; 12 >2 : (x: 2) => string 15 3: (x: 3) => string; 16 >3 : (x: 3) => string 19 4: (x: 4) => string; 20 >4 : (x: 4) => string [all …]
|
D | noImplicitAnyStringIndexerOnObject.types | 8 var b: string = { '': 'foo' }['']; 9 >b : string 10 >{ '': 'foo' }[''] : string 11 >{ '': 'foo' } : { '': string; } 12 >'' : string 17 >c : { get: (key: string) => string; } 18 >{ get: (key: string) => 'foobar'} : { get: (key: string) => string; } 20 get: (key: string) => 'foobar' 21 >get : (key: string) => string 22 >(key: string) => 'foobar' : (key: string) => string [all …]
|
D | callWithSpread3.types | 2 declare const s2: [string, string]; 3 >s2 : [string, string] 5 declare const s3: [string, string, string]; 6 >s3 : [string, string, string] 8 declare const s2_: [string, string, ...string[]]; 9 >s2_ : [string, string, ...string[]] 11 declare const s_: string[]; 12 >s_ : string[] 17 declare const s2n_: [string, string, ...number[]]; 18 >s2n_ : [string, string, ...number[]] [all …]
|
D | assignFromStringInterface2.types | 1 === tests/cases/conformance/types/primitives/string/assignFromStringInterface2.ts === 3 doStuff(): string; 4 >doStuff : () => string 8 doStuff(): string; 9 >doStuff : () => string 11 toString(): string; 12 >toString : () => string 14 charAt(pos: number): string; 15 >charAt : (pos: number) => string 22 concat(...strings: string[]): string; [all …]
|
D | declFileMethods.types | 10 public fooWithParameters(/** this is comment about a*/a: string, 11 >fooWithParameters : (a: string, b: number) => void 12 >a : string 19 >d : string 20 >a : string 22 public fooWithRestParameters(a: string, ...rests: string[]) { 23 >fooWithRestParameters : (a: string, ...rests: string[]) => string 24 >a : string 25 >rests : string[] 28 >a + rests.join("") : string [all …]
|
D | jsDeclarationsPackageJson.types | 3 …string; version: string; description: string; main: string; bin: { cli: string; }; engines: { node… 4 …string; version: string; description: string; main: string; bin: { cli: string; }; engines: { node… 9 …string; version: string; description: string; main: string; bin: { cli: string; }; engines: { node… 10 …string; version: string; description: string; main: string; bin: { cli: string; }; engines: { node… 11 …string; version: string; description: string; main: string; bin: { cli: string; }; engines: { node… 12 …string; version: string; description: string; main: string; bin: { cli: string; }; engines: { node… 13 …string; version: string; description: string; main: string; bin: { cli: string; }; engines: { node… 17 …string; version: string; description: string; main: string; bin: { cli: string; }; engines: { node… 20 >"name" : string 24 >"version" : string [all …]
|
D | sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.types | 9 type Robot = [number, string, string]; 12 type MultiSkilledRobot = [string, [string, string]]; 17 >[1, "mower", "mowing"] : [number, string, string] 24 >[2, "trimmer", "trimming"] : [number, string, string] 31 >["mower", ["mowing", ""]] : [string, [string, string]] 33 >["mowing", ""] : [string, string] 39 >["trimmer", ["trimming", "edging"]] : [string, [string, string]] 41 >["trimming", "edging"] : [string, string] 45 let nameA: string, numberB: number, nameB: string, skillB: string; 46 >nameA : string [all …]
|
D | numericIndexingResults.types | 5 [x: number]: string; 9 >1 : string 13 >"2" : string 21 >r1 : string 22 >c['1'] : string 27 >r2 : string 28 >c['2'] : string 39 >r4 : string 40 >c[1] : string 45 >r5 : string [all …]
|
D | typeGuardsInFunction.types | 9 var var1: string | number; 10 >var1 : string | number 13 function f(param: string | number) { 14 >f : (param: string | number) => void 15 >param : string | number 18 num = typeof var1 === "string" && var1.length; // string 19 >num = typeof var1 === "string" && var1.length : number 21 >typeof var1 === "string" && var1.length : number 22 >typeof var1 === "string" : boolean 23 >typeof var1 : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "fu… [all …]
|
D | stringLiteralTypesOverloads02.types | 2 function getFalsyPrimitive(x: "string"): string; 3 …string"): string; (x: "number"): number; (x: "boolean"): boolean; (x: "string" | "boolean"): strin… 4 >x : "string" 7 …string"): string; (x: "number"): number; (x: "boolean"): boolean; (x: "string" | "boolean"): strin… 11 …string"): string; (x: "number"): number; (x: "boolean"): boolean; (x: "string" | "boolean"): strin… 14 function getFalsyPrimitive(x: "boolean" | "string"): boolean | string; 15 …string"): string; (x: "number"): number; (x: "boolean"): boolean; (x: "boolean" | "string"): boole… 16 >x : "string" | "boolean" 19 …string"): string; (x: "number"): number; (x: "boolean"): boolean; (x: "string" | "boolean"): strin… 22 function getFalsyPrimitive(x: "number" | "string"): number | string; [all …]
|
D | declarationEmitAliasFromIndirectFile.types | 6 … { shorthand: [string, string, string, string, string, string, string]; longhand: [string, string,… 8 shorthand: [string, string, string, string, string, string, string]; 9 >shorthand : [string, string, string, string, string, string, string] 11 longhand: [string, string, string, string, string, string, string]; 12 >longhand : [string, string, string, string, string, string, string] 20 … { shorthand: [string, string, string, string, string, string, string]; longhand: [string, string,… 22 shorthand: [string, string, string, string, string, string, string]; 23 >shorthand : [string, string, string, string, string, string, string] 25 longhand: [string, string, string, string, string, string, string]; 26 >longhand : [string, string, string, string, string, string, string]
|
D | stringLiteralTypesOverloads01.types | 2 type PrimitiveName = 'string' | 'number' | 'boolean'; 5 function getFalsyPrimitive(x: "string"): string; 6 …string"): string; (x: "number"): number; (x: "boolean"): boolean; (x: "string" | "boolean"): strin… 7 >x : "string" 10 …string"): string; (x: "number"): number; (x: "boolean"): boolean; (x: "string" | "boolean"): strin… 14 …string"): string; (x: "number"): number; (x: "boolean"): boolean; (x: "string" | "boolean"): strin… 17 function getFalsyPrimitive(x: "boolean" | "string"): boolean | string; 18 …string"): string; (x: "number"): number; (x: "boolean"): boolean; (x: "boolean" | "string"): boole… 19 >x : "string" | "boolean" 22 …string"): string; (x: "number"): number; (x: "boolean"): boolean; (x: "string" | "boolean"): strin… [all …]
|
D | assignmentCompatWithObjectMembersStringNumericNames.types | 3 // string named numeric properties work correctly, errors below unless otherwise noted 8 class S { '1': string; } 10 >'1' : string 12 class T { '1.': string; } 14 >'1.' : string 22 interface S2 { '1': string; bar?: string } 23 >'1' : string 24 >bar : string 26 interface T2 { '1.0': string; baz?: string } 27 >'1.0' : string [all …]
|
D | typeGuardsInClassAccessors.types | 9 var strOrNum: string | number; 10 >strOrNum : string | number 12 var var1: string | number; 13 >var1 : string | number 20 >p1 : string | number 23 num = typeof var1 === "string" && var1.length; // string 24 >num = typeof var1 === "string" && var1.length : number 26 >typeof var1 === "string" && var1.length : number 27 >typeof var1 === "string" : boolean 28 >typeof var1 : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "fu… [all …]
|
D | derivedClassOverridesProtectedMembers2.types | 2 var x: { foo: string; } 3 >x : { foo: string; } 4 >foo : string 6 var y: { foo: string; bar: string; } 7 >y : { foo: string; bar: string; } 8 >foo : string 9 >bar : string 15 >a : { foo: string; } 16 >x : { foo: string; } 20 >a : { foo: string; } [all …]
|
D | derivedClassOverridesPublicMembers.types | 2 var x: { foo: string; } 3 >x : { foo: string; } 4 >foo : string 6 var y: { foo: string; bar: string; } 7 >y : { foo: string; bar: string; } 8 >foo : string 9 >bar : string 15 >a : { foo: string; } 16 >x : { foo: string; } 20 >a : { foo: string; } [all …]
|
D | unionTypeCallSignatures.types | 5 var strOrBoolean: string | boolean; 6 >strOrBoolean : string | boolean 8 var strOrNum: string | number; 9 >strOrNum : string | number 27 >strOrBoolean : string | boolean 33 >unionOfDifferentReturnType1(true) : (number | Date) & (string | boolean) 34 …DifferentReturnType1 : { (a: number): number; (a: string): string; } | { (a: number): Date; (a: st… 37 …fDifferentReturnType1: { (a: number): number; (a: string): string; } | { (a: number): Date; (a: st… 38 …DifferentReturnType1 : { (a: number): number; (a: string): string; } | { (a: number): Date; (a: st… 40 >a : string [all …]
|
D | sourceMapValidationDestructuringForOfObjectBindingPattern2.types | 10 name: string; 11 >name : string 13 skill: string; 14 >skill : string 18 name: string; 19 >name : string 22 >skills : { primary: string; secondary: string; } 24 primary: string; 25 >primary : string 27 secondary: string; [all …]
|
/third_party/boost/libs/geometry/test/algorithms/overlay/ |
D | overlay_cases.hpp | 24 static std::string case_1[2] = { 28 static std::string ccw_case_1[2] = { 32 static std::string open_case_1[2] = { 37 static std::string case_2[2] = { 41 static std::string case_3[2] = { 45 static std::string case_3_sph[2] = { 49 static std::string case_3_2[2] = { 53 static std::string case_3_2_sph[2] = { 57 static std::string case_4[2] = { 61 static std::string case_5[2] = { [all …]
|
D | multi_overlay_cases.hpp | 23 static std::string case_multi_simplex[2] = 30 static std::string case_single_simplex = "POLYGON((3 0,0 3,4 5,3 0))"; 32 static std::string case_multi_no_ip[2] = 38 static std::string case_multi_2[2] = 46 static std::string case_58_multi[8] = 60 static std::string case_61_multi[2] = 67 static std::string case_62_multi[2] = 74 static std::string case_63_multi[2] = 81 static std::string case_64_multi[3] = 90 static std::string case_65_multi[4] = [all …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/val/ |
D | val_capability_test.cpp | 36 using std::string; 75 using CapTestParameter = tuple<string, pair<string, vector<string>>>; 77 const string& Capability(const CapTestParameter& p) { return get<0>(p); } in Capability() 78 const string& Remainder(const CapTestParameter& p) { return get<1>(p).first; } in Remainder() 79 const vector<string>& MustSucceed(const CapTestParameter& p) { in MustSucceed() 84 string MakeAssembly(const CapTestParameter& p) { in MakeAssembly() 86 const string& capability = Capability(p); in MakeAssembly() 129 const vector<string>& AllCapabilities() { in AllCapabilities() 130 static const auto r = new vector<string>{ in AllCapabilities() 194 const vector<string>& AllSpirV10Capabilities() { in AllSpirV10Capabilities() [all …]
|
/third_party/boost/libs/algorithm/string/test/ |
D | replace_test.cpp | 38 BOOST_CHECK( boost::algorithm::has_native_replace<string>::value ); in sequence_traits_test() 39 BOOST_CHECK( !boost::algorithm::has_stable_iterators<string>::value ); in sequence_traits_test() 40 BOOST_CHECK( !boost::algorithm::has_const_time_insert<string>::value ); in sequence_traits_test() 41 BOOST_CHECK( !boost::algorithm::has_const_time_erase<string>::value ); in sequence_traits_test() 62 string str1(Input);\ 69 string strout;\ 93 TEST_ALGO( replace_first, "1abc3abc2", string("abc") C_ string("YYY"), string("1YYY3abc2") ); in replace_first_test() 94 TEST_ALGO( ireplace_first, "1AbC3abc2", "aBc" C_ "YYY", string("1YYY3abc2") ); in replace_first_test() 95 TEST_ALGO( replace_first, "1abc3abc2", string("abc") C_ string("Z"), string("1Z3abc2") ); in replace_first_test() 96 TEST_ALGO( replace_first, "1abc3abc2", string("abc") C_ string("XXXX"), string("1XXXX3abc2") ); in replace_first_test() [all …]
|
/third_party/glib/glib/ |
D | gstring.c | 96 g_string_maybe_expand (GString *string, in g_string_maybe_expand() argument 99 if (string->len + len >= string->allocated_len) in g_string_maybe_expand() 101 string->allocated_len = nearest_power (1, string->len + len + 1); in g_string_maybe_expand() 102 string->str = g_realloc (string->str, string->allocated_len); in g_string_maybe_expand() 121 GString *string = g_slice_new (GString); in g_string_sized_new() local 123 string->allocated_len = 0; in g_string_sized_new() 124 string->len = 0; in g_string_sized_new() 125 string->str = NULL; in g_string_sized_new() 127 g_string_maybe_expand (string, MAX (dfl_size, 2)); in g_string_sized_new() 128 string->str[0] = 0; in g_string_sized_new() [all …]
|