Home
last modified time | relevance | path

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

123456

/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/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/brotli/enc/
Dblock_splitter.c41 static size_t CountLiterals(const Command* cmds, const size_t num_commands) { in CountLiterals() argument
46 total_length += cmds[i].insert_len_; in CountLiterals()
51 static void CopyLiteralsToByteArray(const Command* cmds, in CopyLiteralsToByteArray() argument
61 size_t insert_len = cmds[i].insert_len_; in CopyLiteralsToByteArray()
73 from_pos = (from_pos + insert_len + CommandCopyLen(&cmds[i])) & mask; in CopyLiteralsToByteArray()
126 const Command* cmds, in BrotliSplitBlock() argument
136 size_t literals_count = CountLiterals(cmds, num_commands); in BrotliSplitBlock()
140 CopyLiteralsToByteArray(cmds, num_commands, data, pos, mask, literals); in BrotliSplitBlock()
158 insert_and_copy_codes[i] = cmds[i].cmd_prefix_; in BrotliSplitBlock()
178 const Command* cmd = &cmds[i]; in BrotliSplitBlock()
/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/libdrm/freedreno/msm/
Dmsm_ringbuffer.c69 struct drm_msm_gem_submit_cmd *cmds; member
79 struct msm_cmd **cmds; member
271 cmd = &msm_ring->submit.cmds[i]; in get_cmd()
280 i = APPEND(&msm_ring->submit, cmds); in get_cmd()
281 APPEND(msm_ring, cmds); in get_cmd()
282 msm_ring->cmds[i] = target_cmd; in get_cmd()
283 cmd = &msm_ring->submit.cmds[i]; in get_cmd()
335 struct msm_cmd *target_cmd = msm_ring->cmds[i]; in flush_reset()
385 struct drm_msm_gem_submit_cmd *cmd = &msm_ring->submit.cmds[i]; in dump_submit()
422 req.cmds = VOID2U64(msm_ring->submit.cmds), in msm_ringbuffer_flush()
[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()
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()
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()
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);
/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/autotest/site_utils/
Ddeploy_server_local.py213 cmds = dict(global_config.global_config.config.items(
216 if cmd_tag not in cmds:
217 raise UnknownCommandException(cmd_tag, cmds)
219 expanded_command = cmds[cmd_tag].replace('AUTOTEST_REPO',
334 cmds = defined_cmds - cmds_skip
335 if cmds:
336 print('Running update commands:', ', '.join(cmds))
337 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/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/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/mesa3d/src/intel/vulkan/
DgenX_state.c44 uint32_t cmds[64]; in genX() local
45 batch.start = batch.next = cmds; in genX()
46 batch.end = (void *) cmds + sizeof(cmds); in genX()
/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),

123456