/third_party/typescript/tests/baselines/reference/ |
D | fatarrowfunctionsOptionalArgs.js | 8 (arg) => 2; 11 arg => 2; 14 (arg = 1) => 3; 17 (arg?) => 4; 20 (arg: number) => 5; 23 (arg: number = 0) => 6; 26 (arg?: number) => 7; 29 (...arg: number[]) => 8; 43 ((arg) => 22); 44 ((arg = 1) => 23); [all …]
|
D | fatarrowfunctionsOptionalArgs.types | 10 (arg) => 2; 11 >(arg) => 2 : (arg: any) => number 12 >arg : any 16 arg => 2; 17 >arg => 2 : (arg: any) => number 18 >arg : any 22 (arg = 1) => 3; 23 >(arg = 1) => 3 : (arg?: number) => number 24 >arg : number 29 (arg?) => 4; [all …]
|
D | contextuallyTypedObjectLiteralMethodDeclaration01.types | 13 method1(arg: A): void; 14 >method1 : (arg: A) => void 15 >arg : A 17 method2(arg: B): void; 18 >method2 : (arg: B) => void 19 >arg : B 26 …arg) { arg.numProp = 10; }, method2(arg) { arg.strProp = "hell… 28 method1(arg) { 29 >method1 : (arg: A) => void 30 >arg : A [all …]
|
D | contextuallyTypedClassExpressionMethodDeclaration01.types | 13 method1(arg: A): void; 14 >method1 : (arg: A) => void 15 >arg : A 17 method2(arg: B): void; 18 >method2 : (arg: B) => void 19 >arg : B 26 >class { static method1(arg) { arg.numProp = 10; } static method2(a… 28 static method1(arg) { 29 >method1 : (arg: any) => void 30 >arg : any [all …]
|
D | contextuallyTypedClassExpressionMethodDeclaration02.types | 17 method1(arg: A): void; 18 >method1 : (arg: A) => void 19 >arg : A 21 method2(arg: B): void; 22 >method2 : (arg: B) => void 23 >arg : B 30 >class { method1(arg) { arg.numProp = 10; } method2(arg) { … 32 method1(arg) { 33 >method1 : (arg: any) => void 34 >arg : any [all …]
|
D | fatarrowfunctionsOptionalArgs.symbols | 8 (arg) => 2; 9 >arg : Symbol(arg, Decl(fatarrowfunctionsOptionalArgs.ts, 6, 1)) 12 arg => 2; 13 >arg : Symbol(arg, Decl(fatarrowfunctionsOptionalArgs.ts, 6, 11)) 16 (arg = 1) => 3; 17 >arg : Symbol(arg, Decl(fatarrowfunctionsOptionalArgs.ts, 12, 1)) 20 (arg?) => 4; 21 >arg : Symbol(arg, Decl(fatarrowfunctionsOptionalArgs.ts, 15, 1)) 24 (arg: number) => 5; 25 >arg : Symbol(arg, Decl(fatarrowfunctionsOptionalArgs.ts, 18, 1)) [all …]
|
D | fatarrowfunctionsOptionalArgs.errors.txt | 12 (arg) => 2; 15 arg => 2; 18 (arg = 1) => 3; 21 (arg?) => 4; 24 (arg: number) => 5; 27 (arg: number = 0) => 6; 30 (arg?: number) => 7; 32 // var arg param 33 (...arg: number[]) => 8; 47 ((arg) => 22); [all …]
|
D | genericInterfaceTypeCall.types | 3 reject(arg: T): void; 4 >reject : (arg: T) => void 5 >arg : T 11 fail(func: (arg: T) => void ): void; 12 >fail : (func: (arg: T) => void) => void 13 >func : (arg: T) => void 14 >arg : T 16 fail2(func2: { (arg: T): void; }): void; 17 >fail2 : (func2: (arg: T) => void) => void 18 >func2 : (arg: T) => void [all …]
|
D | typeLiteralCallback.types | 3 reject(arg: T): void ; 4 >reject : (arg: T) => void 5 >arg : T 11 fail(func: (arg: T) => void ): void ; 12 >fail : (func: (arg: T) => void) => void 13 >func : (arg: T) => void 14 >arg : T 16 fail2(func: { (arg: T): void ; }): void ; 17 >fail2 : (func: (arg: T) => void) => void 18 >func : (arg: T) => void [all …]
|
D | spreadTypeVariable.types | 2 function f1<T extends number>(arg: T) { 3 >f1 : <T extends number>(arg: T) => any 4 >arg : T 6 return { ...arg }; 7 >{ ...arg } : any 8 >arg : T 11 function f2<T extends string[]>(arg: T) { 12 >f2 : <T extends string[]>(arg: T) => T 13 >arg : T 15 return { ...arg } [all …]
|
D | contextuallyTypedObjectLiteralMethodDeclaration01.js | 11 method1(arg: A): void; 12 method2(arg: B): void; 17 method1(arg) { 18 arg.numProp = 10; 20 method2(arg) { 21 arg.strProp = "hello"; 28 method1: (arg) => { 29 arg.numProp = 10; 31 method2: (arg) => { 32 arg.strProp = "hello"; [all …]
|
D | contextuallyTypedObjectLiteralMethodDeclaration01.symbols | 19 method1(arg: A): void; 21 >arg : Symbol(arg, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 9, 12)) 24 method2(arg: B): void; 26 >arg : Symbol(arg, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 10, 12)) 35 method1(arg) { 37 >arg : Symbol(arg, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 15, 16)) 39 arg.numProp = 10; 40 >arg.numProp : Symbol(A.numProp, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 0, 13)) 41 >arg : Symbol(arg, Decl(contextuallyTypedObjectLiteralMethodDeclaration01.ts, 15, 16)) 45 method2(arg) { [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | fatarrowfunctionsOptionalArgs.ts | 7 (arg) => 2; 10 arg => 2; 13 (arg = 1) => 3; 16 (arg?) => 4; 19 (arg: number) => 5; 22 (arg: number = 0) => 6; 25 (arg?: number) => 7; 28 (...arg: number[]) => 8; 42 ((arg) => 22); 43 ((arg = 1) => 23); [all …]
|
/third_party/boost/libs/multiprecision/test/ |
D | test_sf_import_c99.cpp | 655 T arg = 1; in test_c99_appendix_F() local 656 T val = acos(arg); in test_c99_appendix_F() 659 arg = 2; in test_c99_appendix_F() 660 check_invalid(acos(arg)); in test_c99_appendix_F() 661 arg = -2; in test_c99_appendix_F() 662 check_invalid(acos(arg)); in test_c99_appendix_F() 665 arg = std::numeric_limits<T>::infinity(); in test_c99_appendix_F() 666 check_invalid(acos(arg)); in test_c99_appendix_F() 667 arg = -std::numeric_limits<T>::infinity(); in test_c99_appendix_F() 668 check_invalid(acos(arg)); in test_c99_appendix_F() [all …]
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | options.c | 145 static const char *match_option(const char *arg, const char *prefix) in match_option() argument 148 if (strncmp(arg, prefix, n) == 0) in match_option() 149 return arg + n; in match_option() 159 static int handle_subopt_val(const char *opt, const char *arg, const struct val_map *map, int *flag) in handle_subopt_val() argument 163 if (*arg++ != '=') in handle_subopt_val() 166 if (strcmp(name, arg) == 0 || strcmp(name, "*") == 0) { in handle_subopt_val() 171 die("invalid argument '%s' in option '%s'", arg, opt); in handle_subopt_val() 198 static int handle_suboption_mask(const char *arg, const char *opt, const struct mask_map *map, unsi… in handle_suboption_mask() argument 217 die("error: wrong option '%.*s' for \'%s\'", len, opt, arg); in handle_suboption_mask() 233 int (*fun)(const char *arg, const char *opt, const struct flag *, int options); [all …]
|
/third_party/libunwind/src/ia64/ |
D | unwind_decoder.h | 107 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x1() argument 117 UNW_DEC_SPILL_SPREL(X1, t, abreg, off, arg); in unw_decode_x1() 119 UNW_DEC_SPILL_PSPREL(X1, t, abreg, off, arg); in unw_decode_x1() 124 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x2() argument 135 UNW_DEC_RESTORE(X2, t, abreg, arg); in unw_decode_x2() 137 UNW_DEC_SPILL_REG(X2, t, abreg, x, ytreg, arg); in unw_decode_x2() 142 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x3() argument 155 UNW_DEC_SPILL_SPREL_P(X3, qp, t, abreg, off, arg); in unw_decode_x3() 157 UNW_DEC_SPILL_PSPREL_P(X3, qp, t, abreg, off, arg); in unw_decode_x3() 162 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x4() argument [all …]
|
/third_party/node/deps/npm/node_modules/assert-plus/ |
D | assert.js | 21 function _toss(name, expected, oper, arg, actual) { argument 24 actual: (actual === undefined) ? typeof (arg) : actual(arg), 31 function _getClass(arg) { argument 32 return (Object.prototype.toString.call(arg).slice(8, -1)); 44 check: function (arg) { return typeof (arg) === 'boolean'; } argument 47 check: function (arg) { return typeof (arg) === 'function'; } argument 50 check: function (arg) { return typeof (arg) === 'string'; } argument 53 check: function (arg) { argument 54 return typeof (arg) === 'object' && arg !== null; 58 check: function (arg) { argument [all …]
|
/third_party/toybox/tests/ |
D | useradd.test | 16 arg="&>/dev/null" 24 testing "(text)" "useradd $user $arg || 25 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] && 27 userdel -r $user $arg 30 testing "(alphanumeric)" "useradd $user $arg || 31 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] && 33 userdel -r $user $arg 36 testing "(numeric)" "useradd $user $arg || 37 grep '^$user:' /etc/passwd $arg && [ -d /home/$user ] && 39 userdel -r $user $arg [all …]
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/ |
D | genpng.c | 112 color_of(const char *arg) in color_of() argument 118 if (strcmp(colors[icolor].name, arg) == 0) in color_of() 122 fprintf(stderr, "genpng: invalid color %s\n", arg); in color_of() 127 width_of(const char *arg) in width_of() argument 129 if (strcmp(arg, "filled") == 0) in width_of() 135 double w = strtod(arg, &ep); in width_of() 141 fprintf(stderr, "genpng: invalid line width %s\n", arg); in width_of() 146 coordinate_of(const char *arg) in coordinate_of() argument 149 double w = strtod(arg, &ep); in coordinate_of() 154 fprintf(stderr, "genpng: invalid coordinate value %s\n", arg); in coordinate_of() [all …]
|
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
D | genpng.c | 112 color_of(const char *arg) in color_of() argument 118 if (strcmp(colors[icolor].name, arg) == 0) in color_of() 122 fprintf(stderr, "genpng: invalid color %s\n", arg); in color_of() 127 width_of(const char *arg) in width_of() argument 129 if (strcmp(arg, "filled") == 0) in width_of() 135 double w = strtod(arg, &ep); in width_of() 141 fprintf(stderr, "genpng: invalid line width %s\n", arg); in width_of() 146 coordinate_of(const char *arg) in coordinate_of() argument 149 double w = strtod(arg, &ep); in coordinate_of() 154 fprintf(stderr, "genpng: invalid coordinate value %s\n", arg); in coordinate_of() [all …]
|
/third_party/libpng/contrib/tools/ |
D | genpng.c | 112 color_of(const char *arg) in color_of() argument 118 if (strcmp(colors[icolor].name, arg) == 0) in color_of() 122 fprintf(stderr, "genpng: invalid color %s\n", arg); in color_of() 127 width_of(const char *arg) in width_of() argument 129 if (strcmp(arg, "filled") == 0) in width_of() 135 double w = strtod(arg, &ep); in width_of() 141 fprintf(stderr, "genpng: invalid line width %s\n", arg); in width_of() 146 coordinate_of(const char *arg) in coordinate_of() argument 149 double w = strtod(arg, &ep); in coordinate_of() 154 fprintf(stderr, "genpng: invalid coordinate value %s\n", arg); in coordinate_of() [all …]
|
/third_party/gstreamer/gstreamer/gst/printf/ |
D | vasnprintf.c | 247 a = &arguments->arg[dp->arg_index]; in printf_postprocess_args() 275 if (a.arg) { \ in vasnprintf() 277 if (a.arg[a.count].ext_string) \ in vasnprintf() 278 free (a.arg[a.count].ext_string); \ in vasnprintf() 280 free (a.arg); \ in vasnprintf() 365 switch (a.arg[dp->arg_index].type) { in vasnprintf() 367 *a.arg[dp->arg_index].a.a_count_schar_pointer = length; in vasnprintf() 370 *a.arg[dp->arg_index].a.a_count_short_pointer = length; in vasnprintf() 373 *a.arg[dp->arg_index].a.a_count_int_pointer = length; in vasnprintf() 376 *a.arg[dp->arg_index].a.a_count_longint_pointer = length; in vasnprintf() [all …]
|
/third_party/node/deps/npm/node_modules/core-util-is/lib/ |
D | util.js | 25 function isArray(arg) { argument 27 return Array.isArray(arg); 29 return objectToString(arg) === '[object Array]'; 33 function isBoolean(arg) { argument 34 return typeof arg === 'boolean'; 38 function isNull(arg) { argument 39 return arg === null; 43 function isNullOrUndefined(arg) { argument 44 return arg == null; 48 function isNumber(arg) { argument [all …]
|
/third_party/boost/boost/bind/ |
D | placeholders.hpp | 34 inline boost::arg<1> _1() { return boost::arg<1>(); } in _1() 35 inline boost::arg<2> _2() { return boost::arg<2>(); } in _2() 36 inline boost::arg<3> _3() { return boost::arg<3>(); } in _3() 37 inline boost::arg<4> _4() { return boost::arg<4>(); } in _4() 38 inline boost::arg<5> _5() { return boost::arg<5>(); } in _5() 39 inline boost::arg<6> _6() { return boost::arg<6>(); } in _6() 40 inline boost::arg<7> _7() { return boost::arg<7>(); } in _7() 41 inline boost::arg<8> _8() { return boost::arg<8>(); } in _8() 42 inline boost::arg<9> _9() { return boost::arg<9>(); } in _9() 46 BOOST_STATIC_CONSTEXPR boost::arg<1> _1; [all …]
|
/third_party/libnl/src/lib/ |
D | route.c | 48 void nl_cli_route_parse_family(struct rtnl_route *route, char *arg) in nl_cli_route_parse_family() argument 52 if ((family = nl_str2af(arg)) != AF_UNSPEC) in nl_cli_route_parse_family() 56 void nl_cli_route_parse_dst(struct rtnl_route *route, char *arg) in nl_cli_route_parse_dst() argument 61 addr = nl_cli_addr_parse(arg, rtnl_route_get_family(route)); in nl_cli_route_parse_dst() 69 void nl_cli_route_parse_src(struct rtnl_route *route, char *arg) in nl_cli_route_parse_src() argument 74 addr = nl_cli_addr_parse(arg, rtnl_route_get_family(route)); in nl_cli_route_parse_src() 82 void nl_cli_route_parse_pref_src(struct rtnl_route *route, char *arg) in nl_cli_route_parse_pref_src() argument 87 addr = nl_cli_addr_parse(arg, rtnl_route_get_family(route)); in nl_cli_route_parse_pref_src() 115 char *arg, *endptr; in nl_cli_route_parse_metric() local 118 int ret = getsubopt(&subopts, tokens, &arg); in nl_cli_route_parse_metric() [all …]
|