Home
last modified time | relevance | path

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

1234

/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
51 for i in range(len(cmds)):
52 assert cmds[i].directory == expected[i]['wd']
53 for arg, exp in zip(cmds[i].arguments, expected[i]['line']):
59 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
60 assert len(cmds) == 1
61 assert cmds[0].directory == '/home/john.doe/MyProject'
[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/mesa3d/src/gallium/state_trackers/vega/
Dvgu.c42 const VGubyte *cmds, in vgu_append_float_coords() argument
51 vgAppendPathData(path, num_cmds, cmds, common_data); in vgu_append_float_coords()
58 static const VGubyte cmds[] = {VG_MOVE_TO_ABS, VG_LINE_TO_ABS}; in vguLine() local
75 vgu_append_float_coords(path, cmds, 2, coords, 4); in vguLine()
85 VGubyte *cmds; in vguPolygon() local
103 cmds = malloc(sizeof(VGubyte) * count + 1); in vguPolygon()
106 cmds[0] = VG_MOVE_TO_ABS; in vguPolygon()
110 cmds[i] = VG_LINE_TO_ABS; in vguPolygon()
116 cmds[i] = VG_CLOSE_PATH; in vguPolygon()
120 vgu_append_float_coords(path, cmds, i, coords, 2*i); in vguPolygon()
[all …]
Dstroker.c76 const VGubyte *cmds; member
151 return it->cmds[it->position]; in stroke_fw_current_command()
160 prev_cmd = it->cmds[it->position + 1]; in stroke_bw_current_command()
197 struct array *cmds, in stroke_itr_common_init() argument
200 itr->cmds = (VGubyte*)cmds->data; in stroke_itr_common_init()
201 itr->num_commands = cmds->num_elements; in stroke_itr_common_init()
208 struct array *cmds, in stroke_forward_iterator() argument
211 stroke_itr_common_init(itr, cmds, coords); in stroke_forward_iterator()
222 struct array *cmds, in stroke_backward_iterator() argument
226 stroke_itr_common_init(itr, cmds, coords); in stroke_backward_iterator()
[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/autotest/client/site_tests/network_3GModemControl/
Dnetwork_3GModemControl.py141 cmds = self.PickRandomCommands()
142 logging.info('Enable with %s' % cmds)
143 cmds.Enable()
146 cmds = self.PickRandomCommands()
147 logging.info('Disable with %s' % cmds)
148 cmds.Disable()
151 cmds = self.PickRandomCommands()
152 logging.info('Connect with %s' % cmds)
153 cmds.Connect(**kwargs)
156 cmds = self.PickRandomCommands()
[all …]
/external/mmc-utils/
Dmmc.c45 char **cmds; /* array of subcommands */ member
267 if( strcmp(cmd->cmds[j], cp->cmds[j])){ in check_ambiguity()
274 if( !strcmp(cmd->cmds[i], cp->cmds[i])) in check_ambiguity()
276 for(s2 = cp->cmds[i], s1 = argv[i+1]; in check_ambiguity()
362 cp->ncmds = split_command(cp->verb, &(cp->cmds)); in parse_args()
371 s1 = cp->cmds[i]; in parse_args()
374 for(s2 = cp->cmds[i], s1 = argv[i+1]; in parse_args()
/external/autotest/site_utils/
Ddeploy_production_local.py159 cmds = dict(global_config.global_config.config.items(
162 if cmd_tag not in cmds:
163 raise UnknownCommandException(cmd_tag, cmds)
165 expanded_command = cmds[cmd_tag].replace('AUTOTEST_REPO',
270 cmds = discover_update_commands()
271 if cmds:
272 print('Running update commands:', ', '.join(cmds))
273 for cmd in cmds:
/external/selinux/policycoreutils/sandbox/
Dsandbox370 self.__options, cmds = parser.parse_args()
391 if len(cmds) > 0:
401 if len(cmds) == 0:
403 cmds[0] = fullpath(cmds[0])
404 if not os.access(cmds[0], os.X_OK):
405 self.usage(_("%s is not an executable") % cmds[0])
407 self.__cmds = cmds
409 for f in cmds:
445 cmds = [SEUNSHARE, "-Z", self.__execcon]
447 cmds.append('-C')
[all …]
/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()
Dnode.c214 const struct cmd cmds[] = { in cmd_node_set() local
220 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_node_set()
236 const struct cmd cmds[] = { in cmd_node_get() local
242 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_node_get()
259 const struct cmd cmds[] = { in cmd_node() local
266 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_node()
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()
Dcmdl.c20 const struct cmd *find_cmd(const struct cmd *cmds, char *str) in find_cmd() argument
25 for (c = cmds; c->cmd; c++) { in find_cmd()
101 const struct cmd *cmds, struct cmdl *cmdl, void *data) in run_cmd() argument
114 cmd = find_cmd(cmds, name); in run_cmd()
Dlink.c149 const struct cmd cmds[] = { in cmd_link_get() local
156 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_link_get()
403 const struct cmd cmds[] = { in cmd_link_stat() local
409 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_link_stat()
485 const struct cmd cmds[] = { in cmd_link_set() local
492 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_link_set()
511 const struct cmd cmds[] = { in cmd_link() local
519 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_link()
Dcmdl.h42 const struct cmd *cmds, struct cmdl *cmdl, void *data);
44 const struct cmd *find_cmd(const struct cmd *cmds, char *str);
Dtipc.c58 const struct cmd cmds[] = { in main() local
95 if ((res = run_cmd(NULL, &cmd, cmds, &cmdl, NULL)) != 0) in main()
/external/curl/tests/
Dkeywords.pl36 my @cmds = grep { /^test([0-9]+)$/ && -f "$TESTDIR/$_" } readdir(DIR);
42 for(@cmds) {
46 for(sort { $a <=> $b } @cmds) {
/external/selinux/policycoreutils/scripts/
Dchcat405 gopts, cmds = getopt.getopt(sys.argv[1:], variable
422 if list_ind == 0 and len(cmds) < 1:
432 sys.exit(chcat_replace(["s0"], cmds, login_ind))
436 sys.exit(listusercats(cmds))
438 if len(cmds) > 0:
442 if len(cmds) < 2:
446 cats = cmds[0].split(",")
449 objects = cmds[1:]
/external/libedit/src/
Dparse.c63 } cmds[] = { variable
125 for (i = 0; cmds[i].name != NULL; i++) in FUN()
126 if (Strcmp(cmds[i].name, ptr) == 0) { in FUN()
127 i = (*cmds[i].func) (el, argc, argv); in FUN()
/external/libcxx/buildcmds/
D.gitignore2 cxx.cmds
3 link.cmds
Dbuildcmdscc10 | perl -ne 's/\S+\.o\b/%OUT%/; print' > $DIR/cxx.cmds
13 | perl -ne 's/-o\s+\S+\b/-o %OUT%/; print' > $DIR/link.cmds
/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c50 struct drm_msm_gem_submit_cmd *cmds; member
161 cmd = &msm_ring->submit.cmds[i]; in get_cmd()
172 uint32_t idx = APPEND(&msm_ring->submit, cmds); in get_cmd()
175 cmd = &msm_ring->submit.cmds[idx]; in get_cmd()
243 req.cmds = VOID2U64(msm_ring->submit.cmds), in msm_ringbuffer_flush()
248 struct drm_msm_gem_submit_cmd *cmd = &msm_ring->submit.cmds[i]; in msm_ringbuffer_flush()
268 struct drm_msm_gem_submit_cmd *cmd = &msm_ring->submit.cmds[i]; in msm_ringbuffer_flush()
/external/strace/
Daio.c60 } cmds[] = { in tprint_lio_opcode() local
72 if (cmd < ARRAY_SIZE(cmds)) { in tprint_lio_opcode()
73 tprints(cmds[cmd].name); in tprint_lio_opcode()
74 return cmds[cmd].sub; in tprint_lio_opcode()
/external/autotest/client/tests/netperf2/
Dnetperf2.py157 cmds = []
163 cmds.append('sleep %d && %s -P ALL %s 5' %
168 cmds.append(cmd)
170 cmds.append(cmd.replace('TCP_STREAM', 'TCP_MAERTS'))
174 out = utils.run_parallel(cmds, timeout=test_time + 500,
/external/toybox/toys/other/
Dblockdev.c41 int cmds[] = {BLKRRPART, BLKFLSBUF, BLKGETSIZE64, BLKGETSIZE, BLKGETSIZE64, local
60 xioctl(fd, cmds[i], &val);

1234