/third_party/libuv/docs/code/spawn/ |
H A D | main.c | 18 char* args[3]; in main() local 19 args[0] = "mkdir"; in main() 20 args[1] = "test-dir"; in main() 21 args[2] = NULL; in main() 25 options.args = args; in main()
|
/third_party/libuv/docs/code/detach/ |
H A D | main.c | 12 char* args[3]; in main() local 13 args[0] = "sleep"; in main() 14 args[1] = "100"; in main() 15 args[2] = NULL; in main() 19 options.args = args; in main()
|
/third_party/node/test/parallel/ |
H A D | test-timers-args.js | 10 const args = range(nargs); 11 setTimeout.apply(null, [callback, 1].concat(args)); 14 assert.deepStrictEqual([].slice.call(arguments), args); 20 const args = range(nargs); 21 const timer = setTimeout.apply(null, [callback, 1].concat(args)); 25 assert.deepStrictEqual([].slice.call(arguments), args);
|
H A D | test-runner-cli.js | 13 const args = ['--test', 'a-random-file-that-does-not-exist.js']; 14 const child = spawnSync(process.execPath, args); 25 const args = ['--test']; 26 const child = spawnSync(process.execPath, args, { cwd: join(testFixtures, 'default-behavior') }); 42 const args = ['--require', join(testFixtures, 'protoMutation.js'), '--test']; 43 const child = spawnSync(process.execPath, args, { cwd: join(testFixtures, 'default-behavior') }); 59 const args = ['--test', join(testFixtures, 'index.js')]; 60 const child = spawnSync(process.execPath, args, { cwd: testFixtures }); 71 const args = ['--test', join(testFixtures, 'default-behavior/node_modules')]; 72 const child = spawnSync(process.execPath, args); [all...] |
/third_party/node/test/addons/async-hooks-id/ |
H A D | binding.cc | 10 void GetExecutionAsyncId(const FunctionCallbackInfo<Value>& args) { in GetExecutionAsyncId() argument 11 args.GetReturnValue().Set( in GetExecutionAsyncId() 12 node::AsyncHooksGetExecutionAsyncId(args.GetIsolate())); in GetExecutionAsyncId() 15 void GetTriggerAsyncId(const FunctionCallbackInfo<Value>& args) { in GetTriggerAsyncId() argument 16 args.GetReturnValue().Set( in GetTriggerAsyncId() 17 node::AsyncHooksGetTriggerAsyncId(args.GetIsolate())); in GetTriggerAsyncId()
|
/third_party/node/test/addons/make-callback-domain-warning/ |
H A D | binding.cc | 15 void MakeCallback(const FunctionCallbackInfo<Value>& args) { in MakeCallback() argument 16 assert(args[0]->IsObject()); in MakeCallback() 17 assert(args[1]->IsFunction()); in MakeCallback() 18 Isolate* isolate = args.GetIsolate(); in MakeCallback() 19 Local<Object> recv = args[0].As<Object>(); in MakeCallback() 20 Local<Function> method = args[1].As<Function>(); in MakeCallback()
|
/third_party/node/test/addons/make-callback-recurse/ |
H A D | binding.cc | 15 void MakeCallback(const FunctionCallbackInfo<Value>& args) { in MakeCallback() argument 16 assert(args[0]->IsObject()); in MakeCallback() 17 assert(args[1]->IsFunction()); in MakeCallback() 18 Isolate* isolate = args.GetIsolate(); in MakeCallback() 19 Local<Object> recv = args[0].As<Object>(); in MakeCallback() 20 Local<Function> method = args[1].As<Function>(); in MakeCallback()
|
/third_party/littlefs/scripts/ |
H A D | readblock.py | 5 def main(args): 6 with open(args.disk, 'rb') as f: 7 f.seek(args.block * args.block_size) 8 block = (f.read(args.block_size) 9 .ljust(args.block_size, b'\xff'))
|
/third_party/node/deps/v8/src/base/ |
H A D | strings.cc | 16 int VSNPrintF(Vector<char> str, const char* format, va_list args) { in VSNPrintF() argument 17 return OS::VSNPrintF(str.begin(), str.length(), format, args); in VSNPrintF() 21 va_list args; in SNPrintF() local 22 va_start(args, format); in SNPrintF() 23 int result = VSNPrintF(str, format, args); in SNPrintF() 24 va_end(args); in SNPrintF()
|
/third_party/node/deps/v8/src/extensions/ |
H A D | cputracemark-extension.cc | 20 const v8::FunctionCallbackInfo<v8::Value>& args) { in Mark() 21 if (args.Length() < 1 || !args[0]->IsUint32()) { in Mark() 22 args.GetIsolate()->ThrowError( in Mark() 32 args[0]->Uint32Value(args.GetIsolate()->GetCurrentContext()).ToChecked(); in Mark() 19 Mark( const v8::FunctionCallbackInfo<v8::Value>& args) Mark() argument
|
/third_party/protobuf/csharp/src/Google.Protobuf.JsonDump/ |
H A D | Program.cs | 44 private static int Main(string[] args)
in Main() argument 46 if (args.Length != 2)
in Main() 53 Type type = Type.GetType(args[0]);
in Main() 56 Console.Error.WriteLine("Unable to load type {0}.", args[0]);
in Main() 61 Console.Error.WriteLine("Type {0} doesn't implement IMessage.", args[0]);
in Main() 65 using (var input = File.OpenRead(args[1]))
in Main()
|
/third_party/skia/tools/ |
H A D | abandon_gerrit_cls.py | 22 def run_abandon_cls(args): 28 '--gerrit_instance', args.gerrit_instance, 29 '--abandon_reason', args.abandon_reason, 30 '--last_modified_before_days', str(args.last_modified_before_days), 35 # TODO(rmistry): Instead of attempting to keep these args in sync, defer to 49 args = parser.parse_args() 52 run_abandon_cls(args)
|
/third_party/python/Lib/test/test_importlib/ |
H A D | threaded_import_hangers.py | 22 def __init__(self, function, args): 25 self.args = args 28 self.function(*self.args) 30 for name, func, args in [ 39 t = Worker(func, args)
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | msvs_projects.py | 28 args = ['gn.bat', 'gen', dirname, '--ide=' + target_ide, '--sln=' + solution_name] 29 print('Running "' + ' '.join(args) + '"') 30 subprocess.call(args) 40 args = ['python', os.path.join('build', 'win', 'gn_meta_sln.py')] variable 41 print('Running "' + ' '.join(args) + '"') 42 subprocess.call(args)
|
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/ |
H A D | v3d_drv.c | 81 struct drm_v3d_get_param *args = data; in v3d_get_param_ioctl() local 93 if (args->pad != 0) in v3d_get_param_ioctl() 100 if (args->param < ARRAY_SIZE(reg_map) && in v3d_get_param_ioctl() 101 (reg_map[args->param] || in v3d_get_param_ioctl() 102 args->param == DRM_V3D_PARAM_V3D_CORE0_IDENT0)) { in v3d_get_param_ioctl() 103 u32 offset = reg_map[args->param]; in v3d_get_param_ioctl() 105 if (args->value != 0) in v3d_get_param_ioctl() 111 if (args->param >= DRM_V3D_PARAM_V3D_CORE0_IDENT0 && in v3d_get_param_ioctl() 112 args->param <= DRM_V3D_PARAM_V3D_CORE0_IDENT2) { in v3d_get_param_ioctl() 113 args in v3d_get_param_ioctl() [all...] |
/kernel/linux/linux-5.10/drivers/staging/fbtft/ |
H A D | fbtft-bus.c | 17 va_list args; \ 23 va_start(args, len); \ 25 buf[i] = modifier((data_type)va_arg(args, \ 28 va_end(args); \ 34 va_start(args, len); \ 42 *buf = modifier((data_type)va_arg(args, unsigned int)); \ 55 *buf++ = modifier((data_type)va_arg(args, \ 61 va_end(args); \ 71 va_list args; in define_fbtft_write_reg() local 77 va_start(args, le in define_fbtft_write_reg() [all...] |
/kernel/linux/linux-6.6/drivers/staging/fbtft/ |
H A D | fbtft-bus.c | 17 va_list args; \ 23 va_start(args, len); \ 25 buf[i] = modifier((data_type)va_arg(args, \ 28 va_end(args); \ 34 va_start(args, len); \ 42 *buf = modifier((data_type)va_arg(args, unsigned int)); \ 55 *buf++ = modifier((data_type)va_arg(args, \ 61 va_end(args); \ 71 va_list args; in define_fbtft_write_reg() local 77 va_start(args, le in define_fbtft_write_reg() [all...] |
/third_party/mesa3d/src/drm-shim/ |
H A D | device.c | 182 struct drm_version *args = arg; in drm_shim_ioctl_version() local 186 args->version_major = shim_device.version_major; in drm_shim_ioctl_version() 187 args->version_minor = shim_device.version_minor; in drm_shim_ioctl_version() 188 args->version_patchlevel = shim_device.version_patchlevel; in drm_shim_ioctl_version() 190 if (args->name) in drm_shim_ioctl_version() 191 strncpy(args->name, shim_device.driver_name, args->name_len); in drm_shim_ioctl_version() 192 if (args->date) in drm_shim_ioctl_version() 193 strncpy(args->date, date, args in drm_shim_ioctl_version() [all...] |
/third_party/node/deps/v8/tools/dev/ |
H A D | v8gen.py | 28 # Pass additional gn arguments after -- (don't use spaces within gn args). 32 # off goma usage here, the args.gn file must be edited manually. 65 def __init__(self, args): 66 # Split args into this script's arguments and gn args passed to the 68 index = args.index('--') if '--' in args else len(args) 69 self._options = self._parse_arguments(args[:index]) 70 self._gn_args = args[inde [all...] |
/third_party/skia/src/gpu/effects/ |
H A D | GrBitmapTextGeoProc.cpp | 45 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { 46 const GrBitmapTextGeoProc& btgp = args.fGeomProc.cast<GrBitmapTextGeoProc>(); 48 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; 49 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; 50 GrGLSLUniformHandler* uniformHandler = args.fUniformHandler; 60 append_index_uv_varyings(args, 68 GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; 70 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); 72 varyingHandler->addPassThroughAttribute(btgp.fInColor.asShaderVar(), args.fOutputColor); 74 this->setupUniformColor(fragBuilder, uniformHandler, args [all...] |
/third_party/python/Modules/_io/clinic/ |
H A D | bytesio.c.h | 167 _io_BytesIO_read(bytesio *self, PyObject *const *args, Py_ssize_t nargs) in _io_BytesIO_read() argument 178 if (!_Py_convert_optional_to_ssize_t(args[0], &size)) { in _io_BytesIO_read() 204 _io_BytesIO_read1(bytesio *self, PyObject *const *args, Py_ssize_t nargs) in _io_BytesIO_read1() argument 215 if (!_Py_convert_optional_to_ssize_t(args[0], &size)) { in _io_BytesIO_read1() 242 _io_BytesIO_readline(bytesio *self, PyObject *const *args, Py_ssize_t nargs) in _io_BytesIO_readline() argument 253 if (!_Py_convert_optional_to_ssize_t(args[0], &size)) { in _io_BytesIO_readline() 280 _io_BytesIO_readlines(bytesio *self, PyObject *const *args, Py_ssize_t nargs) in _io_BytesIO_readlines() argument 291 arg = args[0]; in _io_BytesIO_readlines() 356 _io_BytesIO_truncate(bytesio *self, PyObject *const *args, Py_ssize_t nargs) in _io_BytesIO_truncate() argument 367 if (!_Py_convert_optional_to_ssize_t(args[ in _io_BytesIO_truncate() 396 _io_BytesIO_seek(bytesio *self, PyObject *const *args, Py_ssize_t nargs) _io_BytesIO_seek() argument 483 _io_BytesIO___init__(PyObject *self, PyObject *args, PyObject *kwargs) _io_BytesIO___init__() argument [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_format.h | 339 const Args&... args) { in StrFormat() 342 {str_format_internal::FormatArgImpl(args)...}); in StrFormat() 358 const Args&... args) { in StrAppendFormat() 361 {str_format_internal::FormatArgImpl(args)...}); in StrAppendFormat() 376 const FormatSpec<Args...>& format, const Args&... args) { in StreamFormat() 379 {str_format_internal::FormatArgImpl(args)...}); in StreamFormat() 396 int PrintF(const FormatSpec<Args...>& format, const Args&... args) { in PrintF() argument 399 {str_format_internal::FormatArgImpl(args)...}); in PrintF() 417 const Args&... args) { in FPrintF() 420 {str_format_internal::FormatArgImpl(args) in FPrintF() 338 StrFormat(const FormatSpec<Args...>& format, const Args&... args) StrFormat() argument 356 StrAppendFormat(std::string* dst, const FormatSpec<Args...>& format, const Args&... args) StrAppendFormat() argument 375 StreamFormat( const FormatSpec<Args...>& format, const Args&... args) StreamFormat() argument 416 FPrintF(std::FILE* output, const FormatSpec<Args...>& format, const Args&... args) FPrintF() argument 445 SNPrintF(char* output, std::size_t size, const FormatSpec<Args...>& format, const Args&... args) SNPrintF() argument 504 Format(FormatRawSink raw_sink, const FormatSpec<Args...>& format, const Args&... args) Format() argument 561 FormatUntyped( FormatRawSink raw_sink, const UntypedFormatSpec& format, absl::Span<const FormatArg> args) FormatUntyped() argument [all...] |
/third_party/skia/gm/ |
H A D | tessellation.cpp | 76 void onEmitCode(EmitArgs& args, GrGPArgs*) override { 77 args.fVaryingHandler->emitAttributes(args.fGeomProc.cast<TessellationTestTriShader>()); 79 fViewMatrixUniform = args.fUniformHandler->addUniform( 81 args.fVertBuilder->declareGlobal( 83 args.fVertBuilder->codeAppendf(R"( 87 this->writeFragmentShader(args.fFragBuilder, args.fOutputColor, args.fOutputCoverage); 195 void onEmitCode(EmitArgs& args, GrGPArg [all...] |
/third_party/icu/icu4c/source/io/ |
H A D | uprntf_p.cpp | 83 * @param args A pointer to the argument data 92 const ufmt_args *args); 185 const ufmt_args *args) in u_printf_simple_percent_handler() 189 (void)args; in u_printf_simple_percent_handler() 202 const ufmt_args *args) in u_printf_string_handler() 209 const char *arg = (const char*)(args[0].ptrValue); in u_printf_string_handler() 253 const ufmt_args *args) in u_printf_char_handler() 258 unsigned char arg = (unsigned char)(args[0].int64Value); in u_printf_char_handler() 282 const ufmt_args *args) in u_printf_double_handler() 284 double num = (double) (args[ in u_printf_double_handler() 181 u_printf_simple_percent_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_simple_percent_handler() argument 198 u_printf_string_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_string_handler() argument 249 u_printf_char_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_char_handler() argument 278 u_printf_double_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_double_handler() argument 354 u_printf_integer_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_integer_handler() argument 420 u_printf_hex_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_hex_handler() argument 456 u_printf_octal_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_octal_handler() argument 491 u_printf_uinteger_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_uinteger_handler() argument 544 u_printf_pointer_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_pointer_handler() argument 561 u_printf_scientific_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_scientific_handler() argument 681 u_printf_percent_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_percent_handler() argument 756 u_printf_ustring_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_ustring_handler() argument 785 u_printf_uchar_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_uchar_handler() argument 806 u_printf_scidbl_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_scidbl_handler() argument 865 u_printf_count_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_count_handler() argument 884 u_printf_spellout_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_spellout_handler() argument 1231 ufmt_args args; u_printf_parse() local [all...] |
/third_party/skia/third_party/externals/icu/source/io/ |
H A D | uprntf_p.cpp | 83 * @param args A pointer to the argument data 92 const ufmt_args *args); 185 const ufmt_args *args) in u_printf_simple_percent_handler() 189 (void)args; in u_printf_simple_percent_handler() 202 const ufmt_args *args) in u_printf_string_handler() 209 const char *arg = (const char*)(args[0].ptrValue); in u_printf_string_handler() 253 const ufmt_args *args) in u_printf_char_handler() 258 unsigned char arg = (unsigned char)(args[0].int64Value); in u_printf_char_handler() 282 const ufmt_args *args) in u_printf_double_handler() 284 double num = (double) (args[ in u_printf_double_handler() 181 u_printf_simple_percent_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_simple_percent_handler() argument 198 u_printf_string_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_string_handler() argument 249 u_printf_char_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_char_handler() argument 278 u_printf_double_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_double_handler() argument 354 u_printf_integer_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_integer_handler() argument 420 u_printf_hex_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_hex_handler() argument 456 u_printf_octal_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_octal_handler() argument 491 u_printf_uinteger_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_uinteger_handler() argument 544 u_printf_pointer_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_pointer_handler() argument 561 u_printf_scientific_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_scientific_handler() argument 681 u_printf_percent_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_percent_handler() argument 756 u_printf_ustring_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_ustring_handler() argument 785 u_printf_uchar_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_uchar_handler() argument 806 u_printf_scidbl_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_scidbl_handler() argument 865 u_printf_count_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_count_handler() argument 884 u_printf_spellout_handler(const u_printf_stream_handler *handler, void *context, ULocaleBundle *formatBundle, const u_printf_spec_info *info, const ufmt_args *args) u_printf_spellout_handler() argument 1231 ufmt_args args; u_printf_parse() local [all...] |