Home
last modified time | relevance | path

Searched refs:bar (Results 1 - 25 of 1425) sorted by relevance

12345678910>>...57

/third_party/curl/src/
H A Dtool_cb_prg.c81 static void fly(struct ProgressData *bar, bool moved) in fly() argument
85 int check = bar->width - 2; in fly()
87 /* bar->width is range checked when assigned */ in fly()
88 DEBUGASSERT(bar->width <= MAX_BARLENGTH); in fly()
89 memset(buf, ' ', bar->width); in fly()
90 buf[bar->width] = '\r'; in fly()
91 buf[bar->width + 1] = '\0'; in fly()
93 memcpy(&buf[bar->bar], "-=O=-", 5); in fly()
95 pos = sinus[bar in fly()
138 struct ProgressData *bar = &per->progressbar; tool_progress_cb() local
232 progressbarinit(struct ProgressData *bar, struct OperationConfig *config) progressbarinit() argument
[all...]
/third_party/typescript/tests/baselines/reference/
H A DcomputedPropertiesInDestructuring1_ES6.js3 let foo = "bar";
4 let {[foo]: bar} = {bar: "bar"}; property
6 let {["bar"]: bar2} = {bar: "bar"}; property
7 let {[11]: bar2_1} = {11: "bar"};
9 let foo2 = () => "bar";
10 let {[foo2()]: bar3} = {bar property
26 ({[foo]: bar} = {bar: "bar"}); global() property
28 ({["bar"]: bar2} = {bar: "bar"}); global() property
30 ({[foo2()]: bar3} = {bar: "bar"}); global() property
42 let { [foo]: bar } = { bar: "bar" }; global() property
43 let { ["bar"]: bar2 } = { bar: "bar" }; global() property
46 let { [foo2()]: bar3 } = { bar: "bar" }; global() property
58 ({ [foo]: bar } = { bar: "bar" }); global() property
59 ({ ["bar"]: bar2 } = { bar: "bar" }); global() property
60 ({ [foo2()]: bar3 } = { bar: "bar" }); global() property
[all...]
H A DexhaustiveSwitchImplicitReturn.js2 function foo1(bar: "a"): number {
3 switch(bar) {
9 function foo2(bar: "a"): number {
10 switch(bar) {
18 function foo3(bar: "a"): number {
19 switch(bar) {
27 function foo4(bar: "a"): number {
28 switch(bar) {
33 foo3(bar);
36 function foo5(bar
[all...]
H A DcomputedPropertiesInDestructuring1.js3 let foo = "bar";
4 let {[foo]: bar} = {bar: "bar"}; property
6 let {["bar"]: bar2} = {bar: "bar"}; property
8 let foo2 = () => "bar";
9 let {[foo2()]: bar3} = {bar: "bar"}; property
25 ({[foo]: bar} = {bar: "bar"}); global() property
27 ({["bar"]: bar2} = {bar: "bar"}); global() property
29 ({[foo2()]: bar3} = {bar: "bar"}); global() property
69 (_a = { bar: "bar" }, _b = foo, bar = _a[_b]); global() property
70 (bar2 = { bar: "bar" }["bar"]); global() property
71 (_c = { bar: "bar" }, _d = foo2(), bar3 = _c[_d]); global() property
[all...]
H A DparameterInitializersForwardReferencing1.js4 function f1 (bar = foo) { // unexpected compiler error; works at runtime
6 return bar; // returns 1
9 function f2 (bar = (baz = foo) => baz) { // unexpected compiler error; works at runtime
11 return bar(); // returns 1
14 function f3 (bar = foo, foo = 2) { // correct compiler error, error at runtime
15 return bar;
18 function f4 (foo, bar = foo) {
19 return bar
30 function f7({[foo]: bar}: any[]) {
38 function f8(foo1: string, bar
49 if (bar === void 0) { bar = function (baz) { global() function
[all...]
H A DdestructuringSameNames.js4 let { foo, foo: bar } = { foo: 1 };
6 ({ foo, foo: bar } = { foo: 3 });
7 ({ foo: bar, foo } = { foo: 4 });
8 ({ foo, bar: foo } = { foo: 3, bar: 33 }); property
9 ({ bar: foo, foo } = { foo: 4, bar: 44 }); property
10 ({ foo: bar, foo: bar } = { foo: 5 });
11 ({ foo: bar, ba property
40 (_d = { foo: 3, bar: 33 }, foo = _d.foo, foo = _d.bar); global() property
41 (_e = { foo: 4, bar: 44 }, foo = _e.bar, foo = _e.foo); global() property
43 (_g = { foo: 6, bar: 66 }, bar = _g.foo, foo = _g.bar); global() property
[all...]
H A DparameterInitializersForwardReferencing1_es6.js4 function f1 (bar = foo) { // unexpected compiler error; works at runtime
6 return bar; // returns 1
9 function f2 (bar = (baz = foo) => baz) { // unexpected compiler error; works at runtime
11 return bar(); // returns 1
14 function f3 (bar = foo, foo = 2) { // correct compiler error, error at runtime
15 return bar;
18 function f4 (foo, bar = foo) {
19 return bar
30 function f7({[foo]: bar}: any[]) {
38 function f8(foo1: string, bar
[all...]
H A DtsxLibraryManagedAttributes.js47 bar: PropTypes.node,
55 const a = <Component foo={12} bar="yes" baz="yeah" />;
56 const b = <Component foo={12} />; // Error, missing required prop bar
57 const c = <Component bar="yes" baz="yeah" />;
58 const d = <Component bar="yes" baz="yo" bat="ohno" />; // Error, baz not a valid prop
59 const e = <Component foo={12} bar={null} baz="cool" />; // bar is nullable/undefinable since it's not marked `isRequired`
60 const f = <Component foo={12} bar="yeah" baz={null} />; // Error, baz is _not_ nullable/undefinable since it's marked `isRequired`
65 bar: PropTypes.node.isRequired,
69 const g = <JustPropTypes foo={12} bar
[all...]
H A DoverloadResolutionTest1.js2 function foo(bar:{a:number;}[]):string;
3 function foo(bar:{a:boolean;}[]):number;
4 function foo(bar:{a:any;}[]):any{ return bar };
13 function foo2(bar:{a:number;}):string;
14 function foo2(bar:{a:boolean;}):number;
15 function foo2(bar:{a:any;}):any{ return bar };
22 function foo4(bar:{a:number;}):number;
23 function foo4(bar
[all...]
H A DcontrolFlowAliasing.js79 function f20(obj: { kind: 'foo', foo: string } | { kind: 'bar', bar: number }) {
85 obj.bar;
89 function f21(obj: { kind: 'foo', foo: string } | { kind: 'bar', bar: number }) {
95 obj.bar; // Not narrowed because isFoo has type annotation
99 function f22(obj: { kind: 'foo', foo: string } | { kind: 'bar', bar: number }) {
105 obj.bar; // Not narrowed because isFoo is mutable
109 function f23(obj: { kind: 'foo', foo: string } | { kind: 'bar', ba
[all...]
H A DdestructuringTypeGuardFlow.js3 bar: number | null;
11 const aFoo: foo = { bar: 3, baz: "b", nested: { a: 1, b: "y" } };
13 if (aFoo.bar && aFoo.nested.b) {
14 const { bar, baz, nested: {a, b: text} } = aFoo;
15 const right: number = aFoo.bar;
16 const wrong: number = bar;
22 type bar = {
29 if (bBar.elem2 && bBar.elem2.bar && bBar.elem2.nested.b) {
30 const { bar, baz, nested: {a, b: text} } = bBar.elem2;
31 const right: number = bBar.elem2.bar;
[all...]
H A DmemberFunctionsWithPrivateOverloads.js7 private bar(x: 'hi');
8 private bar(x: string);
9 private bar(x: number, y: string);
10 private bar(x: any, y?: any) { }
16 private static bar(x: 'hi');
17 private static bar(x: string);
18 private static bar(x: number, y: string);
19 private static bar(x: any, y?: any) { }
27 private bar(x: 'hi');
28 private bar(
[all...]
H A DinterfaceClassMerging.js24 var bar = new Bar();
25 bar.method(0);
26 bar.optionalMethod(1);
27 bar.property;
28 bar.optionalProperty;
29 bar.additionalProperty;
30 bar.additionalMethod(2);
39 bar = obj;
40 obj = bar;
77 var bar
[all...]
H A DcapturedLetConstInLoop10_ES6.js6 this.bar(f());
9 bar(a: number) {
17 this.bar(b());
19 this.bar(a());
25 this.bar(a());
28 this.bar(b());
40 this.bar(f());
44 bar(a: number) {
53 this.bar(f());
56 bar(
[all...]
H A DerrorForUsingPropertyOfTypeAsType01.js4 bar: string;
7 var x: Foo.bar = "";
8 var y: Test1.Foo.bar = "";
13 bar: string;
16 var x: Foo.bar = "";
17 var y: Test2.Foo.bar = "";
22 bar: string;
25 var x: Foo.bar = "";
26 var y: Test3.Foo.bar = "";
30 export type Foo = { bar
[all...]
H A DthisInModuleFunction1.js2 module bar {
3 export function bar() {
7 var z = bar.bar();
10 var bar; variable
12 function bar() {
15 bar_1.bar = bar;
16 })(bar || (bar
[all...]
H A DmemberFunctionsWithPublicPrivateOverloads.js7 private bar(x: 'hi');
8 public bar(x: string); // error
9 private bar(x: number, y: string);
10 private bar(x: any, y?: any) { }
20 private static bar(x: 'hi');
21 public static bar(x: string); // error
22 private static bar(x: number, y: string);
23 private static bar(x: any, y?: any) { }
36 private bar(x: 'hi');
37 public bar(
[all...]
H A DpathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.js6 //// [bar.js]
7 export function bar() {}
11 import { bar as bar1 } from "/bar";
13 import { bar as bar2 } from "c:/bar";
15 import { bar as bar3 } from "c:\\bar";
17 import { bar as bar4 } from "//server/bar";
40 function bar() { } global() function
[all...]
H A DexportedBlockScopedDeclarations.js3 export const bar = bar; // should be compile error
5 const bar = bar; // compile error
8 export const bar = bar; // should be compile error
24 exports.bar1 = exports.bar = void 0;
26 exports.bar = exports.bar; // should be compile error
28 var bar
[all...]
H A DlogicalAssignment8(target=es2015).js2 declare const bar: { value?: number[] } | undefined
5 (results ||= bar?.value ?? []).push(100);
9 (results ??= bar?.value ?? []).push(100);
13 (results &&= bar?.value ?? []).push(100);
21 (results || (results = (_a = bar === null || bar === void 0 ? void 0 : bar.value) !== null && _a !== void 0 ? _a : [])).push(100);
25 (results !== null && results !== void 0 ? results : (results = (_a = bar === null || bar === void 0 ? void 0 : bar
[all...]
H A DcontrolFlowCommaExpressionAssertionMultiple.js4 function func(foo: any, bar: any) {
5 Narrow<number>(foo), Narrow<string>(bar);
7 bar;
10 function func2(foo: any, bar: any, baz: any) {
11 Narrow<number>(foo), Narrow<string>(bar), Narrow<boolean>(baz);
13 bar;
20 function func(foo, bar) {
21 Narrow(foo), Narrow(bar);
23 bar;
25 function func2(foo, bar, ba
[all...]
H A DdeclarationEmitExportDeclaration.js5 export function bar() { }
9 import {foo, bar, Buzz} from "./utils";
13 export {bar};
18 exports.bar = exports.foo = void 0;
21 function bar() { } function
22 exports.bar = bar;
26 exports.bar = void 0;
28 Object.defineProperty(exports, "bar", { enumerable: true, get: function () { return utils_1.bar; } });
[all...]
H A DambiguousOverload.js2 function foof(bar: string, y): number;
3 function foof(bar: string, x): string;
4 function foof(bar: any): any { return bar };
8 function foof2(bar: string, x): string;
9 function foof2(bar: string, y): number;
10 function foof2(bar: any): any { return bar };
15 function foof(bar) { return bar; }
[all...]
H A DaliasErrors.js5 export module bar { export module baz {export class boo {}}}
9 import booz = foo.bar.baz;
10 import beez = foo.bar;
27 var p3:booz.bar;
42 var bar; variable
43 (function (bar) {
52 })(baz = bar.baz || (bar.baz = {}));
53 })(bar = foo.bar || (fo
[all...]
H A DtypeOfThisInStaticMembers.js5 static bar() {
12 var t = C.bar();
15 var r3 = t.bar();
22 static bar() {
29 var t2 = C2.bar();
32 var r6 = t2.bar();
41 C.bar = function () {
48 var t = C.bar();
51 var r3 = t.bar();
56 C2.bar
[all...]

Completed in 9 milliseconds

12345678910>>...57