Home
last modified time | relevance | path

Searched refs:string (Results 7651 - 7675 of 51804) sorted by relevance

1...<<301302303304305306307308309310>>...2073

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Instrumentation/
H A DPGOInstrumentation.h21 #include <string>
38 PGOInstrumentationGenCreateVar(std::string CSInstrName = "") in PGOInstrumentationGenCreateVar()
43 std::string CSInstrName;
60 PGOInstrumentationUse(std::string Filename = "",
61 std::string RemappingFilename = "", bool IsCS = false);
66 std::string ProfileFileName;
67 std::string ProfileRemappingFileName;
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceTimerTree.h65 explicit TimerStack(const std::string &Name);
67 TimerIdT getTimerID(const std::string &Name);
69 void setName(const std::string &NewName) { Name = NewName; } in setName()
70 const std::string &getName() const { return Name; } in getName()
83 std::string Name;
88 std::map<std::string, TimerIdT> IDsIndex;
89 std::vector<std::string> IDs; /// indexed by TimerIdT
/third_party/skia/tools/trace/
H A DSkDebugfTracer.cpp48 SkString string(value.as_string); in addTraceEvent()
49 size_t truncAt = string.size(); in addTraceEvent()
50 size_t newLineAt = SkStrFind(string.c_str(), "\n"); in addTraceEvent()
55 if (truncAt < string.size()) { in addTraceEvent()
56 string.resize(truncAt); in addTraceEvent()
57 string.append("..."); in addTraceEvent()
59 args.appendf("%s=\"%s\"", argNames[i], string.c_str()); in addTraceEvent()
/third_party/typescript/tests/baselines/reference/
H A DsubtypesOfUnion.js3 interface I8 { [x: string]: number[]; }
8 class c { baz: string }
13 [x: string]: string | number;
15 foo2: string; // ok
34 [x: string]: E | number;
36 foo2: string; // error
H A DcontrolFlowDoWhileStatement.js4 let x: string | number;
7 x; // string
11 let x: string | number;
14 x; // string
20 let x: string | number;
23 x; // string
25 if (typeof x === "string") continue;
30 let x: string | number;
39 let x: string | number;
47 let x: string | numbe
[all...]
H A DmappedTypesAndObjects.js9 let obj: { [x: string]: any };
21 foo: { [key: string]: any };
30 interface Something { name: string, value: string };
76 [key: string]: any;
85 name: string;
86 value: string;
H A DmergedInterfacesWithInheritedPrivates3.js11 y: string;
15 z: string;
19 y: string;
20 z: string;
25 private x: string;
33 y: string;
37 z: string;
H A DobjectRestAssignment.js10 let overEmit: { a: { ka: string, x: string }[], b: { z: string, ki: string, ku: string }, ke: string, ko: string };
H A DobjectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts2.js15 function foo1(x: I<string, boolean, number, string>);
16 function foo1(x: I<string, boolean, number, string>); // error
27 function foo13(x: I<boolean, string, number, Date>);
31 function foo14(x: I<boolean, string, number, Date>);
39 function foo15(x: I<boolean, string, number, Date>);
H A DeveryTypeWithAnnotationAndInitializer.js16 function F(x: string): number { return 42; }
20 name: string;
23 export function F2(x: number): string { return x.toString(); }
27 var aString: string = 'this is a string';
37 var aGenericClass: D<string> = new D<string>();
42 var anOtherFunction: (x: string) => number = F;
47 var aFunctionInModule: typeof M.F2 = (x) => 'this is a string';
75 var aString = 'this is a string';
[all...]
H A DforStatements.js16 function F(x: string): number { return 42; }
20 name: string;
23 export function F2(x: number): string { return x.toString(); }
27 for(var aString: string = 'this is a string';;){}
37 for(var aGenericClass: D<string> = new D<string>();;){}
42 for(var anOtherFunction: (x: string) => number = F;;){}
47 for(var aFunctionInModule: typeof M.F2 = (x) => 'this is a string';;){}
73 for (var aString = 'this is a string';;) { }
[all...]
H A DfunctionConstraintSatisfaction2.js10 function foo2<T extends (x: string) => string>(x: T): T { return x; }
13 foo: string;
16 var b: { new (x: string): string };
25 var r2 = foo2((x: string[]) => x);
33 interface F2 extends Function { foo: string; }
H A DgenericCallWithOverloadedFunctionTypedArguments2.js8 (x: string): string;
19 function foo5<T>(cb: { (x: T): string; (x: number): T }) {
25 function foo6<T>(cb: { (x: T): string; (x: T, y?: T): string }) {
31 function foo7<T>(x:T, cb: { (x: T): string; (x: T, y?: T): string }) {
H A DimplicitConstParameters.js6 function fn(x: number | string) {
12 function f1(x: string | undefined) {
19 function f2(x: string | undefined) {
27 function f3(x: string | undefined) {
36 function f4(x: string | undefined) {
43 function f5(x: string | undefined) {
51 function f6(x: string | undefined) {
H A DindexerWithTuple.js2 var strNumTuple: [string, number] = ["foo", 10];
3 var numTupleTuple: [number, [string, number]] = [10, ["bar", 20]];
4 var unionTuple1: [number, string| number] = [10, "foo"];
5 var unionTuple2: [boolean, string| number] = [true, "foo"];
10 var ele10 = strNumTuple[0]; // string
12 var ele12 = strNumTuple[2]; // string | number
13 var ele13 = strNumTuple[idx0]; // string | number
14 var ele14 = strNumTuple[idx1]; // string | number
15 var ele15 = strNumTuple["0"]; // string
17 var strNumTuple1 = numTupleTuple[1]; //[string, numbe
[all...]
H A DtypeGuardsObjectMethods.js7 var strOrNum: string | number;
8 var var1: string | number;
11 method(param: string | number) {
13 num = typeof var1 === "string" && var1.length; // string
16 var var2: string | number;
17 num = typeof var2 === "string" && var2.length; // string
20 num = typeof param === "string" && param.length; // string
[all...]
H A DunionTypeEquivalence.js9 var y: string | number;
10 var y : number | string;
13 var z : string | number | boolean;
14 var z : (string | number) | boolean;
15 var z : string | (number | boolean);
16 var AB : string | number;
19 var z1: string | typeof BC;
H A DweakType.js11 new(s: string): { timeout: 1000 }
29 prefix?: string
30 suffix?: string
42 constructor(s: string) { }
46 new (s: string): K
51 type Spoiler = { nope?: string }
60 wrong: string
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
H A Dobjectivec_message.h34 #include <string>
53 MessageGenerator(const string& root_classname,
66 void DetermineObjectiveCClassDefinitions(std::set<string>* fwd_decls);
67 void DetermineForwardDeclarations(std::set<string>* fwd_decls);
84 const string root_classname_;
87 const string class_name_;
88 const string deprecated_attribute_;
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
H A Dcommandlineflag.h30 #include <string>
48 // access a flag's name, location, help string etc.
51 // passing it the flag name string.
60 // std::string flag_location = my_flag_data->Filename();
126 virtual std::string Filename() const = 0;
131 virtual std::string Help() const = 0;
141 virtual std::string DefaultValue() const = 0;
146 virtual std::string CurrentValue() const = 0;
150 // Sets the value of the flag based on specified string `value`. If the flag
153 bool ParseFrom(absl::string_view value, std::string* erro
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Descaping_benchmark.cc28 std::string src; in BM_CUnescapeHexString()
32 std::string dest; in BM_CUnescapeHexString()
40 std::string raw; in BM_WebSafeBase64Escape_string()
43 raw += std::string(test_set.plaintext); in BM_WebSafeBase64Escape_string()
48 std::string escaped; in BM_WebSafeBase64Escape_string()
56 std::string round_trip; in BM_WebSafeBase64Escape_string()
69 std::string src; in CEscapeBenchmarkHelper()
/third_party/skia/experimental/tskit/bindings/
H A Dextension.cpp7 #include <string>
27 Extension(std::string n): fProp(n) {} in Extension()
29 const std::string getProp() { in getProp()
33 void setProp(std::string p) { in setProp()
38 std::string fProp;
43 std::string beta;
75 TS_EXPORT("new(name?: string): Extension") in EMSCRIPTEN_BINDINGS()
76 .constructor<std::string>() in EMSCRIPTEN_BINDINGS()
80 TS_EXPORT("getProp(): string") in EMSCRIPTEN_BINDINGS()
82 TS_PRIVATE_EXPORT("setProp(p: string) in EMSCRIPTEN_BINDINGS()
[all...]
/third_party/spirv-tools/test/opt/
H A Dfreeze_spec_const_test.cpp15 #include <string>
104 std::string expected_disassembly = SelectiveJoin(text, [](const char* line) { in TEST_F()
105 return std::string(line).find("SpecId") != std::string::npos; in TEST_F()
154 std::string expected_disassembly = SelectiveJoin(text, [](const char* line) { in TEST_F()
155 return std::string(line).find("SpecId") != std::string::npos; in TEST_F()
/third_party/spirv-tools/test/opt/loop_optimizations/
H A Dfusion_pass.cpp15 #include <string>
44 const std::string text = R"( in TEST_F()
152 const std::string text = R"( in TEST_F()
291 const std::string text = R"( in TEST_F()
430 const std::string text = R"( in TEST_F()
517 std::string text = R"( in TEST_F()
626 const std::string text = R"( in TEST_F()
/third_party/spirv-tools/test/val/
H A Dval_extension_spv_khr_terminate_invocation_test.cpp17 #include <string>
36 const std::string str = R"( in TEST_F()
56 const std::string str = R"( in TEST_F()
80 const std::string str = R"( in TEST_F()
99 const std::string str = R"( in TEST_F()
123 const std::string str = R"( in TEST_F()
145 const std::string str = R"( in TEST_F()

Completed in 19 milliseconds

1...<<301302303304305306307308309310>>...2073