Home
last modified time | relevance | path

Searched full:args (Results 1 – 25 of 13032) sorted by relevance

12345678910>>...522

/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dir_builder_mixin.h37 template <class... Args>
38 llvm::Value* Add(Args&&... args) { in Add() argument
39 return mixin_builder()->CreateAdd(std::forward<Args>(args)...); in Add()
42 template <class... Args>
43 llvm::LoadInst* AlignedLoad(Args&&... args) { in AlignedLoad() argument
44 return mixin_builder()->CreateAlignedLoad(std::forward<Args>(args)...); in AlignedLoad()
47 template <class... Args>
48 llvm::StoreInst* AlignedStore(Args&&... args) { in AlignedStore() argument
49 return mixin_builder()->CreateAlignedStore(std::forward<Args>(args)...); in AlignedStore()
52 template <class... Args>
[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/llvm-project/lldb/unittests/Utility/
DArgsTest.cpp11 #include "lldb/Utility/Args.h"
21 Args args; in TEST() local
22 args.SetCommandString("arg"); in TEST()
23 EXPECT_EQ(1u, args.GetArgumentCount()); in TEST()
24 EXPECT_STREQ(args.GetArgumentAtIndex(0), "arg"); in TEST()
28 Args args; in TEST() local
29 args.SetCommandString("\"arg with space\""); in TEST()
30 EXPECT_EQ(1u, args.GetArgumentCount()); in TEST()
31 EXPECT_STREQ(args.GetArgumentAtIndex(0), "arg with space"); in TEST()
35 Args args; in TEST() local
[all …]
DOptionsWithRawTest.cpp11 #include "lldb/Utility/Args.h"
18 OptionsWithRaw args(""); in TEST() local
19 ASSERT_FALSE(args.HasArgs()); in TEST()
20 ASSERT_STREQ(args.GetRawPart().c_str(), ""); in TEST()
25 OptionsWithRaw args(" "); in TEST() local
26 ASSERT_FALSE(args.HasArgs()); in TEST()
27 ASSERT_STREQ(args.GetRawPart().c_str(), " "); in TEST()
32 OptionsWithRaw args(" "); in TEST() local
33 ASSERT_FALSE(args.HasArgs()); in TEST()
34 ASSERT_STREQ(args.GetRawPart().c_str(), " "); in TEST()
[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/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 …]
/external/zstd/contrib/pzstd/test/
DOptionsTest.cpp83 template <typename... Args>
84 std::array<const char *, sizeof...(Args) + 1> makeArray(Args... args) { in makeArray() argument
85 return {{nullptr, args...}}; in makeArray()
91 auto args = makeArray("--processes", "5", "-o", "x", "y", "-f"); in TEST() local
92 EXPECT_SUCCESS(options.parse(args.size(), args.data())); in TEST()
99 auto args = makeArray("-p", "1", "input", "-19"); in TEST() local
100 EXPECT_SUCCESS(options.parse(args.size(), args.data())); in TEST()
107 auto args = in TEST() local
109 EXPECT_SUCCESS(options.parse(args.size(), args.data())); in TEST()
116 auto args = makeArray("--processes", "100", "hello.zst", "--decompress", in TEST() local
[all …]
/external/XNNPACK/bench/
Dspmm.h31 b->Args({56 * 56, 36, 24}); in ShuffleNetV1G1SpmmArguments()
32 b->Args({28 * 28, 120, 36}); in ShuffleNetV1G1SpmmArguments()
33 b->Args({28 * 28, 36, 144}); in ShuffleNetV1G1SpmmArguments()
34 b->Args({28 * 28, 144, 36}); in ShuffleNetV1G1SpmmArguments()
35 b->Args({28 * 28, 72, 144}); in ShuffleNetV1G1SpmmArguments()
36 b->Args({14 * 14, 144, 72}); in ShuffleNetV1G1SpmmArguments()
37 b->Args({14 * 14, 72, 288}); in ShuffleNetV1G1SpmmArguments()
38 b->Args({14 * 14, 288, 72}); in ShuffleNetV1G1SpmmArguments()
39 b->Args({14 * 14, 144, 288}); in ShuffleNetV1G1SpmmArguments()
40 b->Args({ 7 * 7, 288, 144}); in ShuffleNetV1G1SpmmArguments()
[all …]
Dgemm.h45 b->Args({112 * 112, 24, 3 * 3 * 3}); in ShuffleNetV1G1GemmArguments()
46 b->Args({ 56 * 56, 36, 24 * 1 * 1}); in ShuffleNetV1G1GemmArguments()
47 b->Args({ 28 * 28, 120, 36 * 1 * 1}); in ShuffleNetV1G1GemmArguments()
48 b->Args({ 28 * 28, 36, 144 * 1 * 1}); in ShuffleNetV1G1GemmArguments()
49 b->Args({ 28 * 28, 144, 36 * 1 * 1}); in ShuffleNetV1G1GemmArguments()
50 b->Args({ 28 * 28, 72, 144 * 1 * 1}); in ShuffleNetV1G1GemmArguments()
51 b->Args({ 14 * 14, 144, 72 * 1 * 1}); in ShuffleNetV1G1GemmArguments()
52 b->Args({ 14 * 14, 72, 288 * 1 * 1}); in ShuffleNetV1G1GemmArguments()
53 b->Args({ 14 * 14, 288, 72 * 1 * 1}); in ShuffleNetV1G1GemmArguments()
54 b->Args({ 14 * 14, 144, 288 * 1 * 1}); in ShuffleNetV1G1GemmArguments()
[all …]
/external/perfetto/ui/src/common/
Dactions.ts124 navigate(state: StateDraft, args: {route: string}): void {
125 state.route = args.route;
128 openTraceFromFile(state: StateDraft, args: {file: File}): void {
134 source: {type: 'FILE', file: args.file},
139 openTraceFromBuffer(state: StateDraft, args: PostedTrace): void {
145 source: {type: 'ARRAY_BUFFER', ...args},
150 openTraceFromUrl(state: StateDraft, args: {url: string}): void {
156 source: {type: 'URL', url: args.url},
172 openVideoFromFile(state: StateDraft, args: {file: File}): void {
173 state.video = URL.createObjectURL(args.file);
[all …]
/external/fonttools/Lib/fontTools/cffLib/
Dspecializer.py79 # replace the blend op args on the stack with a single list
80 # containing all the blend op args.
101 # lenBlendStack has the number of args represented by the last blend
102 # arg and all the preceding args. We need to now add the number of
103 # args following the last blend arg.
124 def _flattenBlendArgs(args): argument
126 for arg in args:
138 for op,args in commands:
139 if any(isinstance(arg, list) for arg in args):
140 args = _flattenBlendArgs(args)
[all …]
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
Dconstruct_types.pass.cpp17 // template <class U, class ...Args>
18 // void polymorphic_allocator<T>::construct(U *, Args &&...)
42 template <class ...Args>
43 void construct(Args&&... args) { in construct()
44 A.construct(ptr, std::forward<Args>(args)...); in construct()
54 template <class T, class ...Args>
55 bool doTest(UsesAllocatorType UAExpect, Args&&... args) in doTest() argument
59 TH.construct(std::forward<Args>(args)...); in doTest()
60 return checkConstruct<Args&&...>(*TH.ptr, UAExpect, &TH.R); in doTest()
65 template <class T, class ...Args>
[all …]
/external/llvm-project/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
Dconstruct_types.pass.cpp15 // template <class U, class ...Args>
16 // void polymorphic_allocator<T>::construct(U *, Args &&...)
40 template <class ...Args>
41 void construct(Args&&... args) { in construct()
42 A.construct(ptr, std::forward<Args>(args)...); in construct()
52 template <class T, class ...Args>
53 bool doTest(UsesAllocatorType UAExpect, Args&&... args) in doTest() argument
57 TH.construct(std::forward<Args>(args)...); in doTest()
58 return checkConstruct<Args&&...>(*TH.ptr, UAExpect, &TH.R); in doTest()
63 template <class T, class ...Args>
[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/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context.h34 CFXJSE_Arguments& args);
37 CFXJSE_Arguments& args);
40 CFXJSE_Arguments& args);
43 CFXJSE_Arguments& args);
46 CFXJSE_Arguments& args);
49 CFXJSE_Arguments& args);
52 CFXJSE_Arguments& args);
55 CFXJSE_Arguments& args);
58 CFXJSE_Arguments& args);
61 CFXJSE_Arguments& args);
[all …]
/external/virglrenderer/tests/
Dtest_fuzzer_formats.c104 struct virgl_renderer_resource_create_args args; in test_format_wrong_size() local
105 args.handle = 10; in test_format_wrong_size()
106 args.target = 3; in test_format_wrong_size()
107 args.format = 10; in test_format_wrong_size()
108 args.bind = 10; in test_format_wrong_size()
109 args.width = 2; in test_format_wrong_size()
110 args.height = 0; in test_format_wrong_size()
111 args.depth = 0; in test_format_wrong_size()
112 args.array_size = 0; in test_format_wrong_size()
113 args.last_level = 0; in test_format_wrong_size()
[all …]
/external/clang/lib/Frontend/
DCompilerInvocation.cpp72 // Deserialization (from args)
81 static unsigned getOptimizationLevel(ArgList &Args, InputKind IK, in getOptimizationLevel() argument
84 if (IK == IK_OpenCL && !Args.hasArg(OPT_cl_opt_disable)) in getOptimizationLevel()
87 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in getOptimizationLevel()
100 return getLastArgIntValue(Args, OPT_O, DefaultOpt, Diags); in getOptimizationLevel()
106 static unsigned getOptimizationLevelSize(ArgList &Args) { in getOptimizationLevelSize() argument
107 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in getOptimizationLevelSize()
122 static void addDiagnosticArgs(ArgList &Args, OptSpecifier Group, in addDiagnosticArgs() argument
125 for (Arg *A : Args.filtered(Group)) { in addDiagnosticArgs()
141 static void getAllNoBuiltinFuncValues(ArgList &Args, in getAllNoBuiltinFuncValues() argument
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.backend.pbtxt9 argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
13 …argspec: "args=[\'x\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \…
17 …argspec: "args=[\'x\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \…
21 …argspec: "args=[\'start\', \'stop\', \'step\', \'dtype\'], varargs=None, keywords=None, defaults=[…
25 argspec: "args=[\'x\', \'axis\'], varargs=None, keywords=None, defaults=[\'-1\'], "
29 argspec: "args=[\'x\', \'axis\'], varargs=None, keywords=None, defaults=[\'-1\'], "
33 argspec: "args=[], varargs=None, keywords=None, defaults=None"
37 argspec: "args=[\'x\', \'y\', \'axes\'], varargs=None, keywords=None, defaults=[\'None\'], "
41 argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
45 argspec: "args=[\'tensors\'], varargs=None, keywords=None, defaults=None"
[all …]
Dtensorflow.raw_ops.pbtxt5 …argspec: "args=[\'error_msg\', \'exit_without_error\', \'name\'], varargs=None, keywords=None, def…
9 argspec: "args=[\'x\', \'name\'], varargs=None, keywords=None, defaults=[\'None\'], "
13 …argspec: "args=[\'inputs\', \'shape\', \'name\'], varargs=None, keywords=None, defaults=[\'None\']…
17 …argspec: "args=[\'handle\', \'local_step\', \'gradient\', \'name\'], varargs=None, keywords=None, …
21 argspec: "args=[\'handle\', \'name\'], varargs=None, keywords=None, defaults=[\'None\'], "
25 …argspec: "args=[\'handle\', \'new_global_step\', \'name\'], varargs=None, keywords=None, defaults=…
29 …argspec: "args=[\'handle\', \'num_required\', \'dtype\', \'name\'], varargs=None, keywords=None, d…
33 argspec: "args=[\'x\', \'name\'], varargs=None, keywords=None, defaults=[\'None\'], "
37 argspec: "args=[\'x\', \'name\'], varargs=None, keywords=None, defaults=[\'None\'], "
41 argspec: "args=[\'x\', \'y\', \'name\'], varargs=None, keywords=None, defaults=[\'None\'], "
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.backend.pbtxt5 argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
9 …argspec: "args=[\'x\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \…
13 …argspec: "args=[\'x\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \…
17 …argspec: "args=[\'start\', \'stop\', \'step\', \'dtype\'], varargs=None, keywords=None, defaults=[…
21 argspec: "args=[\'x\', \'axis\'], varargs=None, keywords=None, defaults=[\'-1\'], "
25 argspec: "args=[\'x\', \'axis\'], varargs=None, keywords=None, defaults=[\'-1\'], "
29 argspec: "args=[], varargs=None, keywords=None, defaults=None"
33 argspec: "args=[\'x\', \'y\', \'axes\'], varargs=None, keywords=None, defaults=[\'None\'], "
37 argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
41 argspec: "args=[\'tensors\'], varargs=None, keywords=None, defaults=None"
[all …]
Dtensorflow.raw_ops.pbtxt5 …argspec: "args=[\'error_msg\', \'exit_without_error\', \'name\'], varargs=None, keywords=None, def…
9 argspec: "args=[\'x\', \'name\'], varargs=None, keywords=None, defaults=[\'None\'], "
13 …argspec: "args=[\'inputs\', \'shape\', \'name\'], varargs=None, keywords=None, defaults=[\'None\']…
17 …argspec: "args=[\'handle\', \'local_step\', \'gradient\', \'name\'], varargs=None, keywords=None, …
21 argspec: "args=[\'handle\', \'name\'], varargs=None, keywords=None, defaults=[\'None\'], "
25 …argspec: "args=[\'handle\', \'new_global_step\', \'name\'], varargs=None, keywords=None, defaults=…
29 …argspec: "args=[\'handle\', \'num_required\', \'dtype\', \'name\'], varargs=None, keywords=None, d…
33 argspec: "args=[\'x\', \'name\'], varargs=None, keywords=None, defaults=[\'None\'], "
37 argspec: "args=[\'x\', \'name\'], varargs=None, keywords=None, defaults=[\'None\'], "
41 argspec: "args=[\'x\', \'y\', \'name\'], varargs=None, keywords=None, defaults=[\'None\'], "
[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/third_party/py/numpy/tf_numpy_api/
Dtensorflow.experimental.numpy.pbtxt117 argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
121 argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
125 argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
129 …argspec: "args=[\'a\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \…
133 …argspec: "args=[\'a\', \'b\', \'rtol\', \'atol\', \'equal_nan\'], varargs=None, keywords=None, def…
137 …argspec: "args=[\'a\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \…
141 …argspec: "args=[\'a\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \…
145 argspec: "args=[\'z\', \'deg\'], varargs=None, keywords=None, defaults=[\'False\'], "
149 …argspec: "args=[\'a\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \…
153 …argspec: "args=[\'arr\', \'values\', \'axis\'], varargs=None, keywords=None, defaults=[\'None\'], "
[all …]
/external/python/cpython2/Modules/
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/pigweed/pw_arduino_build/py/pw_arduino_build/
D__main__.py60 def list_menu_options_command(args, builder): argument
62 builder.select_board(args.board)
80 def show_command_print_string_list(args, string_list: List[str]): argument
82 join_token = "\n" if args.delimit_with_newlines else " "
86 def show_command_print_flag_string(args, flag_string): argument
87 if args.delimit_with_newlines:
103 def run_command_lines(args, command_lines: List[str]): argument
105 if not args.quiet:
125 def run_command(args, builder): argument
131 if args.run_prebuilds:
[all …]

12345678910>>...522