Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 7664) sorted by relevance

12345678910>>...307

/external/ltp/testcases/kernel/io/disktest/
Dparse.c47 int fill_cld_args(int argc, char **argv, child_args_t * args) in fill_cld_args() argument
62 pMsg(WARN, args, "Missing argument for perameter.\n"); in fill_cld_args()
68 pMsg(WARN, args, in fill_cld_args()
73 pMsg(WARN, args, in fill_cld_args()
79 pMsg(ERR, args, in fill_cld_args()
87 args->flags |= CLD_FLG_DUMP; in fill_cld_args()
91 pMsg(WARN, args, in fill_cld_args()
96 pMsg(WARN, args, in fill_cld_args()
100 args->seed = (unsigned int)strtol(optarg, NULL, 0); in fill_cld_args()
104 pMsg(WARN, args, in fill_cld_args()
[all …]
Dchildmain.c99 void add_action(test_env_t * env, const child_args_t * args, in add_action() argument
103 if (env->action_list_entry == args->t_kids) { /* we should never get here */ in add_action()
141 void decrement_io_count(const child_args_t * args, test_env_t * env, in decrement_io_count() argument
144 if (args->flags & CLD_FLG_LBA_SYNC) { in decrement_io_count()
179 void update_test_state(child_args_t * args, test_env_t * env, in update_test_state() argument
185 if (args->flags & CLD_FLG_ALLDIE) { in update_test_state()
187 PDBG4(DBUG, args, in update_test_state()
191 args->test_state = SET_STS_FAIL(args->test_state); in update_test_state()
196 PDBG4(DBUG, args, in update_test_state()
200 args->test_state = SET_STS_FAIL(args->test_state); in update_test_state()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_shader_args.c43 set_loc_shader(struct radv_shader_args *args, int idx, uint8_t *sgpr_idx, in set_loc_shader() argument
47 &args->shader_info->user_sgprs_locs.shader_data[idx]; in set_loc_shader()
54 set_loc_shader_ptr(struct radv_shader_args *args, int idx, uint8_t *sgpr_idx) in set_loc_shader_ptr() argument
58 set_loc_shader(args, idx, sgpr_idx, use_32bit_pointers ? 1 : 2); in set_loc_shader_ptr()
62 set_loc_desc(struct radv_shader_args *args, int idx, uint8_t *sgpr_idx) in set_loc_desc() argument
65 &args->shader_info->user_sgprs_locs; in set_loc_desc()
79 static bool needs_view_index_sgpr(struct radv_shader_args *args, in needs_view_index_sgpr() argument
84 if (args->shader_info->needs_multiview_view_index || in needs_view_index_sgpr()
85 …(!args->options->key.vs_common_out.as_es && !args->options->key.vs_common_out.as_ls && args->optio… in needs_view_index_sgpr()
89 …if (args->shader_info->needs_multiview_view_index || (!args->options->key.vs_common_out.as_es && a… in needs_view_index_sgpr()
[all …]
/external/fonttools/Lib/fontTools/cffLib/
Dspecializer.py115 def _flattenBlendArgs(args): argument
117 for arg in args:
129 for op,args in commands:
130 if any(isinstance(arg, list) for arg in args):
131 args = _flattenBlendArgs(args)
132 program.extend(args)
148 def rmoveto(args): argument
149 if len(args) != 2: raise ValueError(args)
150 yield ('rmoveto', args)
152 def hmoveto(args): argument
[all …]
/external/python/cpython2/Lib/bsddb/
Ddbobj.py39 def __init__(self, *args, **kwargs): argument
40 self._cobj = db.DBEnv(*args, **kwargs)
42 def close(self, *args, **kwargs): argument
43 return self._cobj.close(*args, **kwargs)
44 def open(self, *args, **kwargs): argument
45 return self._cobj.open(*args, **kwargs)
46 def remove(self, *args, **kwargs): argument
47 return self._cobj.remove(*args, **kwargs)
48 def set_shm_key(self, *args, **kwargs): argument
49 return self._cobj.set_shm_key(*args, **kwargs)
[all …]
/external/grpc-grpc/test/core/iomgr/
Dresolve_address_test.cc50 void args_init(args_struct* args) { in args_init() argument
51 gpr_event_init(&args->ev); in args_init()
52 args->pollset = static_cast<grpc_pollset*>(gpr_zalloc(grpc_pollset_size())); in args_init()
53 grpc_pollset_init(args->pollset, &args->mu); in args_init()
54 args->pollset_set = grpc_pollset_set_create(); in args_init()
55 grpc_pollset_set_add_pollset(args->pollset_set, args->pollset); in args_init()
56 args->addrs = nullptr; in args_init()
57 gpr_atm_rel_store(&args->done_atm, 0); in args_init()
60 void args_finish(args_struct* args) { in args_finish() argument
61 GPR_ASSERT(gpr_event_wait(&args->ev, test_deadline())); in args_finish()
[all …]
/external/perfetto/ui/src/common/
Dactions.ts85 navigate(state: StateDraft, args: {route: string}): void {
86 state.route = args.route;
89 openTraceFromFile(state: StateDraft, args: {file: File}): void {
95 source: {type: 'FILE', file: args.file},
100 openTraceFromBuffer(state: StateDraft, args: PostedTrace): void {
106 source: {type: 'ARRAY_BUFFER', ...args},
111 openTraceFromUrl(state: StateDraft, args: {url: string}): void {
117 source: {type: 'URL', url: args.url},
133 openVideoFromFile(state: StateDraft, args: {file: File}): void {
134 state.video = URL.createObjectURL(args.file);
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/
Dmsvcc.sh46 args="-nologo -W3"
72 args="$args -Od"
82 args="$args"
91 args="$args -O2"
94 args="$args $1"
104 args="$args -Zi"
109 args="$args -RTC1"
115 args="$args -c"
116 args="$(echo $args | sed 's%/Fe%/Fo%g')"
123 args="$args -D${name}='$value'"
[all …]
/external/skia/tools/calmbench/
Dcalmbench.py116 args = parser.parse_args()
117 if not args.basearg:
118 args.basearg = args.extraarg
120 return args
123 def nano_path(args, branch): argument
124 return args.writedir + '/nanobench_' + branch
127 def compile_branch(args, branch): argument
128 print "Compiling branch %s" % args.branch
132 ['ninja', '-C', args.ninjadir, 'nanobench'],
133 ['cp', args.ninjadir + '/nanobench', nano_path(args, branch)]
[all …]
/external/skqp/tools/calmbench/
Dcalmbench.py116 args = parser.parse_args()
117 if not args.basearg:
118 args.basearg = args.extraarg
120 return args
123 def nano_path(args, branch): argument
124 return args.writedir + '/nanobench_' + branch
127 def compile_branch(args, branch): argument
128 print "Compiling branch %s" % args.branch
132 ['ninja', '-C', args.ninjadir, 'nanobench'],
133 ['cp', args.ninjadir + '/nanobench', nano_path(args, branch)]
[all …]
/external/libffi/
Dmsvcc.sh46 args="-nologo -W3"
77 args="$args -Od"
87 args="$args"
96 args="$args -O2"
99 args="$args $1"
109 args="$args -Zi"
114 args="$args -RTC1"
129 args="$args -c"
130 args="$(echo $args | sed 's%/Fe%/Fo%g')"
137 args="$args -D${name}='$value'"
[all …]
/external/python/cpython2/Modules/
Dpuremodule.c63 call_voidarg_function(VoidArgFunc func, PyObject *self, PyObject *args) in call_voidarg_function() argument
67 if (!PyArg_ParseTuple(args, "")) in call_voidarg_function()
75 call_stringarg_function(StringArgFunc func, PyObject *self, PyObject *args) in call_stringarg_function() argument
80 if (!PyArg_ParseTuple(args, "s", &stringarg)) in call_stringarg_function()
88 call_stringorint_function(StringArgFunc func, PyObject *self, PyObject *args) in call_stringorint_function() argument
99 if (PyArg_ParseTuple(args, "i", &intarg)) in call_stringorint_function()
107 if (!PyArg_ParseTuple(args, "s", &stringarg)) in call_stringorint_function()
116 call_printfish_function(PrintfishFunc func, PyObject *self, PyObject *args) in call_printfish_function() argument
125 if (!PyArg_ParseTuple(args, "s", &argstring)) in call_printfish_function()
133 call_intasaddr_function(StringArgFunc func, PyObject *self, PyObject *args) in call_intasaddr_function() argument
[all …]
Dglmodule.c63 gl_qread(PyObject *self, PyObject *args) in gl_qread() argument
92 gl_varray(PyObject *self, PyObject *args) in gl_varray() argument
99 if (!PyArg_GetObject(args, 1, 0, &v)) in gl_varray()
171 gl_nvarray(PyObject *self, PyObject *args) in gl_nvarray() argument
173 return gen_nvarray(args, 0); in gl_nvarray()
178 gl_vnarray(PyObject *self, PyObject *args) in gl_vnarray() argument
180 return gen_nvarray(args, 1); in gl_vnarray()
187 gen_nvarray(PyObject *args, int inorm) in gen_nvarray() argument
194 if (!PyArg_GetObject(args, 1, 0, &v)) in gen_nvarray()
236 gl_nurbssurface(PyObject *self, PyObject *args) in gl_nurbssurface() argument
[all …]
/external/selinux/python/semanage/
Dsemanage159 def handle_opts(args, dict, target_key):
164 for k in args.__dict__.keys():
166 if k in dict[target_key][0] and args.__dict__[k]:
172 for k in args.__dict__.keys():
174 if k in dict[target_key][1] and not args.__dict__[k]:
181 def handleLogin(args):
185 handle_opts(args, login_args, args.action)
187 OBJECT = object_dict['login'](args)
189 if args.action == "add":
190 OBJECT.add(args.login, args.seuser, args.range)
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dir_builder_mixin.h38 llvm::Value* Add(Args&&... args) { in Add() argument
39 return mixin_builder()->CreateAdd(std::forward<Args>(args)...); in Add()
43 llvm::LoadInst* AlignedLoad(Args&&... args) { in AlignedLoad() argument
44 return mixin_builder()->CreateAlignedLoad(std::forward<Args>(args)...); in AlignedLoad()
48 llvm::StoreInst* AlignedStore(Args&&... args) { in AlignedStore() argument
49 return mixin_builder()->CreateAlignedStore(std::forward<Args>(args)...); in AlignedStore()
53 llvm::AllocaInst* Alloca(Args&&... args) { in Alloca() argument
54 return mixin_builder()->CreateAlloca(std::forward<Args>(args)...); in Alloca()
58 llvm::Value* And(Args&&... args) { in And() argument
59 return mixin_builder()->CreateAnd(std::forward<Args>(args)...); in And()
[all …]
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c141 static size_t get_scaled_value(char *args, char *what) in get_scaled_value() argument
144 size_t size = size_kmgp(args); in get_scaled_value()
155 static int get_range(char *args, range_t * range, char **nextarg) in get_range() argument
158 if (isdigit(*args)) { in get_range()
161 args = strtok_r(args, whitespace, &nextarg); in get_range()
162 range->offset = get_scaled_value(args, "offset"); in get_range()
165 args = nextarg + strspn(nextarg, whitespace); in get_range()
170 if (*args != '\0') { in get_range()
171 args = strtok_r(args, whitespace, &nextarg); in get_range()
172 if (*args != '*') { in get_range()
[all …]
/external/python/cpython2/Lib/plat-mac/
Dfindertools.py139 args = {}
143 args['----'] = aeobj_01
144 args["data"] = comment
145 _reply, args, attrs = finder.send("core", "setd", args, attrs)
146 if 'errn' in args:
147 raise Error, aetools.decodeerror(args)
148 if '----' in args:
149 return args['----']
153 args = {}
157 args['----'] = aeobj_01
[all …]
/external/python/cpython3/Objects/clinic/
Dcodeobject.c.h30 code_replace(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in code_replace() argument
54 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 0, 0, argsbuf); in code_replace()
55 if (!args) { in code_replace()
61 if (args[0]) { in code_replace()
62 if (PyFloat_Check(args[0])) { in code_replace()
67 co_argcount = _PyLong_AsInt(args[0]); in code_replace()
75 if (args[1]) { in code_replace()
76 if (PyFloat_Check(args[1])) { in code_replace()
81 co_posonlyargcount = _PyLong_AsInt(args[1]); in code_replace()
89 if (args[2]) { in code_replace()
[all …]
/external/icu/icu4c/source/common/
Ducnv_u32.cpp47 T_UConverter_toUnicode_UTF32_BE(UConverterToUnicodeArgs * args, in T_UConverter_toUnicode_UTF32_BE() argument
50 const unsigned char *mySource = (unsigned char *) args->source; in T_UConverter_toUnicode_UTF32_BE()
51 UChar *myTarget = args->target; in T_UConverter_toUnicode_UTF32_BE()
52 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in T_UConverter_toUnicode_UTF32_BE()
53 const UChar *targetLimit = args->targetLimit; in T_UConverter_toUnicode_UTF32_BE()
54 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE()
58 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
59 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_BE()
60 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_BE()
62 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Ddecode_csv_op_test.py32 def _test(self, args, expected_out=None, expected_err_re=None): argument
34 decode = parsing_ops.decode_csv(**args)
44 decode = parsing_ops.decode_csv(**args)
48 args = {
55 self._test(args, expected_out)
58 args = {
65 self._test(args, expected_out)
68 args = {
80 self._test(args)
83 args = {
[all …]
/external/libffi/testsuite/libffi.call/
Dclosure_fn4.c14 closure_test_fn0(ffi_cif* cif __UNUSED__, void* resp, void** args, in closure_test_fn0() argument
18 (int)*(unsigned long long *)args[0] + (int)*(unsigned long long *)args[1] + in closure_test_fn0()
19 (int)*(unsigned long long *)args[2] + (int)*(unsigned long long *)args[3] + in closure_test_fn0()
20 (int)*(unsigned long long *)args[4] + (int)*(unsigned long long *)args[5] + in closure_test_fn0()
21 (int)*(unsigned long long *)args[6] + (int)*(unsigned long long *)args[7] + in closure_test_fn0()
22 (int)*(unsigned long long *)args[8] + (int)*(unsigned long long *)args[9] + in closure_test_fn0()
23 (int)*(unsigned long long *)args[10] + in closure_test_fn0()
24 (int)*(unsigned long long *)args[11] + in closure_test_fn0()
25 (int)*(unsigned long long *)args[12] + in closure_test_fn0()
26 (int)*(unsigned long long *)args[13] + in closure_test_fn0()
[all …]
Dclosure_fn5.c13 closure_test_fn5(ffi_cif* cif __UNUSED__, void* resp, void** args, in closure_test_fn5() argument
17 (int)*(unsigned long long *)args[0] + (int)*(unsigned long long *)args[1] + in closure_test_fn5()
18 (int)*(unsigned long long *)args[2] + (int)*(unsigned long long *)args[3] + in closure_test_fn5()
19 (int)*(unsigned long long *)args[4] + (int)*(unsigned long long *)args[5] + in closure_test_fn5()
20 (int)*(unsigned long long *)args[6] + (int)*(unsigned long long *)args[7] + in closure_test_fn5()
21 (int)*(unsigned long long *)args[8] + (int)*(unsigned long long *)args[9] + in closure_test_fn5()
22 (int)*(int *)args[10] + in closure_test_fn5()
23 (int)*(unsigned long long *)args[11] + in closure_test_fn5()
24 (int)*(unsigned long long *)args[12] + in closure_test_fn5()
25 (int)*(unsigned long long *)args[13] + in closure_test_fn5()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dclosure_fn4.c14 closure_test_fn0(ffi_cif* cif __UNUSED__, void* resp, void** args, in closure_test_fn0() argument
18 (int)*(unsigned long long *)args[0] + (int)*(unsigned long long *)args[1] + in closure_test_fn0()
19 (int)*(unsigned long long *)args[2] + (int)*(unsigned long long *)args[3] + in closure_test_fn0()
20 (int)*(unsigned long long *)args[4] + (int)*(unsigned long long *)args[5] + in closure_test_fn0()
21 (int)*(unsigned long long *)args[6] + (int)*(unsigned long long *)args[7] + in closure_test_fn0()
22 (int)*(unsigned long long *)args[8] + (int)*(unsigned long long *)args[9] + in closure_test_fn0()
23 (int)*(unsigned long long *)args[10] + in closure_test_fn0()
24 (int)*(unsigned long long *)args[11] + in closure_test_fn0()
25 (int)*(unsigned long long *)args[12] + in closure_test_fn0()
26 (int)*(unsigned long long *)args[13] + in closure_test_fn0()
[all …]
Dclosure_fn5.c13 closure_test_fn5(ffi_cif* cif __UNUSED__, void* resp, void** args, in closure_test_fn5() argument
17 (int)*(unsigned long long *)args[0] + (int)*(unsigned long long *)args[1] + in closure_test_fn5()
18 (int)*(unsigned long long *)args[2] + (int)*(unsigned long long *)args[3] + in closure_test_fn5()
19 (int)*(unsigned long long *)args[4] + (int)*(unsigned long long *)args[5] + in closure_test_fn5()
20 (int)*(unsigned long long *)args[6] + (int)*(unsigned long long *)args[7] + in closure_test_fn5()
21 (int)*(unsigned long long *)args[8] + (int)*(unsigned long long *)args[9] + in closure_test_fn5()
22 (int)*(int *)args[10] + in closure_test_fn5()
23 (int)*(unsigned long long *)args[11] + in closure_test_fn5()
24 (int)*(unsigned long long *)args[12] + in closure_test_fn5()
25 (int)*(unsigned long long *)args[13] + in closure_test_fn5()
[all …]
/external/libxml2/os400/
Dxmlcatlgcl.c146 main(int argsc, arguments * args) in main() argument
157 if (args->catalog->len) { in main()
158 for (i = 0; i < args->catalog->len && in main()
159 !args->catalog->item[i].param.len; i++) in main()
163 if (i < args->catalog->len) { in main()
165 for (i = 0; i < args->catalog->len; i++) { in main()
166 if (!args->catalog->item[i].param.len) in main()
171 &args->catalog->item[i].param); in main()
179 for (i = 0; i < 10 && args->pgm[i] && args->pgm[i] != '/'; i++) in main()
184 vary4nappend(&cmd, args->pgm, i); in main()
[all …]

12345678910>>...307