Home
last modified time | relevance | path

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

12345

/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/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/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/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()
/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/autotest/site_utils/
Ddeploy_server_local.py217 cmds = dict(global_config.global_config.config.items(
220 if cmd_tag not in cmds:
221 raise UnknownCommandException(cmd_tag, cmds)
223 expanded_command = cmds[cmd_tag].replace('AUTOTEST_REPO',
338 cmds = defined_cmds - cmds_skip
339 if cmds:
340 print('Running update commands:', ', '.join(cmds))
341 for cmd in cmds:
/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/python/chcat/
Dchcat415 gopts, cmds = getopt.getopt(sys.argv[1:], variable
432 if list_ind == 0 and len(cmds) < 1:
442 sys.exit(chcat_replace(["s0"], cmds, login_ind))
446 sys.exit(listusercats(cmds))
448 if len(cmds) > 0:
452 if len(cmds) < 2:
456 cats = cmds[0].split(",")
459 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/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/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/vulkan-validation-layers/
Dvk-layer-introspect.py312 cmds = ext_cmds[ext.extension_name()]
320 if cmds:
321 ext_data["entrypoints"] = cmds
356 cmds = []
358 cmds.append(cmd.attrib["name"])
360 ext_cmds[ext.attrib["name"]] = cmds
/external/libnl/tests/
Dtest-genl.c53 static struct genl_cmd cmds[] = { variable
67 .o_cmds = cmds,
68 .o_ncmds = ARRAY_SIZE(cmds),
/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,

12345