Home
last modified time | relevance | path

Searched refs:cmds (Results 1 – 25 of 183) sorted by relevance

12345678

/external/clang/bindings/python/tests/cindex/
Dtest_cdb.py32 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
33 assert len(cmds) != 0
38 cmds = cdb.getAllCompileCommands()
39 assert len(cmds) == 3
55 for i in range(len(cmds)):
56 assert cmds[i].directory == expected[i]['wd']
57 assert cmds[i].filename == expected[i]['file']
58 for arg, exp in zip(cmds[i].arguments, expected[i]['line']):
65 cmds = cdb.getCompileCommands(file)
66 assert len(cmds) == 1
[all …]
/external/skia/src/compute/tests/groups/
Dgroups.c195 skc_styling_cmd_t cmds[3 + 1]; in groups_layers_decode() local
199 skc_styling_background_over_encoder(cmds,background); in groups_layers_decode()
201 cmds[3] = SKC_STYLING_OPCODE_SURFACE_COMPOSITE | SKC_STYLING_OPCODE_IS_FINAL; in groups_layers_decode()
205 SKC_STYLING_CMDS(cmds)); in groups_layers_decode()
244 skc_styling_cmd_t cmds[1 + 1 + 1]; in groups_layers_decode() local
246 cmds[0] = SKC_STYLING_OPCODE_COVER_NONZERO; in groups_layers_decode()
250 cmds[1] = SKC_STYLING_OPCODE_COVER_WIP_MOVE_TO_MASK; in groups_layers_decode()
251 cmds[2] = SKC_STYLING_OPCODE_COVER_MASK_INVERT | SKC_STYLING_OPCODE_IS_FINAL; in groups_layers_decode()
255 cmds[1] = SKC_STYLING_OPCODE_COVER_WIP_MOVE_TO_MASK | SKC_STYLING_OPCODE_IS_FINAL; in groups_layers_decode()
261 _countof(cmds),cmds); in groups_layers_decode()
[all …]
/external/skqp/src/compute/tests/groups/
Dgroups.c195 skc_styling_cmd_t cmds[3 + 1]; in groups_layers_decode() local
199 skc_styling_background_over_encoder(cmds,background); in groups_layers_decode()
201 cmds[3] = SKC_STYLING_OPCODE_SURFACE_COMPOSITE | SKC_STYLING_OPCODE_IS_FINAL; in groups_layers_decode()
205 SKC_STYLING_CMDS(cmds)); in groups_layers_decode()
244 skc_styling_cmd_t cmds[1 + 1 + 1]; in groups_layers_decode() local
246 cmds[0] = SKC_STYLING_OPCODE_COVER_NONZERO; in groups_layers_decode()
250 cmds[1] = SKC_STYLING_OPCODE_COVER_WIP_MOVE_TO_MASK; in groups_layers_decode()
251 cmds[2] = SKC_STYLING_OPCODE_COVER_MASK_INVERT | SKC_STYLING_OPCODE_IS_FINAL; in groups_layers_decode()
255 cmds[1] = SKC_STYLING_OPCODE_COVER_WIP_MOVE_TO_MASK | SKC_STYLING_OPCODE_IS_FINAL; in groups_layers_decode()
261 _countof(cmds),cmds); in groups_layers_decode()
[all …]
/external/scapy/scapy/
Dautorun.py41 def autorun_commands(cmds, my_globals=None, ignore_globals=None, verb=0): argument
53 cmds = cmds.splitlines()
54 cmds.append("") # ensure we finish multi-line commands
55 cmds.reverse()
63 l = cmds.pop()
71 if len(cmds) <= 1:
79 def autorun_get_interactive_session(cmds, **kargs): argument
93 res = autorun_commands(cmds, **kargs)
101 def autorun_get_text_interactive_session(cmds, **kargs): argument
105 s,res = autorun_get_interactive_session(cmds, **kargs)
[all …]
/external/skia/src/compute/skc/
Dstyling.c102 skc_styling_cmd_t const * cmds) in skc_styling_group_enter() argument
106 styling->groups.extent[group_id].cmds.enter = styling->extras.count; in skc_styling_group_enter()
108 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_enter()
119 skc_styling_cmd_t const * cmds) in skc_styling_group_leave() argument
123 styling->groups.extent[group_id].cmds.leave = styling->extras.count; in skc_styling_group_leave()
125 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_leave()
181 skc_styling_cmd_t const * cmds) in skc_styling_group_layer() argument
187 .cmds = styling->extras.count, in skc_styling_group_layer()
191 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_layer()
231 skc_styling_layer_cmd_rgba_encoder(skc_styling_cmd_t * const cmds, in skc_styling_layer_cmd_rgba_encoder() argument
[all …]
/external/skqp/src/compute/skc/
Dstyling.c102 skc_styling_cmd_t const * cmds) in skc_styling_group_enter() argument
106 styling->groups.extent[group_id].cmds.enter = styling->extras.count; in skc_styling_group_enter()
108 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_enter()
119 skc_styling_cmd_t const * cmds) in skc_styling_group_leave() argument
123 styling->groups.extent[group_id].cmds.leave = styling->extras.count; in skc_styling_group_leave()
125 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_leave()
181 skc_styling_cmd_t const * cmds) in skc_styling_group_layer() argument
187 .cmds = styling->extras.count, in skc_styling_group_layer()
191 memcpy(styling->extras.extent + styling->extras.count,cmds,n * sizeof(*cmds)); in skc_styling_group_layer()
231 skc_styling_layer_cmd_rgba_encoder(skc_styling_cmd_t * const cmds, in skc_styling_layer_cmd_rgba_encoder() argument
[all …]
/external/vboot_reference/cgpt/
Dcgpt.c30 } cmds[] = { variable
49 for (i = 0; i < sizeof(cmds)/sizeof(cmds[0]); ++i) { in Usage()
50 printf(" %-15s %s\n", cmds[i].name, cmds[i].comment); in Usage()
76 for (i = 0; command && i < sizeof(cmds)/sizeof(cmds[0]); ++i) { in main()
78 if (0 == strcmp(cmds[i].name, command)) { in main()
84 else if (0 == strncmp(cmds[i].name, command, strlen(command))) { in main()
91 return cmds[match_index].fp(argc, argv); in main()
/external/skqp/src/compute/skc/platforms/cl_12/
Dcomposition_cl_12.c110 struct skc_extent_phw1g_tdrNs_snap cmds; member
155 skc_extent_phw1g_tdrNs_free(runtime,&impl->cmds.extent); in skc_composition_pfn_release()
182 skc_extent_phw1g_tdrNs_snap_free(runtime,&place->cmds); in skc_composition_place_grid_pfn_dispose()
234 skc_uint const work_size = skc_extent_ring_snap_count(place->cmds.snap); in skc_composition_place_grid_pfn_execute()
241 cl(SetKernelArg(impl->kernels.place,3,SKC_CL_ARG(place->cmds.drN))); in skc_composition_place_grid_pfn_execute()
296 skc_extent_ring_checkpoint(&impl->cmds.ring); in skc_composition_snap()
299 skc_extent_phw1g_tdrNs_snap_init(impl->runtime,&impl->cmds.ring,&place->cmds); in skc_composition_snap()
303 &impl->cmds.extent, in skc_composition_snap()
304 &place->cmds, in skc_composition_snap()
336 skc_uint const count = skc_extent_ring_wip_count(&impl->cmds.ring); in skc_composition_pfn_seal()
[all …]
/external/skia/src/compute/skc/platforms/cl_12/
Dcomposition_cl_12.c110 struct skc_extent_phw1g_tdrNs_snap cmds; member
155 skc_extent_phw1g_tdrNs_free(runtime,&impl->cmds.extent); in skc_composition_pfn_release()
182 skc_extent_phw1g_tdrNs_snap_free(runtime,&place->cmds); in skc_composition_place_grid_pfn_dispose()
234 skc_uint const work_size = skc_extent_ring_snap_count(place->cmds.snap); in skc_composition_place_grid_pfn_execute()
241 cl(SetKernelArg(impl->kernels.place,3,SKC_CL_ARG(place->cmds.drN))); in skc_composition_place_grid_pfn_execute()
296 skc_extent_ring_checkpoint(&impl->cmds.ring); in skc_composition_snap()
299 skc_extent_phw1g_tdrNs_snap_init(impl->runtime,&impl->cmds.ring,&place->cmds); in skc_composition_snap()
303 &impl->cmds.extent, in skc_composition_snap()
304 &place->cmds, in skc_composition_snap()
336 skc_uint const count = skc_extent_ring_wip_count(&impl->cmds.ring); in skc_composition_pfn_seal()
[all …]
/external/autotest/client/profilers/cmdprofile/
Dcmdprofile.py15 def initialize(self, cmds=['ps'], interval=60, outputfile='cmdprofile', argument
23 elif outputfiles and len(outputfiles) != len(cmds):
27 (len(outputfiles), len(cmds)))
30 self.cmds = cmds
35 self.outputfiles = [outputfile] * len(cmds)
44 for cmd, outputfile in zip(self.cmds, self.outputfiles):
/external/skqp/modules/pathkit/
Dpathkit_wasm_bindings.cpp58 JSArray cmds = emscripten::val::array(); in ToCmds() local
60 VisitPath(path, [&cmds](SkPath::Verb verb, const SkPoint pts[4], SkPath::RawIter iter) { in ToCmds()
90 cmds.call<void>("push", cmd); in ToCmds()
92 return cmds; in ToCmds()
106 const auto* cmds = reinterpret_cast<const float*>(cptr); in FromCmds() local
118 switch (sk_float_floor2int(cmds[i++])) { in FromCmds()
121 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds()
126 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds()
131 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds()
132 x2 = cmds[i++], y2 = cmds[i++]; in FromCmds()
[all …]
/external/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp58 JSArray cmds = emscripten::val::array(); in ToCmds() local
60 VisitPath(path, [&cmds](SkPath::Verb verb, const SkPoint pts[4], SkPath::RawIter iter) { in ToCmds()
90 cmds.call<void>("push", cmd); in ToCmds()
92 return cmds; in ToCmds()
106 const auto* cmds = reinterpret_cast<const float*>(cptr); in FromCmds() local
118 switch (sk_float_floor2int(cmds[i++])) { in FromCmds()
121 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds()
126 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds()
131 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds()
132 x2 = cmds[i++], y2 = cmds[i++]; in FromCmds()
[all …]
/external/skqp/modules/pathkit/tests/
Dsvg.spec.js24 let cmds = path.toCmds();
25 expect(cmds).toBeTruthy();
28 expect(cmds.length).toBe(6);
29 expect(cmds).toEqual([[PathKit.MOVE_VERB, 205, 5],
42 let cmds = [[PathKit.MOVE_VERB, 205, 5],
48 let path = PathKit.FromCmds(cmds);
60 let cmds = [[PathKit.MOVE_VERB, "0x15e80300", "0x400004dc"], // 9.37088e-26f, 2.0003f
66 let path = PathKit.FromCmds(cmds);
/external/skia/modules/pathkit/tests/
Dsvg.spec.js24 let cmds = path.toCmds();
25 expect(cmds).toBeTruthy();
28 expect(cmds.length).toBe(6);
29 expect(cmds).toEqual([[PathKit.MOVE_VERB, 205, 5],
42 let cmds = [[PathKit.MOVE_VERB, 205, 5],
48 let path = PathKit.FromCmds(cmds);
60 let cmds = [[PathKit.MOVE_VERB, "0x15e80300", "0x400004dc"], // 9.37088e-26f, 2.0003f
66 let path = PathKit.FromCmds(cmds);
/external/brotli/c/enc/
Dblock_splitter.c40 static size_t CountLiterals(const Command* cmds, const size_t num_commands) { in CountLiterals() argument
45 total_length += cmds[i].insert_len_; in CountLiterals()
50 static void CopyLiteralsToByteArray(const Command* cmds, in CopyLiteralsToByteArray() argument
60 size_t insert_len = cmds[i].insert_len_; in CopyLiteralsToByteArray()
72 from_pos = (from_pos + insert_len + CommandCopyLen(&cmds[i])) & mask; in CopyLiteralsToByteArray()
123 const Command* cmds, in BrotliSplitBlock() argument
133 size_t literals_count = CountLiterals(cmds, num_commands); in BrotliSplitBlock()
137 CopyLiteralsToByteArray(cmds, num_commands, data, pos, mask, literals); in BrotliSplitBlock()
155 insert_and_copy_codes[i] = cmds[i].cmd_prefix_; in BrotliSplitBlock()
175 const Command* cmd = &cmds[i]; in BrotliSplitBlock()
/external/autotest/client/site_tests/cellular_ModemControl/
Dcellular_ModemControl.py143 cmds = self.PickRandomCommands()
144 logging.info('Enable with %s' % cmds)
145 cmds.Enable()
148 cmds = self.PickRandomCommands()
149 logging.info('Disable with %s' % cmds)
150 cmds.Disable()
153 cmds = self.PickRandomCommands()
154 logging.info('Connect with %s' % cmds)
155 cmds.Connect(**kwargs)
158 cmds = self.PickRandomCommands()
[all …]
/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c65 struct drm_msm_gem_submit_cmd *cmds; member
75 struct msm_cmd **cmds; member
267 cmd = &msm_ring->submit.cmds[i]; in get_cmd()
276 i = APPEND(&msm_ring->submit, cmds); in get_cmd()
277 APPEND(msm_ring, cmds); in get_cmd()
278 msm_ring->cmds[i] = target_cmd; in get_cmd()
279 cmd = &msm_ring->submit.cmds[i]; in get_cmd()
331 struct msm_cmd *target_cmd = msm_ring->cmds[i]; in flush_reset()
381 struct drm_msm_gem_submit_cmd *cmd = &msm_ring->submit.cmds[i]; in dump_submit()
419 req.cmds = VOID2U64(msm_ring->submit.cmds), in msm_ringbuffer_flush()
[all …]
/external/selinux/sandbox/
Dsandbox377 self.__options, cmds = parser.parse_args()
398 if len(cmds) > 0:
408 if len(cmds) == 0:
410 cmds[0] = fullpath(cmds[0])
411 if not os.access(cmds[0], os.X_OK):
412 self.usage(_("%s is not an executable") % cmds[0])
414 self.__cmds = cmds
416 for f in cmds:
451 cmds = [SEUNSHARE, "-Z", self.__execcon]
453 cmds.append('-C')
[all …]
/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/
Dtest_per_cpu_allocator_module.c34 static const struct alloc_cmd cmds[] = { variable
84 #define NR_CMDS ARRAY_SIZE(cmds)
140 verify_area(ptrs[cmdno], cmds[cmdno].size, cmdno); in free_cmd()
150 const struct alloc_cmd *cmd = &cmds[i]; in run_test()
169 if (cmds[j].marker == cmd->marker) in run_test()
/external/iproute2/tipc/
Dpeer.c67 const struct cmd cmds[] = { in cmd_peer_rm() local
72 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_peer_rm()
87 const struct cmd cmds[] = { in cmd_peer() local
92 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_peer()
Dmedia.c146 const struct cmd cmds[] = { in cmd_media_get() local
153 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media_get()
227 const struct cmd cmds[] = { in cmd_media_set() local
234 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media_set()
252 const struct cmd cmds[] = { in cmd_media() local
259 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media()
/external/skia/modules/canvaskit/tests/
Dpath.spec.js172 let cmds = path.toCmds();
173 expect(cmds).toBeTruthy();
176 expect(cmds.length).toBe(6);
177 expect(cmds).toEqual([[CanvasKit.MOVE_VERB, 205, 5],
190 let cmds = [[CanvasKit.MOVE_VERB, 205, 5],
196 let path = CanvasKit.MakePathFromCmds(cmds);
/external/python/cpython3/Lib/idlelib/
Dundo.py305 self.cmds = []
311 for cmd in self.cmds:
316 return len(self.cmds)
319 self.cmds.append(cmd)
322 return self.cmds[i]
325 for cmd in self.cmds:
329 cmds = self.cmds[:]
330 cmds.reverse()
331 for cmd in cmds:
/external/python/cpython2/Lib/idlelib/
DUndoDelegator.py306 self.cmds = []
312 for cmd in self.cmds:
317 return len(self.cmds)
320 self.cmds.append(cmd)
323 return self.cmds[i]
326 for cmd in self.cmds:
330 cmds = self.cmds[:]
331 cmds.reverse()
332 for cmd in cmds:
/external/skqp/experimental/canvaskit/tests/
Dpath.spec.js207 let cmds = path.toCmds();
208 expect(cmds).toBeTruthy();
211 expect(cmds.length).toBe(6);
212 expect(cmds).toEqual([[CanvasKit.MOVE_VERB, 205, 5],
225 let cmds = [[CanvasKit.MOVE_VERB, 205, 5],
231 let path = CanvasKit.MakePathFromCmds(cmds);

12345678