Home
last modified time | relevance | path

Searched refs:args (Results 1051 - 1075 of 5389) sorted by relevance

1...<<41424344454647484950>>...216

/third_party/vk-gl-cts/framework/common/
H A DtcuRasterizationVerifier.hpp177 bool verifyTriangleGroupRasterization (const tcu::Surface& surface, const TriangleSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log, VerificationMode mode = VERIFICATIONMODE_STRICT, VerifyTriangleGroupRasterizationLogStash* logStash = DE_NULL, const bool vulkanLinesTest = false);
188 bool verifyLineGroupRasterization (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log);
201 bool verifyClippedTriangulatedLineGroupRasterization (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log);
211 bool verifyRelaxedLineGroupRasterization (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log, const bool vulkanLinesTest = false, const bool strict = true);
222 bool verifyPointGroupRasterization (const tcu::Surface& surface, const PointSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log);
233 bool verifyTriangleGroupInterpolation (const tcu::Surface& surface, const TriangleSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log);
244 LineInterpolationMethod verifyLineGroupInterpolation (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log);
256 bool verifyTriangulatedLineGroupInterpolation (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log, const bool strictMode = true, const bool allowBresenhamForNonStrictLines = false);
/third_party/elfutils/tests/
H A Dlow_high_pc.c31 struct args struct
40 static struct args *args; variable
45 printf("%s: [%" PRIx64 "] '%s' %s\n", args->file, off, name, msg); in fail()
52 args = arg; in handle_die()
91 struct args a = { .dwfl = NULL, .cu = NULL }; in main()
119 struct args b = a; in main()
/third_party/gn/examples/ios/build/config/ios/scripts/
H A Dsdk_info.py145 args = ParseArgs(argv)
148 GetAppleCpuName(args.target_cpu), args.target_environment,
149 args.sdk_version, args.deployment_target)
151 if args.output == '-':
154 with open(args.output, 'w') as output:
/third_party/alsa-utils/alsactl/
H A Dalsactl.h35 #define info(args...) do { info_(__func__, __LINE__, ##args); } while (0)
36 #define error(args...) do { error_(__func__, __LINE__, ##args); } while (0)
37 #define cerror(cond, ...) do { error_(__func__, __LINE__, (cond) != 0, ##args); } while (0)
38 #define dbg(args...) do { dbg_(__func__, __LINE__, ##args); } while (0)
/third_party/benchmark/src/
H A Dbenchmark_api_internal.cc12 const std::vector<int64_t>& args, in BenchmarkInstance()
18 args_(args), in BenchmarkInstance()
34 for (const auto& arg : args) { in BenchmarkInstance()
35 if (!name_.args.empty()) { in BenchmarkInstance()
36 name_.args += '/'; in BenchmarkInstance()
42 name_.args += StrFormat("%s:", arg_name.c_str()); in BenchmarkInstance()
46 name_.args += StrFormat("%" PRId64, arg); in BenchmarkInstance()
10 BenchmarkInstance(Benchmark* benchmark, int family_idx, int per_family_instance_idx, const std::vector<int64_t>& args, int thread_count) BenchmarkInstance() argument
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_printf.c42 nir_deref_instr *args = nir_src_as_deref(prntf->src[1]); in lower_printf_instr() local
43 assert(args->deref_type == nir_deref_type_var); in lower_printf_instr()
57 assert(glsl_type_is_struct_or_ifc(args->type)); in lower_printf_instr()
58 int args_size = align(glsl_get_cl_size(args->type), 4); in lower_printf_instr()
94 /* Write the format args */ in lower_printf_instr()
95 for (unsigned i = 0; i < glsl_get_length(args->type); ++i) { in lower_printf_instr()
96 nir_deref_instr *arg_deref = nir_build_deref_struct(b, args, i); in lower_printf_instr()
112 unsigned field_offset = glsl_get_struct_field_offset(args->type, i); in lower_printf_instr()
/third_party/node/test/sequential/
H A Dtest-child-process-execsync.js94 const args = [
99 const ret = execFileSync(process.execPath, args);
104 const ret = execFileSync(process.execPath, args, { encoding: 'utf8' });
128 const args = ['-e', 'process.exit(1)'];
129 const spawnSyncResult = spawnSync(process.execPath, args);
141 execFileSync(process.execPath, args);
143 const msg = `Command failed: ${process.execPath} ${args.join(' ')}`;
/third_party/node/deps/v8/tools/
H A Dlldb_commands.py49 def job(debugger, param, *args):
53 def jlh(debugger, param, *args):
58 def jco(debugger, param, *args):
64 def jtt(debugger, param, *args):
68 def jst(debugger, *args):
72 def jss(debugger, *args):
86 def bta(debugger, *args):
/third_party/node/src/
H A Duv.cc62 void ErrName(const FunctionCallbackInfo<Value>& args) { in ErrName() argument
63 Environment* env = Environment::GetCurrent(args); in ErrName()
74 if (!args[0]->Int32Value(env->context()).To(&err)) return; in ErrName()
78 args.GetReturnValue().Set(OneByteString(env->isolate(), name)); in ErrName()
81 void GetErrMap(const FunctionCallbackInfo<Value>& args) { in GetErrMap() argument
82 Environment* env = Environment::GetCurrent(args); in GetErrMap()
104 args.GetReturnValue().Set(err_map); in GetErrMap()
/third_party/nghttp2/tests/
H A Dend_to_end.py23 def _run_server(port, args):
28 if args:
29 base_args.extend(args)
51 def setUpServer(cls, args):
52 cls.server = _run_server(_PORT, args)
64 def call(self, path, args):
65 full_args = [self.client,'http://localhost:%d%s' % (_PORT, path)] + args
/third_party/libfuse/example/
H A Dhello.c153 struct fuse_args args = FUSE_ARGS_INIT(argc, argv); in main() local
162 if (fuse_opt_parse(&args, &options, option_spec, NULL) == -1) in main()
172 assert(fuse_opt_add_arg(&args, "--help") == 0); in main()
173 args.argv[0][0] = '\0'; in main()
176 ret = fuse_main(args.argc, args.argv, &hello_oper, NULL); in main()
177 fuse_opt_free_args(&args); in main()
/third_party/ltp/testcases/kernel/mem/thp/
H A Dthp01.c10 * a7d6e4ecdb76 ("thp: prevent hugepages during args/env copying into the user stack")
52 static char *args[ARGS_SZ]; variable
71 args[bst->mid] = NULL; in thp_test()
73 TEST(execvp("true", args)); in thp_test()
92 args[bst->left] = NULL; in thp_test()
93 TEST(execvp("true", args)); in thp_test()
123 args[0] = "true"; in setup()
125 tst_res(TINFO, "Using %ld args of size %ld", arg_count, arg_len); in setup()
127 args[i] = arg; in setup()
/third_party/node/deps/v8/src/runtime/
H A Druntime-generator.cc48 DCHECK_EQ(2, args.length()); in RUNTIME_FUNCTION()
49 Handle<JSFunction> function = args.at<JSFunction>(0); in RUNTIME_FUNCTION()
50 Handle<Object> receiver = args.at(1); in RUNTIME_FUNCTION()
85 DCHECK_EQ(1, args.length()); in RUNTIME_FUNCTION()
86 Handle<JSGeneratorObject> generator = args.at<JSGeneratorObject>(0); in RUNTIME_FUNCTION()
131 DCHECK_EQ(1, args.length()); in RUNTIME_FUNCTION()
132 auto generator = JSAsyncGeneratorObject::cast(args[0]); in RUNTIME_FUNCTION()
H A Druntime-regexp.cc802 DCHECK_EQ(3, args.length()); in RUNTIME_FUNCTION()
803 Handle<String> subject = args.at<String>(0); in RUNTIME_FUNCTION()
804 Handle<String> pattern = args.at<String>(1); in RUNTIME_FUNCTION()
805 uint32_t limit = NumberToUint32(args[2]); in RUNTIME_FUNCTION()
913 DCHECK_EQ(4, args.length()); in RUNTIME_FUNCTION()
914 Handle<JSRegExp> regexp = args.at<JSRegExp>(0); in RUNTIME_FUNCTION()
915 Handle<String> subject = args.at<String>(1); in RUNTIME_FUNCTION()
917 CHECK(args[2].ToInt32(&index)); in RUNTIME_FUNCTION()
918 Handle<RegExpMatchInfo> last_match_info = args.at<RegExpMatchInfo>(3); in RUNTIME_FUNCTION()
926 DCHECK_EQ(4, args in RUNTIME_FUNCTION()
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/subset/
H A Drun-repack-tests.py86 args = sys.argv[1:] variable
87 if not args or sys.argv[1].find ('hb-subset') == -1 or not os.path.exists (sys.argv[1]):
89 hb_subset, args = args[0], args[1:]
91 if len (args) != 1:
103 path = args[0]
/third_party/toybox/openharmony/
H A Dsu.c103 char *name, **argu, **args; in main() local
156 args = argu = xmalloc(sizeof(char *) * (argc - optind + 4 + 1)); in main()
157 *(args++) = default_shell; in main()
160 *(args++) = "-l"; in main()
162 *(args++) = "-c"; in main()
163 *(args++) = cmd; in main()
167 *(args++) = argv[i]; in main()
/third_party/python/Modules/clinic/
H A D_bz2module.c.h95 _bz2_BZ2Decompressor_decompress(BZ2Decompressor *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _bz2_BZ2Decompressor_decompress() argument
105 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf); in _bz2_BZ2Decompressor_decompress()
106 if (!args) { in _bz2_BZ2Decompressor_decompress()
109 if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) { in _bz2_BZ2Decompressor_decompress()
113 _PyArg_BadArgument("decompress", "argument 'data'", "contiguous buffer", args[0]); in _bz2_BZ2Decompressor_decompress()
121 PyObject *iobj = _PyNumber_Index(args[1]); in _bz2_BZ2Decompressor_decompress()
H A Dresource.c.h75 resource_setrlimit(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in resource_setrlimit() argument
84 resource = _PyLong_AsInt(args[0]); in resource_setrlimit()
88 limits = args[1]; in resource_setrlimit()
108 resource_prlimit(PyObject *module, PyObject *args) in resource_prlimit() argument
116 switch (PyTuple_GET_SIZE(args)) { in resource_prlimit()
118 if (!PyArg_ParseTuple(args, "" _Py_PARSE_PID "i:prlimit", &pid, &resource)) { in resource_prlimit()
123 if (!PyArg_ParseTuple(args, "" _Py_PARSE_PID "iO:prlimit", &pid, &resource, &limits)) { in resource_prlimit()
/third_party/weex-loader/test/
H A Dtest.js79 expect(components).to.include.keys(__weex_bootstrap__.firstCall.args[0]);
141 expect(bootstrapStub.firstCall.args[1]).is.not.undefined;
142 expect(bootstrapStub.firstCall.args[2]).is.not.undefined;
148 expect(requireStub.firstCall.args).eql(['@weex-module/modal']);
154 expect(requireStub.firstCall.args).eql(['@weex-module/modal']);
160 expect(requireStub.firstCall.args).eql(['@weex-module/modal']);
166 expect(requireStub.firstCall.args).eql(['@weex-module/modal']);
/third_party/python/Lib/unittest/
H A Dcase.py121 def addModuleCleanup(function, /, *args, **kwargs):
124 _module_cleanups.append((function, args, kwargs))
136 function, args, kwargs = _module_cleanups.pop()
138 function(*args, **kwargs)
154 def skip_wrapper(*args, **kwargs):
213 def handle(self, name, args, kwargs):
215 If args is empty, assertRaises/Warns is being used as a
217 If args is not empty, call a callable passing positional and keyword
224 if not args:
231 callable_obj, *args
[all...]
/third_party/node/src/crypto/
H A Dcrypto_util.cc214 void GetFipsCrypto(const FunctionCallbackInfo<Value>& args) { in GetFipsCrypto() argument
219 args.GetReturnValue().Set(EVP_default_properties_is_fips_enabled(nullptr) ? in GetFipsCrypto()
222 args.GetReturnValue().Set(FIPS_mode() ? 1 : 0); in GetFipsCrypto()
226 void SetFipsCrypto(const FunctionCallbackInfo<Value>& args) { in SetFipsCrypto() argument
231 Environment* env = Environment::GetCurrent(args); in SetFipsCrypto()
234 bool enable = args[0]->BooleanValue(env->isolate()); in SetFipsCrypto()
253 void TestFipsCrypto(const v8::FunctionCallbackInfo<v8::Value>& args) { in SetFipsCrypto() argument
272 args.GetReturnValue().Set(enabled); in SetFipsCrypto()
634 void SetEngine(const FunctionCallbackInfo<Value>& args) { in SetFipsCrypto() argument
635 Environment* env = Environment::GetCurrent(args); in SetFipsCrypto()
695 GetCryptoJobMode(v8::Local<v8::Value> args) SetFipsCrypto() argument
708 SecureBuffer(const FunctionCallbackInfo<Value>& args) SetFipsCrypto() argument
730 SecureHeapUsed(const FunctionCallbackInfo<Value>& args) SetFipsCrypto() argument
[all...]
/third_party/python/Lib/
H A Dthreading.py90 def RLock(*args, **kwargs):
100 return _PyRLock(*args, **kwargs)
101 return _CRLock(*args, **kwargs)
267 def __exit__(self, *args):
268 return self._lock.__exit__(*args)
850 args=(), kwargs=None, *, daemon=None):
862 *args* is a list or tuple of arguments for the target invocation. Defaults to ().
888 self._args = args
970 from the args and kwargs arguments, respectively.
1279 def ExceptHookArgs(args)
[all...]
H A Dtempfile.py85 def _infer_return_type(*args):
86 """Look at the type of all args and divine their implied return type."""
88 for arg in args:
272 def _dont_follow_symlinks(func, path, *args):
275 func(path, *args, follow_symlinks=False)
277 func(path, *args)
498 def func_wrapper(*args, **kwargs):
499 return func(*args, **kwargs)
574 def opener(*args):
632 def opener(*args)
[all...]
/third_party/node/tools/v8_gypfiles/
H A DForEachReplace.py4 def DoMain(args):
5 old = args.pop(0)
6 new = args.pop(0)
7 return ' '.join(a.replace(old, new) for a in args)
/third_party/nghttp2/integration-tests/
H A Dnghttpx_http2_test.go42 args: []string{"--no-strip-incoming-x-forwarded-proto"},
71 args: []string{
131 args: []string{"--no-add-x-forwarded-proto"},
159 args: []string{"--add-x-forwarded-for"},
186 args: []string{"--add-x-forwarded-for"},
216 args: []string{"--strip-incoming-x-forwarded-for"},
244 args: []string{
277 args: []string{"--add-forwarded=by,for,host,proto"},
306 args: []string{"--add-forwarded=by,for", "--forwarded-by=ip"},
333 args
[all...]

Completed in 20 milliseconds

1...<<41424344454647484950>>...216