Searched refs:cmds (Results 1 - 25 of 98) sorted by relevance

1234

/external/clang/bindings/python/tests/cindex/
H A 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)
[all...]
/external/vboot_reference/cgpt/
H A Dcgpt.c30 } cmds[] = { variable in typeref:struct:__anon23871
49 for (i = 0; i < sizeof(cmds)/sizeof(cmds[0]); ++i) {
50 printf(" %-15s %s\n", cmds[i].name, cmds[i].comment);
76 for (i = 0; command && i < sizeof(cmds)/sizeof(cmds[0]); ++i) {
78 if (0 == strcmp(cmds[i].name, command)) {
84 else if (0 == strncmp(cmds[i].name, command, strlen(command))) {
91 return cmds[match_inde
[all...]
/external/autotest/client/profilers/cmdprofile/
H A Dcmdprofile.py15 def initialize(self, cmds=['ps'], interval=60, outputfile='cmdprofile',
23 elif outputfiles and len(outputfiles) != len(cmds):
25 'cmdprofile paramter outputfiles has length %d and cmds has '
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/libcxx/buildcmds/
H A 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/iproute2/tipc/
H A Dcmdl.h42 const struct cmd *cmds, struct cmdl *cmdl, void *data);
44 const struct cmd *find_cmd(const struct cmd *cmds, char *str);
H A Dpeer.c67 const struct cmd cmds[] = { local
72 return run_cmd(nlh, cmd, cmds, cmdl, NULL);
87 const struct cmd cmds[] = { local
92 return run_cmd(nlh, cmd, cmds, cmdl, NULL);
H A Dtipc.c58 const struct cmd cmds[] = { local
95 if ((res = run_cmd(NULL, &cmd, cmds, &cmdl, NULL)) != 0)
H A Dcmdl.c20 const struct cmd *find_cmd(const struct cmd *cmds, char *str) argument
25 for (c = cmds; c->cmd; c++) {
101 const struct cmd *cmds, struct cmdl *cmdl, void *data)
114 cmd = find_cmd(cmds, name);
100 run_cmd(struct nlmsghdr *nlh, const struct cmd *caller, const struct cmd *cmds, struct cmdl *cmdl, void *data) argument
H A Dnametable.c103 const struct cmd cmds[] = { local
108 return run_cmd(nlh, cmd, cmds, cmdl, NULL);
H A Dmedia.c146 const struct cmd cmds[] = { local
153 return run_cmd(nlh, cmd, cmds, cmdl, NULL);
227 const struct cmd cmds[] = { local
234 return run_cmd(nlh, cmd, cmds, cmdl, NULL);
252 const struct cmd cmds[] = { local
259 return run_cmd(nlh, cmd, cmds, cmdl, NULL);
H A Dnode.c214 const struct cmd cmds[] = { local
220 return run_cmd(nlh, cmd, cmds, cmdl, NULL);
236 const struct cmd cmds[] = { local
242 return run_cmd(nlh, cmd, cmds, cmdl, NULL);
259 const struct cmd cmds[] = { local
266 return run_cmd(nlh, cmd, cmds, cmdl, NULL);
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvgu.c42 const VGubyte *cmds,
51 vgAppendPathData(path, num_cmds, cmds, common_data);
58 static const VGubyte cmds[] = {VG_MOVE_TO_ABS, VG_LINE_TO_ABS}; local
75 vgu_append_float_coords(path, cmds, 2, coords, 4);
85 VGubyte *cmds; local
103 cmds = malloc(sizeof(VGubyte) * count + 1);
106 cmds[0] = VG_MOVE_TO_ABS;
110 cmds[i] = VG_LINE_TO_ABS;
116 cmds[i] = VG_CLOSE_PATH;
120 vgu_append_float_coords(path, cmds,
41 vgu_append_float_coords(VGPath path, const VGubyte *cmds, VGint num_cmds, const VGfloat *coords, VGint num_coords) argument
132 static const VGubyte cmds[] = {VG_MOVE_TO_ABS, local
170 static const VGubyte cmds[] = {VG_MOVE_TO_ABS, local
227 static const VGubyte cmds[] = {VG_MOVE_TO_ABS, local
266 VGubyte cmds[11]; local
[all...]
/external/toybox/toys/other/
H A Dblockdev.c41 int cmds[] = {BLKRRPART, BLKFLSBUF, BLKGETSIZE64, BLKGETSIZE, BLKGETSIZE64, local
60 xioctl(fd, cmds[i], &val);
/external/curl/tests/
H A Dkeywords.pl36 my @cmds = grep { /^test([0-9]+)$/ && -f "$TESTDIR/$_" } readdir(DIR);
42 for(@cmds) {
46 for(sort { $a <=> $b } @cmds) {
/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/
H A Dtest_per_cpu_allocator_module.c34 static const struct alloc_cmd cmds[] = { variable in typeref:struct:alloc_cmd
84 #define NR_CMDS ARRAY_SIZE(cmds)
140 verify_area(ptrs[cmdno], cmds[cmdno].size, cmdno);
150 const struct alloc_cmd *cmd = &cmds[i];
169 if (cmds[j].marker == cmd->marker)
/external/autotest/client/site_tests/network_3GModemControl/
H A 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
[all...]
/external/kernel-headers/original/uapi/linux/mmc/
H A Dioctl.h52 * @cmds: Array of commands with length equal to 'num_of_cmds'
56 struct mmc_ioc_cmd cmds[0]; member in struct:mmc_ioc_multi_cmd
/external/mmc-utils/
H A Dmmc.c45 char **cmds; /* array of subcommands */ member in struct:Command
267 if( strcmp(cmd->cmds[j], cp->cmds[j])){
274 if( !strcmp(cmd->cmds[i], cp->cmds[i]))
276 for(s2 = cp->cmds[i], s1 = argv[i+1];
362 cp->ncmds = split_command(cp->verb, &(cp->cmds));
371 s1 = cp->cmds[i];
374 for(s2 = cp->cmds[i], s1 = argv[i+1];
/external/libnl/tests/
H A Dtest-genl.c53 static struct genl_cmd cmds[] = { variable in typeref:struct:genl_cmd
67 .o_cmds = cmds,
68 .o_ncmds = ARRAY_SIZE(cmds),
/external/libedit/src/
H A Dparse.c63 } cmds[] = { variable in typeref:struct:__anon10462
125 for (i = 0; cmds[i].name != NULL; i++)
126 if (Strcmp(cmds[i].name, ptr) == 0) {
127 i = (*cmds[i].func) (el, argc, argv);
/external/autotest/client/bin/
H A Dos_dep.py19 def commands(*cmds):
21 for cmd in cmds:
/external/autotest/site_utils/
H A 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',
326 @param cmds_skip: cmds no need to run since the corresponding repo/file
338 cmds = defined_cmds - cmds_skip
339 if cmds:
340 print('Running update commands:', ', '.join(cmds))
341 for cmd in cmds:
/external/blktrace/btt/
H A Dbno_plot.py44 cmds = """
109 fo = open('%s/plot.cmds' % tmpdir, 'w')
110 print >>fo, cmds
117 cmd = '/usr/bin/gnuplot %s/plot.cmds -' % tmpdir
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_video.h33 unsigned *cmds; member in struct:nouveau_decoder
50 dec->cmds[dec->ofs++] = data;
/external/selinux/sandbox/
H A 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
[all...]

Completed in 891 milliseconds

1234