/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | uffd-stress.c | 78 static void uffd_stats_reset(struct uffd_args *args, unsigned long n_cpus) in uffd_stats_reset() argument 83 args[i].cpu = i; in uffd_stats_reset() 84 args[i].apply_wp = test_uffdio_wp; in uffd_stats_reset() 85 args[i].missing_faults = 0; in uffd_stats_reset() 86 args[i].wp_faults = 0; in uffd_stats_reset() 87 args[i].minor_faults = 0; in uffd_stats_reset() 132 struct uffd_args *args = (struct uffd_args *)arg; in uffd_read_thread() local 141 uffd_handle_page_fault(&msg, args); in uffd_read_thread() 179 static int stress(struct uffd_args *args) in stress() argument 192 if (pthread_create(&uffd_threads[cpu], &attr, uffd_poll_thread, &args[cp in stress() 248 struct uffd_args args[nr_cpus]; userfaultfd_stress() local [all...] |
/third_party/node/src/ |
H A D | node_task_queue.cc | 114 Local<Value> args[] = { type, promise, value }; in PromiseRejectCallback() local 143 env->context(), Undefined(isolate), arraysize(args), args)); in PromiseRejectCallback() 163 static void EnqueueMicrotask(const FunctionCallbackInfo<Value>& args) { in EnqueueMicrotask() argument 164 Environment* env = Environment::GetCurrent(args); in EnqueueMicrotask() 167 CHECK(args[0]->IsFunction()); in EnqueueMicrotask() 170 ->EnqueueMicrotask(isolate, args[0].As<Function>()); in EnqueueMicrotask() 173 static void RunMicrotasks(const FunctionCallbackInfo<Value>& args) { in RunMicrotasks() argument 174 Environment* env = Environment::GetCurrent(args); in RunMicrotasks() 178 static void SetTickCallback(const FunctionCallbackInfo<Value>& args) { in SetTickCallback() argument 184 SetPromiseRejectCallback( const FunctionCallbackInfo<Value>& args) SetPromiseRejectCallback() argument [all...] |
H A D | node_url.h | 46 static void ToASCII(const v8::FunctionCallbackInfo<v8::Value>& args); 47 static void ToUnicode(const v8::FunctionCallbackInfo<v8::Value>& args); 49 static void DomainToASCII(const v8::FunctionCallbackInfo<v8::Value>& args); 50 static void DomainToUnicode(const v8::FunctionCallbackInfo<v8::Value>& args); 52 static void CanParse(const v8::FunctionCallbackInfo<v8::Value>& args); 53 static void Format(const v8::FunctionCallbackInfo<v8::Value>& args); 54 static void Parse(const v8::FunctionCallbackInfo<v8::Value>& args); 55 static void Update(const v8::FunctionCallbackInfo<v8::Value>& args);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
H A D | msm_gem_submit.c | 74 struct drm_msm_gem_submit *args, struct drm_file *file) in submit_lookup_objects() 79 for (i = 0; i < args->nr_bos; i++) { in submit_lookup_objects() 82 u64_to_user_ptr(args->bos + (i * sizeof(submit_bo))); in submit_lookup_objects() 114 for (i = 0; i < args->nr_bos; i++) { in submit_lookup_objects() 580 struct drm_msm_gem_submit *args = data; in msm_ioctl_gem_submit() local 597 if (args->pad) in msm_ioctl_gem_submit() 603 if (MSM_PIPE_ID(args->flags) != MSM_PIPE_3D0) in msm_ioctl_gem_submit() 606 if (MSM_PIPE_FLAGS(args->flags) & ~MSM_SUBMIT_FLAGS) in msm_ioctl_gem_submit() 609 if (args->flags & MSM_SUBMIT_SUDO) { in msm_ioctl_gem_submit() 615 queue = msm_submitqueue_get(ctx, args in msm_ioctl_gem_submit() 73 submit_lookup_objects(struct msm_gem_submit *submit, struct drm_msm_gem_submit *args, struct drm_file *file) submit_lookup_objects() argument [all...] |
/third_party/skia/src/gpu/ |
H A D | GrFragmentProcessor.cpp | 295 void emitCode(EmitArgs& args) override { 296 SkString childColor = this->invokeChild(0, args); 298 const SwizzleFragmentProcessor& sfp = args.fFp.cast<SwizzleFragmentProcessor>(); 300 GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; 411 void emitCode(EmitArgs& args) override { 412 SkString result = this->invokeChild(1, args); // g(x) 413 result = this->invokeChild(0, result.c_str(), args); // f(g(x)) 414 args.fFragBuilder->codeAppendf("return %s;", result.c_str()); 543 void emitCode(EmitArgs& args) override { 544 const char* dstColor = args [all...] |
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
H A D | NapiLog.js | 48 function recordLog(lev, ...args) { 50 let detail = args.join(' '); 64 NapiLog.logError = function (...args) { 65 recordLog(NapiLog.LEV_ERROR, args); 68 NapiLog.logDebug = function (...args) { 69 recordLog(NapiLog.LEV_DEBUG, args); 72 NapiLog.logInfo = function (...args) { 73 recordLog(NapiLog.LEV_INFO, args);
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
H A D | cmpxchg.h | 9 #define ____xchg(type, args...) __xchg ## type ## _local(args) 10 #define ____cmpxchg(type, args...) __cmpxchg ## type ## _local(args) 37 #define ____xchg(type, args...) __xchg ##type(args) 38 #define ____cmpxchg(type, args...) __cmpxchg ##type(args)
|
/kernel/linux/linux-6.6/arch/alpha/include/asm/ |
H A D | cmpxchg.h | 9 #define ____xchg(type, args...) __arch_xchg ## type ## _local(args) 10 #define ____cmpxchg(type, args...) __cmpxchg ## type ## _local(args) 37 #define ____xchg(type, args...) __arch_xchg ##type(args) 38 #define ____cmpxchg(type, args...) __cmpxchg ##type(args)
|
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/ |
H A D | clone3_clear_sighand.c | 50 struct __clone_args args = {}; in test_clone3_clear_sighand() local 57 args.flags |= CLONE_CLEAR_SIGHAND | CLONE_SIGHAND; in test_clone3_clear_sighand() 58 args.exit_signal = SIGCHLD; in test_clone3_clear_sighand() 59 pid = sys_clone3(&args, sizeof(args)); in test_clone3_clear_sighand() 87 args.flags = CLONE_CLEAR_SIGHAND; in test_clone3_clear_sighand() 88 pid = sys_clone3(&args, sizeof(args)); in test_clone3_clear_sighand()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | ovlynv50.c | 41 } *args = argv; in nv50_disp_ovly_new_() local 47 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nv50_disp_ovly_new_() 50 args->v0.version, args->v0.pushbuf, args->v0.head); in nv50_disp_ovly_new_() 51 if (!nvkm_head_find(&disp->base, args->v0.head)) in nv50_disp_ovly_new_() 53 push = args->v0.pushbuf; in nv50_disp_ovly_new_() 54 head = args->v0.head; in nv50_disp_ovly_new_()
|
H A D | wimmgv100.c | 55 } *args = argv; in gv100_disp_wimm_new_() local 61 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in gv100_disp_wimm_new_() 64 args->v0.version, args->v0.pushbuf, args->v0.index); in gv100_disp_wimm_new_() 65 if (!(disp->wndw.mask & BIT(args->v0.index))) in gv100_disp_wimm_new_() 67 push = args->v0.pushbuf; in gv100_disp_wimm_new_() 68 wndw = args->v0.index; in gv100_disp_wimm_new_()
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
H A D | dib0700.h | 15 #define deb_info(args...) dprintk(dvb_usb_dib0700_debug,0x01,args) 16 #define deb_fw(args...) dprintk(dvb_usb_dib0700_debug,0x02,args) 17 #define deb_fwdata(args...) dprintk(dvb_usb_dib0700_debug,0x04,args) 18 #define deb_data(args...) dprintk(dvb_usb_dib0700_debug,0x08,args)
|
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/ |
H A D | dib0700.h | 15 #define deb_info(args...) dprintk(dvb_usb_dib0700_debug,0x01,args) 16 #define deb_fw(args...) dprintk(dvb_usb_dib0700_debug,0x02,args) 17 #define deb_fwdata(args...) dprintk(dvb_usb_dib0700_debug,0x04,args) 18 #define deb_data(args...) dprintk(dvb_usb_dib0700_debug,0x08,args)
|
/kernel/linux/linux-6.6/tools/testing/selftests/clone3/ |
H A D | clone3_clear_sighand.c | 50 struct __clone_args args = {}; in test_clone3_clear_sighand() local 57 args.flags |= CLONE_CLEAR_SIGHAND | CLONE_SIGHAND; in test_clone3_clear_sighand() 58 args.exit_signal = SIGCHLD; in test_clone3_clear_sighand() 59 pid = sys_clone3(&args, sizeof(args)); in test_clone3_clear_sighand() 87 args.flags = CLONE_CLEAR_SIGHAND; in test_clone3_clear_sighand() 88 pid = sys_clone3(&args, sizeof(args)); in test_clone3_clear_sighand()
|
/third_party/gn/src/gn/ |
H A D | function_write_file.cc | 56 const std::vector<Value>& args, in RunWriteFile() 58 if (args.size() != 3 && args.size() != 2) { in RunWriteFile() 67 args[0], err, scope->settings()->build_settings()->root_path_utf8()); in RunWriteFile() 72 args[0].origin(), err)) in RunWriteFile() 86 if (args.size() != 3) in RunWriteFile() 89 output_conversion = args[2]; in RunWriteFile() 94 ConvertValueToOutput(scope->settings(), args[1], output_conversion, contents, in RunWriteFile() 54 RunWriteFile(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, Err* err) RunWriteFile() argument
|
/third_party/libuv/test/ |
H A D | test-process-title.c | 92 char* args[5]; in TEST_IMPL() local 109 args[0] = exepath; in TEST_IMPL() 110 args[1] = "process_title_big_argv_helper"; in TEST_IMPL() 111 args[2] = jumbo; in TEST_IMPL() 112 args[3] = jumbo; in TEST_IMPL() 113 args[4] = NULL; in TEST_IMPL() 117 options.args = args; in TEST_IMPL()
|
/third_party/mesa3d/.gitlab-ci/bare-metal/ |
H A D | poe_run.py | 33 def __init__(self, args, test_timeout): 34 self.powerup = args.powerup 35 self.powerdown = args.powerdown 37 args.dev, "results/serial-output.txt", "") 99 args = parser.parse_args() 101 poe = PoERun(args, args.test_timeout * 60) 104 poe.logged_system(args.powerdown)
|
/third_party/mesa3d/bin/ |
H A D | install_megadrivers.py | 34 args = parser.parse_args() 36 if os.path.isabs(args.libdir): 39 to = os.path.join(destdir, args.libdir[1:]) 41 to = args.libdir 43 to = os.path.join(os.environ['MESON_INSTALL_DESTDIR_PREFIX'], args.libdir) 45 master = os.path.join(to, os.path.basename(args.megadriver)) 52 for driver in args.drivers: 57 print('installing {} to {}'.format(args.megadriver, abs_driver))
|
/third_party/node/test/parallel/ |
H A D | test-set-http-max-http-headers.js | 21 const args = ['--expose-internals', 24 const cp = spawn(process.execPath, args, { stdio: 'inherit' }); 41 const args = ['--expose-internals', 45 const cp = spawn(process.execPath, args, { 67 const args = ['--expose-internals', testName]; 68 const cp = spawn(process.execPath, args, { env, stdio: 'inherit' }); 79 const args = ['--expose-internals', testName, '1024']; 80 const cp = spawn(process.execPath, args, { env, stdio: 'inherit' });
|
/third_party/node/test/addons/non-node-context/ |
H A D | binding.cc | 17 const v8::FunctionCallbackInfo<v8::Value>& args) { in MakeBufferInNewContext() 18 Isolate* isolate = args.GetIsolate(); in MakeBufferInNewContext() 28 const v8::FunctionCallbackInfo<v8::Value>& args) { in RunInNewContext() 29 Isolate* isolate = args.GetIsolate(); in RunInNewContext() 36 args[1]).FromJust(); in RunInNewContext() 38 assert(args[0]->IsString()); // source code in RunInNewContext() 41 if (!Script::Compile(context, args[0].As<String>()).ToLocal(&script) || in RunInNewContext() 46 args.GetReturnValue().Set(ret); in RunInNewContext() 16 MakeBufferInNewContext( const v8::FunctionCallbackInfo<v8::Value>& args) MakeBufferInNewContext() argument 27 RunInNewContext( const v8::FunctionCallbackInfo<v8::Value>& args) RunInNewContext() argument
|
/third_party/libdrm/ |
H A D | symbols-check.py | 60 args = parser.parse_args() 63 lib_symbols = get_symbols(args.nm, args.lib) 70 with open(args.symbols_file) as symbols_file: 92 print(args.symbols_file + ': invalid format: ' + line) 98 print(args.symbols_file + ': invalid qualifier: ' + qualifier) 119 print(args.lib + ': unknown symbol exported: ' + symbol) 122 print(args.lib + ': missing symbol: ' + symbol)
|
/third_party/python/Tools/peg_generator/pegen/ |
H A D | ast_dump.py | 29 args = [] 44 args.append("%s=%s" % (name, value)) 46 args.append(value) 57 args.append("%s=%s" % (name, value)) 58 if allsimple and len(args) <= 3: 59 return "%s(%s)" % (node.__class__.__name__, ", ".join(args)), not args 60 return "%s(%s%s)" % (node.__class__.__name__, prefix, sep.join(args)), False
|
/third_party/skia/third_party/externals/spirv-tools/utils/ |
H A D | generate_vim_syntax.py | 68 command -nargs=+ HiLink hi link <args> 70 command -nargs=+ HiLink hi def link <args> 155 args = parser.parse_args() 160 core = json.loads(open(args.spirv_core_grammar).read()) 170 if args.extinst_glsl_grammar is not None: 172 glsl = json.loads(open(args.extinst_glsl_grammar).read()) 178 if args.extinst_opencl_grammar is not None: 180 opencl = json.loads(open(args.extinst_opencl_grammar).read()) 184 if args.extinst_debuginfo_grammar is not None: 186 debuginfo = json.loads(open(args [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/ |
H A D | generate_vim_syntax.py | 68 command -nargs=+ HiLink hi link <args> 70 command -nargs=+ HiLink hi def link <args> 155 args = parser.parse_args() 160 core = json.loads(open(args.spirv_core_grammar).read()) 170 if args.extinst_glsl_grammar is not None: 172 glsl = json.loads(open(args.extinst_glsl_grammar).read()) 178 if args.extinst_opencl_grammar is not None: 180 opencl = json.loads(open(args.extinst_opencl_grammar).read()) 184 if args.extinst_debuginfo_grammar is not None: 186 debuginfo = json.loads(open(args [all...] |
/third_party/python/Lib/test/ |
H A D | test_descrtut.py | 28 def get(self, key, *args): 29 if not args: 30 args = (self.default,) 31 return dict.get(self, key, *args) 118 def get(self, key, *args): 119 if not args: 120 args = (self.default,) 121 return dict.get(self, key, *args)
|